Class CfnSpotFleet.SpotFleetLaunchSpecificationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnSpotFleet.SpotFleetLaunchSpecificationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnSpotFleet.SpotFleetLaunchSpecificationProperty
CfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
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.CfnSpotFleet.SpotFleetLaunchSpecificationProperty
CfnSpotFleet.SpotFleetLaunchSpecificationProperty.Builder, CfnSpotFleet.SpotFleetLaunchSpecificationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnSpotFleet.SpotFleetLaunchSpecificationProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Object
One or more block devices that are mapped to the Spot Instances.final Object
Indicates whether the instances are optimized for EBS I/O.final Object
The IAM instance profile.final String
The ID of the AMI.final Object
The attributes for the instance types.final String
The instance type.final String
The ID of the kernel.final String
The name of the key pair.final Object
Enable or disable monitoring for the instances.final Object
The network interfaces.final Object
The placement information.final String
The ID of the RAM disk.final Object
The security groups.final String
The maximum price per unit hour that you are willing to pay for a Spot Instance.final String
The IDs of the subnets in which to launch the instances.final Object
The tags to apply during creation.final String
The base64-encoded user data that instances use when starting up.final Number
The number of units provided by the specified instance type.final int
hashCode()
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 theCfnSpotFleet.SpotFleetLaunchSpecificationProperty.Builder
.
-
-
Method Details
-
getImageId
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The ID of the AMI.- Specified by:
getImageId
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getBlockDeviceMappings
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
One or more block devices that are mapped to the Spot Instances.You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
- Specified by:
getBlockDeviceMappings
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getEbsOptimized
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
Indicates whether the instances are optimized for EBS I/O.This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Default:
false
Default: - false
- Specified by:
getEbsOptimized
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getIamInstanceProfile
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The IAM instance profile.- Specified by:
getIamInstanceProfile
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getInstanceRequirements
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The attributes for the instance types.When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify
InstanceRequirements
, you can't specifyInstanceType
.- Specified by:
getInstanceRequirements
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getInstanceType
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The instance type.- Specified by:
getInstanceType
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getKernelId
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The ID of the kernel.- Specified by:
getKernelId
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getKeyName
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The name of the key pair.- Specified by:
getKeyName
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getMonitoring
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
Enable or disable monitoring for the instances.- Specified by:
getMonitoring
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getNetworkInterfaces
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The network interfaces.- Specified by:
getNetworkInterfaces
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getPlacement
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The placement information.- Specified by:
getPlacement
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getRamdiskId
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The ID of the RAM disk.Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the AWS Resource Center and search for the kernel ID.
- Specified by:
getRamdiskId
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getSecurityGroups
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The security groups.If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- Specified by:
getSecurityGroups
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getSpotPrice
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The maximum price per unit hour that you are willing to pay for a Spot Instance.We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
- Specified by:
getSpotPrice
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getSubnetId
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The IDs of the subnets in which to launch the instances.To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
- Specified by:
getSubnetId
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getTagSpecifications
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The tags to apply during creation.- Specified by:
getTagSpecifications
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getUserData
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The base64-encoded user data that instances use when starting up.User data is limited to 16 KB.
- Specified by:
getUserData
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- See Also:
-
getWeightedCapacity
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationProperty
The number of units provided by the specified instance type.These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
When specifying weights, the price used in the
lowestPrice
andpriceCapacityOptimized
allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requestedTargetCapacity
, resulting in only 1 instance being launched, the price used is per instance hour.- Specified by:
getWeightedCapacity
in interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
- 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()
-