@Stability(value=Stable) @Internal public static final class CfnCapacityReservationFleet.InstanceTypeSpecificationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCapacityReservationFleet.InstanceTypeSpecificationProperty
CfnCapacityReservationFleet.InstanceTypeSpecificationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnCapacityReservationFleet.InstanceTypeSpecificationProperty.Builder, CfnCapacityReservationFleet.InstanceTypeSpecificationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnCapacityReservationFleet.InstanceTypeSpecificationProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnCapacityReservationFleet.InstanceTypeSpecificationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAvailabilityZone()
The Availability Zone in which the Capacity Reservation Fleet reserves the capacity.
|
String |
getAvailabilityZoneId()
The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity.
|
Object |
getEbsOptimized()
Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types.
|
String |
getInstancePlatform()
The type of operating system for which the Capacity Reservation Fleet reserves capacity.
|
String |
getInstanceType()
The instance type for which the Capacity Reservation Fleet reserves capacity.
|
Number |
getPriority()
The priority to assign to the instance type.
|
Number |
getWeight()
The number of capacity units provided by the specified instance type.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnCapacityReservationFleet.InstanceTypeSpecificationProperty.Builder builder)
CfnCapacityReservationFleet.InstanceTypeSpecificationProperty.Builder.public final String getAvailabilityZone()
CfnCapacityReservationFleet.InstanceTypeSpecificationPropertyA Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
getAvailabilityZone in interface CfnCapacityReservationFleet.InstanceTypeSpecificationPropertypublic final String getAvailabilityZoneId()
CfnCapacityReservationFleet.InstanceTypeSpecificationPropertyA Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
getAvailabilityZoneId in interface CfnCapacityReservationFleet.InstanceTypeSpecificationPropertypublic final Object getEbsOptimized()
CfnCapacityReservationFleet.InstanceTypeSpecificationPropertyThis optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.
getEbsOptimized in interface CfnCapacityReservationFleet.InstanceTypeSpecificationPropertypublic final String getInstancePlatform()
CfnCapacityReservationFleet.InstanceTypeSpecificationPropertygetInstancePlatform in interface CfnCapacityReservationFleet.InstanceTypeSpecificationPropertypublic final String getInstanceType()
CfnCapacityReservationFleet.InstanceTypeSpecificationPropertygetInstanceType in interface CfnCapacityReservationFleet.InstanceTypeSpecificationPropertypublic final Number getPriority()
CfnCapacityReservationFleet.InstanceTypeSpecificationPropertyThis value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide.
getPriority in interface CfnCapacityReservationFleet.InstanceTypeSpecificationPropertypublic final Number getWeight()
CfnCapacityReservationFleet.InstanceTypeSpecificationPropertyThis value, together with the total target capacity that you specify for 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.
Valid Range: Minimum value of 0.001 . Maximum value of 99.999 .
getWeight in interface CfnCapacityReservationFleet.InstanceTypeSpecificationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.