1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. getVpnGateway

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

aws-native.ec2.getVpnGateway

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi

    Schema for EC2 VPN Gateway

    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:

    VpnGatewayId string
    VPN Gateway ID generated by service
    VpnGatewayId string
    VPN Gateway ID generated by service
    vpnGatewayId String
    VPN Gateway ID generated by service
    vpnGatewayId string
    VPN Gateway ID generated by service
    vpn_gateway_id str
    VPN Gateway ID generated by service
    vpnGatewayId String
    VPN Gateway ID generated by service

    getVpnGateway Result

    The following output properties are available:

    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Any tags assigned to the virtual private gateway.
    VpnGatewayId string
    VPN Gateway ID generated by service
    Tags Tag
    Any tags assigned to the virtual private gateway.
    VpnGatewayId string
    VPN Gateway ID generated by service
    tags List<Tag>
    Any tags assigned to the virtual private gateway.
    vpnGatewayId String
    VPN Gateway ID generated by service
    tags Tag[]
    Any tags assigned to the virtual private gateway.
    vpnGatewayId string
    VPN Gateway ID generated by service
    tags Sequence[_root_Tag]
    Any tags assigned to the virtual private gateway.
    vpn_gateway_id str
    VPN Gateway ID generated by service
    tags List<Property Map>
    Any tags assigned to the virtual private gateway.
    vpnGatewayId String
    VPN Gateway ID generated by service

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi