We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.ec2.getEgressOnlyInternetGateway
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 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)
public static Output<GetEgressOnlyInternetGatewayResult> getEgressOnlyInternetGateway(GetEgressOnlyInternetGatewayArgs args, InvokeOptions options)
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
- List<Pulumi.
Aws Native. Outputs. Tag> - Any tags assigned to the egress only internet gateway.
- id str
- Service Generated ID of the EgressOnlyInternetGateway
- Sequence[root_Tag]
- Any tags assigned to the egress only internet gateway.
- id String
- Service Generated ID of the EgressOnlyInternetGateway
- List<Property Map>
- Any tags assigned to the egress only internet 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.37.0 published on Wednesday, Oct 15, 2025 by Pulumi