AWS Native is in preview. AWS Classic is fully supported.
aws-native.ec2.getVpnGateway
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Specifies a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself. For more information, see in the User Guide.
Using getVpnGateway
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpnGateway(args: GetVpnGatewayArgs, opts?: InvokeOptions): Promise<GetVpnGatewayResult>
function getVpnGatewayOutput(args: GetVpnGatewayOutputArgs, opts?: InvokeOptions): Output<GetVpnGatewayResult>
def get_vpn_gateway(vpn_gateway_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpnGatewayResult
def get_vpn_gateway_output(vpn_gateway_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpnGatewayResult]
func LookupVpnGateway(ctx *Context, args *LookupVpnGatewayArgs, opts ...InvokeOption) (*LookupVpnGatewayResult, error)
func LookupVpnGatewayOutput(ctx *Context, args *LookupVpnGatewayOutputArgs, opts ...InvokeOption) LookupVpnGatewayResultOutput
> Note: This function is named LookupVpnGateway
in the Go SDK.
public static class GetVpnGateway
{
public static Task<GetVpnGatewayResult> InvokeAsync(GetVpnGatewayArgs args, InvokeOptions? opts = null)
public static Output<GetVpnGatewayResult> Invoke(GetVpnGatewayInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVpnGatewayResult> getVpnGateway(GetVpnGatewayArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ec2:getVpnGateway
arguments:
# arguments dictionary
The following arguments are supported:
- Vpn
Gateway stringId - The ID of the VPN gateway.
- Vpn
Gateway stringId - The ID of the VPN gateway.
- vpn
Gateway StringId - The ID of the VPN gateway.
- vpn
Gateway stringId - The ID of the VPN gateway.
- vpn_
gateway_ strid - The ID of the VPN gateway.
- vpn
Gateway StringId - The ID of the VPN gateway.
getVpnGateway Result
The following output properties are available:
- List<Pulumi.
Aws Native. Outputs. Tag> - Any tags assigned to the virtual private gateway.
- Vpn
Gateway stringId - The ID of the VPN gateway.
- Tag
- Any tags assigned to the virtual private gateway.
- Vpn
Gateway stringId - The ID of the VPN gateway.
- List<Tag>
- Any tags assigned to the virtual private gateway.
- vpn
Gateway StringId - The ID of the VPN gateway.
- Tag[]
- Any tags assigned to the virtual private gateway.
- vpn
Gateway stringId - The ID of the VPN gateway.
- Sequence[root_Tag]
- Any tags assigned to the virtual private gateway.
- vpn_
gateway_ strid - The ID of the VPN gateway.
- List<Property Map>
- Any tags assigned to the virtual private gateway.
- vpn
Gateway StringId - The ID of the VPN gateway.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.