1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. TransitGatewayConnectPeer

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

aws-native.ec2.TransitGatewayConnectPeer

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

    Resource Type definition for AWS::EC2::TransitGatewayConnectPeer

    Create TransitGatewayConnectPeer Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TransitGatewayConnectPeer(name: string, args: TransitGatewayConnectPeerArgs, opts?: CustomResourceOptions);
    @overload
    def TransitGatewayConnectPeer(resource_name: str,
                                  args: TransitGatewayConnectPeerArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def TransitGatewayConnectPeer(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  connect_peer_configuration: Optional[TransitGatewayConnectPeerConfigurationArgs] = None,
                                  transit_gateway_attachment_id: Optional[str] = None,
                                  tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewTransitGatewayConnectPeer(ctx *Context, name string, args TransitGatewayConnectPeerArgs, opts ...ResourceOption) (*TransitGatewayConnectPeer, error)
    public TransitGatewayConnectPeer(string name, TransitGatewayConnectPeerArgs args, CustomResourceOptions? opts = null)
    public TransitGatewayConnectPeer(String name, TransitGatewayConnectPeerArgs args)
    public TransitGatewayConnectPeer(String name, TransitGatewayConnectPeerArgs args, CustomResourceOptions options)
    
    type: aws-native:ec2:TransitGatewayConnectPeer
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TransitGatewayConnectPeerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TransitGatewayConnectPeerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TransitGatewayConnectPeerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TransitGatewayConnectPeerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TransitGatewayConnectPeerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TransitGatewayConnectPeer Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TransitGatewayConnectPeer resource accepts the following input properties:

    ConnectPeerConfiguration TransitGatewayConnectPeerConfigurationArgs
    The Connect peer details.
    TransitGatewayAttachmentId string
    The ID of the Connect attachment.
    Tags TagArgs
    The tags for the Connect Peer.
    connectPeerConfiguration TransitGatewayConnectPeerConfiguration
    The Connect peer details.
    transitGatewayAttachmentId String
    The ID of the Connect attachment.
    tags List<Tag>
    The tags for the Connect Peer.
    connectPeerConfiguration TransitGatewayConnectPeerConfiguration
    The Connect peer details.
    transitGatewayAttachmentId string
    The ID of the Connect attachment.
    tags Tag[]
    The tags for the Connect Peer.
    connect_peer_configuration TransitGatewayConnectPeerConfigurationArgs
    The Connect peer details.
    transit_gateway_attachment_id str
    The ID of the Connect attachment.
    tags Sequence[TagArgs]
    The tags for the Connect Peer.
    connectPeerConfiguration Property Map
    The Connect peer details.
    transitGatewayAttachmentId String
    The ID of the Connect attachment.
    tags List<Property Map>
    The tags for the Connect Peer.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TransitGatewayConnectPeer resource produces the following output properties:

    CreationTime string
    The creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The state of the Connect peer.
    TransitGatewayConnectPeerId string
    The ID of the Connect peer.
    CreationTime string
    The creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The state of the Connect peer.
    TransitGatewayConnectPeerId string
    The ID of the Connect peer.
    creationTime String
    The creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The state of the Connect peer.
    transitGatewayConnectPeerId String
    The ID of the Connect peer.
    creationTime string
    The creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The state of the Connect peer.
    transitGatewayConnectPeerId string
    The ID of the Connect peer.
    creation_time str
    The creation time.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The state of the Connect peer.
    transit_gateway_connect_peer_id str
    The ID of the Connect peer.
    creationTime String
    The creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The state of the Connect peer.
    transitGatewayConnectPeerId String
    The ID of the Connect peer.

    Supporting Types

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    TransitGatewayConnectPeerConfiguration, TransitGatewayConnectPeerConfigurationArgs

    InsideCidrBlocks List<string>
    The range of interior BGP peer IP addresses.
    PeerAddress string
    The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
    BgpConfigurations List<Pulumi.AwsNative.Ec2.Inputs.TransitGatewayConnectPeerTransitGatewayAttachmentBgpConfiguration>
    The BGP configuration details.
    Protocol string
    The tunnel protocol.
    TransitGatewayAddress string
    The Connect peer IP address on the transit gateway side of the tunnel.
    InsideCidrBlocks []string
    The range of interior BGP peer IP addresses.
    PeerAddress string
    The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
    BgpConfigurations []TransitGatewayConnectPeerTransitGatewayAttachmentBgpConfiguration
    The BGP configuration details.
    Protocol string
    The tunnel protocol.
    TransitGatewayAddress string
    The Connect peer IP address on the transit gateway side of the tunnel.
    insideCidrBlocks List<String>
    The range of interior BGP peer IP addresses.
    peerAddress String
    The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
    bgpConfigurations List<TransitGatewayConnectPeerTransitGatewayAttachmentBgpConfiguration>
    The BGP configuration details.
    protocol String
    The tunnel protocol.
    transitGatewayAddress String
    The Connect peer IP address on the transit gateway side of the tunnel.
    insideCidrBlocks string[]
    The range of interior BGP peer IP addresses.
    peerAddress string
    The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
    bgpConfigurations TransitGatewayConnectPeerTransitGatewayAttachmentBgpConfiguration[]
    The BGP configuration details.
    protocol string
    The tunnel protocol.
    transitGatewayAddress string
    The Connect peer IP address on the transit gateway side of the tunnel.
    inside_cidr_blocks Sequence[str]
    The range of interior BGP peer IP addresses.
    peer_address str
    The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
    bgp_configurations Sequence[TransitGatewayConnectPeerTransitGatewayAttachmentBgpConfiguration]
    The BGP configuration details.
    protocol str
    The tunnel protocol.
    transit_gateway_address str
    The Connect peer IP address on the transit gateway side of the tunnel.
    insideCidrBlocks List<String>
    The range of interior BGP peer IP addresses.
    peerAddress String
    The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
    bgpConfigurations List<Property Map>
    The BGP configuration details.
    protocol String
    The tunnel protocol.
    transitGatewayAddress String
    The Connect peer IP address on the transit gateway side of the tunnel.

    TransitGatewayConnectPeerTransitGatewayAttachmentBgpConfiguration, TransitGatewayConnectPeerTransitGatewayAttachmentBgpConfigurationArgs

    BgpStatus string
    The BGP status.
    PeerAddress string
    The interior BGP peer IP address for the appliance.
    PeerAsn double
    The peer Autonomous System Number (ASN).
    TransitGatewayAddress string
    The interior BGP peer IP address for the transit gateway.
    TransitGatewayAsn double
    The transit gateway Autonomous System Number (ASN).
    BgpStatus string
    The BGP status.
    PeerAddress string
    The interior BGP peer IP address for the appliance.
    PeerAsn float64
    The peer Autonomous System Number (ASN).
    TransitGatewayAddress string
    The interior BGP peer IP address for the transit gateway.
    TransitGatewayAsn float64
    The transit gateway Autonomous System Number (ASN).
    bgpStatus String
    The BGP status.
    peerAddress String
    The interior BGP peer IP address for the appliance.
    peerAsn Double
    The peer Autonomous System Number (ASN).
    transitGatewayAddress String
    The interior BGP peer IP address for the transit gateway.
    transitGatewayAsn Double
    The transit gateway Autonomous System Number (ASN).
    bgpStatus string
    The BGP status.
    peerAddress string
    The interior BGP peer IP address for the appliance.
    peerAsn number
    The peer Autonomous System Number (ASN).
    transitGatewayAddress string
    The interior BGP peer IP address for the transit gateway.
    transitGatewayAsn number
    The transit gateway Autonomous System Number (ASN).
    bgp_status str
    The BGP status.
    peer_address str
    The interior BGP peer IP address for the appliance.
    peer_asn float
    The peer Autonomous System Number (ASN).
    transit_gateway_address str
    The interior BGP peer IP address for the transit gateway.
    transit_gateway_asn float
    The transit gateway Autonomous System Number (ASN).
    bgpStatus String
    The BGP status.
    peerAddress String
    The interior BGP peer IP address for the appliance.
    peerAsn Number
    The peer Autonomous System Number (ASN).
    transitGatewayAddress String
    The interior BGP peer IP address for the transit gateway.
    transitGatewayAsn Number
    The transit gateway Autonomous System Number (ASN).

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi