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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.ec2.getCustomerGateway

Explore with Pulumi AI

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 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>
Copy
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]
Copy
func LookupCustomerGateway(ctx *Context, args *LookupCustomerGatewayArgs, opts ...InvokeOption) (*LookupCustomerGatewayResult, error)
func LookupCustomerGatewayOutput(ctx *Context, args *LookupCustomerGatewayOutputArgs, opts ...InvokeOption) LookupCustomerGatewayResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCustomerGatewayResult> getCustomerGateway(GetCustomerGatewayArgs args, InvokeOptions options)
public static Output<GetCustomerGatewayResult> getCustomerGateway(GetCustomerGatewayArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:ec2:getCustomerGateway
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CustomerGatewayId This property is required. string
The ID of the customer gateway.
CustomerGatewayId This property is required. string
The ID of the customer gateway.
customerGatewayId This property is required. String
The ID of the customer gateway.
customerGatewayId This property is required. string
The ID of the customer gateway.
customer_gateway_id This property is required. str
The ID of the customer gateway.
customerGatewayId This property is required. 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 This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

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

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi