1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. getCarrierGateway

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.ec2.getCarrierGateway

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    An example resource schema demonstrating some basic constructs and validation rules.

    Using getCarrierGateway

    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 getCarrierGateway(args: GetCarrierGatewayArgs, opts?: InvokeOptions): Promise<GetCarrierGatewayResult>
    function getCarrierGatewayOutput(args: GetCarrierGatewayOutputArgs, opts?: InvokeOptions): Output<GetCarrierGatewayResult>
    def get_carrier_gateway(carrier_gateway_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetCarrierGatewayResult
    def get_carrier_gateway_output(carrier_gateway_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetCarrierGatewayResult]
    func LookupCarrierGateway(ctx *Context, args *LookupCarrierGatewayArgs, opts ...InvokeOption) (*LookupCarrierGatewayResult, error)
    func LookupCarrierGatewayOutput(ctx *Context, args *LookupCarrierGatewayOutputArgs, opts ...InvokeOption) LookupCarrierGatewayResultOutput

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

    public static class GetCarrierGateway 
    {
        public static Task<GetCarrierGatewayResult> InvokeAsync(GetCarrierGatewayArgs args, InvokeOptions? opts = null)
        public static Output<GetCarrierGatewayResult> Invoke(GetCarrierGatewayInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCarrierGatewayResult> getCarrierGateway(GetCarrierGatewayArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ec2:getCarrierGateway
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CarrierGatewayId string
    The ID of the carrier gateway.
    CarrierGatewayId string
    The ID of the carrier gateway.
    carrierGatewayId String
    The ID of the carrier gateway.
    carrierGatewayId string
    The ID of the carrier gateway.
    carrier_gateway_id str
    The ID of the carrier gateway.
    carrierGatewayId String
    The ID of the carrier gateway.

    getCarrierGateway Result

    The following output properties are available:

    CarrierGatewayId string
    The ID of the carrier gateway.
    OwnerId string
    The ID of the owner.
    State string
    The state of the carrier gateway.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the carrier gateway.
    CarrierGatewayId string
    The ID of the carrier gateway.
    OwnerId string
    The ID of the owner.
    State string
    The state of the carrier gateway.
    Tags Tag
    The tags for the carrier gateway.
    carrierGatewayId String
    The ID of the carrier gateway.
    ownerId String
    The ID of the owner.
    state String
    The state of the carrier gateway.
    tags List<Tag>
    The tags for the carrier gateway.
    carrierGatewayId string
    The ID of the carrier gateway.
    ownerId string
    The ID of the owner.
    state string
    The state of the carrier gateway.
    tags Tag[]
    The tags for the carrier gateway.
    carrier_gateway_id str
    The ID of the carrier gateway.
    owner_id str
    The ID of the owner.
    state str
    The state of the carrier gateway.
    tags Sequence[root_Tag]
    The tags for the carrier gateway.
    carrierGatewayId String
    The ID of the carrier gateway.
    ownerId String
    The ID of the owner.
    state String
    The state of the carrier gateway.
    tags List<Property Map>
    The tags for the carrier 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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi