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 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:
- Vpn
Gateway stringId - VPN Gateway ID generated by service
- Vpn
Gateway stringId - VPN Gateway ID generated by service
- vpn
Gateway StringId - VPN Gateway ID generated by service
- vpn
Gateway stringId - VPN Gateway ID generated by service
- vpn_
gateway_ strid - VPN Gateway ID generated by service
- vpn
Gateway StringId - VPN Gateway ID generated by service
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 - VPN Gateway ID generated by service
- Tag
- Any tags assigned to the virtual private gateway.
- Vpn
Gateway stringId - VPN Gateway ID generated by service
- List<Tag>
- Any tags assigned to the virtual private gateway.
- vpn
Gateway StringId - VPN Gateway ID generated by service
- Tag[]
- Any tags assigned to the virtual private gateway.
- vpn
Gateway stringId - VPN Gateway ID generated by service
- Sequence[_
root_Tag] - Any tags assigned to the virtual private gateway.
- vpn_
gateway_ strid - VPN Gateway ID generated by service
- List<Property Map>
- Any tags assigned to the virtual private gateway.
- vpn
Gateway StringId - VPN Gateway ID generated by service
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.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi