import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The VPN Gateway data source provides details about * a specific VPN gateway. * * The arguments of this data source act as filters for querying the available VPN gateways. The given filters must match exactly one VPN gateway whose data will be exported as attributes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const selected = aws.ec2.getVpnGateway({ * filters: [{ * name: "tag:Name", * values: ["vpn-gw"], * }], * }); * export const vpnGatewayId = selected.then(selected => selected.id); * ``` */ export declare function getVpnGateway(args?: GetVpnGatewayArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVpnGateway. */ export interface GetVpnGatewayArgs { /** * Autonomous System Number (ASN) for the Amazon side of the specific VPN Gateway to retrieve. */ amazonSideAsn?: string; /** * ID of a VPC attached to the specific VPN Gateway to retrieve. */ attachedVpcId?: string; /** * Availability Zone of the specific VPN Gateway to retrieve. */ availabilityZone?: string; /** * Custom filter block as described below. */ filters?: inputs.ec2.GetVpnGatewayFilter[]; /** * ID of the specific VPN Gateway to retrieve. */ id?: 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; /** * State of the specific VPN Gateway to retrieve. */ state?: string; /** * Map of tags, each pair of which must exactly match a pair on the desired VPN Gateway. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getVpnGateway. */ export interface GetVpnGatewayResult { readonly amazonSideAsn: string; /** * ARN of the VPN Gateway. */ readonly arn: string; readonly attachedVpcId: string; readonly availabilityZone: string; readonly filters?: outputs.ec2.GetVpnGatewayFilter[]; readonly id: string; readonly region: string; readonly state: string; readonly tags: { [key: string]: string; }; } /** * The VPN Gateway data source provides details about * a specific VPN gateway. * * The arguments of this data source act as filters for querying the available VPN gateways. The given filters must match exactly one VPN gateway whose data will be exported as attributes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const selected = aws.ec2.getVpnGateway({ * filters: [{ * name: "tag:Name", * values: ["vpn-gw"], * }], * }); * export const vpnGatewayId = selected.then(selected => selected.id); * ``` */ export declare function getVpnGatewayOutput(args?: GetVpnGatewayOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVpnGateway. */ export interface GetVpnGatewayOutputArgs { /** * Autonomous System Number (ASN) for the Amazon side of the specific VPN Gateway to retrieve. */ amazonSideAsn?: pulumi.Input; /** * ID of a VPC attached to the specific VPN Gateway to retrieve. */ attachedVpcId?: pulumi.Input; /** * Availability Zone of the specific VPN Gateway to retrieve. */ availabilityZone?: pulumi.Input; /** * Custom filter block as described below. */ filters?: pulumi.Input[] | undefined>; /** * ID of the specific VPN Gateway to retrieve. */ id?: pulumi.Input; /** * 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; /** * State of the specific VPN Gateway to retrieve. */ state?: pulumi.Input; /** * Map of tags, each pair of which must exactly match a pair on the desired VPN Gateway. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=getVpnGateway.d.ts.map