AWS Native

v0.29.0 published on Thursday, Sep 8, 2022 by Pulumi

getEgressOnlyInternetGateway

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
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0