CfnPublicKeyProps

class aws_cdk.aws_cloudfront.CfnPublicKeyProps(*, public_key_config)

Bases: object

Properties for defining a CfnPublicKey.

Parameters:

public_key_config (Union[IResolvable, PublicKeyConfigProperty, Dict[str, Any]]) – Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_cloudfront as cloudfront

cfn_public_key_props = cloudfront.CfnPublicKeyProps(
    public_key_config=cloudfront.CfnPublicKey.PublicKeyConfigProperty(
        caller_reference="callerReference",
        encoded_key="encodedKey",
        name="name",

        # the properties below are optional
        comment="comment"
    )
)

Attributes

public_key_config

Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html#cfn-cloudfront-publickey-publickeyconfig