AWS::CloudFront::PublicKey
A public key that you can use with signed URLs and signed cookies, or with field-level encryption.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::CloudFront::PublicKey", "Properties" : { "PublicKeyConfig" :
PublicKeyConfig
} }
YAML
Type: AWS::CloudFront::PublicKey Properties: PublicKeyConfig:
PublicKeyConfig
Properties
PublicKeyConfig
-
Configuration information about a public key that you can use with signed URLs and signed cookies, or with field-level encryption.
Required: Yes
Type: PublicKeyConfig
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns the ID of the public key. For example:
K36X4X2EO997HM
.
For more information about using the Ref
function, see Ref
.
Fn::GetAtt
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt
.
CreatedTime
-
The date and time when the public key was uploaded.
Id
-
The identifier of the public key.