CfnTransitGatewayAttachmentPropsMixin Mixin
Attaches a VPC to a transit gateway.
If you attach a VPC with a CIDR range that overlaps the CIDR range of a VPC that is already attached, the new VPC CIDR range is not propagated to the default propagation route table.
To send VPC traffic to an attached transit gateway, add a route to the VPC route table using AWS::EC2::Route .
To update tags for a VPC attachment after creation without replacing the attachment, use AWS::EC2::TransitGatewayVpcAttachment instead.
Initializer
ts
new CfnTransitGatewayAttachmentPropsMixin(props: CfnTransitGatewayAttachmentMixinProps, options?: CfnPropertyMixinOptions)
python
CfnTransitGatewayAttachmentPropsMixin(props: CfnTransitGatewayAttachmentMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnTransitGatewayAttachmentPropsMixin(CfnTransitGatewayAttachmentMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnTransitGatewayAttachmentPropsMixin(CfnTransitGatewayAttachmentMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnTransitGatewayAttachmentPropsMixin(Props CfnTransitGatewayAttachmentMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#Checks if `x` is a Mixin.
1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#Check if this mixin supports the given construct.