Class CfnLaunchTemplate.CapacityReservationSpecificationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CfnLaunchTemplate.CapacityReservationSpecificationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnLaunchTemplate.CapacityReservationSpecificationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLaunchTemplate.CapacityReservationSpecificationProperty
@Stability(Stable)
@Internal
public static final class CfnLaunchTemplate.CapacityReservationSpecificationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnLaunchTemplate.CapacityReservationSpecificationProperty
An implementation for
CfnLaunchTemplate.CapacityReservationSpecificationProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnLaunchTemplate.CapacityReservationSpecificationProperty
CfnLaunchTemplate.CapacityReservationSpecificationProperty.Builder, CfnLaunchTemplate.CapacityReservationSpecificationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnLaunchTemplate.CapacityReservationSpecificationProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnLaunchTemplate.CapacityReservationSpecificationProperty.Builder
.
-
-
Method Details
-
getCapacityReservationPreference
Description copied from interface:CfnLaunchTemplate.CapacityReservationSpecificationProperty
Indicates the instance's Capacity Reservation preferences. Possible preferences include:.capacity-reservations-only
- The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch.open
- The instance can run in anyopen
Capacity Reservation that has matching attributes (instance type, platform, Availability Zone, tenancy).none
- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
- Specified by:
getCapacityReservationPreference
in interfaceCfnLaunchTemplate.CapacityReservationSpecificationProperty
- See Also:
-
getCapacityReservationTarget
Description copied from interface:CfnLaunchTemplate.CapacityReservationSpecificationProperty
Information about the target Capacity Reservation or Capacity Reservation group.- Specified by:
getCapacityReservationTarget
in interfaceCfnLaunchTemplate.CapacityReservationSpecificationProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-