We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.27.0 published on Monday, Apr 14, 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.27.0 published on Monday, Apr 14, 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>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)
public static Output<GetCustomerGatewayResult> getCustomerGateway(GetCustomerGatewayArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:ec2:getCustomerGateway
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Customer
Gateway stringId  - The ID of the customer gateway.
 
- Customer
Gateway stringId  - The ID of the customer gateway.
 
- customer
Gateway StringId  - The ID of the customer gateway.
 
- customer
Gateway stringId  - The ID of the customer gateway.
 
- customer_
gateway_ strid  - The ID of the customer gateway.
 
- customer
Gateway StringId  - The ID of the customer gateway.
 
getCustomerGateway Result
The following output properties are available:
- Customer
Gateway stringId  - The ID of the customer gateway.
 - 
List<Pulumi.
Aws Native. Outputs. Tag>  - One or more tags for the customer gateway.
 
- Customer
Gateway stringId  - The ID of the customer gateway.
 - Tag
 - One or more tags for the customer gateway.
 
- customer
Gateway StringId  - The ID of the customer gateway.
 - List<Tag>
 - One or more tags for the customer gateway.
 
- customer
Gateway stringId  - The ID of the customer gateway.
 - Tag[]
 - One or more tags for the customer gateway.
 
- customer_
gateway_ strid  - The ID of the customer gateway.
 - Sequence[root_Tag]
 - One or more tags for the customer gateway.
 
- customer
Gateway StringId  - The ID of the customer gateway.
 - List<Property Map>
 - One or more tags for the customer gateway.
 
Supporting Types
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.27.0 published on Monday, Apr 14, 2025 by Pulumi