AWS Native

v0.29.0 published on Thursday, Sep 8, 2022 by Pulumi

getCustomerGateway

Resource Type definition for AWS::EC2::CustomerGateway

Using getCustomerGateway

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 getCustomerGateway(args: GetCustomerGatewayArgs, opts?: InvokeOptions): Promise<GetCustomerGatewayResult>
function getCustomerGatewayOutput(args: GetCustomerGatewayOutputArgs, opts?: InvokeOptions): Output<GetCustomerGatewayResult>
def get_customer_gateway(customer_gateway_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetCustomerGatewayResult
def get_customer_gateway_output(customer_gateway_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetCustomerGatewayResult]
func LookupCustomerGateway(ctx *Context, args *LookupCustomerGatewayArgs, opts ...InvokeOption) (*LookupCustomerGatewayResult, error)
func LookupCustomerGatewayOutput(ctx *Context, args *LookupCustomerGatewayOutputArgs, opts ...InvokeOption) LookupCustomerGatewayResultOutput

> Note: This function is named LookupCustomerGateway in the Go SDK.

public static class GetCustomerGateway 
{
    public static Task<GetCustomerGatewayResult> InvokeAsync(GetCustomerGatewayArgs args, InvokeOptions? opts = null)
    public static Output<GetCustomerGatewayResult> Invoke(GetCustomerGatewayInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCustomerGatewayResult> getCustomerGateway(GetCustomerGatewayArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:ec2:getCustomerGateway
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CustomerGatewayId string

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

CustomerGatewayId string

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

customerGatewayId String

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

customerGatewayId string

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

customer_gateway_id str

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

customerGatewayId String

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

getCustomerGateway Result

The following output properties are available:

CustomerGatewayId string

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

Tags List<Pulumi.AwsNative.EC2.Outputs.CustomerGatewayTag>

One or more tags for the customer gateway.

CustomerGatewayId string

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

Tags []CustomerGatewayTag

One or more tags for the customer gateway.

customerGatewayId String

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

tags List<CustomerGatewayTag>

One or more tags for the customer gateway.

customerGatewayId string

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

tags CustomerGatewayTag[]

One or more tags for the customer gateway.

customer_gateway_id str

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

tags Sequence[CustomerGatewayTag]

One or more tags for the customer gateway.

customerGatewayId String

CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.

tags List<Property Map>

One or more tags for the customer gateway.

Supporting Types

CustomerGatewayTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0