This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html). # AWS::EC2::TransitGatewayConnectPeer Describes a transit gateway Connect peer. ## Syntax To declare this entity in your CloudFormation template, use the following syntax: ### JSON ``` { "Type" : "AWS::EC2::TransitGatewayConnectPeer", "Properties" : { "[ConnectPeerConfiguration](#cfn-ec2-transitgatewayconnectpeer-connectpeerconfiguration)" : {{TransitGatewayConnectPeerConfiguration}}, "[Tags](#cfn-ec2-transitgatewayconnectpeer-tags)" : {{[ Tag, ... ]}}, "[TransitGatewayAttachmentId](#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentid)" : {{String}} } } ``` ### YAML ``` Type: AWS::EC2::TransitGatewayConnectPeer Properties: [ConnectPeerConfiguration](#cfn-ec2-transitgatewayconnectpeer-connectpeerconfiguration): {{ TransitGatewayConnectPeerConfiguration}} [Tags](#cfn-ec2-transitgatewayconnectpeer-tags): {{ - Tag}} [TransitGatewayAttachmentId](#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentid): {{String}} ``` ## Properties `ConnectPeerConfiguration` The Connect peer details. *Required*: Yes *Type*: [TransitGatewayConnectPeerConfiguration](aws-properties-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration.md) *Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) `Tags` The tags for the Connect peer. *Required*: No *Type*: Array of [Tag](aws-properties-ec2-transitgatewayconnectpeer-tag.md) *Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) `TransitGatewayAttachmentId` The ID of the Connect attachment. *Required*: Yes *Type*: String *Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) ## Return values ### Ref When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the ID of the Connect peer. For more information about using the `Ref` function, see [https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html). ### Fn::GetAtt #### `ConnectPeerConfiguration.BgpConfigurations` The BGP configuration details. `ConnectPeerConfiguration.Protocol` The tunnel protocol. `CreationTime` The creation time. `State` The state of the Connect peer. `TransitGatewayConnectPeerId` The ID of the Connect peer.

AltStyle によって変換されたページ (->オリジナル) /