AWS Fundamentals Logo
AWS Fundamentals
AWS::CloudFront::PublicKey

CloudFront PublicKey

A public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html), or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html). CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.

Properties

1 configurable property. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
PublicKeyConfig
PublicKeyConfig
Required

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CreatedTimestring-
Idstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudFront::PublicKey

Resources:
  MyResource:
    Type: AWS::CloudFront::PublicKey
    Properties:
      PublicKeyConfig: "value"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

cloudfront:CreatePublicKey

delete

cloudfront:DeletePublicKeycloudfront:GetPublicKey

list

cloudfront:ListPublicKeys

read

cloudfront:GetPublicKey

update

cloudfront:UpdatePublicKeycloudfront:GetPublicKey

Get the CloudFront Cheat Sheet

Everything you need to know about CloudFront on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceCloudFront
Properties3
Required1
TaggingNot supported
Primary IDId

Supported Operations

CreateDeleteListReadUpdate

External Links