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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnSpotFleet.SpotFleetLaunchSpecificationProperty
CfnSpotFleet.SpotFleetLaunchSpecificationProperty.Builder, CfnSpotFleet.SpotFleetLaunchSpecificationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnSpotFleet.SpotFleetLaunchSpecificationProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectOne or more block devices that are mapped to the Spot Instances.final ObjectIndicates whether the instances are optimized for EBS I/O.final ObjectThe IAM instance profile.final StringThe ID of the AMI.final ObjectThe attributes for the instance types.final StringThe instance type.final StringThe ID of the kernel.final StringThe name of the key pair.final ObjectEnable or disable monitoring for the instances.final ObjectOne or more network interfaces.final ObjectThe placement information.final StringThe ID of the RAM disk.final ObjectThe security groups.final StringThe maximum price per unit hour that you are willing to pay for a Spot Instance.final StringThe IDs of the subnets in which to launch the instances.final ObjectThe tags to apply during creation.final StringThe base64-encoded user data that instances use when starting up.final NumberThe number of units provided by the specified instance type.final inthashCode()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.SpotFleetLaunchSpecificationPropertyThe ID of the AMI.- Specified by:
getImageIdin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getBlockDeviceMappings
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyOne 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:
getBlockDeviceMappingsin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getEbsOptimized
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyIndicates 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- Specified by:
getEbsOptimizedin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getIamInstanceProfile
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe IAM instance profile.- Specified by:
getIamInstanceProfilein interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getInstanceRequirements
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe 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:
getInstanceRequirementsin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getInstanceType
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe instance type.- Specified by:
getInstanceTypein interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getKernelId
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe ID of the kernel.- Specified by:
getKernelIdin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getKeyName
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe name of the key pair.- Specified by:
getKeyNamein interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getMonitoring
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyEnable or disable monitoring for the instances.- Specified by:
getMonitoringin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getNetworkInterfaces
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyOne or more network interfaces.If 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 .- Specified by:
getNetworkInterfacesin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getPlacement
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe placement information.- Specified by:
getPlacementin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getRamdiskId
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe 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:
getRamdiskIdin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getSecurityGroups
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe security groups.- Specified by:
getSecurityGroupsin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getSpotPrice
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe 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:
getSpotPricein interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getSubnetId
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe IDs of the subnets in which to launch the instances.To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".
- Specified by:
getSubnetIdin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getTagSpecifications
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe tags to apply during creation.- Specified by:
getTagSpecificationsin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getUserData
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe base64-encoded user data that instances use when starting up.User data is limited to 16 KB.
- Specified by:
getUserDatain interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
getWeightedCapacity
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe 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.
- Specified by:
getWeightedCapacityin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-