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 ObjectThe 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- See Also:
-
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpotFleet.BlockDeviceMappingProperty>- Specified by:
getBlockDeviceMappingsin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
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:
falseReturns union: either
BooleanorIResolvableDefault: - false
- Specified by:
getEbsOptimizedin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
getIamInstanceProfile
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe IAM instance profile.Returns union: either
IResolvableorCfnSpotFleet.IamInstanceProfileSpecificationProperty- Specified by:
getIamInstanceProfilein interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
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.Returns union: either
IResolvableorCfnSpotFleet.InstanceRequirementsRequestProperty- Specified by:
getInstanceRequirementsin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
getInstanceType
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe instance type.- Specified by:
getInstanceTypein interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
getKernelId
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe ID of the kernel.- Specified by:
getKernelIdin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
getKeyName
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe name of the key pair.- Specified by:
getKeyNamein interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
getMonitoring
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyEnable or disable monitoring for the instances.Returns union: either
IResolvableorCfnSpotFleet.SpotFleetMonitoringProperty- Specified by:
getMonitoringin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
getNetworkInterfaces
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe network interfaces.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty>- Specified by:
getNetworkInterfacesin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
getPlacement
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe placement information.Returns union: either
IResolvableorCfnSpotFleet.SpotPlacementProperty- Specified by:
getPlacementin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
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- See Also:
-
getSecurityGroups
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe 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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpotFleet.GroupIdentifierProperty>- Specified by:
getSecurityGroupsin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
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- See Also:
-
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".
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
- Specified by:
getSubnetIdin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
getTagSpecifications
Description copied from interface:CfnSpotFleet.SpotFleetLaunchSpecificationPropertyThe tags to apply during creation.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpotFleet.SpotFleetTagSpecificationProperty>- Specified by:
getTagSpecificationsin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
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- See Also:
-
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.
When specifying weights, the price used in the
lowestPriceandpriceCapacityOptimizedallocation 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:
getWeightedCapacityin interfaceCfnSpotFleet.SpotFleetLaunchSpecificationProperty- See Also:
-
$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()
-