Resource Type definition for AWS::CloudFront::PublicKey
The following example creates a CloudFront public key.
resource "awscc_cloudfront_public_key" "example" {
public_key_config = {
caller_reference = "test-caller-reference"
encoded_key = file("public_key.pem")
name = "test_key"
comment = "test public key"
}
}
public_key_config
(Attributes) (see below for nested schema)created_time
(String)id
(String) Uniquely identifies the resource.public_key_id
(String)public_key_config
Required:
caller_reference
(String)encoded_key
(String)name
(String)Optional:
comment
(String)Import is supported using the following syntax:
$ terraform import awscc_cloudfront_public_key.example <resource ID>