Module ec2transitgateway

ec2transitgateway

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-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.
class pulumi_aws.ec2transitgateway.AwaitableGetDirectConnectGatewayAttachmentResult(dx_gateway_id=None, tags=None, transit_gateway_id=None, id=None)
class pulumi_aws.ec2transitgateway.AwaitableGetRouteTableResult(default_association_route_table=None, default_propagation_route_table=None, filters=None, id=None, tags=None, transit_gateway_id=None)
class pulumi_aws.ec2transitgateway.AwaitableGetTransitGatewayResult(amazon_side_asn=None, arn=None, association_default_route_table_id=None, auto_accept_shared_attachments=None, default_route_table_association=None, default_route_table_propagation=None, description=None, dns_support=None, filters=None, id=None, owner_id=None, propagation_default_route_table_id=None, tags=None, vpn_ecmp_support=None)
class pulumi_aws.ec2transitgateway.AwaitableGetVpcAttachmentResult(dns_support=None, filters=None, id=None, ipv6_support=None, subnet_ids=None, tags=None, transit_gateway_id=None, vpc_id=None, vpc_owner_id=None)
class pulumi_aws.ec2transitgateway.AwaitableGetVpnAttachmentResult(tags=None, transit_gateway_id=None, vpn_connection_id=None, id=None)
class pulumi_aws.ec2transitgateway.GetDirectConnectGatewayAttachmentResult(dx_gateway_id=None, tags=None, transit_gateway_id=None, id=None)

A collection of values returned by getDirectConnectGatewayAttachment.

tags = None

Key-value tags for the EC2 Transit Gateway Attachment

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_aws.ec2transitgateway.GetRouteTableResult(default_association_route_table=None, default_propagation_route_table=None, filters=None, id=None, tags=None, transit_gateway_id=None)

A collection of values returned by getRouteTable.

default_association_route_table = None

Boolean whether this is the default association route table for the EC2 Transit Gateway

default_propagation_route_table = None

Boolean whether this is the default propagation route table for the EC2 Transit Gateway

id = None

EC2 Transit Gateway Route Table identifier

tags = None

Key-value tags for the EC2 Transit Gateway Route Table

transit_gateway_id = None

EC2 Transit Gateway identifier

class pulumi_aws.ec2transitgateway.GetTransitGatewayResult(amazon_side_asn=None, arn=None, association_default_route_table_id=None, auto_accept_shared_attachments=None, default_route_table_association=None, default_route_table_propagation=None, description=None, dns_support=None, filters=None, id=None, owner_id=None, propagation_default_route_table_id=None, tags=None, vpn_ecmp_support=None)

A collection of values returned by getTransitGateway.

amazon_side_asn = None

Private Autonomous System Number (ASN) for the Amazon side of a BGP session

arn = None

EC2 Transit Gateway Amazon Resource Name (ARN)

association_default_route_table_id = None

Identifier of the default association route table

auto_accept_shared_attachments = None

Whether resource attachment requests are automatically accepted.

default_route_table_association = None

Whether resource attachments are automatically associated with the default association route table.

default_route_table_propagation = None

Whether resource attachments automatically propagate routes to the default propagation route table.

description = None

Description of the EC2 Transit Gateway

dns_support = None

Whether DNS support is enabled.

id = None

EC2 Transit Gateway identifier

owner_id = None

Identifier of the AWS account that owns the EC2 Transit Gateway

propagation_default_route_table_id = None

Identifier of the default propagation route table.

tags = None

Key-value tags for the EC2 Transit Gateway

vpn_ecmp_support = None

Whether VPN Equal Cost Multipath Protocol support is enabled.

class pulumi_aws.ec2transitgateway.GetVpcAttachmentResult(dns_support=None, filters=None, id=None, ipv6_support=None, subnet_ids=None, tags=None, transit_gateway_id=None, vpc_id=None, vpc_owner_id=None)

A collection of values returned by getVpcAttachment.

dns_support = None

Whether DNS support is enabled.

id = None

EC2 Transit Gateway VPC Attachment identifier

ipv6_support = None

Whether IPv6 support is enabled.

subnet_ids = None

Identifiers of EC2 Subnets.

tags = None

Key-value tags for the EC2 Transit Gateway VPC Attachment

transit_gateway_id = None

EC2 Transit Gateway identifier

vpc_id = None

Identifier of EC2 VPC.

vpc_owner_id = None

Identifier of the AWS account that owns the EC2 VPC.

class pulumi_aws.ec2transitgateway.GetVpnAttachmentResult(tags=None, transit_gateway_id=None, vpn_connection_id=None, id=None)

A collection of values returned by getVpnAttachment.

tags = None

Key-value tags for the EC2 Transit Gateway VPN Attachment

id = None

id is the provider-assigned unique ID for this managed resource.

class pulumi_aws.ec2transitgateway.Route(resource_name, opts=None, blackhole=None, destination_cidr_block=None, transit_gateway_attachment_id=None, transit_gateway_route_table_id=None, __props__=None, __name__=None, __opts__=None)

Manages an EC2 Transit Gateway Route.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • blackhole (pulumi.Input[bool]) – Indicates whether to drop traffic that matches this route (default to false).
  • destination_cidr_block (pulumi.Input[str]) – IPv4 CIDR range used for destination matches. Routing decisions are based on the most specific match.
  • transit_gateway_attachment_id (pulumi.Input[str]) – Identifier of EC2 Transit Gateway Attachment (required if blackhole is set to false).
  • transit_gateway_route_table_id (pulumi.Input[str]) – Identifier of EC2 Transit Gateway Route Table.
blackhole = None

Indicates whether to drop traffic that matches this route (default to false).

destination_cidr_block = None

IPv4 CIDR range used for destination matches. Routing decisions are based on the most specific match.

transit_gateway_attachment_id = None

Identifier of EC2 Transit Gateway Attachment (required if blackhole is set to false).

transit_gateway_route_table_id = None

Identifier of EC2 Transit Gateway Route Table.

static get(resource_name, id, opts=None, blackhole=None, destination_cidr_block=None, transit_gateway_attachment_id=None, transit_gateway_route_table_id=None)

Get an existing Route resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] blackhole: Indicates whether to drop traffic that matches this route (default to false). :param pulumi.Input[str] destination_cidr_block: IPv4 CIDR range used for destination matches. Routing decisions are based on the most specific match. :param pulumi.Input[str] transit_gateway_attachment_id: Identifier of EC2 Transit Gateway Attachment (required if blackhole is set to false). :param pulumi.Input[str] transit_gateway_route_table_id: Identifier of EC2 Transit Gateway Route Table.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.ec2transitgateway.RouteTable(resource_name, opts=None, tags=None, transit_gateway_id=None, __props__=None, __name__=None, __opts__=None)

Manages an EC2 Transit Gateway Route Table.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • tags (pulumi.Input[dict]) – Key-value tags for the EC2 Transit Gateway Route Table.
  • transit_gateway_id (pulumi.Input[str]) – Identifier of EC2 Transit Gateway.
default_association_route_table = None

Boolean whether this is the default association route table for the EC2 Transit Gateway.

default_propagation_route_table = None

Boolean whether this is the default propagation route table for the EC2 Transit Gateway.

tags = None

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

transit_gateway_id = None

Identifier of EC2 Transit Gateway.

static get(resource_name, id, opts=None, default_association_route_table=None, default_propagation_route_table=None, tags=None, transit_gateway_id=None)

Get an existing RouteTable resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] default_association_route_table: Boolean whether this is the default association route table for the EC2 Transit Gateway. :param pulumi.Input[bool] default_propagation_route_table: Boolean whether this is the default propagation route table for the EC2 Transit Gateway. :param pulumi.Input[dict] tags: Key-value tags for the EC2 Transit Gateway Route Table. :param pulumi.Input[str] transit_gateway_id: Identifier of EC2 Transit Gateway.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.ec2transitgateway.RouteTableAssociation(resource_name, opts=None, transit_gateway_attachment_id=None, transit_gateway_route_table_id=None, __props__=None, __name__=None, __opts__=None)

Manages an EC2 Transit Gateway Route Table association.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • transit_gateway_attachment_id (pulumi.Input[str]) – Identifier of EC2 Transit Gateway Attachment.
  • transit_gateway_route_table_id (pulumi.Input[str]) – Identifier of EC2 Transit Gateway Route Table.
resource_id = None

Identifier of the resource

resource_type = None

Type of the resource

transit_gateway_attachment_id = None

Identifier of EC2 Transit Gateway Attachment.

transit_gateway_route_table_id = None

Identifier of EC2 Transit Gateway Route Table.

static get(resource_name, id, opts=None, resource_id=None, resource_type=None, transit_gateway_attachment_id=None, transit_gateway_route_table_id=None)

Get an existing RouteTableAssociation resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] resource_id: Identifier of the resource :param pulumi.Input[str] resource_type: Type of the resource :param pulumi.Input[str] transit_gateway_attachment_id: Identifier of EC2 Transit Gateway Attachment. :param pulumi.Input[str] transit_gateway_route_table_id: Identifier of EC2 Transit Gateway Route Table.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.ec2transitgateway.RouteTablePropagation(resource_name, opts=None, transit_gateway_attachment_id=None, transit_gateway_route_table_id=None, __props__=None, __name__=None, __opts__=None)

Manages an EC2 Transit Gateway Route Table propagation.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • transit_gateway_attachment_id (pulumi.Input[str]) – Identifier of EC2 Transit Gateway Attachment.
  • transit_gateway_route_table_id (pulumi.Input[str]) – Identifier of EC2 Transit Gateway Route Table.
resource_id = None

Identifier of the resource

resource_type = None

Type of the resource

transit_gateway_attachment_id = None

Identifier of EC2 Transit Gateway Attachment.

transit_gateway_route_table_id = None

Identifier of EC2 Transit Gateway Route Table.

static get(resource_name, id, opts=None, resource_id=None, resource_type=None, transit_gateway_attachment_id=None, transit_gateway_route_table_id=None)

Get an existing RouteTablePropagation resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] resource_id: Identifier of the resource :param pulumi.Input[str] resource_type: Type of the resource :param pulumi.Input[str] transit_gateway_attachment_id: Identifier of EC2 Transit Gateway Attachment. :param pulumi.Input[str] transit_gateway_route_table_id: Identifier of EC2 Transit Gateway Route Table.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.ec2transitgateway.TransitGateway(resource_name, opts=None, amazon_side_asn=None, auto_accept_shared_attachments=None, default_route_table_association=None, default_route_table_propagation=None, description=None, dns_support=None, tags=None, vpn_ecmp_support=None, __props__=None, __name__=None, __opts__=None)

Manages an EC2 Transit Gateway.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • amazon_side_asn (pulumi.Input[float]) – 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.
  • auto_accept_shared_attachments (pulumi.Input[str]) – Whether resource attachment requests are automatically accepted. Valid values: disable, enable. Default value: disable.
  • default_route_table_association (pulumi.Input[str]) – Whether resource attachments are automatically associated with the default association route table. Valid values: disable, enable. Default value: enable.
  • default_route_table_propagation (pulumi.Input[str]) – Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: disable, enable. Default value: enable.
  • description (pulumi.Input[str]) – Description of the EC2 Transit Gateway.
  • dns_support (pulumi.Input[str]) – Whether DNS support is enabled. Valid values: disable, enable. Default value: enable.
  • tags (pulumi.Input[dict]) – Key-value tags for the EC2 Transit Gateway.
  • vpn_ecmp_support (pulumi.Input[str]) – Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: disable, enable. Default value: enable.
amazon_side_asn = None

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.

arn = None

EC2 Transit Gateway Amazon Resource Name (ARN)

association_default_route_table_id = None

Identifier of the default association route table

auto_accept_shared_attachments = None

Whether resource attachment requests are automatically accepted. Valid values: disable, enable. Default value: disable.

default_route_table_association = None

Whether resource attachments are automatically associated with the default association route table. Valid values: disable, enable. Default value: enable.

default_route_table_propagation = None

Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: disable, enable. Default value: enable.

description = None

Description of the EC2 Transit Gateway.

dns_support = None

Whether DNS support is enabled. Valid values: disable, enable. Default value: enable.

owner_id = None

Identifier of the AWS account that owns the EC2 Transit Gateway

propagation_default_route_table_id = None

Identifier of the default propagation route table

tags = None

Key-value tags for the EC2 Transit Gateway.

vpn_ecmp_support = None

Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: disable, enable. Default value: enable.

static get(resource_name, id, opts=None, amazon_side_asn=None, arn=None, association_default_route_table_id=None, auto_accept_shared_attachments=None, default_route_table_association=None, default_route_table_propagation=None, description=None, dns_support=None, owner_id=None, propagation_default_route_table_id=None, tags=None, vpn_ecmp_support=None)

Get an existing TransitGateway resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[float] amazon_side_asn: 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. :param pulumi.Input[str] arn: EC2 Transit Gateway Amazon Resource Name (ARN) :param pulumi.Input[str] association_default_route_table_id: Identifier of the default association route table :param pulumi.Input[str] auto_accept_shared_attachments: Whether resource attachment requests are automatically accepted. Valid values: disable, enable. Default value: disable. :param pulumi.Input[str] default_route_table_association: Whether resource attachments are automatically associated with the default association route table. Valid values: disable, enable. Default value: enable. :param pulumi.Input[str] default_route_table_propagation: Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: disable, enable. Default value: enable. :param pulumi.Input[str] description: Description of the EC2 Transit Gateway. :param pulumi.Input[str] dns_support: Whether DNS support is enabled. Valid values: disable, enable. Default value: enable. :param pulumi.Input[str] owner_id: Identifier of the AWS account that owns the EC2 Transit Gateway :param pulumi.Input[str] propagation_default_route_table_id: Identifier of the default propagation route table :param pulumi.Input[dict] tags: Key-value tags for the EC2 Transit Gateway. :param pulumi.Input[str] vpn_ecmp_support: Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: disable, enable. Default value: enable.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.ec2transitgateway.VpcAttachment(resource_name, opts=None, dns_support=None, ipv6_support=None, subnet_ids=None, tags=None, transit_gateway_default_route_table_association=None, transit_gateway_default_route_table_propagation=None, transit_gateway_id=None, vpc_id=None, __props__=None, __name__=None, __opts__=None)

Manages an EC2 Transit Gateway VPC Attachment. For examples of custom route table association and propagation, see the EC2 Transit Gateway Networking Examples Guide.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • dns_support (pulumi.Input[str]) – Whether DNS support is enabled. Valid values: disable, enable. Default value: enable.
  • ipv6_support (pulumi.Input[str]) – Whether IPv6 support is enabled. Valid values: disable, enable. Default value: disable.
  • subnet_ids (pulumi.Input[list]) – Identifiers of EC2 Subnets.
  • tags (pulumi.Input[dict]) – Key-value tags for the EC2 Transit Gateway VPC Attachment.
  • transit_gateway_default_route_table_association (pulumi.Input[bool]) – 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.
  • transit_gateway_default_route_table_propagation (pulumi.Input[bool]) – 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.
  • transit_gateway_id (pulumi.Input[str]) – Identifier of EC2 Transit Gateway.
  • vpc_id (pulumi.Input[str]) – Identifier of EC2 VPC.
dns_support = None

Whether DNS support is enabled. Valid values: disable, enable. Default value: enable.

ipv6_support = None

Whether IPv6 support is enabled. Valid values: disable, enable. Default value: disable.

subnet_ids = None

Identifiers of EC2 Subnets.

tags = None

Key-value tags for the EC2 Transit Gateway VPC Attachment.

transit_gateway_default_route_table_association = None

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.

transit_gateway_default_route_table_propagation = None

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.

transit_gateway_id = None

Identifier of EC2 Transit Gateway.

vpc_id = None

Identifier of EC2 VPC.

vpc_owner_id = None

Identifier of the AWS account that owns the EC2 VPC.

static get(resource_name, id, opts=None, dns_support=None, ipv6_support=None, subnet_ids=None, tags=None, transit_gateway_default_route_table_association=None, transit_gateway_default_route_table_propagation=None, transit_gateway_id=None, vpc_id=None, vpc_owner_id=None)

Get an existing VpcAttachment resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] dns_support: Whether DNS support is enabled. Valid values: disable, enable. Default value: enable. :param pulumi.Input[str] ipv6_support: Whether IPv6 support is enabled. Valid values: disable, enable. Default value: disable. :param pulumi.Input[list] subnet_ids: Identifiers of EC2 Subnets. :param pulumi.Input[dict] tags: Key-value tags for the EC2 Transit Gateway VPC Attachment. :param pulumi.Input[bool] transit_gateway_default_route_table_association: 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. :param pulumi.Input[bool] transit_gateway_default_route_table_propagation: 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. :param pulumi.Input[str] transit_gateway_id: Identifier of EC2 Transit Gateway. :param pulumi.Input[str] vpc_id: Identifier of EC2 VPC. :param pulumi.Input[str] vpc_owner_id: Identifier of the AWS account that owns the EC2 VPC.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.ec2transitgateway.VpcAttachmentAccepter(resource_name, opts=None, tags=None, transit_gateway_attachment_id=None, transit_gateway_default_route_table_association=None, transit_gateway_default_route_table_propagation=None, __props__=None, __name__=None, __opts__=None)

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 ec2transitgateway.VpcAttachment resource to manage its side of the connection and the accepter can use the ec2transitgateway.VpcAttachmentAccepter resource to “adopt” its side of the connection into management.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • tags (pulumi.Input[dict]) – Key-value tags for the EC2 Transit Gateway VPC Attachment.
  • transit_gateway_attachment_id (pulumi.Input[str]) – The ID of the EC2 Transit Gateway Attachment to manage.
  • transit_gateway_default_route_table_association (pulumi.Input[bool]) – Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: true.
  • transit_gateway_default_route_table_propagation (pulumi.Input[bool]) – Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: true.
dns_support = None

Whether DNS support is enabled. Valid values: disable, enable.

ipv6_support = None

Whether IPv6 support is enabled. Valid values: disable, enable.

subnet_ids = None

Identifiers of EC2 Subnets.

tags = None

Key-value tags for the EC2 Transit Gateway VPC Attachment.

transit_gateway_attachment_id = None

The ID of the EC2 Transit Gateway Attachment to manage.

transit_gateway_default_route_table_association = None

Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: true.

transit_gateway_default_route_table_propagation = None

Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: true.

transit_gateway_id = None

Identifier of EC2 Transit Gateway.

vpc_id = None

Identifier of EC2 VPC.

vpc_owner_id = None

Identifier of the AWS account that owns the EC2 VPC.

static get(resource_name, id, opts=None, dns_support=None, ipv6_support=None, subnet_ids=None, tags=None, transit_gateway_attachment_id=None, transit_gateway_default_route_table_association=None, transit_gateway_default_route_table_propagation=None, transit_gateway_id=None, vpc_id=None, vpc_owner_id=None)

Get an existing VpcAttachmentAccepter resource’s state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param str id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] dns_support: Whether DNS support is enabled. Valid values: disable, enable. :param pulumi.Input[str] ipv6_support: Whether IPv6 support is enabled. Valid values: disable, enable. :param pulumi.Input[list] subnet_ids: Identifiers of EC2 Subnets. :param pulumi.Input[dict] tags: Key-value tags for the EC2 Transit Gateway VPC Attachment. :param pulumi.Input[str] transit_gateway_attachment_id: The ID of the EC2 Transit Gateway Attachment to manage. :param pulumi.Input[bool] transit_gateway_default_route_table_association: Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. Default value: true. :param pulumi.Input[bool] transit_gateway_default_route_table_propagation: Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. Default value: true. :param pulumi.Input[str] transit_gateway_id: Identifier of EC2 Transit Gateway. :param pulumi.Input[str] vpc_id: Identifier of EC2 VPC. :param pulumi.Input[str] vpc_owner_id: Identifier of the AWS account that owns the EC2 VPC.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
pulumi_aws.ec2transitgateway.get_direct_connect_gateway_attachment(dx_gateway_id=None, tags=None, transit_gateway_id=None, opts=None)

Get information on an EC2 Transit Gateway’s attachment to a Direct Connect Gateway.

pulumi_aws.ec2transitgateway.get_route_table(filters=None, id=None, tags=None, opts=None)

Get information on an EC2 Transit Gateway Route Table.

pulumi_aws.ec2transitgateway.get_transit_gateway(filters=None, id=None, tags=None, opts=None)

Get information on an EC2 Transit Gateway.

pulumi_aws.ec2transitgateway.get_vpc_attachment(filters=None, id=None, tags=None, opts=None)

Get information on an EC2 Transit Gateway VPC Attachment.

pulumi_aws.ec2transitgateway.get_vpn_attachment(tags=None, transit_gateway_id=None, vpn_connection_id=None, opts=None)

Get information on an EC2 Transit Gateway VPN Attachment.