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

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.ec2.getEgressOnlyInternetGateway

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Resource Type definition for AWS::EC2::EgressOnlyInternetGateway

    Using getEgressOnlyInternetGateway

    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 getEgressOnlyInternetGateway(args: GetEgressOnlyInternetGatewayArgs, opts?: InvokeOptions): Promise<GetEgressOnlyInternetGatewayResult>
    function getEgressOnlyInternetGatewayOutput(args: GetEgressOnlyInternetGatewayOutputArgs, opts?: InvokeOptions): Output<GetEgressOnlyInternetGatewayResult>
    def get_egress_only_internet_gateway(id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetEgressOnlyInternetGatewayResult
    def get_egress_only_internet_gateway_output(id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetEgressOnlyInternetGatewayResult]
    func LookupEgressOnlyInternetGateway(ctx *Context, args *LookupEgressOnlyInternetGatewayArgs, opts ...InvokeOption) (*LookupEgressOnlyInternetGatewayResult, error)
    func LookupEgressOnlyInternetGatewayOutput(ctx *Context, args *LookupEgressOnlyInternetGatewayOutputArgs, opts ...InvokeOption) LookupEgressOnlyInternetGatewayResultOutput

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

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

    The following arguments are supported:

    Id string
    Service Generated ID of the EgressOnlyInternetGateway
    Id string
    Service Generated ID of the EgressOnlyInternetGateway
    id String
    Service Generated ID of the EgressOnlyInternetGateway
    id string
    Service Generated ID of the EgressOnlyInternetGateway
    id str
    Service Generated ID of the EgressOnlyInternetGateway
    id String
    Service Generated ID of the EgressOnlyInternetGateway

    getEgressOnlyInternetGateway Result

    The following output properties are available:

    Id string
    Service Generated ID of the EgressOnlyInternetGateway
    Id string
    Service Generated ID of the EgressOnlyInternetGateway
    id String
    Service Generated ID of the EgressOnlyInternetGateway
    id string
    Service Generated ID of the EgressOnlyInternetGateway
    id str
    Service Generated ID of the EgressOnlyInternetGateway
    id String
    Service Generated ID of the EgressOnlyInternetGateway

    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 Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi