We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.ec2.getCapacityReservationFleet
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 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:
- Capacity
Reservation stringFleet Id - The ID of the Capacity Reservation Fleet.
- Capacity
Reservation stringFleet Id - The ID of the Capacity Reservation Fleet.
- capacity
Reservation StringFleet Id - The ID of the Capacity Reservation Fleet.
- capacity
Reservation stringFleet Id - The ID of the Capacity Reservation Fleet.
- capacity_
reservation_ strfleet_ id - The ID of the Capacity Reservation Fleet.
- capacity
Reservation StringFleet Id - The ID of the Capacity Reservation Fleet.
getCapacityReservationFleet Result
The following output properties are available:
- Capacity
Reservation stringFleet Id - The ID of the Capacity Reservation Fleet.
- No
Remove boolEnd Date - 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 boolDate - 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 intCapacity - 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 stringFleet Id - The ID of the Capacity Reservation Fleet.
- No
Remove boolEnd Date - 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 boolDate - 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 intCapacity - 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 StringFleet Id - The ID of the Capacity Reservation Fleet.
- no
Remove BooleanEnd Date - 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 BooleanDate - 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 IntegerCapacity - 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 stringFleet Id - The ID of the Capacity Reservation Fleet.
- no
Remove booleanEnd Date - 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 booleanDate - 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 numberCapacity - 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_ strfleet_ id - The ID of the Capacity Reservation Fleet.
- no_
remove_ boolend_ date - 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_ booldate - 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_ intcapacity - 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 StringFleet Id - The ID of the Capacity Reservation Fleet.
- no
Remove BooleanEnd Date - 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 BooleanDate - 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 NumberCapacity - 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
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi