@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
104 lines (103 loc) • 4.33 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Provides details about an EC2 Local Gateway Virtual Interface Group. More information can be found in the [Outposts User Guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#routing).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.ec2.getLocalGatewayVirtualInterfaceGroup({
* localGatewayId: exampleAwsEc2LocalGateway.id,
* });
* ```
*/
export declare function getLocalGatewayVirtualInterfaceGroup(args?: GetLocalGatewayVirtualInterfaceGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetLocalGatewayVirtualInterfaceGroupResult>;
/**
* A collection of arguments for invoking getLocalGatewayVirtualInterfaceGroup.
*/
export interface GetLocalGatewayVirtualInterfaceGroupArgs {
/**
* One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayVirtualInterfaceGroups.html) for supported filters. Detailed below.
*/
filters?: inputs.ec2.GetLocalGatewayVirtualInterfaceGroupFilter[];
/**
* Identifier of EC2 Local Gateway Virtual Interface Group.
*/
id?: string;
/**
* Identifier of EC2 Local Gateway.
*/
localGatewayId?: string;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
/**
* Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.
*/
tags?: {
[key: string]: string;
};
}
/**
* A collection of values returned by getLocalGatewayVirtualInterfaceGroup.
*/
export interface GetLocalGatewayVirtualInterfaceGroupResult {
readonly filters?: outputs.ec2.GetLocalGatewayVirtualInterfaceGroupFilter[];
readonly id: string;
readonly localGatewayId: string;
/**
* Set of EC2 Local Gateway Virtual Interface identifiers.
*/
readonly localGatewayVirtualInterfaceIds: string[];
readonly region: string;
readonly tags: {
[key: string]: string;
};
}
/**
* Provides details about an EC2 Local Gateway Virtual Interface Group. More information can be found in the [Outposts User Guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#routing).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.ec2.getLocalGatewayVirtualInterfaceGroup({
* localGatewayId: exampleAwsEc2LocalGateway.id,
* });
* ```
*/
export declare function getLocalGatewayVirtualInterfaceGroupOutput(args?: GetLocalGatewayVirtualInterfaceGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLocalGatewayVirtualInterfaceGroupResult>;
/**
* A collection of arguments for invoking getLocalGatewayVirtualInterfaceGroup.
*/
export interface GetLocalGatewayVirtualInterfaceGroupOutputArgs {
/**
* One or more configuration blocks containing name-values filters. See the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLocalGatewayVirtualInterfaceGroups.html) for supported filters. Detailed below.
*/
filters?: pulumi.Input<pulumi.Input<inputs.ec2.GetLocalGatewayVirtualInterfaceGroupFilterArgs>[]>;
/**
* Identifier of EC2 Local Gateway Virtual Interface Group.
*/
id?: pulumi.Input<string>;
/**
* Identifier of EC2 Local Gateway.
*/
localGatewayId?: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
/**
* Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}