CfnKeyValueStoreProps

class aws_cdk.aws_cloudfront.CfnKeyValueStoreProps(*, name, comment=None, import_source=None)

Bases: object

Properties for defining a CfnKeyValueStore.

Parameters:
  • name (str) – The name of the key value store.

  • comment (Optional[str]) – A comment for the key value store.

  • import_source (Union[IResolvable, ImportSourceProperty, Dict[str, Any], None]) – The import source for the key value store.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

cfn_key_value_store_props = cloudfront.CfnKeyValueStoreProps(
    name="name",

    # the properties below are optional
    comment="comment",
    import_source=cloudfront.CfnKeyValueStore.ImportSourceProperty(
        source_arn="sourceArn",
        source_type="sourceType"
    )
)

Attributes

comment

A comment for the key value store.

See:

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

import_source

The import source for the key value store.

See:

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

name

The name of the key value store.

See:

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