AWS Native is in preview. AWS Classic is fully supported.
aws-native.ec2.TransitGatewayVpcAttachment
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::EC2::TransitGatewayVpcAttachment
Create TransitGatewayVpcAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitGatewayVpcAttachment(name: string, args: TransitGatewayVpcAttachmentArgs, opts?: CustomResourceOptions);
@overload
def TransitGatewayVpcAttachment(resource_name: str,
args: TransitGatewayVpcAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitGatewayVpcAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
subnet_ids: Optional[Sequence[str]] = None,
transit_gateway_id: Optional[str] = None,
vpc_id: Optional[str] = None,
add_subnet_ids: Optional[Sequence[str]] = None,
options: Optional[OptionsPropertiesArgs] = None,
remove_subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewTransitGatewayVpcAttachment(ctx *Context, name string, args TransitGatewayVpcAttachmentArgs, opts ...ResourceOption) (*TransitGatewayVpcAttachment, error)
public TransitGatewayVpcAttachment(string name, TransitGatewayVpcAttachmentArgs args, CustomResourceOptions? opts = null)
public TransitGatewayVpcAttachment(String name, TransitGatewayVpcAttachmentArgs args)
public TransitGatewayVpcAttachment(String name, TransitGatewayVpcAttachmentArgs args, CustomResourceOptions options)
type: aws-native:ec2:TransitGatewayVpcAttachment
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 TransitGatewayVpcAttachmentArgs
- 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 TransitGatewayVpcAttachmentArgs
- 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 TransitGatewayVpcAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitGatewayVpcAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitGatewayVpcAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TransitGatewayVpcAttachment 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 TransitGatewayVpcAttachment resource accepts the following input properties:
- Subnet
Ids List<string> - The IDs of the subnets.
- Transit
Gateway stringId - The ID of the transit gateway.
- Vpc
Id string - The ID of the VPC.
- Add
Subnet List<string>Ids - The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
- Options
Pulumi.
Aws Native. Ec2. Inputs. Options Properties - The options for the transit gateway vpc attachment.
- Remove
Subnet List<string>Ids - The IDs of one or more subnets to remove.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the VPC attachment.
- Subnet
Ids []string - The IDs of the subnets.
- Transit
Gateway stringId - The ID of the transit gateway.
- Vpc
Id string - The ID of the VPC.
- Add
Subnet []stringIds - The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
- Options
Options
Properties Args - The options for the transit gateway vpc attachment.
- Remove
Subnet []stringIds - The IDs of one or more subnets to remove.
- Tag
Args - The tags for the VPC attachment.
- subnet
Ids List<String> - The IDs of the subnets.
- transit
Gateway StringId - The ID of the transit gateway.
- vpc
Id String - The ID of the VPC.
- add
Subnet List<String>Ids - The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
- options
Options
Properties - The options for the transit gateway vpc attachment.
- remove
Subnet List<String>Ids - The IDs of one or more subnets to remove.
- List<Tag>
- The tags for the VPC attachment.
- subnet
Ids string[] - The IDs of the subnets.
- transit
Gateway stringId - The ID of the transit gateway.
- vpc
Id string - The ID of the VPC.
- add
Subnet string[]Ids - The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
- options
Options
Properties - The options for the transit gateway vpc attachment.
- remove
Subnet string[]Ids - The IDs of one or more subnets to remove.
- Tag[]
- The tags for the VPC attachment.
- subnet_
ids Sequence[str] - The IDs of the subnets.
- transit_
gateway_ strid - The ID of the transit gateway.
- vpc_
id str - The ID of the VPC.
- add_
subnet_ Sequence[str]ids - The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
- options
Options
Properties Args - The options for the transit gateway vpc attachment.
- remove_
subnet_ Sequence[str]ids - The IDs of one or more subnets to remove.
- Sequence[Tag
Args] - The tags for the VPC attachment.
- subnet
Ids List<String> - The IDs of the subnets.
- transit
Gateway StringId - The ID of the transit gateway.
- vpc
Id String - The ID of the VPC.
- add
Subnet List<String>Ids - The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
- options Property Map
- The options for the transit gateway vpc attachment.
- remove
Subnet List<String>Ids - The IDs of one or more subnets to remove.
- List<Property Map>
- The tags for the VPC attachment.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitGatewayVpcAttachment 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
- 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
- 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
- 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
- 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
- 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
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.