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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypeeringattachment.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypeeringattachment.html#cfn-ec2-transitgatewaypeeringattachment-peeraccountid

peer_region

The Region of the transit gateway.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypeeringattachment.html#cfn-ec2-transitgatewaypeeringattachment-peerregion

peer_transit_gateway_id

The ID of the transit gateway.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypeeringattachment.html#cfn-ec2-transitgatewaypeeringattachment-peertransitgatewayid

tags

The tags for the transit gateway peering attachment.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypeeringattachment.html#cfn-ec2-transitgatewaypeeringattachment-tags

transit_gateway_id

The ID of the transit gateway peering attachment.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypeeringattachment.html#cfn-ec2-transitgatewaypeeringattachment-transitgatewayid