AWS::CloudFront::PublicKeyA 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.
1 configurable property. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
PublicKeyConfig | PublicKeyConfig | Required |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedTime | string | - |
Id | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudFront::PublicKey
Resources:
MyResource:
Type: AWS::CloudFront::PublicKey
Properties:
PublicKeyConfig: "value"Permissions CloudFormation needs in your IAM role to manage this resource.
cloudfront:CreatePublicKeycloudfront:DeletePublicKeycloudfront:GetPublicKeycloudfront:ListPublicKeyscloudfront:GetPublicKeycloudfront:UpdatePublicKeycloudfront:GetPublicKeyEverything you need to know about CloudFront on one page. HD quality, print-friendly.
Download Free InfographicId