aws-native.ec2.getCustomerGateway
Explore with Pulumi AI
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:
- Customer
Gateway stringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- Customer
Gateway stringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- customer
Gateway StringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- customer
Gateway stringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- customer_
gateway_ strid CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- customer
Gateway StringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
getCustomerGateway Result
The following output properties are available:
- Customer
Gateway stringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- List<Pulumi.
Aws Native. EC2. Outputs. Customer Gateway Tag> One or more tags for the customer gateway.
- Customer
Gateway stringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- []Customer
Gateway Tag One or more tags for the customer gateway.
- customer
Gateway StringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- List<Customer
Gateway Tag> One or more tags for the customer gateway.
- customer
Gateway stringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- Customer
Gateway Tag[] One or more tags for the customer gateway.
- customer_
gateway_ strid CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- Sequence[Customer
Gateway Tag] One or more tags for the customer gateway.
- customer
Gateway StringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- List<Property Map>
One or more tags for the customer gateway.
Supporting Types
CustomerGatewayTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0