CfnTransitGatewayPeeringAttachmentProps

class aws_cdk.aws_ec2.CfnTransitGatewayPeeringAttachmentProps(*, options=None, peer_account_id, peer_region, peer_transit_gateway_id, tags=None, transit_gateway_id)

Bases: object

Properties for defining a AWS::EC2::TransitGatewayPeeringAttachment.

Parameters
  • options (Union[IResolvable, TransitGatewayPeeringAttachmentOptionsProperty, None]) – AWS::EC2::TransitGatewayPeeringAttachment.Options.

  • peer_account_id (str) – AWS::EC2::TransitGatewayPeeringAttachment.PeerAccountId.

  • peer_region (str) – AWS::EC2::TransitGatewayPeeringAttachment.PeerRegion.

  • peer_transit_gateway_id (str) – AWS::EC2::TransitGatewayPeeringAttachment.PeerTransitGatewayId.

  • tags (Optional[Sequence[CfnTag]]) – AWS::EC2::TransitGatewayPeeringAttachment.Tags.

  • transit_gateway_id (str) – AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayId.

Link

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

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
    options=ec2.CfnTransitGatewayPeeringAttachment.TransitGatewayPeeringAttachmentOptionsProperty(
        dynamic_routing="dynamicRouting"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

options

AWS::EC2::TransitGatewayPeeringAttachment.Options.

Link

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

Return type

Union[IResolvable, TransitGatewayPeeringAttachmentOptionsProperty, None]

peer_account_id

AWS::EC2::TransitGatewayPeeringAttachment.PeerAccountId.

Link

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

Return type

str

peer_region

AWS::EC2::TransitGatewayPeeringAttachment.PeerRegion.

Link

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

Return type

str

peer_transit_gateway_id

AWS::EC2::TransitGatewayPeeringAttachment.PeerTransitGatewayId.

Link

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

Return type

str

tags

AWS::EC2::TransitGatewayPeeringAttachment.Tags.

Link

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

Return type

Optional[List[CfnTag]]

transit_gateway_id

AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayId.

Link

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

Return type

str