1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getCustomerGateway

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.ec2.getCustomerGateway

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Specifies a customer gateway.

    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
    The ID of the customer gateway.
    CustomerGatewayId string
    The ID of the customer gateway.
    customerGatewayId String
    The ID of the customer gateway.
    customerGatewayId string
    The ID of the customer gateway.
    customer_gateway_id str
    The ID of the customer gateway.
    customerGatewayId String
    The ID of the customer gateway.

    getCustomerGateway Result

    The following output properties are available:

    CustomerGatewayId string
    The ID of the customer gateway.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    One or more tags for the customer gateway.
    CustomerGatewayId string
    The ID of the customer gateway.
    Tags Tag
    One or more tags for the customer gateway.
    customerGatewayId String
    The ID of the customer gateway.
    tags List<Tag>
    One or more tags for the customer gateway.
    customerGatewayId string
    The ID of the customer gateway.
    tags Tag[]
    One or more tags for the customer gateway.
    customer_gateway_id str
    The ID of the customer gateway.
    tags Sequence[root_Tag]
    One or more tags for the customer gateway.
    customerGatewayId String
    The ID of the customer gateway.
    tags List<Property Map>
    One or more tags for the customer gateway.

    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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi