1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. getCapacityReservationFleet

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

aws-native.ec2.getCapacityReservationFleet

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

    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:

    CapacityReservationFleetId string
    The ID of the Capacity Reservation Fleet.
    CapacityReservationFleetId string
    The ID of the Capacity Reservation Fleet.
    capacityReservationFleetId String
    The ID of the Capacity Reservation Fleet.
    capacityReservationFleetId string
    The ID of the Capacity Reservation Fleet.
    capacity_reservation_fleet_id str
    The ID of the Capacity Reservation Fleet.
    capacityReservationFleetId String
    The ID of the Capacity Reservation Fleet.

    getCapacityReservationFleet Result

    The following output properties are available:

    CapacityReservationFleetId string
    The ID of the Capacity Reservation Fleet.
    NoRemoveEndDate bool
    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.
    RemoveEndDate bool
    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.
    TotalTargetCapacity int
    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 in the Amazon EC2 User Guide .
    CapacityReservationFleetId string
    The ID of the Capacity Reservation Fleet.
    NoRemoveEndDate bool
    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.
    RemoveEndDate bool
    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.
    TotalTargetCapacity int
    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 in the Amazon EC2 User Guide .
    capacityReservationFleetId String
    The ID of the Capacity Reservation Fleet.
    noRemoveEndDate Boolean
    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.
    removeEndDate 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.
    totalTargetCapacity Integer
    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 in the Amazon EC2 User Guide .
    capacityReservationFleetId string
    The ID of the Capacity Reservation Fleet.
    noRemoveEndDate boolean
    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.
    removeEndDate 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.
    totalTargetCapacity number
    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 in the Amazon EC2 User Guide .
    capacity_reservation_fleet_id str
    The ID of the Capacity Reservation Fleet.
    no_remove_end_date bool
    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.
    remove_end_date bool
    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.
    total_target_capacity int
    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 in the Amazon EC2 User Guide .
    capacityReservationFleetId String
    The ID of the Capacity Reservation Fleet.
    noRemoveEndDate Boolean
    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.
    removeEndDate 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.
    totalTargetCapacity Number
    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 in the Amazon EC2 User Guide .

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi