AWS Native

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

getCapacityReservationFleet

Resource Type definition for AWS::EC2::CapacityReservationFleet

Using getCapacityReservationFleet

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 getCapacityReservationFleet(args: GetCapacityReservationFleetArgs, opts?: InvokeOptions): Promise<GetCapacityReservationFleetResult>
function getCapacityReservationFleetOutput(args: GetCapacityReservationFleetOutputArgs, opts?: InvokeOptions): Output<GetCapacityReservationFleetResult>
def get_capacity_reservation_fleet(capacity_reservation_fleet_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetCapacityReservationFleetResult
def get_capacity_reservation_fleet_output(capacity_reservation_fleet_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetCapacityReservationFleetResult]
func LookupCapacityReservationFleet(ctx *Context, args *LookupCapacityReservationFleetArgs, opts ...InvokeOption) (*LookupCapacityReservationFleetResult, error)
func LookupCapacityReservationFleetOutput(ctx *Context, args *LookupCapacityReservationFleetOutputArgs, opts ...InvokeOption) LookupCapacityReservationFleetResultOutput

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

public static class GetCapacityReservationFleet 
{
    public static Task<GetCapacityReservationFleetResult> InvokeAsync(GetCapacityReservationFleetArgs args, InvokeOptions? opts = null)
    public static Output<GetCapacityReservationFleetResult> Invoke(GetCapacityReservationFleetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCapacityReservationFleetResult> getCapacityReservationFleet(GetCapacityReservationFleetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:ec2:getCapacityReservationFleet
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getCapacityReservationFleet Result

The following output properties are available:

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0