CfnPublicKeyProps

class aws_cdk.aws_cloudfront.CfnPublicKeyProps(*, public_key_config)

Bases: object

Properties for defining a CfnPublicKey.

Parameters

public_key_config (Union[IResolvable, PublicKeyConfigProperty]) – 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

//docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html>`_ .

Link

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

Type

Configuration information about a public key that you can use with `signed URLs and signed cookies <https

Type

//docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html>`_ , or with `field-level encryption <https

Return type

Union[IResolvable, PublicKeyConfigProperty]