CfnConnectionGroupPropsMixin

class aws_cdk.mixins_preview.aws_cloudfront.mixins.CfnConnectionGroupPropsMixin(props, *, strategy=None)

Bases: Mixin

The connection group for your distribution tenants.

When you first create a distribution tenant and you don’t specify a connection group, CloudFront will automatically create a default connection group for you. When you create a new distribution tenant and don’t specify a connection group, the default one will be associated with your distribution tenant.

See:

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

CloudformationResource:

AWS::CloudFront::ConnectionGroup

Mixin:

true

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_cloudfront import mixins as cloudfront_mixins

cfn_connection_group_props_mixin = cloudfront_mixins.CfnConnectionGroupPropsMixin(cloudfront_mixins.CfnConnectionGroupMixinProps(
    anycast_ip_list_id="anycastIpListId",
    enabled=False,
    ipv6_enabled=False,
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::CloudFront::ConnectionGroup.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['anycastIpListId', 'enabled', 'ipv6Enabled', 'name', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental