@Stability(value=Stable) @Internal public static final class CfnSpotFleet.SpotFleetLaunchSpecificationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnSpotFleet.SpotFleetLaunchSpecificationProperty
CfnSpotFleet.SpotFleetLaunchSpecificationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnSpotFleet.SpotFleetLaunchSpecificationProperty.Builder, CfnSpotFleet.SpotFleetLaunchSpecificationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnSpotFleet.SpotFleetLaunchSpecificationProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnSpotFleet.AcceleratorCountRequestProperty.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) |
Object |
getBlockDeviceMappings()
One or more block devices that are mapped to the Spot Instances.
|
Object |
getEbsOptimized()
Indicates whether the instances are optimized for EBS I/O.
|
Object |
getIamInstanceProfile()
The IAM instance profile.
|
String |
getImageId()
The ID of the AMI.
|
Object |
getInstanceRequirements()
The attributes for the instance types.
|
String |
getInstanceType()
The instance type.
|
String |
getKernelId()
The ID of the kernel.
|
String |
getKeyName()
The name of the key pair.
|
Object |
getMonitoring()
Enable or disable monitoring for the instances.
|
Object |
getNetworkInterfaces()
One or more network interfaces.
|
Object |
getPlacement()
The placement information.
|
String |
getRamdiskId()
The ID of the RAM disk.
|
Object |
getSecurityGroups()
One or more security groups.
|
String |
getSpotPrice()
The maximum price per unit hour that you are willing to pay for a Spot Instance.
|
String |
getSubnetId()
The IDs of the subnets in which to launch the instances.
|
Object |
getTagSpecifications()
The tags to apply during creation.
|
String |
getUserData()
The Base64-encoded user data that instances use when starting up.
|
Number |
getWeightedCapacity()
The number of 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(CfnSpotFleet.SpotFleetLaunchSpecificationProperty.Builder builder)
CfnSpotFleet.AcceleratorCountRequestProperty.Builder.public final String getImageId()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertygetImageId in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final Object getBlockDeviceMappings()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertyYou 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.
getBlockDeviceMappings in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final Object getEbsOptimized()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThis 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
getEbsOptimized in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final Object getIamInstanceProfile()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertygetIamInstanceProfile in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final Object getInstanceRequirements()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertyWhen you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify
InstanceRequirements, you can't specifyInstanceTypes.
getInstanceRequirements in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final String getInstanceType()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertygetInstanceType in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final String getKernelId()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertygetKernelId in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final String getKeyName()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertygetKeyName in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final Object getMonitoring()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertygetMonitoring in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final Object getNetworkInterfaces()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertyIf you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.
SpotFleetLaunchSpecificationcurrently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig .
getNetworkInterfaces in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final Object getPlacement()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertygetPlacement in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final String getRamdiskId()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertySome 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.
getRamdiskId in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final Object getSecurityGroups()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertyWhen requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.
getSecurityGroups in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final String getSpotPrice()
CfnSpotFleet.SpotFleetLaunchSpecificationProperty
If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity .
getSpotPrice in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final String getSubnetId()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertyTo specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".
getSubnetId in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final Object getTagSpecifications()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertygetTagSpecifications in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final String getUserData()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertygetUserData in interface CfnSpotFleet.SpotFleetLaunchSpecificationPropertypublic final Number getWeightedCapacity()
CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThese 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.
getWeightedCapacity in interface CfnSpotFleet.SpotFleetLaunchSpecificationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.