We recommend new projects start with resources from the AWS provider.
aws-native.ec2.TransitGatewayAttachment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::EC2::TransitGatewayAttachment
Create TransitGatewayAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitGatewayAttachment(name: string, args: TransitGatewayAttachmentArgs, opts?: CustomResourceOptions);
@overload
def TransitGatewayAttachment(resource_name: str,
args: TransitGatewayAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitGatewayAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet_ids: Optional[Sequence[str]] = None,
transit_gateway_id: Optional[str] = None,
vpc_id: Optional[str] = None,
options: Optional[OptionsPropertiesArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewTransitGatewayAttachment(ctx *Context, name string, args TransitGatewayAttachmentArgs, opts ...ResourceOption) (*TransitGatewayAttachment, error)
public TransitGatewayAttachment(string name, TransitGatewayAttachmentArgs args, CustomResourceOptions? opts = null)
public TransitGatewayAttachment(String name, TransitGatewayAttachmentArgs args)
public TransitGatewayAttachment(String name, TransitGatewayAttachmentArgs args, CustomResourceOptions options)
type: aws-native:ec2:TransitGatewayAttachment
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 TransitGatewayAttachmentArgs
- 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 TransitGatewayAttachmentArgs
- 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 TransitGatewayAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitGatewayAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitGatewayAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TransitGatewayAttachment 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 TransitGatewayAttachment resource accepts the following input properties:
- Subnet
Ids List<string> - The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
- Transit
Gateway stringId - The ID of the transit gateway.
- Vpc
Id string - The ID of the VPC.
- Options
Pulumi.
Aws Native. Ec2. Inputs. Options Properties - The options for the transit gateway vpc attachment.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the attachment.
- Subnet
Ids []string - The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
- Transit
Gateway stringId - The ID of the transit gateway.
- Vpc
Id string - The ID of the VPC.
- Options
Options
Properties Args - The options for the transit gateway vpc attachment.
- Tag
Args - The tags for the attachment.
- subnet
Ids List<String> - The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
- transit
Gateway StringId - The ID of the transit gateway.
- vpc
Id String - The ID of the VPC.
- options
Options
Properties - The options for the transit gateway vpc attachment.
- List<Tag>
- The tags for the attachment.
- subnet
Ids string[] - The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
- transit
Gateway stringId - The ID of the transit gateway.
- vpc
Id string - The ID of the VPC.
- options
Options
Properties - The options for the transit gateway vpc attachment.
- Tag[]
- The tags for the attachment.
- subnet_
ids Sequence[str] - The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
- transit_
gateway_ strid - The ID of the transit gateway.
- vpc_
id str - The ID of the VPC.
- options
Options
Properties Args - The options for the transit gateway vpc attachment.
- Sequence[Tag
Args] - The tags for the attachment.
- subnet
Ids List<String> - The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
- transit
Gateway StringId - The ID of the transit gateway.
- vpc
Id String - The ID of the VPC.
- options Property Map
- The options for the transit gateway vpc attachment.
- List<Property Map>
- The tags for the attachment.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitGatewayAttachment resource produces the following output properties:
Supporting Types
OptionsProperties, OptionsPropertiesArgs
- Appliance
Mode stringSupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- Dns
Support string - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- Ipv6Support string
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- Security
Group stringReferencing Support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
- Appliance
Mode stringSupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- Dns
Support string - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- Ipv6Support string
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- Security
Group stringReferencing Support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
- appliance
Mode StringSupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- dns
Support String - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- ipv6Support String
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security
Group StringReferencing Support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
- appliance
Mode stringSupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- dns
Support string - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- ipv6Support string
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security
Group stringReferencing Support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
- appliance_
mode_ strsupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- dns_
support str - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- ipv6_
support str - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security_
group_ strreferencing_ support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
- appliance
Mode StringSupport - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- dns
Support String - Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable
- ipv6Support String
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security
Group StringReferencing Support - Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.