AWS Native is in preview. AWS Classic is fully supported.
aws-native.ec2.TransitGateway
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::EC2::TransitGateway
Create TransitGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitGateway(name: string, args?: TransitGatewayArgs, opts?: CustomResourceOptions);
@overload
def TransitGateway(resource_name: str,
args: Optional[TransitGatewayArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def TransitGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
amazon_side_asn: Optional[int] = None,
association_default_route_table_id: Optional[str] = None,
auto_accept_shared_attachments: Optional[str] = None,
default_route_table_association: Optional[str] = None,
default_route_table_propagation: Optional[str] = None,
description: Optional[str] = None,
dns_support: Optional[str] = None,
multicast_support: Optional[str] = None,
propagation_default_route_table_id: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
transit_gateway_cidr_blocks: Optional[Sequence[str]] = None,
vpn_ecmp_support: Optional[str] = None)
func NewTransitGateway(ctx *Context, name string, args *TransitGatewayArgs, opts ...ResourceOption) (*TransitGateway, error)
public TransitGateway(string name, TransitGatewayArgs? args = null, CustomResourceOptions? opts = null)
public TransitGateway(String name, TransitGatewayArgs args)
public TransitGateway(String name, TransitGatewayArgs args, CustomResourceOptions options)
type: aws-native:ec2:TransitGateway
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 TransitGatewayArgs
- 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 TransitGatewayArgs
- 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 TransitGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const transitGatewayResource = new aws_native.ec2.TransitGateway("transitGatewayResource", {
amazonSideAsn: 0,
associationDefaultRouteTableId: "string",
autoAcceptSharedAttachments: "string",
defaultRouteTableAssociation: "string",
defaultRouteTablePropagation: "string",
description: "string",
dnsSupport: "string",
multicastSupport: "string",
propagationDefaultRouteTableId: "string",
tags: [{
key: "string",
value: "string",
}],
transitGatewayCidrBlocks: ["string"],
vpnEcmpSupport: "string",
});
Coming soon!
TransitGateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The TransitGateway resource accepts the following input properties:
- Amazon
Side intAsn - Association
Default stringRoute Table Id - string
- Default
Route stringTable Association - Default
Route stringTable Propagation - Description string
- Dns
Support string - Multicast
Support string - Propagation
Default stringRoute Table Id - List<Pulumi.
Aws Native. Inputs. Tag> - Transit
Gateway List<string>Cidr Blocks - Vpn
Ecmp stringSupport
- Amazon
Side intAsn - Association
Default stringRoute Table Id - string
- Default
Route stringTable Association - Default
Route stringTable Propagation - Description string
- Dns
Support string - Multicast
Support string - Propagation
Default stringRoute Table Id - Tag
Args - Transit
Gateway []stringCidr Blocks - Vpn
Ecmp stringSupport
- amazon
Side IntegerAsn - association
Default StringRoute Table Id - String
- default
Route StringTable Association - default
Route StringTable Propagation - description String
- dns
Support String - multicast
Support String - propagation
Default StringRoute Table Id - List<Tag>
- transit
Gateway List<String>Cidr Blocks - vpn
Ecmp StringSupport
- amazon
Side numberAsn - association
Default stringRoute Table Id - string
- default
Route stringTable Association - default
Route stringTable Propagation - description string
- dns
Support string - multicast
Support string - propagation
Default stringRoute Table Id - Tag[]
- transit
Gateway string[]Cidr Blocks - vpn
Ecmp stringSupport
- amazon
Side NumberAsn - association
Default StringRoute Table Id - String
- default
Route StringTable Association - default
Route StringTable Propagation - description String
- dns
Support String - multicast
Support String - propagation
Default StringRoute Table Id - List<Property Map>
- transit
Gateway List<String>Cidr Blocks - vpn
Ecmp StringSupport
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitGateway resource produces the following output properties:
- Aws
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Transit
Gateway stringArn
- Aws
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Transit
Gateway stringArn
- aws
Id String - id String
- The provider-assigned unique ID for this managed resource.
- transit
Gateway StringArn
- aws
Id string - id string
- The provider-assigned unique ID for this managed resource.
- transit
Gateway stringArn
- aws_
id str - id str
- The provider-assigned unique ID for this managed resource.
- transit_
gateway_ strarn
- aws
Id String - id String
- The provider-assigned unique ID for this managed resource.
- transit
Gateway StringArn
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.