published on Monday, Jun 15, 2026 by Pulumi
published on Monday, Jun 15, 2026 by Pulumi
Manages an EC2 Local Gateway Route Table. More information can be found in the Outposts User Guide.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.ec2.getLocalGateway({
id: "lgw-1234567890abcdef",
});
const exampleLocalGatewayRouteTable = new aws.ec2.LocalGatewayRouteTable("example", {
localGatewayId: example.then(example => example.id),
mode: "direct-vpc-routing",
});
import pulumi
import pulumi_aws as aws
example = aws.ec2.get_local_gateway(id="lgw-1234567890abcdef")
example_local_gateway_route_table = aws.ec2.LocalGatewayRouteTable("example",
local_gateway_id=example.id,
mode="direct-vpc-routing")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := ec2.GetLocalGateway(ctx, &ec2.GetLocalGatewayArgs{
Id: pulumi.StringRef("lgw-1234567890abcdef"),
}, nil)
if err != nil {
return err
}
_, err = ec2.NewLocalGatewayRouteTable(ctx, "example", &ec2.LocalGatewayRouteTableArgs{
LocalGatewayId: pulumi.String(pulumi.String(example.Id)),
Mode: pulumi.String("direct-vpc-routing"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Ec2.GetLocalGateway.Invoke(new()
{
Id = "lgw-1234567890abcdef",
});
var exampleLocalGatewayRouteTable = new Aws.Ec2.LocalGatewayRouteTable("example", new()
{
LocalGatewayId = example.Apply(getLocalGatewayResult => getLocalGatewayResult.Id),
Mode = "direct-vpc-routing",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Ec2Functions;
import com.pulumi.aws.ec2.inputs.GetLocalGatewayArgs;
import com.pulumi.aws.ec2.LocalGatewayRouteTable;
import com.pulumi.aws.ec2.LocalGatewayRouteTableArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = Ec2Functions.getLocalGateway(GetLocalGatewayArgs.builder()
.id("lgw-1234567890abcdef")
.build());
var exampleLocalGatewayRouteTable = new LocalGatewayRouteTable("exampleLocalGatewayRouteTable", LocalGatewayRouteTableArgs.builder()
.localGatewayId(example.id())
.mode("direct-vpc-routing")
.build());
}
}
resources:
exampleLocalGatewayRouteTable:
type: aws:ec2:LocalGatewayRouteTable
name: example
properties:
localGatewayId: ${example.id}
mode: direct-vpc-routing
variables:
example:
fn::invoke:
function: aws:ec2:getLocalGateway
arguments:
id: lgw-1234567890abcdef
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_ec2_getlocalgateway" "example" {
id = "lgw-1234567890abcdef"
}
resource "aws_ec2_localgatewayroutetable" "example" {
local_gateway_id = data.aws_ec2_getlocalgateway.example.id
mode = "direct-vpc-routing"
}
Create LocalGatewayRouteTable Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LocalGatewayRouteTable(name: string, args: LocalGatewayRouteTableArgs, opts?: CustomResourceOptions);@overload
def LocalGatewayRouteTable(resource_name: str,
args: LocalGatewayRouteTableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LocalGatewayRouteTable(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_gateway_id: Optional[str] = None,
mode: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[LocalGatewayRouteTableTimeoutsArgs] = None)func NewLocalGatewayRouteTable(ctx *Context, name string, args LocalGatewayRouteTableArgs, opts ...ResourceOption) (*LocalGatewayRouteTable, error)public LocalGatewayRouteTable(string name, LocalGatewayRouteTableArgs args, CustomResourceOptions? opts = null)
public LocalGatewayRouteTable(String name, LocalGatewayRouteTableArgs args)
public LocalGatewayRouteTable(String name, LocalGatewayRouteTableArgs args, CustomResourceOptions options)
type: aws:ec2:LocalGatewayRouteTable
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_ec2_localgatewayroutetable" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args LocalGatewayRouteTableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LocalGatewayRouteTableArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LocalGatewayRouteTableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LocalGatewayRouteTableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LocalGatewayRouteTableArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var localGatewayRouteTableResource = new Aws.Ec2.LocalGatewayRouteTable("localGatewayRouteTableResource", new()
{
LocalGatewayId = "string",
Mode = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Ec2.Inputs.LocalGatewayRouteTableTimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := ec2.NewLocalGatewayRouteTable(ctx, "localGatewayRouteTableResource", &ec2.LocalGatewayRouteTableArgs{
LocalGatewayId: pulumi.String("string"),
Mode: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &ec2.LocalGatewayRouteTableTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
resource "aws_ec2_localgatewayroutetable" "localGatewayRouteTableResource" {
local_gateway_id = "string"
mode = "string"
region = "string"
tags = {
"string" = "string"
}
timeouts = {
create = "string"
delete = "string"
}
}
var localGatewayRouteTableResource = new LocalGatewayRouteTable("localGatewayRouteTableResource", LocalGatewayRouteTableArgs.builder()
.localGatewayId("string")
.mode("string")
.region("string")
.tags(Map.of("string", "string"))
.timeouts(LocalGatewayRouteTableTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.build());
local_gateway_route_table_resource = aws.ec2.LocalGatewayRouteTable("localGatewayRouteTableResource",
local_gateway_id="string",
mode="string",
region="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
})
const localGatewayRouteTableResource = new aws.ec2.LocalGatewayRouteTable("localGatewayRouteTableResource", {
localGatewayId: "string",
mode: "string",
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
},
});
type: aws:ec2:LocalGatewayRouteTable
properties:
localGatewayId: string
mode: string
region: string
tags:
string: string
timeouts:
create: string
delete: string
LocalGatewayRouteTable Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LocalGatewayRouteTable resource accepts the following input properties:
- Local
Gateway stringId - Identifier of the EC2 Local Gateway.
- Mode string
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Local
Gateway Route Table Timeouts
- Local
Gateway stringId - Identifier of the EC2 Local Gateway.
- Mode string
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Local
Gateway Route Table Timeouts Args
- local_
gateway_ stringid - Identifier of the EC2 Local Gateway.
- mode string
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts object
- local
Gateway StringId - Identifier of the EC2 Local Gateway.
- mode String
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Local
Gateway Route Table Timeouts
- local
Gateway stringId - Identifier of the EC2 Local Gateway.
- mode string
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Local
Gateway Route Table Timeouts
- local_
gateway_ strid - Identifier of the EC2 Local Gateway.
- mode str
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Local
Gateway Route Table Timeouts Args
- local
Gateway StringId - Identifier of the EC2 Local Gateway.
- mode String
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the LocalGatewayRouteTable resource produces the following output properties:
- Arn string
- ARN of the Local Gateway Route Table.
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Gateway stringRoute Table Id - Identifier of the Local Gateway Route Table.
- Outpost
Arn string - ARN of the Outpost.
- Owner
Id string - AWS account identifier that owns the Local Gateway Route Table.
- State string
- State of the Local Gateway Route Table.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN of the Local Gateway Route Table.
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Gateway stringRoute Table Id - Identifier of the Local Gateway Route Table.
- Outpost
Arn string - ARN of the Outpost.
- Owner
Id string - AWS account identifier that owns the Local Gateway Route Table.
- State string
- State of the Local Gateway Route Table.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the Local Gateway Route Table.
- id string
- The provider-assigned unique ID for this managed resource.
- local_
gateway_ stringroute_ table_ id - Identifier of the Local Gateway Route Table.
- outpost_
arn string - ARN of the Outpost.
- owner_
id string - AWS account identifier that owns the Local Gateway Route Table.
- state string
- State of the Local Gateway Route Table.
- map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the Local Gateway Route Table.
- id String
- The provider-assigned unique ID for this managed resource.
- local
Gateway StringRoute Table Id - Identifier of the Local Gateway Route Table.
- outpost
Arn String - ARN of the Outpost.
- owner
Id String - AWS account identifier that owns the Local Gateway Route Table.
- state String
- State of the Local Gateway Route Table.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the Local Gateway Route Table.
- id string
- The provider-assigned unique ID for this managed resource.
- local
Gateway stringRoute Table Id - Identifier of the Local Gateway Route Table.
- outpost
Arn string - ARN of the Outpost.
- owner
Id string - AWS account identifier that owns the Local Gateway Route Table.
- state string
- State of the Local Gateway Route Table.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN of the Local Gateway Route Table.
- id str
- The provider-assigned unique ID for this managed resource.
- local_
gateway_ strroute_ table_ id - Identifier of the Local Gateway Route Table.
- outpost_
arn str - ARN of the Outpost.
- owner_
id str - AWS account identifier that owns the Local Gateway Route Table.
- state str
- State of the Local Gateway Route Table.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the Local Gateway Route Table.
- id String
- The provider-assigned unique ID for this managed resource.
- local
Gateway StringRoute Table Id - Identifier of the Local Gateway Route Table.
- outpost
Arn String - ARN of the Outpost.
- owner
Id String - AWS account identifier that owns the Local Gateway Route Table.
- state String
- State of the Local Gateway Route Table.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing LocalGatewayRouteTable Resource
Get an existing LocalGatewayRouteTable resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LocalGatewayRouteTableState, opts?: CustomResourceOptions): LocalGatewayRouteTable@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
local_gateway_id: Optional[str] = None,
local_gateway_route_table_id: Optional[str] = None,
mode: Optional[str] = None,
outpost_arn: Optional[str] = None,
owner_id: Optional[str] = None,
region: Optional[str] = None,
state: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[LocalGatewayRouteTableTimeoutsArgs] = None) -> LocalGatewayRouteTablefunc GetLocalGatewayRouteTable(ctx *Context, name string, id IDInput, state *LocalGatewayRouteTableState, opts ...ResourceOption) (*LocalGatewayRouteTable, error)public static LocalGatewayRouteTable Get(string name, Input<string> id, LocalGatewayRouteTableState? state, CustomResourceOptions? opts = null)public static LocalGatewayRouteTable get(String name, Output<String> id, LocalGatewayRouteTableState state, CustomResourceOptions options)resources: _: type: aws:ec2:LocalGatewayRouteTable get: id: ${id}import {
to = aws_ec2_localgatewayroutetable.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the Local Gateway Route Table.
- Local
Gateway stringId - Identifier of the EC2 Local Gateway.
- Local
Gateway stringRoute Table Id - Identifier of the Local Gateway Route Table.
- Mode string
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- Outpost
Arn string - ARN of the Outpost.
- Owner
Id string - AWS account identifier that owns the Local Gateway Route Table.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- State string
- State of the Local Gateway Route Table.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Local
Gateway Route Table Timeouts
- Arn string
- ARN of the Local Gateway Route Table.
- Local
Gateway stringId - Identifier of the EC2 Local Gateway.
- Local
Gateway stringRoute Table Id - Identifier of the Local Gateway Route Table.
- Mode string
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- Outpost
Arn string - ARN of the Outpost.
- Owner
Id string - AWS account identifier that owns the Local Gateway Route Table.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- State string
- State of the Local Gateway Route Table.
- map[string]string
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Local
Gateway Route Table Timeouts Args
- arn string
- ARN of the Local Gateway Route Table.
- local_
gateway_ stringid - Identifier of the EC2 Local Gateway.
- local_
gateway_ stringroute_ table_ id - Identifier of the Local Gateway Route Table.
- mode string
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- outpost_
arn string - ARN of the Outpost.
- owner_
id string - AWS account identifier that owns the Local Gateway Route Table.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state string
- State of the Local Gateway Route Table.
- map(string)
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts object
- arn String
- ARN of the Local Gateway Route Table.
- local
Gateway StringId - Identifier of the EC2 Local Gateway.
- local
Gateway StringRoute Table Id - Identifier of the Local Gateway Route Table.
- mode String
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- outpost
Arn String - ARN of the Outpost.
- owner
Id String - AWS account identifier that owns the Local Gateway Route Table.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state String
- State of the Local Gateway Route Table.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Local
Gateway Route Table Timeouts
- arn string
- ARN of the Local Gateway Route Table.
- local
Gateway stringId - Identifier of the EC2 Local Gateway.
- local
Gateway stringRoute Table Id - Identifier of the Local Gateway Route Table.
- mode string
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- outpost
Arn string - ARN of the Outpost.
- owner
Id string - AWS account identifier that owns the Local Gateway Route Table.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state string
- State of the Local Gateway Route Table.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Local
Gateway Route Table Timeouts
- arn str
- ARN of the Local Gateway Route Table.
- local_
gateway_ strid - Identifier of the EC2 Local Gateway.
- local_
gateway_ strroute_ table_ id - Identifier of the Local Gateway Route Table.
- mode str
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- outpost_
arn str - ARN of the Outpost.
- owner_
id str - AWS account identifier that owns the Local Gateway Route Table.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state str
- State of the Local Gateway Route Table.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Local
Gateway Route Table Timeouts Args
- arn String
- ARN of the Local Gateway Route Table.
- local
Gateway StringId - Identifier of the EC2 Local Gateway.
- local
Gateway StringRoute Table Id - Identifier of the Local Gateway Route Table.
- mode String
Mode of the Local Gateway Route Table. Valid values:
direct-vpc-routing,coip.The following arguments are optional:
- outpost
Arn String - ARN of the Outpost.
- owner
Id String - AWS account identifier that owns the Local Gateway Route Table.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state String
- State of the Local Gateway Route Table.
- Map<String>
- Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts Property Map
Supporting Types
LocalGatewayRouteTableTimeouts, LocalGatewayRouteTableTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Import
Using pulumi import, import aws.ec2.LocalGatewayRouteTable using the Local Gateway Route Table identifier. For example:
$ pulumi import aws:ec2/localGatewayRouteTable:LocalGatewayRouteTable example lgw-rtb-1234567890abcdef
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Monday, Jun 15, 2026 by Pulumi