CfnTransitGatewayConnectProps
- class aws_cdk.aws_ec2.CfnTransitGatewayConnectProps(*, options, transport_transit_gateway_attachment_id, tags=None)
Bases:
object
Properties for defining a
CfnTransitGatewayConnect
.- Parameters:
options (
Union
[IResolvable
,TransitGatewayConnectOptionsProperty
,Dict
[str
,Any
]]) – The Connect attachment options. - protocol (gre)transport_transit_gateway_attachment_id (
str
) – The ID of the attachment from which the Connect attachment was created.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The tags for the attachment.
- See:
- 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 import aws_ec2 as ec2 cfn_transit_gateway_connect_props = ec2.CfnTransitGatewayConnectProps( options=ec2.CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty( protocol="protocol" ), transport_transit_gateway_attachment_id="transportTransitGatewayAttachmentId", # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- options
The Connect attachment options.
protocol (gre)
- tags
The tags for the attachment.
- transport_transit_gateway_attachment_id
The ID of the attachment from which the Connect attachment was created.