Skip to content

Data Source: awsEc2LocalGatewayVirtualInterfaceGroups

Provides details about multiple EC2 Local Gateway Virtual Interface Groups, such as identifiers. 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.dataAwsEc2LocalGatewayVirtualInterfaceGroups.DataAwsEc2LocalGatewayVirtualInterfaceGroups(
  this,
  "all",
  {}
);

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.
  • 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:

  • id - AWS Region.
  • ids - Set of EC2 Local Gateway Virtual Interface Group identifiers.
  • localGatewayVirtualInterfaceIds - Set of EC2 Local Gateway Virtual Interface identifiers.

Timeouts

Configuration options:

  • read - (Default 20M)