CfnDirectConnectGatewayAssociationPropsMixin

class aws_cdk.mixins_preview.aws_directconnect.mixins.CfnDirectConnectGatewayAssociationPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::DirectConnect::DirectConnectGatewayAssociation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directconnect-directconnectgatewayassociation.html

CloudformationResource:

AWS::DirectConnect::DirectConnectGatewayAssociation

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_directconnect import mixins as directconnect_mixins

cfn_direct_connect_gateway_association_props_mixin = directconnect_mixins.CfnDirectConnectGatewayAssociationPropsMixin(directconnect_mixins.CfnDirectConnectGatewayAssociationMixinProps(
    accept_direct_connect_gateway_association_proposal_role_arn="acceptDirectConnectGatewayAssociationProposalRoleArn",
    allowed_prefixes_to_direct_connect_gateway=["allowedPrefixesToDirectConnectGateway"],
    associated_gateway_id="associatedGatewayId",
    direct_connect_gateway_id="directConnectGatewayId"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::DirectConnect::DirectConnectGatewayAssociation.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['acceptDirectConnectGatewayAssociationProposalRoleArn', 'allowedPrefixesToDirectConnectGateway', 'associatedGatewayId', 'directConnectGatewayId']

Static Methods

classmethod is_mixin(x)

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.