aws.ec2transitgateway.VpcAttachmentAccepter
Explore with Pulumi AI
Manages the accepter’s side of an EC2 Transit Gateway VPC Attachment.
When a cross-account (requester’s AWS account differs from the accepter’s AWS account) EC2 Transit Gateway VPC Attachment
is created, an EC2 Transit Gateway VPC Attachment resource is automatically created in the accepter’s account.
The requester can use the aws.ec2transitgateway.VpcAttachment
resource to manage its side of the connection
and the accepter can use the aws.ec2transitgateway.VpcAttachmentAccepter
resource to “adopt” its side of the
connection into management.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ec2transitgateway.VpcAttachmentAccepter("example", {
transitGatewayAttachmentId: exampleAwsEc2TransitGatewayVpcAttachment.id,
tags: {
Name: "Example cross-account attachment",
},
});
import pulumi
import pulumi_aws as aws
example = aws.ec2transitgateway.VpcAttachmentAccepter("example",
transit_gateway_attachment_id=example_aws_ec2_transit_gateway_vpc_attachment["id"],
tags={
"Name": "Example cross-account attachment",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2transitgateway.NewVpcAttachmentAccepter(ctx, "example", &ec2transitgateway.VpcAttachmentAccepterArgs{
TransitGatewayAttachmentId: pulumi.Any(exampleAwsEc2TransitGatewayVpcAttachment.Id),
Tags: pulumi.StringMap{
"Name": pulumi.String("Example cross-account attachment"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Ec2TransitGateway.VpcAttachmentAccepter("example", new()
{
TransitGatewayAttachmentId = exampleAwsEc2TransitGatewayVpcAttachment.Id,
Tags =
{
{ "Name", "Example cross-account attachment" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2transitgateway.VpcAttachmentAccepter;
import com.pulumi.aws.ec2transitgateway.VpcAttachmentAccepterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VpcAttachmentAccepter("example", VpcAttachmentAccepterArgs.builder()
.transitGatewayAttachmentId(exampleAwsEc2TransitGatewayVpcAttachment.id())
.tags(Map.of("Name", "Example cross-account attachment"))
.build());
}
}
resources:
example:
type: aws:ec2transitgateway:VpcAttachmentAccepter
properties:
transitGatewayAttachmentId: ${exampleAwsEc2TransitGatewayVpcAttachment.id}
tags:
Name: Example cross-account attachment
Create VpcAttachmentAccepter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcAttachmentAccepter(name: string, args: VpcAttachmentAccepterArgs, opts?: CustomResourceOptions);
@overload
def VpcAttachmentAccepter(resource_name: str,
args: VpcAttachmentAccepterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcAttachmentAccepter(resource_name: str,
opts: Optional[ResourceOptions] = None,
transit_gateway_attachment_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
transit_gateway_default_route_table_association: Optional[bool] = None,
transit_gateway_default_route_table_propagation: Optional[bool] = None)
func NewVpcAttachmentAccepter(ctx *Context, name string, args VpcAttachmentAccepterArgs, opts ...ResourceOption) (*VpcAttachmentAccepter, error)
public VpcAttachmentAccepter(string name, VpcAttachmentAccepterArgs args, CustomResourceOptions? opts = null)
public VpcAttachmentAccepter(String name, VpcAttachmentAccepterArgs args)
public VpcAttachmentAccepter(String name, VpcAttachmentAccepterArgs args, CustomResourceOptions options)
type: aws:ec2transitgateway:VpcAttachmentAccepter
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 VpcAttachmentAccepterArgs
- 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 VpcAttachmentAccepterArgs
- 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 VpcAttachmentAccepterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcAttachmentAccepterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcAttachmentAccepterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vpcAttachmentAccepterResource = new Aws.Ec2TransitGateway.VpcAttachmentAccepter("vpcAttachmentAccepterResource", new()
{
TransitGatewayAttachmentId = "string",
Tags =
{
{ "string", "string" },
},
TransitGatewayDefaultRouteTableAssociation = false,
TransitGatewayDefaultRouteTablePropagation = false,
});
example, err := ec2transitgateway.NewVpcAttachmentAccepter(ctx, "vpcAttachmentAccepterResource", &ec2transitgateway.VpcAttachmentAccepterArgs{
TransitGatewayAttachmentId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TransitGatewayDefaultRouteTableAssociation: pulumi.Bool(false),
TransitGatewayDefaultRouteTablePropagation: pulumi.Bool(false),
})
var vpcAttachmentAccepterResource = new VpcAttachmentAccepter("vpcAttachmentAccepterResource", VpcAttachmentAccepterArgs.builder()
.transitGatewayAttachmentId("string")
.tags(Map.of("string", "string"))
.transitGatewayDefaultRouteTableAssociation(false)
.transitGatewayDefaultRouteTablePropagation(false)
.build());
vpc_attachment_accepter_resource = aws.ec2transitgateway.VpcAttachmentAccepter("vpcAttachmentAccepterResource",
transit_gateway_attachment_id="string",
tags={
"string": "string",
},
transit_gateway_default_route_table_association=False,
transit_gateway_default_route_table_propagation=False)
const vpcAttachmentAccepterResource = new aws.ec2transitgateway.VpcAttachmentAccepter("vpcAttachmentAccepterResource", {
transitGatewayAttachmentId: "string",
tags: {
string: "string",
},
transitGatewayDefaultRouteTableAssociation: false,
transitGatewayDefaultRouteTablePropagation: false,
});
type: aws:ec2transitgateway:VpcAttachmentAccepter
properties:
tags:
string: string
transitGatewayAttachmentId: string
transitGatewayDefaultRouteTableAssociation: false
transitGatewayDefaultRouteTablePropagation: false
VpcAttachmentAccepter 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 VpcAttachmentAccepter resource accepts the following input properties:
- Transit
Gateway stringAttachment Id - The ID of the EC2 Transit Gateway Attachment to manage.
- Dictionary<string, string>
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Transit
Gateway boolDefault Route Table Association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - Transit
Gateway boolDefault Route Table Propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
.
- Transit
Gateway stringAttachment Id - The ID of the EC2 Transit Gateway Attachment to manage.
- map[string]string
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Transit
Gateway boolDefault Route Table Association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - Transit
Gateway boolDefault Route Table Propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
.
- transit
Gateway StringAttachment Id - The ID of the EC2 Transit Gateway Attachment to manage.
- Map<String,String>
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - transit
Gateway BooleanDefault Route Table Association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - transit
Gateway BooleanDefault Route Table Propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
.
- transit
Gateway stringAttachment Id - The ID of the EC2 Transit Gateway Attachment to manage.
- {[key: string]: string}
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - transit
Gateway booleanDefault Route Table Association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - transit
Gateway booleanDefault Route Table Propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
.
- transit_
gateway_ strattachment_ id - The ID of the EC2 Transit Gateway Attachment to manage.
- Mapping[str, str]
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - transit_
gateway_ booldefault_ route_ table_ association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - transit_
gateway_ booldefault_ route_ table_ propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
.
- transit
Gateway StringAttachment Id - The ID of the EC2 Transit Gateway Attachment to manage.
- Map<String>
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - transit
Gateway BooleanDefault Route Table Association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - transit
Gateway BooleanDefault Route Table Propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcAttachmentAccepter resource produces the following output properties:
- Appliance
Mode stringSupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - Dns
Support string - Whether DNS support is enabled. Valid values:
disable
,enable
. - Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Support string
- Whether IPv6 support is enabled. Valid values:
disable
,enable
. - Security
Group stringReferencing Support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - Subnet
Ids List<string> - Identifiers of EC2 Subnets.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Transit
Gateway stringId - Identifier of EC2 Transit Gateway.
- Vpc
Id string - Identifier of EC2 VPC.
- Vpc
Owner stringId - Identifier of the AWS account that owns the EC2 VPC.
- Appliance
Mode stringSupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - Dns
Support string - Whether DNS support is enabled. Valid values:
disable
,enable
. - Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Support string
- Whether IPv6 support is enabled. Valid values:
disable
,enable
. - Security
Group stringReferencing Support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - Subnet
Ids []string - Identifiers of EC2 Subnets.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Transit
Gateway stringId - Identifier of EC2 Transit Gateway.
- Vpc
Id string - Identifier of EC2 VPC.
- Vpc
Owner stringId - Identifier of the AWS account that owns the EC2 VPC.
- appliance
Mode StringSupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - dns
Support String - Whether DNS support is enabled. Valid values:
disable
,enable
. - id String
- The provider-assigned unique ID for this managed resource.
- ipv6Support String
- Whether IPv6 support is enabled. Valid values:
disable
,enable
. - security
Group StringReferencing Support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - subnet
Ids List<String> - Identifiers of EC2 Subnets.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - transit
Gateway StringId - Identifier of EC2 Transit Gateway.
- vpc
Id String - Identifier of EC2 VPC.
- vpc
Owner StringId - Identifier of the AWS account that owns the EC2 VPC.
- appliance
Mode stringSupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - dns
Support string - Whether DNS support is enabled. Valid values:
disable
,enable
. - id string
- The provider-assigned unique ID for this managed resource.
- ipv6Support string
- Whether IPv6 support is enabled. Valid values:
disable
,enable
. - security
Group stringReferencing Support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - subnet
Ids string[] - Identifiers of EC2 Subnets.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - transit
Gateway stringId - Identifier of EC2 Transit Gateway.
- vpc
Id string - Identifier of EC2 VPC.
- vpc
Owner stringId - Identifier of the AWS account that owns the EC2 VPC.
- appliance_
mode_ strsupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - dns_
support str - Whether DNS support is enabled. Valid values:
disable
,enable
. - id str
- The provider-assigned unique ID for this managed resource.
- ipv6_
support str - Whether IPv6 support is enabled. Valid values:
disable
,enable
. - security_
group_ strreferencing_ support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - subnet_
ids Sequence[str] - Identifiers of EC2 Subnets.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - transit_
gateway_ strid - Identifier of EC2 Transit Gateway.
- vpc_
id str - Identifier of EC2 VPC.
- vpc_
owner_ strid - Identifier of the AWS account that owns the EC2 VPC.
- appliance
Mode StringSupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - dns
Support String - Whether DNS support is enabled. Valid values:
disable
,enable
. - id String
- The provider-assigned unique ID for this managed resource.
- ipv6Support String
- Whether IPv6 support is enabled. Valid values:
disable
,enable
. - security
Group StringReferencing Support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - subnet
Ids List<String> - Identifiers of EC2 Subnets.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - transit
Gateway StringId - Identifier of EC2 Transit Gateway.
- vpc
Id String - Identifier of EC2 VPC.
- vpc
Owner StringId - Identifier of the AWS account that owns the EC2 VPC.
Look up Existing VpcAttachmentAccepter Resource
Get an existing VpcAttachmentAccepter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VpcAttachmentAccepterState, opts?: CustomResourceOptions): VpcAttachmentAccepter
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
appliance_mode_support: Optional[str] = None,
dns_support: Optional[str] = None,
ipv6_support: Optional[str] = None,
security_group_referencing_support: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
transit_gateway_attachment_id: Optional[str] = None,
transit_gateway_default_route_table_association: Optional[bool] = None,
transit_gateway_default_route_table_propagation: Optional[bool] = None,
transit_gateway_id: Optional[str] = None,
vpc_id: Optional[str] = None,
vpc_owner_id: Optional[str] = None) -> VpcAttachmentAccepter
func GetVpcAttachmentAccepter(ctx *Context, name string, id IDInput, state *VpcAttachmentAccepterState, opts ...ResourceOption) (*VpcAttachmentAccepter, error)
public static VpcAttachmentAccepter Get(string name, Input<string> id, VpcAttachmentAccepterState? state, CustomResourceOptions? opts = null)
public static VpcAttachmentAccepter get(String name, Output<String> id, VpcAttachmentAccepterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Appliance
Mode stringSupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - Dns
Support string - Whether DNS support is enabled. Valid values:
disable
,enable
. - Ipv6Support string
- Whether IPv6 support is enabled. Valid values:
disable
,enable
. - Security
Group stringReferencing Support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - Subnet
Ids List<string> - Identifiers of EC2 Subnets.
- Dictionary<string, string>
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Transit
Gateway stringAttachment Id - The ID of the EC2 Transit Gateway Attachment to manage.
- Transit
Gateway boolDefault Route Table Association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - Transit
Gateway boolDefault Route Table Propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
. - Transit
Gateway stringId - Identifier of EC2 Transit Gateway.
- Vpc
Id string - Identifier of EC2 VPC.
- Vpc
Owner stringId - Identifier of the AWS account that owns the EC2 VPC.
- Appliance
Mode stringSupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - Dns
Support string - Whether DNS support is enabled. Valid values:
disable
,enable
. - Ipv6Support string
- Whether IPv6 support is enabled. Valid values:
disable
,enable
. - Security
Group stringReferencing Support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - Subnet
Ids []string - Identifiers of EC2 Subnets.
- map[string]string
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Transit
Gateway stringAttachment Id - The ID of the EC2 Transit Gateway Attachment to manage.
- Transit
Gateway boolDefault Route Table Association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - Transit
Gateway boolDefault Route Table Propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
. - Transit
Gateway stringId - Identifier of EC2 Transit Gateway.
- Vpc
Id string - Identifier of EC2 VPC.
- Vpc
Owner stringId - Identifier of the AWS account that owns the EC2 VPC.
- appliance
Mode StringSupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - dns
Support String - Whether DNS support is enabled. Valid values:
disable
,enable
. - ipv6Support String
- Whether IPv6 support is enabled. Valid values:
disable
,enable
. - security
Group StringReferencing Support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - subnet
Ids List<String> - Identifiers of EC2 Subnets.
- Map<String,String>
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - transit
Gateway StringAttachment Id - The ID of the EC2 Transit Gateway Attachment to manage.
- transit
Gateway BooleanDefault Route Table Association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - transit
Gateway BooleanDefault Route Table Propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
. - transit
Gateway StringId - Identifier of EC2 Transit Gateway.
- vpc
Id String - Identifier of EC2 VPC.
- vpc
Owner StringId - Identifier of the AWS account that owns the EC2 VPC.
- appliance
Mode stringSupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - dns
Support string - Whether DNS support is enabled. Valid values:
disable
,enable
. - ipv6Support string
- Whether IPv6 support is enabled. Valid values:
disable
,enable
. - security
Group stringReferencing Support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - subnet
Ids string[] - Identifiers of EC2 Subnets.
- {[key: string]: string}
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - transit
Gateway stringAttachment Id - The ID of the EC2 Transit Gateway Attachment to manage.
- transit
Gateway booleanDefault Route Table Association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - transit
Gateway booleanDefault Route Table Propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
. - transit
Gateway stringId - Identifier of EC2 Transit Gateway.
- vpc
Id string - Identifier of EC2 VPC.
- vpc
Owner stringId - Identifier of the AWS account that owns the EC2 VPC.
- appliance_
mode_ strsupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - dns_
support str - Whether DNS support is enabled. Valid values:
disable
,enable
. - ipv6_
support str - Whether IPv6 support is enabled. Valid values:
disable
,enable
. - security_
group_ strreferencing_ support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - subnet_
ids Sequence[str] - Identifiers of EC2 Subnets.
- Mapping[str, str]
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - transit_
gateway_ strattachment_ id - The ID of the EC2 Transit Gateway Attachment to manage.
- transit_
gateway_ booldefault_ route_ table_ association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - transit_
gateway_ booldefault_ route_ table_ propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
. - transit_
gateway_ strid - Identifier of EC2 Transit Gateway.
- vpc_
id str - Identifier of EC2 VPC.
- vpc_
owner_ strid - Identifier of the AWS account that owns the EC2 VPC.
- appliance
Mode StringSupport - Whether Appliance Mode support is enabled. Valid values:
disable
,enable
. - dns
Support String - Whether DNS support is enabled. Valid values:
disable
,enable
. - ipv6Support String
- Whether IPv6 support is enabled. Valid values:
disable
,enable
. - security
Group StringReferencing Support - Whether Security Group Referencing Support is enabled. Valid values:
disable
,enable
. - subnet
Ids List<String> - Identifiers of EC2 Subnets.
- Map<String>
- Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - transit
Gateway StringAttachment Id - The ID of the EC2 Transit Gateway Attachment to manage.
- transit
Gateway BooleanDefault Route Table Association - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value:
true
. - transit
Gateway BooleanDefault Route Table Propagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value:
true
. - transit
Gateway StringId - Identifier of EC2 Transit Gateway.
- vpc
Id String - Identifier of EC2 VPC.
- vpc
Owner StringId - Identifier of the AWS account that owns the EC2 VPC.
Import
Using pulumi import
, import aws_ec2_transit_gateway_vpc_attachment_accepter
using the EC2 Transit Gateway Attachment identifier. For example:
$ pulumi import aws:ec2transitgateway/vpcAttachmentAccepter:VpcAttachmentAccepter example tgw-attach-12345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.