Module ec2transitgateway

@pulumi/aws > ec2transitgateway

class Route

extends CustomResource

Manages an EC2 Transit Gateway Route.

Example 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,
});

constructor

new Route(name: string, args: RouteArgs, opts?: pulumi.CustomResourceOptions)

Create a Route resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): Route

Get 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 | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

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>;

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.

class RouteTable

extends CustomResource

Manages 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.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): RouteTable

Get 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 | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. 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]: string} | 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.

class RouteTableAssociation

extends CustomResource

Manages 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.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): RouteTableAssociation

Get 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 | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. 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.

class RouteTablePropagation

extends CustomResource

Manages 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.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): RouteTablePropagation

Get 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 | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. 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.

class TransitGateway

extends CustomResource

Manages 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.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): TransitGateway

Get 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 | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. 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]: string} | 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.

class VpcAttachment

extends CustomResource

Manages 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,
});

A full example of how to how to create a Transit Gateway in one AWS account, share it with a second AWS account, and attach a VPC in the second account to the Transit Gateway via the aws_ec2_transit_gateway_vpc_attachment and aws_ec2_transit_gateway_vpc_attachment_accepter resources can be found in the ./examples/transit-gateway-cross-account-vpc-attachment directory within the Github Repository.

constructor

new VpcAttachment(name: string, args: VpcAttachmentArgs, opts?: pulumi.CustomResourceOptions)

Create a VpcAttachment resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): VpcAttachment

Get 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 | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. 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]: string} | 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.

class VpcAttachmentAccepter

extends CustomResource

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_ec2_transit_gateway_vpc_attachment resource to manage its side of the connection and the accepter can use the aws_ec2_transit_gateway_vpc_attachment_accepter 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,
});

A full example of how to how to create a Transit Gateway in one AWS account, share it with a second AWS account, and attach a VPC in the second account to the Transit Gateway via the aws_ec2_transit_gateway_vpc_attachment and aws_ec2_transit_gateway_vpc_attachment_accepter resources can be found in the ./examples/transit-gateway-cross-account-vpc-attachment directory within the Github Repository.

constructor

new VpcAttachmentAccepter(name: string, args: VpcAttachmentAccepterArgs, opts?: pulumi.CustomResourceOptions)

Create a VpcAttachmentAccepter resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): VpcAttachmentAccepter

Get 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 | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. 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.

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"],
        },
    ],
}));

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",
}));

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"],
    }],
}));

By Identifier

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = pulumi.output(aws.ec2transitgateway.getTransitGateway({
    id: "tgw-12345678",
}));

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"],
    }],
}));

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",
}));

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,
}));

interface GetRouteTableArgs

A collection of arguments for invoking getRouteTable.

property filters

filters?: {
    name: string;
    values: string[];
}[];

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};

interface GetRouteTableResult

A 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?: {
    name: string;
    values: string[];
}[];

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

A collection of arguments for invoking getTransitGateway.

property filters

filters?: {
    name: string;
    values: string[];
}[];

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};

interface GetTransitGatewayResult

A 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?: {
    name: string;
    values: string[];
}[];

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

A collection of arguments for invoking getVpcAttachment.

property filters

filters?: {
    name: string;
    values: string[];
}[];

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};

interface GetVpcAttachmentResult

A collection of values returned by getVpcAttachment.

property dnsSupport

dnsSupport: string;

Whether DNS support is enabled.

property filters

filters?: {
    name: string;
    values: string[];
}[];

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

A collection of arguments for invoking getVpnAttachment.

property tags

tags?: undefined | {[key: string]: any};

property transitGatewayId

transitGatewayId: string;

Identifier of the EC2 Transit Gateway.

property vpnConnectionId

vpnConnectionId: string;

Identifier of the EC2 VPN Connection.

interface GetVpnAttachmentResult

A collection of values returned by getVpnAttachment.

property id

id: string;

id is 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: string;

property vpnConnectionId

vpnConnectionId: string;

interface RouteArgs

The set of arguments for constructing a Route resource.

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.

property transitGatewayRouteTableId

transitGatewayRouteTableId: pulumi.Input<string>;

Identifier of EC2 Transit Gateway Route Table.

interface RouteState

Input properties used for looking up and filtering Route resources.

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.

property transitGatewayRouteTableId

transitGatewayRouteTableId?: pulumi.Input<string>;

Identifier of EC2 Transit Gateway Route Table.

interface RouteTableArgs

The set of arguments for constructing a RouteTable resource.

property tags

tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;

Key-value tags for the EC2 Transit Gateway Route Table.

property transitGatewayId

transitGatewayId: pulumi.Input<string>;

Identifier of EC2 Transit Gateway.

interface RouteTableAssociationArgs

The 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

Input 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

The 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

Input 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

Input 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]: pulumi.Input<string>}>;

Key-value tags for the EC2 Transit Gateway Route Table.

property transitGatewayId

transitGatewayId?: pulumi.Input<string>;

Identifier of EC2 Transit Gateway.

interface TransitGatewayArgs

The 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]: pulumi.Input<string>}>;

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

Input 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]: pulumi.Input<string>}>;

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

The 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

Input 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

The 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]: pulumi.Input<string>}>;

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

Input 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]: pulumi.Input<string>}>;

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.