CfnDirectConnectGatewayAssociationPropsMixin
- class aws_cdk.mixins_preview.aws_directconnect.mixins.CfnDirectConnectGatewayAssociationPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::DirectConnect::DirectConnectGatewayAssociation.
- See:
- 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:
props (
Union[CfnDirectConnectGatewayAssociationMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.