AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi


Resource Type definition for AWS::EC2::EC2Fleet

Using getEC2Fleet

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 getEC2Fleet(args: GetEC2FleetArgs, opts?: InvokeOptions): Promise<GetEC2FleetResult>
function getEC2FleetOutput(args: GetEC2FleetOutputArgs, opts?: InvokeOptions): Output<GetEC2FleetResult>
def get_ec2_fleet(fleet_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetEC2FleetResult
def get_ec2_fleet_output(fleet_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetEC2FleetResult]
func LookupEC2Fleet(ctx *Context, args *LookupEC2FleetArgs, opts ...InvokeOption) (*LookupEC2FleetResult, error)
func LookupEC2FleetOutput(ctx *Context, args *LookupEC2FleetOutputArgs, opts ...InvokeOption) LookupEC2FleetResultOutput

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

public static class GetEC2Fleet 
    public static Task<GetEC2FleetResult> InvokeAsync(GetEC2FleetArgs args, InvokeOptions? opts = null)
    public static Output<GetEC2FleetResult> Invoke(GetEC2FleetInvokeArgs args, InvokeOptions? opts = null)
public static CompletableFuture<GetEC2FleetResult> getEC2Fleet(GetEC2FleetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
  Function: aws-native:ec2:getEC2Fleet
    # Arguments dictionary

The following arguments are supported:

FleetId string
FleetId string
fleetId String
fleetId string
fleetId String

getEC2Fleet Result

The following output properties are available:

Supporting Types





Package Details