CfnCustomerGatewayAssociationPropsMixin
- class aws_cdk.mixins_preview.aws_networkmanager.mixins.CfnCustomerGatewayAssociationPropsMixin(props, *, strategy=None)
Bases:
MixinSpecifies an association between a customer gateway, a device, and optionally, a link.
If you specify a link, it must be associated with the specified device. The customer gateway must be connected to a VPN attachment on a transit gateway that’s registered in your global network.
You cannot associate a customer gateway with more than one device and link.
- See:
- CloudformationResource:
AWS::NetworkManager::CustomerGatewayAssociation
- 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_networkmanager import mixins as networkmanager_mixins cfn_customer_gateway_association_props_mixin = networkmanager_mixins.CfnCustomerGatewayAssociationPropsMixin(networkmanager_mixins.CfnCustomerGatewayAssociationMixinProps( customer_gateway_arn="customerGatewayArn", device_id="deviceId", global_network_id="globalNetworkId", link_id="linkId" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::NetworkManager::CustomerGatewayAssociation.- Parameters:
props (
Union[CfnCustomerGatewayAssociationMixinProps,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:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['customerGatewayArn', 'deviceId', 'globalNetworkId', 'linkId']
Static Methods
- classmethod is_mixin(x)
(experimental) 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.- Stability:
experimental