CapacityReservationArgs class
The set of arguments for CapacityReservation. The set of arguments for CapacityReservation.
Constructors
-
CapacityReservationArgs({required Input<
String> availabilityZone, Input<bool?> ? ebsOptimized, Input<String?> ? endDate, Input<String?> ? endDateType, Input<bool?> ? ephemeralStorage, required Input<int> instanceCount, Input<String?> ? instanceMatchCriteria, required Input instancePlatform, required Input instanceType, Input<String?> ? outpostArn, Input<String?> ? placementGroupArn, Input<String?> ? region, Input<Map< ? tags, Input? tenancy})String, String> ?> -
Creates a new CapacityReservationArgs.
availabilityZoneThe Availability Zone in which to create the Capacity Reservation.ebsOptimizedIndicates whether the Capacity Reservation supports EBS-optimized instances.endDateThe date and time at which the Capacity Reservation expires. When a Capacity 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. Specify eitherunlimitedorlimited.ephemeralStorageIndicates whether the Capacity Reservation supports instances with temporary, block-level storage.instanceCountThe number of instances for which to reserve capacity.instanceMatchCriteriaIndicates the type of instance launches that the Capacity Reservation accepts. Specify eitheropenortargeted.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.outpostArnARN of the Outpost on which to create the Capacity Reservation.placementGroupArnARN of the cluster placement group in which to create the Capacity Reservation.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.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.tenancyIndicates the tenancy of the Capacity Reservation. Specify eitherdefaultordedicated.const -
CapacityReservationArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
availabilityZone
→ Input<
String> -
The Availability Zone in which to create the Capacity Reservation.
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 Reservation expires. When a Capacity 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. Specify either
unlimitedorlimited.final -
ephemeralStorage
→ Input<
bool?> ? -
Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceCount
→ Input<
int> -
The number of instances for which to reserve capacity.
final
-
instanceMatchCriteria
→ Input<
String?> ? -
Indicates the type of instance launches that the Capacity Reservation accepts. Specify either
openortargeted.final - instancePlatform → Input
-
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
-
The instance type for which to reserve capacity.
final
-
outpostArn
→ Input<
String?> ? -
ARN of the Outpost on which to create the Capacity Reservation.
final
-
placementGroupArn
→ Input<
String?> ? -
ARN of the cluster placement group in which to create the Capacity Reservation.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
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 - tenancy → Input?
-
Indicates the tenancy of the Capacity Reservation. Specify either
defaultordedicated.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