CfnTransitGatewayPeeringAttachmentProps
- class aws_cdk.aws_ec2.CfnTransitGatewayPeeringAttachmentProps(*, peer_account_id, peer_region, peer_transit_gateway_id, transit_gateway_id, tags=None)
Bases:
object
Properties for defining a
CfnTransitGatewayPeeringAttachment
.- Parameters:
peer_account_id (
str
) – The ID of the AWS account that owns the transit gateway.peer_region (
str
) – The Region of the transit gateway.peer_transit_gateway_id (
str
) – The ID of the transit gateway.transit_gateway_id (
str
) – The ID of the transit gateway peering attachment.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The tags for the transit gateway peering 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_peering_attachment_props = ec2.CfnTransitGatewayPeeringAttachmentProps( peer_account_id="peerAccountId", peer_region="peerRegion", peer_transit_gateway_id="peerTransitGatewayId", transit_gateway_id="transitGatewayId", # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- peer_account_id
The ID of the AWS account that owns the transit gateway.
- peer_region
The Region of the transit gateway.
- peer_transit_gateway_id
The ID of the transit gateway.
- tags
The tags for the transit gateway peering attachment.
- transit_gateway_id
The ID of the transit gateway peering attachment.