We recommend new projects start with resources from the AWS provider.
aws-native.ec2.TransitGatewayConnectPeer
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- Connect
Peer Pulumi.Configuration Aws Native. Ec2. Inputs. Transit Gateway Connect Peer Configuration - The Connect peer details.
- Transit
Gateway stringAttachment Id - The ID of the Connect attachment.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the Connect Peer.
- Connect
Peer TransitConfiguration Gateway Connect Peer Configuration Args - The Connect peer details.
- Transit
Gateway stringAttachment Id - The ID of the Connect attachment.
- Tag
Args - The tags for the Connect Peer.
- connect
Peer TransitConfiguration Gateway Connect Peer Configuration - The Connect peer details.
- transit
Gateway StringAttachment Id - The ID of the Connect attachment.
- List<Tag>
- The tags for the Connect Peer.
- connect
Peer TransitConfiguration Gateway Connect Peer Configuration - The Connect peer details.
- transit
Gateway stringAttachment Id - The ID of the Connect attachment.
- Tag[]
- The tags for the Connect Peer.
- connect_
peer_ Transitconfiguration Gateway Connect Peer Configuration Args - The Connect peer details.
- transit_
gateway_ strattachment_ id - The ID of the Connect attachment.
- Sequence[Tag
Args] - The tags for the Connect Peer.
- connect
Peer Property MapConfiguration - The Connect peer details.
- transit
Gateway StringAttachment Id - The ID of the Connect attachment.
- 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:
- Creation
Time string - The creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The state of the Connect peer.
- Transit
Gateway stringConnect Peer Id - The ID of the Connect peer.
- Creation
Time string - The creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The state of the Connect peer.
- Transit
Gateway stringConnect Peer Id - The ID of the Connect peer.
- creation
Time String - The creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The state of the Connect peer.
- transit
Gateway StringConnect Peer Id - The ID of the Connect peer.
- creation
Time string - The creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The state of the Connect peer.
- transit
Gateway stringConnect Peer Id - 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_ strconnect_ peer_ id - The ID of the Connect peer.
- creation
Time String - The creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The state of the Connect peer.
- transit
Gateway StringConnect Peer Id - The ID of the Connect peer.
Supporting Types
Tag, TagArgs
TransitGatewayConnectPeerConfiguration, TransitGatewayConnectPeerConfigurationArgs
- Inside
Cidr List<string>Blocks - The range of interior BGP peer IP addresses.
- Peer
Address string - The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
- Bgp
Configurations List<Pulumi.Aws Native. Ec2. Inputs. Transit Gateway Connect Peer Transit Gateway Attachment Bgp Configuration> - The BGP configuration details.
- Protocol string
- The tunnel protocol.
- Transit
Gateway stringAddress - The Connect peer IP address on the transit gateway side of the tunnel.
- Inside
Cidr []stringBlocks - The range of interior BGP peer IP addresses.
- Peer
Address string - The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
- Bgp
Configurations []TransitGateway Connect Peer Transit Gateway Attachment Bgp Configuration - The BGP configuration details.
- Protocol string
- The tunnel protocol.
- Transit
Gateway stringAddress - The Connect peer IP address on the transit gateway side of the tunnel.
- inside
Cidr List<String>Blocks - The range of interior BGP peer IP addresses.
- peer
Address String - The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
- bgp
Configurations List<TransitGateway Connect Peer Transit Gateway Attachment Bgp Configuration> - The BGP configuration details.
- protocol String
- The tunnel protocol.
- transit
Gateway StringAddress - The Connect peer IP address on the transit gateway side of the tunnel.
- inside
Cidr string[]Blocks - The range of interior BGP peer IP addresses.
- peer
Address string - The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
- bgp
Configurations TransitGateway Connect Peer Transit Gateway Attachment Bgp Configuration[] - The BGP configuration details.
- protocol string
- The tunnel protocol.
- transit
Gateway stringAddress - The Connect peer IP address on the transit gateway side of the tunnel.
- inside_
cidr_ Sequence[str]blocks - 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[TransitGateway Connect Peer Transit Gateway Attachment Bgp Configuration] - The BGP configuration details.
- protocol str
- The tunnel protocol.
- transit_
gateway_ straddress - The Connect peer IP address on the transit gateway side of the tunnel.
- inside
Cidr List<String>Blocks - The range of interior BGP peer IP addresses.
- peer
Address String - The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
- bgp
Configurations List<Property Map> - The BGP configuration details.
- protocol String
- The tunnel protocol.
- transit
Gateway StringAddress - The Connect peer IP address on the transit gateway side of the tunnel.
TransitGatewayConnectPeerTransitGatewayAttachmentBgpConfiguration, TransitGatewayConnectPeerTransitGatewayAttachmentBgpConfigurationArgs
- Bgp
Status string - The BGP status.
- Peer
Address string - The interior BGP peer IP address for the appliance.
- Peer
Asn double - The peer Autonomous System Number (ASN).
- Transit
Gateway stringAddress - The interior BGP peer IP address for the transit gateway.
- Transit
Gateway doubleAsn - The transit gateway Autonomous System Number (ASN).
- Bgp
Status string - The BGP status.
- Peer
Address string - The interior BGP peer IP address for the appliance.
- Peer
Asn float64 - The peer Autonomous System Number (ASN).
- Transit
Gateway stringAddress - The interior BGP peer IP address for the transit gateway.
- Transit
Gateway float64Asn - The transit gateway Autonomous System Number (ASN).
- bgp
Status String - The BGP status.
- peer
Address String - The interior BGP peer IP address for the appliance.
- peer
Asn Double - The peer Autonomous System Number (ASN).
- transit
Gateway StringAddress - The interior BGP peer IP address for the transit gateway.
- transit
Gateway DoubleAsn - The transit gateway Autonomous System Number (ASN).
- bgp
Status string - The BGP status.
- peer
Address string - The interior BGP peer IP address for the appliance.
- peer
Asn number - The peer Autonomous System Number (ASN).
- transit
Gateway stringAddress - The interior BGP peer IP address for the transit gateway.
- transit
Gateway numberAsn - 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_ straddress - The interior BGP peer IP address for the transit gateway.
- transit_
gateway_ floatasn - The transit gateway Autonomous System Number (ASN).
- bgp
Status String - The BGP status.
- peer
Address String - The interior BGP peer IP address for the appliance.
- peer
Asn Number - The peer Autonomous System Number (ASN).
- transit
Gateway StringAddress - The interior BGP peer IP address for the transit gateway.
- transit
Gateway NumberAsn - The transit gateway Autonomous System Number (ASN).
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.