Module ec2transitgateway
This page documents the language specification for the aws package. If you're looking for help working with the inputs, outputs, or functions of aws resources in a Pulumi program, please see the resource documentation for examples and API reference.
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the
pulumi/pulumi-awsrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-awsrepo.
Resources
- PeeringAttachment
- Route
- RouteTable
- RouteTableAssociation
- RouteTablePropagation
- TransitGateway
- VpcAttachment
- VpcAttachmentAccepter
Functions
- getDirectConnectGatewayAttachment
- getPeeringAttachment
- getRouteTable
- getTransitGateway
- getVpcAttachment
- getVpnAttachment
Others
- GetDirectConnectGatewayAttachmentArgs
- GetDirectConnectGatewayAttachmentResult
- GetPeeringAttachmentArgs
- GetPeeringAttachmentResult
- GetRouteTableArgs
- GetRouteTableResult
- GetTransitGatewayArgs
- GetTransitGatewayResult
- GetVpcAttachmentArgs
- GetVpcAttachmentResult
- GetVpnAttachmentArgs
- GetVpnAttachmentResult
- PeeringAttachmentArgs
- PeeringAttachmentState
- RouteArgs
- RouteState
- RouteTableArgs
- RouteTableAssociationArgs
- RouteTableAssociationState
- RouteTablePropagationArgs
- RouteTablePropagationState
- RouteTableState
- TransitGatewayArgs
- TransitGatewayState
- VpcAttachmentAccepterArgs
- VpcAttachmentAccepterState
- VpcAttachmentArgs
- VpcAttachmentState
Resources
Resource PeeringAttachment
class PeeringAttachment extends CustomResourceManages an EC2 Transit Gateway Peering Attachment. For examples of custom route table association and propagation, see the EC2 Transit Gateway Networking Examples Guide.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const local = new aws.Provider("local", {region: "us-east-1"});
const peer = new aws.Provider("peer", {region: "us-west-2"});
const peerRegion = aws.getRegion({});
const localTransitGateway = new aws.ec2transitgateway.TransitGateway("localTransitGateway", {tags: {
Name: "Local TGW",
}});
const peerTransitGateway = new aws.ec2transitgateway.TransitGateway("peerTransitGateway", {tags: {
Name: "Peer TGW",
}});
const example = new aws.ec2transitgateway.PeeringAttachment("example", {
peerAccountId: peerTransitGateway.ownerId,
peerRegion: peerRegion.then(peerRegion => peerRegion.name),
peerTransitGatewayId: peerTransitGateway.id,
transitGatewayId: localTransitGateway.id,
tags: {
Name: "TGW Peering Requestor",
},
});constructor
new PeeringAttachment(name: string, args: PeeringAttachmentArgs, opts?: pulumi.CustomResourceOptions)Create a PeeringAttachment resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PeeringAttachmentState, opts?: pulumi.CustomResourceOptions): PeeringAttachmentGet an existing PeeringAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is PeeringAttachmentReturns true if the given object is an instance of PeeringAttachment. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property peerAccountId
public peerAccountId: pulumi.Output<string>;Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the current provider is currently connected to.
property peerRegion
public peerRegion: pulumi.Output<string>;Region of EC2 Transit Gateway to peer with.
property peerTransitGatewayId
public peerTransitGatewayId: pulumi.Output<string>;Identifier of EC2 Transit Gateway to peer with.
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;Key-value tags for the EC2 Transit Gateway Peering Attachment.
property transitGatewayId
public transitGatewayId: pulumi.Output<string>;Identifier of EC2 Transit Gateway.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource Route
class Route extends CustomResourceManages an EC2 Transit Gateway Route.
Example Usage
Standard usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ec2transitgateway.Route("example", {
destinationCidrBlock: "0.0.0.0/0",
transitGatewayAttachmentId: aws_ec2_transit_gateway_vpc_attachment_example.id,
transitGatewayRouteTableId: aws_ec2_transit_gateway_example.associationDefaultRouteTableId,
});Blackhole route
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ec2transitgateway.Route("example", {
blackhole: true,
destinationCidrBlock: "0.0.0.0/0",
transitGatewayRouteTableId: aws_ec2_transit_gateway_example.associationDefaultRouteTableId,
});constructor
new Route(name: string, args: RouteArgs, opts?: pulumi.CustomResourceOptions)Create a Route resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteState, opts?: pulumi.CustomResourceOptions): RouteGet an existing Route resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is RouteReturns true if the given object is an instance of Route. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property blackhole
public blackhole: pulumi.Output<boolean | undefined>;Indicates whether to drop traffic that matches this route (default to false).
property destinationCidrBlock
public destinationCidrBlock: pulumi.Output<string>;IPv4 CIDR range used for destination matches. Routing decisions are based on the most specific match.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property transitGatewayAttachmentId
public transitGatewayAttachmentId: pulumi.Output<string | undefined>;Identifier of EC2 Transit Gateway Attachment (required if blackhole is set to false).
property transitGatewayRouteTableId
public transitGatewayRouteTableId: pulumi.Output<string>;Identifier of EC2 Transit Gateway Route Table.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource RouteTable
class RouteTable extends CustomResourceManages an EC2 Transit Gateway Route Table.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ec2transitgateway.RouteTable("example", {
transitGatewayId: aws_ec2_transit_gateway_example.id,
});constructor
new RouteTable(name: string, args: RouteTableArgs, opts?: pulumi.CustomResourceOptions)Create a RouteTable resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteTableState, opts?: pulumi.CustomResourceOptions): RouteTableGet an existing RouteTable resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is RouteTableReturns true if the given object is an instance of RouteTable. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property defaultAssociationRouteTable
public defaultAssociationRouteTable: pulumi.Output<boolean>;Boolean whether this is the default association route table for the EC2 Transit Gateway.
property defaultPropagationRouteTable
public defaultPropagationRouteTable: pulumi.Output<boolean>;Boolean whether this is the default propagation route table for the EC2 Transit Gateway.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;Key-value tags for the EC2 Transit Gateway Route Table.
property transitGatewayId
public transitGatewayId: pulumi.Output<string>;Identifier of EC2 Transit Gateway.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource RouteTableAssociation
class RouteTableAssociation extends CustomResourceManages an EC2 Transit Gateway Route Table association.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ec2transitgateway.RouteTableAssociation("example", {
transitGatewayAttachmentId: aws_ec2_transit_gateway_vpc_attachment_example.id,
transitGatewayRouteTableId: aws_ec2_transit_gateway_route_table_example.id,
});constructor
new RouteTableAssociation(name: string, args: RouteTableAssociationArgs, opts?: pulumi.CustomResourceOptions)Create a RouteTableAssociation resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteTableAssociationState, opts?: pulumi.CustomResourceOptions): RouteTableAssociationGet an existing RouteTableAssociation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is RouteTableAssociationReturns true if the given object is an instance of RouteTableAssociation. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property resourceId
public resourceId: pulumi.Output<string>;Identifier of the resource
property resourceType
public resourceType: pulumi.Output<string>;Type of the resource
property transitGatewayAttachmentId
public transitGatewayAttachmentId: pulumi.Output<string>;Identifier of EC2 Transit Gateway Attachment.
property transitGatewayRouteTableId
public transitGatewayRouteTableId: pulumi.Output<string>;Identifier of EC2 Transit Gateway Route Table.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource RouteTablePropagation
class RouteTablePropagation extends CustomResourceManages an EC2 Transit Gateway Route Table propagation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ec2transitgateway.RouteTablePropagation("example", {
transitGatewayAttachmentId: aws_ec2_transit_gateway_vpc_attachment_example.id,
transitGatewayRouteTableId: aws_ec2_transit_gateway_route_table_example.id,
});constructor
new RouteTablePropagation(name: string, args: RouteTablePropagationArgs, opts?: pulumi.CustomResourceOptions)Create a RouteTablePropagation resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteTablePropagationState, opts?: pulumi.CustomResourceOptions): RouteTablePropagationGet an existing RouteTablePropagation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is RouteTablePropagationReturns true if the given object is an instance of RouteTablePropagation. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property resourceId
public resourceId: pulumi.Output<string>;Identifier of the resource
property resourceType
public resourceType: pulumi.Output<string>;Type of the resource
property transitGatewayAttachmentId
public transitGatewayAttachmentId: pulumi.Output<string>;Identifier of EC2 Transit Gateway Attachment.
property transitGatewayRouteTableId
public transitGatewayRouteTableId: pulumi.Output<string>;Identifier of EC2 Transit Gateway Route Table.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource TransitGateway
class TransitGateway extends CustomResourceManages an EC2 Transit Gateway.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ec2transitgateway.TransitGateway("example", {
description: "example",
});constructor
new TransitGateway(name: string, args?: TransitGatewayArgs, opts?: pulumi.CustomResourceOptions)Create a TransitGateway resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TransitGatewayState, opts?: pulumi.CustomResourceOptions): TransitGatewayGet an existing TransitGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is TransitGatewayReturns true if the given object is an instance of TransitGateway. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property amazonSideAsn
public amazonSideAsn: pulumi.Output<number | undefined>;Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs. Default value: 64512.
property arn
public arn: pulumi.Output<ARN>;EC2 Transit Gateway Amazon Resource Name (ARN)
property associationDefaultRouteTableId
public associationDefaultRouteTableId: pulumi.Output<string>;Identifier of the default association route table
property autoAcceptSharedAttachments
public autoAcceptSharedAttachments: pulumi.Output<string | undefined>;Whether resource attachment requests are automatically accepted. Valid values: disable, enable. Default value: disable.
property defaultRouteTableAssociation
public defaultRouteTableAssociation: pulumi.Output<string | undefined>;Whether resource attachments are automatically associated with the default association route table. Valid values: disable, enable. Default value: enable.
property defaultRouteTablePropagation
public defaultRouteTablePropagation: pulumi.Output<string | undefined>;Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: disable, enable. Default value: enable.
property description
public description: pulumi.Output<string | undefined>;Description of the EC2 Transit Gateway.
property dnsSupport
public dnsSupport: pulumi.Output<string | undefined>;Whether DNS support is enabled. Valid values: disable, enable. Default value: enable.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property ownerId
public ownerId: pulumi.Output<string>;Identifier of the AWS account that owns the EC2 Transit Gateway
property propagationDefaultRouteTableId
public propagationDefaultRouteTableId: pulumi.Output<string>;Identifier of the default propagation route table
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;Key-value tags for the EC2 Transit Gateway.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property vpnEcmpSupport
public vpnEcmpSupport: pulumi.Output<string | undefined>;Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: disable, enable. Default value: enable.
Resource VpcAttachment
class VpcAttachment extends CustomResourceManages an EC2 Transit Gateway VPC Attachment. For examples of custom route table association and propagation, see the EC2 Transit Gateway Networking Examples Guide.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ec2transitgateway.VpcAttachment("example", {
subnetIds: [aws_subnet_example.id],
transitGatewayId: aws_ec2_transit_gateway_example.id,
vpcId: aws_vpc_example.id,
});constructor
new VpcAttachment(name: string, args: VpcAttachmentArgs, opts?: pulumi.CustomResourceOptions)Create a VpcAttachment resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcAttachmentState, opts?: pulumi.CustomResourceOptions): VpcAttachmentGet an existing VpcAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is VpcAttachmentReturns true if the given object is an instance of VpcAttachment. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property dnsSupport
public dnsSupport: pulumi.Output<string | undefined>;Whether DNS support is enabled. Valid values: disable, enable. Default value: enable.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property ipv6Support
public ipv6Support: pulumi.Output<string | undefined>;Whether IPv6 support is enabled. Valid values: disable, enable. Default value: disable.
property subnetIds
public subnetIds: pulumi.Output<string[]>;Identifiers of EC2 Subnets.
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;Key-value tags for the EC2 Transit Gateway VPC Attachment.
property transitGatewayDefaultRouteTableAssociation
public transitGatewayDefaultRouteTableAssociation: pulumi.Output<boolean | undefined>;Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: true.
property transitGatewayDefaultRouteTablePropagation
public transitGatewayDefaultRouteTablePropagation: pulumi.Output<boolean | undefined>;Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: true.
property transitGatewayId
public transitGatewayId: pulumi.Output<string>;Identifier of EC2 Transit Gateway.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property vpcId
public vpcId: pulumi.Output<string>;Identifier of EC2 VPC.
property vpcOwnerId
public vpcOwnerId: pulumi.Output<string>;Identifier of the AWS account that owns the EC2 VPC.
Resource VpcAttachmentAccepter
class VpcAttachmentAccepter extends CustomResourceManages 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", {
tags: {
Name: "Example cross-account attachment",
},
transitGatewayAttachmentId: aws_ec2_transit_gateway_vpc_attachment_example.id,
});constructor
new VpcAttachmentAccepter(name: string, args: VpcAttachmentAccepterArgs, opts?: pulumi.CustomResourceOptions)Create a VpcAttachmentAccepter resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcAttachmentAccepterState, opts?: pulumi.CustomResourceOptions): VpcAttachmentAccepterGet an existing VpcAttachmentAccepter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is VpcAttachmentAccepterReturns true if the given object is an instance of VpcAttachmentAccepter. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property dnsSupport
public dnsSupport: pulumi.Output<string>;Whether DNS support is enabled. Valid values: disable, enable.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property ipv6Support
public ipv6Support: pulumi.Output<string>;Whether IPv6 support is enabled. Valid values: disable, enable.
property subnetIds
public subnetIds: pulumi.Output<string[]>;Identifiers of EC2 Subnets.
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;Key-value tags for the EC2 Transit Gateway VPC Attachment.
property transitGatewayAttachmentId
public transitGatewayAttachmentId: pulumi.Output<string>;The ID of the EC2 Transit Gateway Attachment to manage.
property transitGatewayDefaultRouteTableAssociation
public transitGatewayDefaultRouteTableAssociation: pulumi.Output<boolean | undefined>;Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: true.
property transitGatewayDefaultRouteTablePropagation
public transitGatewayDefaultRouteTablePropagation: pulumi.Output<boolean | undefined>;Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: true.
property transitGatewayId
public transitGatewayId: pulumi.Output<string>;Identifier of EC2 Transit Gateway.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property vpcId
public vpcId: pulumi.Output<string>;Identifier of EC2 VPC.
property vpcOwnerId
public vpcOwnerId: pulumi.Output<string>;Identifier of the AWS account that owns the EC2 VPC.
Functions
Function getDirectConnectGatewayAttachment
getDirectConnectGatewayAttachment(args?: GetDirectConnectGatewayAttachmentArgs, opts?: pulumi.InvokeOptions): Promise<GetDirectConnectGatewayAttachmentResult>Get information on an EC2 Transit Gateway’s attachment to a Direct Connect Gateway.
Example Usage
By Transit Gateway and Direct Connect Gateway Identifiers
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.all([aws_dx_gateway_example.id, aws_ec2_transit_gateway_example.id]).apply(([aws_dx_gateway_exampleId, aws_ec2_transit_gateway_exampleId]) => aws.ec2transitgateway.getDirectConnectGatewayAttachment({
dxGatewayId: aws_dx_gateway_exampleId,
transitGatewayId: aws_ec2_transit_gateway_exampleId,
}, { async: true }));Function getPeeringAttachment
getPeeringAttachment(args?: GetPeeringAttachmentArgs, opts?: pulumi.InvokeOptions): Promise<GetPeeringAttachmentResult>Get information on an EC2 Transit Gateway Peering Attachment.
Example Usage
By Filter
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.output(aws.ec2transitgateway.getPeeringAttachment({
filters: [{
name: "transit-gateway-attachment-id",
values: ["tgw-attach-12345678"],
}],
}, { async: true }));By Identifier
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const attachment = pulumi.output(aws.ec2transitgateway.getPeeringAttachment({
id: "tgw-attach-12345678",
}, { async: true }));Function getRouteTable
getRouteTable(args?: GetRouteTableArgs, opts?: pulumi.InvokeOptions): Promise<GetRouteTableResult>Get information on an EC2 Transit Gateway Route Table.
Example Usage
By Filter
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.output(aws.ec2transitgateway.getRouteTable({
filters: [
{
name: "default-association-route-table",
values: ["true"],
},
{
name: "transit-gateway-id",
values: ["tgw-12345678"],
},
],
}, { async: true }));By Identifier
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.output(aws.ec2transitgateway.getRouteTable({
id: "tgw-rtb-12345678",
}, { async: true }));Function getTransitGateway
getTransitGateway(args?: GetTransitGatewayArgs, opts?: pulumi.InvokeOptions): Promise<GetTransitGatewayResult>Get information on an EC2 Transit Gateway.
Example Usage
By Filter
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.output(aws.ec2transitgateway.getTransitGateway({
filters: [{
name: "options.amazon-side-asn",
values: ["64512"],
}],
}, { async: true }));By Identifier
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.output(aws.ec2transitgateway.getTransitGateway({
id: "tgw-12345678",
}, { async: true }));Function getVpcAttachment
getVpcAttachment(args?: GetVpcAttachmentArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcAttachmentResult>Get information on an EC2 Transit Gateway VPC Attachment.
Example Usage
By Filter
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.output(aws.ec2transitgateway.getVpcAttachment({
filters: [{
name: "vpc-id",
values: ["vpc-12345678"],
}],
}, { async: true }));By Identifier
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.output(aws.ec2transitgateway.getVpcAttachment({
id: "tgw-attach-12345678",
}, { async: true }));Function getVpnAttachment
getVpnAttachment(args?: GetVpnAttachmentArgs, opts?: pulumi.InvokeOptions): Promise<GetVpnAttachmentResult>Get information on an EC2 Transit Gateway VPN Attachment.
Example Usage
By Transit Gateway and VPN Connection Identifiers
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.all([aws_ec2_transit_gateway_example.id, aws_vpn_connection_example.id]).apply(([aws_ec2_transit_gateway_exampleId, aws_vpn_connection_exampleId]) => aws.ec2transitgateway.getVpnAttachment({
transitGatewayId: aws_ec2_transit_gateway_exampleId,
vpnConnectionId: aws_vpn_connection_exampleId,
}, { async: true }));Filter
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = pulumi.output(aws.ec2transitgateway.getVpnAttachment({
filters: [{
name: "resource-id",
values: ["some-resource"],
}],
}, { async: true }));Others
interface GetDirectConnectGatewayAttachmentArgs
interface GetDirectConnectGatewayAttachmentArgsA collection of arguments for invoking getDirectConnectGatewayAttachment.
property dxGatewayId
dxGatewayId?: undefined | string;Identifier of the Direct Connect Gateway.
property filters
filters?: GetDirectConnectGatewayAttachmentFilter[];Configuration block(s) for filtering. Detailed below.
property tags
tags?: undefined | {[key: string]: any};A map of tags, each pair of which must exactly match a pair on the desired Transit Gateway Direct Connect Gateway Attachment.
property transitGatewayId
transitGatewayId?: undefined | string;Identifier of the EC2 Transit Gateway.
interface GetDirectConnectGatewayAttachmentResult
interface GetDirectConnectGatewayAttachmentResultA collection of values returned by getDirectConnectGatewayAttachment.
property dxGatewayId
dxGatewayId?: undefined | string;property filters
filters?: GetDirectConnectGatewayAttachmentFilter[];property id
id: string;The provider-assigned unique ID for this managed resource.
property tags
tags: {[key: string]: any};Key-value tags for the EC2 Transit Gateway Attachment
property transitGatewayId
transitGatewayId?: undefined | string;interface GetPeeringAttachmentArgs
interface GetPeeringAttachmentArgsA collection of arguments for invoking getPeeringAttachment.
property filters
filters?: GetPeeringAttachmentFilter[];One or more configuration blocks containing name-values filters. Detailed below.
property id
id?: undefined | string;Identifier of the EC2 Transit Gateway Peering Attachment.
property tags
tags?: undefined | {[key: string]: any};A mapping of tags, each pair of which must exactly match a pair on the specific EC2 Transit Gateway Peering Attachment to retrieve.
interface GetPeeringAttachmentResult
interface GetPeeringAttachmentResultA collection of values returned by getPeeringAttachment.
property filters
filters?: GetPeeringAttachmentFilter[];property id
id?: undefined | string;property peerAccountId
peerAccountId: string;Identifier of the peer AWS account
property peerRegion
peerRegion: string;Identifier of the peer AWS region
property peerTransitGatewayId
peerTransitGatewayId: string;Identifier of the peer EC2 Transit Gateway
property tags
tags: {[key: string]: any};property transitGatewayId
transitGatewayId: string;Identifier of the local EC2 Transit Gateway
interface GetRouteTableArgs
interface GetRouteTableArgsA collection of arguments for invoking getRouteTable.
property filters
filters?: GetRouteTableFilter[];One or more configuration blocks containing name-values filters. Detailed below.
property id
id?: undefined | string;Identifier of the EC2 Transit Gateway Route Table.
property tags
tags?: undefined | {[key: string]: any};Key-value tags for the EC2 Transit Gateway Route Table
interface GetRouteTableResult
interface GetRouteTableResultA collection of values returned by getRouteTable.
property defaultAssociationRouteTable
defaultAssociationRouteTable: boolean;Boolean whether this is the default association route table for the EC2 Transit Gateway
property defaultPropagationRouteTable
defaultPropagationRouteTable: boolean;Boolean whether this is the default propagation route table for the EC2 Transit Gateway
property filters
filters?: GetRouteTableFilter[];property id
id?: undefined | string;EC2 Transit Gateway Route Table identifier
property tags
tags: {[key: string]: any};Key-value tags for the EC2 Transit Gateway Route Table
property transitGatewayId
transitGatewayId: string;EC2 Transit Gateway identifier
interface GetTransitGatewayArgs
interface GetTransitGatewayArgsA collection of arguments for invoking getTransitGateway.
property filters
filters?: GetTransitGatewayFilter[];One or more configuration blocks containing name-values filters. Detailed below.
property id
id?: undefined | string;Identifier of the EC2 Transit Gateway.
property tags
tags?: undefined | {[key: string]: any};Key-value tags for the EC2 Transit Gateway
interface GetTransitGatewayResult
interface GetTransitGatewayResultA collection of values returned by getTransitGateway.
property amazonSideAsn
amazonSideAsn: number;Private Autonomous System Number (ASN) for the Amazon side of a BGP session
property arn
arn: string;EC2 Transit Gateway Amazon Resource Name (ARN)
property associationDefaultRouteTableId
associationDefaultRouteTableId: string;Identifier of the default association route table
property autoAcceptSharedAttachments
autoAcceptSharedAttachments: string;Whether resource attachment requests are automatically accepted.
property defaultRouteTableAssociation
defaultRouteTableAssociation: string;Whether resource attachments are automatically associated with the default association route table.
property defaultRouteTablePropagation
defaultRouteTablePropagation: string;Whether resource attachments automatically propagate routes to the default propagation route table.
property description
description: string;Description of the EC2 Transit Gateway
property dnsSupport
dnsSupport: string;Whether DNS support is enabled.
property filters
filters?: GetTransitGatewayFilter[];property id
id?: undefined | string;EC2 Transit Gateway identifier
property ownerId
ownerId: string;Identifier of the AWS account that owns the EC2 Transit Gateway
property propagationDefaultRouteTableId
propagationDefaultRouteTableId: string;Identifier of the default propagation route table.
property tags
tags: {[key: string]: any};Key-value tags for the EC2 Transit Gateway
property vpnEcmpSupport
vpnEcmpSupport: string;Whether VPN Equal Cost Multipath Protocol support is enabled.
interface GetVpcAttachmentArgs
interface GetVpcAttachmentArgsA collection of arguments for invoking getVpcAttachment.
property filters
filters?: GetVpcAttachmentFilter[];One or more configuration blocks containing name-values filters. Detailed below.
property id
id?: undefined | string;Identifier of the EC2 Transit Gateway VPC Attachment.
property tags
tags?: undefined | {[key: string]: any};Key-value tags for the EC2 Transit Gateway VPC Attachment
interface GetVpcAttachmentResult
interface GetVpcAttachmentResultA collection of values returned by getVpcAttachment.
property dnsSupport
dnsSupport: string;Whether DNS support is enabled.
property filters
filters?: GetVpcAttachmentFilter[];property id
id?: undefined | string;EC2 Transit Gateway VPC Attachment identifier
property ipv6Support
ipv6Support: string;Whether IPv6 support is enabled.
property subnetIds
subnetIds: string[];Identifiers of EC2 Subnets.
property tags
tags: {[key: string]: any};Key-value tags for the EC2 Transit Gateway VPC Attachment
property transitGatewayId
transitGatewayId: string;EC2 Transit Gateway identifier
property vpcId
vpcId: string;Identifier of EC2 VPC.
property vpcOwnerId
vpcOwnerId: string;Identifier of the AWS account that owns the EC2 VPC.
interface GetVpnAttachmentArgs
interface GetVpnAttachmentArgsA collection of arguments for invoking getVpnAttachment.
property filters
filters?: GetVpnAttachmentFilter[];Configuration block(s) for filtering. Detailed below.
property tags
tags?: undefined | {[key: string]: any};A map of tags, each pair of which must exactly match a pair on the desired Transit Gateway VPN Attachment.
property transitGatewayId
transitGatewayId?: undefined | string;Identifier of the EC2 Transit Gateway.
property vpnConnectionId
vpnConnectionId?: undefined | string;Identifier of the EC2 VPN Connection.
interface GetVpnAttachmentResult
interface GetVpnAttachmentResultA collection of values returned by getVpnAttachment.
property filters
filters?: GetVpnAttachmentFilter[];property id
id: string;The provider-assigned unique ID for this managed resource.
property tags
tags: {[key: string]: any};Key-value tags for the EC2 Transit Gateway VPN Attachment
property transitGatewayId
transitGatewayId?: undefined | string;property vpnConnectionId
vpnConnectionId?: undefined | string;interface PeeringAttachmentArgs
interface PeeringAttachmentArgsThe set of arguments for constructing a PeeringAttachment resource.
property peerAccountId
peerAccountId?: pulumi.Input<string>;Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the current provider is currently connected to.
property peerRegion
peerRegion: pulumi.Input<string>;Region of EC2 Transit Gateway to peer with.
property peerTransitGatewayId
peerTransitGatewayId: pulumi.Input<string>;Identifier of EC2 Transit Gateway to peer with.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value tags for the EC2 Transit Gateway Peering Attachment.
property transitGatewayId
transitGatewayId: pulumi.Input<string>;Identifier of EC2 Transit Gateway.
interface PeeringAttachmentState
interface PeeringAttachmentStateInput properties used for looking up and filtering PeeringAttachment resources.
property peerAccountId
peerAccountId?: pulumi.Input<string>;Account ID of EC2 Transit Gateway to peer with. Defaults to the account ID the current provider is currently connected to.
property peerRegion
peerRegion?: pulumi.Input<string>;Region of EC2 Transit Gateway to peer with.
property peerTransitGatewayId
peerTransitGatewayId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway to peer with.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value tags for the EC2 Transit Gateway Peering Attachment.
property transitGatewayId
transitGatewayId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway.
interface RouteArgs
interface RouteArgsThe set of arguments for constructing a Route resource.
property blackhole
blackhole?: pulumi.Input<boolean>;Indicates whether to drop traffic that matches this route (default to false).
property destinationCidrBlock
destinationCidrBlock: pulumi.Input<string>;IPv4 CIDR range used for destination matches. Routing decisions are based on the most specific match.
property transitGatewayAttachmentId
transitGatewayAttachmentId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway Attachment (required if blackhole is set to false).
property transitGatewayRouteTableId
transitGatewayRouteTableId: pulumi.Input<string>;Identifier of EC2 Transit Gateway Route Table.
interface RouteState
interface RouteStateInput properties used for looking up and filtering Route resources.
property blackhole
blackhole?: pulumi.Input<boolean>;Indicates whether to drop traffic that matches this route (default to false).
property destinationCidrBlock
destinationCidrBlock?: pulumi.Input<string>;IPv4 CIDR range used for destination matches. Routing decisions are based on the most specific match.
property transitGatewayAttachmentId
transitGatewayAttachmentId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway Attachment (required if blackhole is set to false).
property transitGatewayRouteTableId
transitGatewayRouteTableId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway Route Table.
interface RouteTableArgs
interface RouteTableArgsThe set of arguments for constructing a RouteTable resource.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value tags for the EC2 Transit Gateway Route Table.
property transitGatewayId
transitGatewayId: pulumi.Input<string>;Identifier of EC2 Transit Gateway.
interface RouteTableAssociationArgs
interface RouteTableAssociationArgsThe set of arguments for constructing a RouteTableAssociation resource.
property transitGatewayAttachmentId
transitGatewayAttachmentId: pulumi.Input<string>;Identifier of EC2 Transit Gateway Attachment.
property transitGatewayRouteTableId
transitGatewayRouteTableId: pulumi.Input<string>;Identifier of EC2 Transit Gateway Route Table.
interface RouteTableAssociationState
interface RouteTableAssociationStateInput properties used for looking up and filtering RouteTableAssociation resources.
property resourceId
resourceId?: pulumi.Input<string>;Identifier of the resource
property resourceType
resourceType?: pulumi.Input<string>;Type of the resource
property transitGatewayAttachmentId
transitGatewayAttachmentId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway Attachment.
property transitGatewayRouteTableId
transitGatewayRouteTableId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway Route Table.
interface RouteTablePropagationArgs
interface RouteTablePropagationArgsThe set of arguments for constructing a RouteTablePropagation resource.
property transitGatewayAttachmentId
transitGatewayAttachmentId: pulumi.Input<string>;Identifier of EC2 Transit Gateway Attachment.
property transitGatewayRouteTableId
transitGatewayRouteTableId: pulumi.Input<string>;Identifier of EC2 Transit Gateway Route Table.
interface RouteTablePropagationState
interface RouteTablePropagationStateInput properties used for looking up and filtering RouteTablePropagation resources.
property resourceId
resourceId?: pulumi.Input<string>;Identifier of the resource
property resourceType
resourceType?: pulumi.Input<string>;Type of the resource
property transitGatewayAttachmentId
transitGatewayAttachmentId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway Attachment.
property transitGatewayRouteTableId
transitGatewayRouteTableId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway Route Table.
interface RouteTableState
interface RouteTableStateInput properties used for looking up and filtering RouteTable resources.
property defaultAssociationRouteTable
defaultAssociationRouteTable?: pulumi.Input<boolean>;Boolean whether this is the default association route table for the EC2 Transit Gateway.
property defaultPropagationRouteTable
defaultPropagationRouteTable?: pulumi.Input<boolean>;Boolean whether this is the default propagation route table for the EC2 Transit Gateway.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value tags for the EC2 Transit Gateway Route Table.
property transitGatewayId
transitGatewayId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway.
interface TransitGatewayArgs
interface TransitGatewayArgsThe set of arguments for constructing a TransitGateway resource.
property amazonSideAsn
amazonSideAsn?: pulumi.Input<number>;Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs. Default value: 64512.
property autoAcceptSharedAttachments
autoAcceptSharedAttachments?: pulumi.Input<string>;Whether resource attachment requests are automatically accepted. Valid values: disable, enable. Default value: disable.
property defaultRouteTableAssociation
defaultRouteTableAssociation?: pulumi.Input<string>;Whether resource attachments are automatically associated with the default association route table. Valid values: disable, enable. Default value: enable.
property defaultRouteTablePropagation
defaultRouteTablePropagation?: pulumi.Input<string>;Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: disable, enable. Default value: enable.
property description
description?: pulumi.Input<string>;Description of the EC2 Transit Gateway.
property dnsSupport
dnsSupport?: pulumi.Input<string>;Whether DNS support is enabled. Valid values: disable, enable. Default value: enable.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value tags for the EC2 Transit Gateway.
property vpnEcmpSupport
vpnEcmpSupport?: pulumi.Input<string>;Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: disable, enable. Default value: enable.
interface TransitGatewayState
interface TransitGatewayStateInput properties used for looking up and filtering TransitGateway resources.
property amazonSideAsn
amazonSideAsn?: pulumi.Input<number>;Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs. Default value: 64512.
property arn
arn?: pulumi.Input<ARN>;EC2 Transit Gateway Amazon Resource Name (ARN)
property associationDefaultRouteTableId
associationDefaultRouteTableId?: pulumi.Input<string>;Identifier of the default association route table
property autoAcceptSharedAttachments
autoAcceptSharedAttachments?: pulumi.Input<string>;Whether resource attachment requests are automatically accepted. Valid values: disable, enable. Default value: disable.
property defaultRouteTableAssociation
defaultRouteTableAssociation?: pulumi.Input<string>;Whether resource attachments are automatically associated with the default association route table. Valid values: disable, enable. Default value: enable.
property defaultRouteTablePropagation
defaultRouteTablePropagation?: pulumi.Input<string>;Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: disable, enable. Default value: enable.
property description
description?: pulumi.Input<string>;Description of the EC2 Transit Gateway.
property dnsSupport
dnsSupport?: pulumi.Input<string>;Whether DNS support is enabled. Valid values: disable, enable. Default value: enable.
property ownerId
ownerId?: pulumi.Input<string>;Identifier of the AWS account that owns the EC2 Transit Gateway
property propagationDefaultRouteTableId
propagationDefaultRouteTableId?: pulumi.Input<string>;Identifier of the default propagation route table
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value tags for the EC2 Transit Gateway.
property vpnEcmpSupport
vpnEcmpSupport?: pulumi.Input<string>;Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: disable, enable. Default value: enable.
interface VpcAttachmentAccepterArgs
interface VpcAttachmentAccepterArgsThe set of arguments for constructing a VpcAttachmentAccepter resource.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value tags for the EC2 Transit Gateway VPC Attachment.
property transitGatewayAttachmentId
transitGatewayAttachmentId: pulumi.Input<string>;The ID of the EC2 Transit Gateway Attachment to manage.
property transitGatewayDefaultRouteTableAssociation
transitGatewayDefaultRouteTableAssociation?: pulumi.Input<boolean>;Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: true.
property transitGatewayDefaultRouteTablePropagation
transitGatewayDefaultRouteTablePropagation?: pulumi.Input<boolean>;Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: true.
interface VpcAttachmentAccepterState
interface VpcAttachmentAccepterStateInput properties used for looking up and filtering VpcAttachmentAccepter resources.
property dnsSupport
dnsSupport?: pulumi.Input<string>;Whether DNS support is enabled. Valid values: disable, enable.
property ipv6Support
ipv6Support?: pulumi.Input<string>;Whether IPv6 support is enabled. Valid values: disable, enable.
property subnetIds
subnetIds?: pulumi.Input<pulumi.Input<string>[]>;Identifiers of EC2 Subnets.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value tags for the EC2 Transit Gateway VPC Attachment.
property transitGatewayAttachmentId
transitGatewayAttachmentId?: pulumi.Input<string>;The ID of the EC2 Transit Gateway Attachment to manage.
property transitGatewayDefaultRouteTableAssociation
transitGatewayDefaultRouteTableAssociation?: pulumi.Input<boolean>;Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: true.
property transitGatewayDefaultRouteTablePropagation
transitGatewayDefaultRouteTablePropagation?: pulumi.Input<boolean>;Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: true.
property transitGatewayId
transitGatewayId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway.
property vpcId
vpcId?: pulumi.Input<string>;Identifier of EC2 VPC.
property vpcOwnerId
vpcOwnerId?: pulumi.Input<string>;Identifier of the AWS account that owns the EC2 VPC.
interface VpcAttachmentArgs
interface VpcAttachmentArgsThe set of arguments for constructing a VpcAttachment resource.
property dnsSupport
dnsSupport?: pulumi.Input<string>;Whether DNS support is enabled. Valid values: disable, enable. Default value: enable.
property ipv6Support
ipv6Support?: pulumi.Input<string>;Whether IPv6 support is enabled. Valid values: disable, enable. Default value: disable.
property subnetIds
subnetIds: pulumi.Input<pulumi.Input<string>[]>;Identifiers of EC2 Subnets.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value tags for the EC2 Transit Gateway VPC Attachment.
property transitGatewayDefaultRouteTableAssociation
transitGatewayDefaultRouteTableAssociation?: pulumi.Input<boolean>;Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: true.
property transitGatewayDefaultRouteTablePropagation
transitGatewayDefaultRouteTablePropagation?: pulumi.Input<boolean>;Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: true.
property transitGatewayId
transitGatewayId: pulumi.Input<string>;Identifier of EC2 Transit Gateway.
property vpcId
vpcId: pulumi.Input<string>;Identifier of EC2 VPC.
interface VpcAttachmentState
interface VpcAttachmentStateInput properties used for looking up and filtering VpcAttachment resources.
property dnsSupport
dnsSupport?: pulumi.Input<string>;Whether DNS support is enabled. Valid values: disable, enable. Default value: enable.
property ipv6Support
ipv6Support?: pulumi.Input<string>;Whether IPv6 support is enabled. Valid values: disable, enable. Default value: disable.
property subnetIds
subnetIds?: pulumi.Input<pulumi.Input<string>[]>;Identifiers of EC2 Subnets.
property tags
tags?: pulumi.Input<{[key: string]: any}>;Key-value tags for the EC2 Transit Gateway VPC Attachment.
property transitGatewayDefaultRouteTableAssociation
transitGatewayDefaultRouteTableAssociation?: pulumi.Input<boolean>;Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: true.
property transitGatewayDefaultRouteTablePropagation
transitGatewayDefaultRouteTablePropagation?: pulumi.Input<boolean>;Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: true.
property transitGatewayId
transitGatewayId?: pulumi.Input<string>;Identifier of EC2 Transit Gateway.
property vpcId
vpcId?: pulumi.Input<string>;Identifier of EC2 VPC.
property vpcOwnerId
vpcOwnerId?: pulumi.Input<string>;Identifier of the AWS account that owns the EC2 VPC.