CapacityBlockReservationState class
Input properties used for looking up and filtering CapacityBlockReservation resources.
Constructors
-
CapacityBlockReservationState({Input<
String?> ? arn, Input<String?> ? availabilityZone, Input<String?> ? capacityBlockOfferingId, Input<String?> ? createdDate, Input<bool?> ? ebsOptimized, Input<String?> ? endDate, Input<String?> ? endDateType, Input<int?> ? instanceCount, Input<String?> ? instancePlatform, Input<String?> ? instanceType, Input<String?> ? outpostArn, Input<String?> ? placementGroupArn, Input<String?> ? region, Input<String?> ? reservationType, Input<String?> ? startDate, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? tenancy, Input<CapacityBlockReservationTimeouts?> ? timeouts}) -
Creates a new CapacityBlockReservationState.
arnThe ARN of the reservation.availabilityZoneThe Availability Zone in which to create the Capacity Block Reservation.capacityBlockOfferingIdThe Capacity Block Reservation ID.createdDateThe date and time at which the Capacity Block Reservation was created.ebsOptimizedIndicates whether the Capacity Reservation supports EBS-optimized instances.endDateThe date and time at which the Capacity Block Reservation expires. When a Capacity Block Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ)endDateTypeIndicates the way in which the Capacity Reservation ends.instanceCountThe number of instances for which to reserve capacity.instancePlatformThe type of operating system for which to reserve capacity. Valid options areLinux/UNIX,Red Hat Enterprise Linux,SUSE Linux,Windows,Windows with SQL Server,Windows with SQL Server Enterprise,Windows with SQL Server StandardorWindows with SQL Server Web.instanceTypeThe instance type for which to reserve capacity.outpostArnThe ARN of the Outpost on which to create the Capacity Block Reservation.placementGroupArnThe ARN of the placement group in which to create the Capacity Block Reservation.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.reservationTypeThe type of Capacity Reservation.startDateThe date and time at which the Capacity Block Reservation starts. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ)tagsA map of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration blocktenancyIndicates the tenancy of the Capacity Block Reservation. Specify eitherdefaultordedicated.timeoutsOptional.const -
CapacityBlockReservationState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
The ARN of the reservation.
final
-
availabilityZone
→ Input<
String?> ? -
The Availability Zone in which to create the Capacity Block Reservation.
final
-
capacityBlockOfferingId
→ Input<
String?> ? -
The Capacity Block Reservation ID.
final
-
createdDate
→ Input<
String?> ? -
The date and time at which the Capacity Block Reservation was created.
final
-
ebsOptimized
→ Input<
bool?> ? -
Indicates whether the Capacity Reservation supports EBS-optimized instances.
final
-
endDate
→ Input<
String?> ? -
The date and time at which the Capacity Block Reservation expires. When a Capacity Block Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: RFC3339 time string (
YYYY-MM-DDTHH:MM:SSZ)final -
endDateType
→ Input<
String?> ? -
Indicates the way in which the Capacity Reservation ends.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceCount
→ Input<
int?> ? -
The number of instances for which to reserve capacity.
This value will not be set until the Capacity Block Reservation is active.
The requested instance count is set in the tag
aws:ec2capacityreservation:incrementalRequestedQuantity.final -
instancePlatform
→ Input<
String?> ? -
The type of operating system for which to reserve capacity. Valid options are
Linux/UNIX,Red Hat Enterprise Linux,SUSE Linux,Windows,Windows with SQL Server,Windows with SQL Server Enterprise,Windows with SQL Server StandardorWindows with SQL Server Web.final -
instanceType
→ Input<
String?> ? -
The instance type for which to reserve capacity.
final
-
outpostArn
→ Input<
String?> ? -
The ARN of the Outpost on which to create the Capacity Block Reservation.
final
-
placementGroupArn
→ Input<
String?> ? -
The ARN of the placement group in which to create the Capacity Block Reservation.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
reservationType
→ Input<
String?> ? -
The type of Capacity Reservation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
startDate
→ Input<
String?> ? -
The date and time at which the Capacity Block Reservation starts. Valid values: RFC3339 time string (
YYYY-MM-DDTHH:MM:SSZ)final -
A map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration blockfinal -
tenancy
→ Input<
String?> ? -
Indicates the tenancy of the Capacity Block Reservation. Specify either
defaultordedicated.final -
timeouts
→ Input<
CapacityBlockReservationTimeouts?> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited