@Stability(value=Stable) @Internal public static final class CfnCapacityReservationProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCapacityReservationProps
CfnCapacityReservationPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnCapacityReservationProps.Builder, CfnCapacityReservationProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnCapacityReservationProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnCapacityReservationProps.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 to create the Capacity Reservation.
|
Object |
getEbsOptimized()
Indicates whether the Capacity Reservation supports EBS-optimized instances.
|
String |
getEndDate()
The date and time at which the Capacity Reservation expires.
|
String |
getEndDateType()
Indicates the way in which the Capacity Reservation ends.
|
Object |
getEphemeralStorage()
Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.
|
Number |
getInstanceCount()
The number of instances for which to reserve capacity.
|
String |
getInstanceMatchCriteria()
Indicates the type of instance launches that the Capacity Reservation accepts.
|
String |
getInstancePlatform()
The type of operating system for which to reserve capacity.
|
String |
getInstanceType()
The instance type for which to reserve capacity.
|
String |
getOutPostArn()
The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.
|
String |
getPlacementGroupArn()
The Amazon Resource Name (ARN) of the cluster placement group in which to create the Capacity Reservation.
|
Object |
getTagSpecifications()
The tags to apply to the Capacity Reservation during launch.
|
String |
getTenancy()
Indicates the tenancy of the Capacity Reservation.
|
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(CfnCapacityReservationProps.Builder builder)
CfnCapacityReservationProps.Builder.public final String getAvailabilityZone()
CfnCapacityReservationPropsgetAvailabilityZone in interface CfnCapacityReservationPropspublic final Number getInstanceCount()
CfnCapacityReservationPropsValid range: 1 - 1000
getInstanceCount in interface CfnCapacityReservationPropspublic final String getInstancePlatform()
CfnCapacityReservationPropsgetInstancePlatform in interface CfnCapacityReservationPropspublic final String getInstanceType()
CfnCapacityReservationPropsFor more information, see Instance types in the Amazon EC2 User Guide .
getInstanceType in interface CfnCapacityReservationPropspublic final Object getEbsOptimized()
CfnCapacityReservationPropsThis 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 an EBS- optimized instance.
getEbsOptimized in interface CfnCapacityReservationPropspublic final String getEndDate()
CfnCapacityReservationProps
When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time.
You must provide an EndDate value if EndDateType is limited . Omit EndDate if EndDateType is unlimited .
If the EndDateType is limited , the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.
getEndDate in interface CfnCapacityReservationPropspublic final String getEndDateType()
CfnCapacityReservationPropsA Capacity Reservation can have one of the following end types:
unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an EndDate if the EndDateType is unlimited .limited - The Capacity Reservation expires automatically at a specified date and time. You must provide an EndDate value if the EndDateType value is limited .getEndDateType in interface CfnCapacityReservationPropspublic final Object getEphemeralStorage()
CfnCapacityReservationPropsgetEphemeralStorage in interface CfnCapacityReservationPropspublic final String getInstanceMatchCriteria()
CfnCapacityReservationProps
open - The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters.targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.
Default: open
getInstanceMatchCriteria in interface CfnCapacityReservationPropspublic final String getOutPostArn()
CfnCapacityReservationPropsgetOutPostArn in interface CfnCapacityReservationPropspublic final String getPlacementGroupArn()
CfnCapacityReservationPropsFor more information, see Capacity Reservations for cluster placement groups in the Amazon EC2 User Guide .
getPlacementGroupArn in interface CfnCapacityReservationPropspublic final Object getTagSpecifications()
CfnCapacityReservationPropsgetTagSpecifications in interface CfnCapacityReservationPropspublic final String getTenancy()
CfnCapacityReservationProps
default - The Capacity Reservation is created on hardware that is shared with other AWS accounts .dedicated - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single AWS account .getTenancy in interface CfnCapacityReservationProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.