Skip to content

Data Source: awsEc2LocalGatewayVirtualInterfaceGroup

Provides details about an EC2 Local Gateway Virtual Interface Group. More information can be found in the Outposts User Guide.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsEc2LocalGatewayVirtualInterfaceGroup.DataAwsEc2LocalGatewayVirtualInterfaceGroup(
  this,
  "example",
  {
    localGatewayId: "${data.aws_ec2_local_gateway.example.id}",
  }
);

Argument Reference

The following arguments are optional:

  • filter - (Optional) One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.
  • id - (Optional) Identifier of EC2 Local Gateway Virtual Interface Group.
  • localGatewayId - (Optional) Identifier of EC2 Local Gateway.
  • tags - (Optional) Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.

filter Argument Reference

The filter configuration block supports the following arguments:

  • name - (Required) Name of the filter.
  • values - (Required) List of one or more values for the filter.

Attribute Reference

In addition to all arguments above, the following attributes are exported:

  • localGatewayVirtualInterfaceIds - Set of EC2 Local Gateway Virtual Interface identifiers.

Timeouts

Configuration options:

  • read - (Default 20M)