published on Monday, Jun 15, 2026 by Pulumi
published on Monday, Jun 15, 2026 by Pulumi
Manages an EC2 Local Gateway Route Table Virtual Interface Group Association. 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.getLocalGatewayRouteTable({
outpostArn: "arn:aws:outposts:us-west-2:123456789012:outpost/op-1234567890abcdef",
});
const exampleGetLocalGatewayVirtualInterfaceGroup = example.then(example => aws.ec2.getLocalGatewayVirtualInterfaceGroup({
localGatewayId: example.localGatewayId,
}));
const exampleLocalGatewayRouteTableVirtualInterfaceGroupAssociation = new aws.ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation("example", {
localGatewayRouteTableId: example.then(example => example.id),
localGatewayVirtualInterfaceGroupId: exampleGetLocalGatewayVirtualInterfaceGroup.then(exampleGetLocalGatewayVirtualInterfaceGroup => exampleGetLocalGatewayVirtualInterfaceGroup.id),
tags: {
Name: "example",
},
});
import pulumi
import pulumi_aws as aws
example = aws.ec2.get_local_gateway_route_table(outpost_arn="arn:aws:outposts:us-west-2:123456789012:outpost/op-1234567890abcdef")
example_get_local_gateway_virtual_interface_group = aws.ec2.get_local_gateway_virtual_interface_group(local_gateway_id=example.local_gateway_id)
example_local_gateway_route_table_virtual_interface_group_association = aws.ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation("example",
local_gateway_route_table_id=example.id,
local_gateway_virtual_interface_group_id=example_get_local_gateway_virtual_interface_group.id,
tags={
"Name": "example",
})
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.LookupLocalGatewayRouteTable(ctx, &ec2.LookupLocalGatewayRouteTableArgs{
OutpostArn: pulumi.StringRef("arn:aws:outposts:us-west-2:123456789012:outpost/op-1234567890abcdef"),
}, nil)
if err != nil {
return err
}
exampleGetLocalGatewayVirtualInterfaceGroup, err := ec2.GetLocalGatewayVirtualInterfaceGroup(ctx, &ec2.GetLocalGatewayVirtualInterfaceGroupArgs{
LocalGatewayId: pulumi.StringRef(example.LocalGatewayId),
}, nil)
if err != nil {
return err
}
_, err = ec2.NewLocalGatewayRouteTableVirtualInterfaceGroupAssociation(ctx, "example", &ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs{
LocalGatewayRouteTableId: pulumi.String(pulumi.String(example.Id)),
LocalGatewayVirtualInterfaceGroupId: pulumi.String(pulumi.String(exampleGetLocalGatewayVirtualInterfaceGroup.Id)),
Tags: pulumi.StringMap{
"Name": pulumi.String("example"),
},
})
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.GetLocalGatewayRouteTable.Invoke(new()
{
OutpostArn = "arn:aws:outposts:us-west-2:123456789012:outpost/op-1234567890abcdef",
});
var exampleGetLocalGatewayVirtualInterfaceGroup = Aws.Ec2.GetLocalGatewayVirtualInterfaceGroup.Invoke(new()
{
LocalGatewayId = example.Apply(getLocalGatewayRouteTableResult => getLocalGatewayRouteTableResult.LocalGatewayId),
});
var exampleLocalGatewayRouteTableVirtualInterfaceGroupAssociation = new Aws.Ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation("example", new()
{
LocalGatewayRouteTableId = example.Apply(getLocalGatewayRouteTableResult => getLocalGatewayRouteTableResult.Id),
LocalGatewayVirtualInterfaceGroupId = exampleGetLocalGatewayVirtualInterfaceGroup.Apply(getLocalGatewayVirtualInterfaceGroupResult => getLocalGatewayVirtualInterfaceGroupResult.Id),
Tags =
{
{ "Name", "example" },
},
});
});
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.GetLocalGatewayRouteTableArgs;
import com.pulumi.aws.ec2.inputs.GetLocalGatewayVirtualInterfaceGroupArgs;
import com.pulumi.aws.ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation;
import com.pulumi.aws.ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs;
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.getLocalGatewayRouteTable(GetLocalGatewayRouteTableArgs.builder()
.outpostArn("arn:aws:outposts:us-west-2:123456789012:outpost/op-1234567890abcdef")
.build());
final var exampleGetLocalGatewayVirtualInterfaceGroup = Ec2Functions.getLocalGatewayVirtualInterfaceGroup(GetLocalGatewayVirtualInterfaceGroupArgs.builder()
.localGatewayId(example.localGatewayId())
.build());
var exampleLocalGatewayRouteTableVirtualInterfaceGroupAssociation = new LocalGatewayRouteTableVirtualInterfaceGroupAssociation("exampleLocalGatewayRouteTableVirtualInterfaceGroupAssociation", LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs.builder()
.localGatewayRouteTableId(example.id())
.localGatewayVirtualInterfaceGroupId(exampleGetLocalGatewayVirtualInterfaceGroup.id())
.tags(Map.of("Name", "example"))
.build());
}
}
resources:
exampleLocalGatewayRouteTableVirtualInterfaceGroupAssociation:
type: aws:ec2:LocalGatewayRouteTableVirtualInterfaceGroupAssociation
name: example
properties:
localGatewayRouteTableId: ${example.id}
localGatewayVirtualInterfaceGroupId: ${exampleGetLocalGatewayVirtualInterfaceGroup.id}
tags:
Name: example
variables:
example:
fn::invoke:
function: aws:ec2:getLocalGatewayRouteTable
arguments:
outpostArn: arn:aws:outposts:us-west-2:123456789012:outpost/op-1234567890abcdef
exampleGetLocalGatewayVirtualInterfaceGroup:
fn::invoke:
function: aws:ec2:getLocalGatewayVirtualInterfaceGroup
arguments:
localGatewayId: ${example.localGatewayId}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
data "aws_ec2_getlocalgatewayroutetable" "example" {
outpost_arn = "arn:aws:outposts:us-west-2:123456789012:outpost/op-1234567890abcdef"
}
data "aws_ec2_getlocalgatewayvirtualinterfacegroup" "exampleGetLocalGatewayVirtualInterfaceGroup" {
local_gateway_id = data.aws_ec2_getlocalgatewayroutetable.example.local_gateway_id
}
resource "aws_ec2_localgatewayroutetablevirtualinterfacegroupassociation" "example" {
local_gateway_route_table_id = data.aws_ec2_getlocalgatewayroutetable.example.id
local_gateway_virtual_interface_group_id = data.aws_ec2_getlocalgatewayvirtualinterfacegroup.exampleGetLocalGatewayVirtualInterfaceGroup.id
tags = {
"Name" = "example"
}
}
Create LocalGatewayRouteTableVirtualInterfaceGroupAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LocalGatewayRouteTableVirtualInterfaceGroupAssociation(name: string, args: LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs, opts?: CustomResourceOptions);@overload
def LocalGatewayRouteTableVirtualInterfaceGroupAssociation(resource_name: str,
args: LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LocalGatewayRouteTableVirtualInterfaceGroupAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_gateway_route_table_id: Optional[str] = None,
local_gateway_virtual_interface_group_id: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewLocalGatewayRouteTableVirtualInterfaceGroupAssociation(ctx *Context, name string, args LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs, opts ...ResourceOption) (*LocalGatewayRouteTableVirtualInterfaceGroupAssociation, error)public LocalGatewayRouteTableVirtualInterfaceGroupAssociation(string name, LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs args, CustomResourceOptions? opts = null)
public LocalGatewayRouteTableVirtualInterfaceGroupAssociation(String name, LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs args)
public LocalGatewayRouteTableVirtualInterfaceGroupAssociation(String name, LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs args, CustomResourceOptions options)
type: aws:ec2:LocalGatewayRouteTableVirtualInterfaceGroupAssociation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_ec2_localgatewayroutetablevirtualinterfacegroupassociation" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs
- 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 LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs
- 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 LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs
- 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 localGatewayRouteTableVirtualInterfaceGroupAssociationResource = new Aws.Ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation("localGatewayRouteTableVirtualInterfaceGroupAssociationResource", new()
{
LocalGatewayRouteTableId = "string",
LocalGatewayVirtualInterfaceGroupId = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := ec2.NewLocalGatewayRouteTableVirtualInterfaceGroupAssociation(ctx, "localGatewayRouteTableVirtualInterfaceGroupAssociationResource", &ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs{
LocalGatewayRouteTableId: pulumi.String("string"),
LocalGatewayVirtualInterfaceGroupId: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "aws_ec2_localgatewayroutetablevirtualinterfacegroupassociation" "localGatewayRouteTableVirtualInterfaceGroupAssociationResource" {
local_gateway_route_table_id = "string"
local_gateway_virtual_interface_group_id = "string"
region = "string"
tags = {
"string" = "string"
}
}
var localGatewayRouteTableVirtualInterfaceGroupAssociationResource = new LocalGatewayRouteTableVirtualInterfaceGroupAssociation("localGatewayRouteTableVirtualInterfaceGroupAssociationResource", LocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs.builder()
.localGatewayRouteTableId("string")
.localGatewayVirtualInterfaceGroupId("string")
.region("string")
.tags(Map.of("string", "string"))
.build());
local_gateway_route_table_virtual_interface_group_association_resource = aws.ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation("localGatewayRouteTableVirtualInterfaceGroupAssociationResource",
local_gateway_route_table_id="string",
local_gateway_virtual_interface_group_id="string",
region="string",
tags={
"string": "string",
})
const localGatewayRouteTableVirtualInterfaceGroupAssociationResource = new aws.ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation("localGatewayRouteTableVirtualInterfaceGroupAssociationResource", {
localGatewayRouteTableId: "string",
localGatewayVirtualInterfaceGroupId: "string",
region: "string",
tags: {
string: "string",
},
});
type: aws:ec2:LocalGatewayRouteTableVirtualInterfaceGroupAssociation
properties:
localGatewayRouteTableId: string
localGatewayVirtualInterfaceGroupId: string
region: string
tags:
string: string
LocalGatewayRouteTableVirtualInterfaceGroupAssociation 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 LocalGatewayRouteTableVirtualInterfaceGroupAssociation resource accepts the following input properties:
- Local
Gateway stringRoute Table Id - Identifier of EC2 Local Gateway Route Table.
- Local
Gateway stringVirtual Interface Group Id Identifier of EC2 Local Gateway Virtual Interface Group.
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.
- Local
Gateway stringRoute Table Id - Identifier of EC2 Local Gateway Route Table.
- Local
Gateway stringVirtual Interface Group Id Identifier of EC2 Local Gateway Virtual Interface Group.
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.
- local_
gateway_ stringroute_ table_ id - Identifier of EC2 Local Gateway Route Table.
- local_
gateway_ stringvirtual_ interface_ group_ id Identifier of EC2 Local Gateway Virtual Interface Group.
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.
- local
Gateway StringRoute Table Id - Identifier of EC2 Local Gateway Route Table.
- local
Gateway StringVirtual Interface Group Id Identifier of EC2 Local Gateway Virtual Interface Group.
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.
- local
Gateway stringRoute Table Id - Identifier of EC2 Local Gateway Route Table.
- local
Gateway stringVirtual Interface Group Id Identifier of EC2 Local Gateway Virtual Interface Group.
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.
- local_
gateway_ strroute_ table_ id - Identifier of EC2 Local Gateway Route Table.
- local_
gateway_ strvirtual_ interface_ group_ id Identifier of EC2 Local Gateway Virtual Interface Group.
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.
- local
Gateway StringRoute Table Id - Identifier of EC2 Local Gateway Route Table.
- local
Gateway StringVirtual Interface Group Id Identifier of EC2 Local Gateway Virtual Interface Group.
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.
Outputs
All input properties are implicitly available as output properties. Additionally, the LocalGatewayRouteTableVirtualInterfaceGroupAssociation resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Gateway stringId - Identifier of the EC2 Local Gateway.
- Local
Gateway stringRoute Table Arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- Owner
Id string - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- State string
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Gateway stringId - Identifier of the EC2 Local Gateway.
- Local
Gateway stringRoute Table Arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- Owner
Id string - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- State string
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- id string
- The provider-assigned unique ID for this managed resource.
- local_
gateway_ stringid - Identifier of the EC2 Local Gateway.
- local_
gateway_ stringroute_ table_ arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- owner_
id string - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- state string
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- id String
- The provider-assigned unique ID for this managed resource.
- local
Gateway StringId - Identifier of the EC2 Local Gateway.
- local
Gateway StringRoute Table Arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- owner
Id String - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- state String
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- id string
- The provider-assigned unique ID for this managed resource.
- local
Gateway stringId - Identifier of the EC2 Local Gateway.
- local
Gateway stringRoute Table Arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- owner
Id string - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- state string
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- id str
- The provider-assigned unique ID for this managed resource.
- local_
gateway_ strid - Identifier of the EC2 Local Gateway.
- local_
gateway_ strroute_ table_ arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- owner_
id str - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- state str
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- id String
- The provider-assigned unique ID for this managed resource.
- local
Gateway StringId - Identifier of the EC2 Local Gateway.
- local
Gateway StringRoute Table Arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- owner
Id String - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- state String
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing LocalGatewayRouteTableVirtualInterfaceGroupAssociation Resource
Get an existing LocalGatewayRouteTableVirtualInterfaceGroupAssociation 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?: LocalGatewayRouteTableVirtualInterfaceGroupAssociationState, opts?: CustomResourceOptions): LocalGatewayRouteTableVirtualInterfaceGroupAssociation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
local_gateway_id: Optional[str] = None,
local_gateway_route_table_arn: Optional[str] = None,
local_gateway_route_table_id: Optional[str] = None,
local_gateway_virtual_interface_group_id: 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) -> LocalGatewayRouteTableVirtualInterfaceGroupAssociationfunc GetLocalGatewayRouteTableVirtualInterfaceGroupAssociation(ctx *Context, name string, id IDInput, state *LocalGatewayRouteTableVirtualInterfaceGroupAssociationState, opts ...ResourceOption) (*LocalGatewayRouteTableVirtualInterfaceGroupAssociation, error)public static LocalGatewayRouteTableVirtualInterfaceGroupAssociation Get(string name, Input<string> id, LocalGatewayRouteTableVirtualInterfaceGroupAssociationState? state, CustomResourceOptions? opts = null)public static LocalGatewayRouteTableVirtualInterfaceGroupAssociation get(String name, Output<String> id, LocalGatewayRouteTableVirtualInterfaceGroupAssociationState state, CustomResourceOptions options)resources: _: type: aws:ec2:LocalGatewayRouteTableVirtualInterfaceGroupAssociation get: id: ${id}import {
to = aws_ec2_localgatewayroutetablevirtualinterfacegroupassociation.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.
- Local
Gateway stringId - Identifier of the EC2 Local Gateway.
- Local
Gateway stringRoute Table Arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- Local
Gateway stringRoute Table Id - Identifier of EC2 Local Gateway Route Table.
- Local
Gateway stringVirtual Interface Group Id Identifier of EC2 Local Gateway Virtual Interface Group.
The following arguments are optional:
- Owner
Id string - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- State string
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- 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.
- Local
Gateway stringId - Identifier of the EC2 Local Gateway.
- Local
Gateway stringRoute Table Arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- Local
Gateway stringRoute Table Id - Identifier of EC2 Local Gateway Route Table.
- Local
Gateway stringVirtual Interface Group Id Identifier of EC2 Local Gateway Virtual Interface Group.
The following arguments are optional:
- Owner
Id string - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- State string
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- 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.
- local_
gateway_ stringid - Identifier of the EC2 Local Gateway.
- local_
gateway_ stringroute_ table_ arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- local_
gateway_ stringroute_ table_ id - Identifier of EC2 Local Gateway Route Table.
- local_
gateway_ stringvirtual_ interface_ group_ id Identifier of EC2 Local Gateway Virtual Interface Group.
The following arguments are optional:
- owner_
id string - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state string
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- 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.
- local
Gateway StringId - Identifier of the EC2 Local Gateway.
- local
Gateway StringRoute Table Arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- local
Gateway StringRoute Table Id - Identifier of EC2 Local Gateway Route Table.
- local
Gateway StringVirtual Interface Group Id Identifier of EC2 Local Gateway Virtual Interface Group.
The following arguments are optional:
- owner
Id String - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state String
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- 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.
- local
Gateway stringId - Identifier of the EC2 Local Gateway.
- local
Gateway stringRoute Table Arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- local
Gateway stringRoute Table Id - Identifier of EC2 Local Gateway Route Table.
- local
Gateway stringVirtual Interface Group Id Identifier of EC2 Local Gateway Virtual Interface Group.
The following arguments are optional:
- owner
Id string - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state string
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- {[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.
- local_
gateway_ strid - Identifier of the EC2 Local Gateway.
- local_
gateway_ strroute_ table_ arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- local_
gateway_ strroute_ table_ id - Identifier of EC2 Local Gateway Route Table.
- local_
gateway_ strvirtual_ interface_ group_ id Identifier of EC2 Local Gateway Virtual Interface Group.
The following arguments are optional:
- owner_
id str - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state str
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- 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.
- local
Gateway StringId - Identifier of the EC2 Local Gateway.
- local
Gateway StringRoute Table Arn - Amazon Resource Name (ARN) of the EC2 Local Gateway Route Table.
- local
Gateway StringRoute Table Id - Identifier of EC2 Local Gateway Route Table.
- local
Gateway StringVirtual Interface Group Id Identifier of EC2 Local Gateway Virtual Interface Group.
The following arguments are optional:
- owner
Id String - Identifier of the AWS account that owns the EC2 Local Gateway Virtual Interface Group Association.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- state String
- State of the EC2 Local Gateway Route Table Virtual Interface Group Association.
- 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.
Import
Using pulumi import, import aws.ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation using the Local Gateway Route Table Virtual Interface Group Association identifier. For example:
$ pulumi import aws:ec2/localGatewayRouteTableVirtualInterfaceGroupAssociation:LocalGatewayRouteTableVirtualInterfaceGroupAssociation example lgw-vif-grp-assoc-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