UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

40 lines (39 loc) 2.26 kB
import * as pulumi from "@pulumi/pulumi"; /** * Resource Type definition for AWS::EC2::CapacityReservationFleet */ export declare function getCapacityReservationFleet(args: GetCapacityReservationFleetArgs, opts?: pulumi.InvokeOptions): Promise<GetCapacityReservationFleetResult>; export interface GetCapacityReservationFleetArgs { /** * The ID of the Capacity Reservation Fleet. */ capacityReservationFleetId: string; } export interface GetCapacityReservationFleetResult { /** * The ID of the Capacity Reservation Fleet. */ readonly capacityReservationFleetId?: string; /** * Used to add an end date to a Capacity Reservation Fleet that has no end date and time. To add an end date to a Capacity Reservation Fleet, specify `true` for this paramater and specify the end date and time (in UTC time format) for the *EndDate* parameter. */ readonly noRemoveEndDate?: boolean; /** * Used to remove an end date from a Capacity Reservation Fleet that is configured to end automatically at a specific date and time. To remove the end date from a Capacity Reservation Fleet, specify `true` for this paramater and omit the *EndDate* parameter. */ readonly removeEndDate?: boolean; /** * The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together with the instance type weights that you assign to each instance type used by the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see [Total target capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) in the *Amazon EC2 User Guide* . */ readonly totalTargetCapacity?: number; } /** * Resource Type definition for AWS::EC2::CapacityReservationFleet */ export declare function getCapacityReservationFleetOutput(args: GetCapacityReservationFleetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCapacityReservationFleetResult>; export interface GetCapacityReservationFleetOutputArgs { /** * The ID of the Capacity Reservation Fleet. */ capacityReservationFleetId: pulumi.Input<string>; }