CfnKeyGroupProps

class aws_cdk.aws_cloudfront.CfnKeyGroupProps(*, key_group_config)

Bases: object

Properties for defining a CfnKeyGroup.

Parameters

key_group_config (Union[IResolvable, KeyGroupConfigProperty, Dict[str, Any]]) – The key group configuration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keygroup.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_key_group_props = cloudfront.CfnKeyGroupProps(
    key_group_config=cloudfront.CfnKeyGroup.KeyGroupConfigProperty(
        items=["items"],
        name="name",

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

Attributes

key_group_config

The key group configuration.

Link

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

Return type

Union[IResolvable, KeyGroupConfigProperty]