Class CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty
CfnSpotFleetPropsMixin.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.cfnpropertymixins.services.ec2.CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty
CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty.Builder, CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnSpotFleetPropsMixin.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 theCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty.Builder.
-
-
Method Details
-
getBlockDeviceMappings
Description copied from interface:CfnSpotFleetPropsMixin.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: '<'eitherIResolvableorCfnSpotFleetPropsMixin.BlockDeviceMappingProperty>- Specified by:
getBlockDeviceMappingsin interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getEbsOptimized
Description copied from interface:CfnSpotFleetPropsMixin.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 interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getIamInstanceProfile
Description copied from interface:CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationPropertyThe IAM instance profile.Returns union: either
IResolvableorCfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty- Specified by:
getIamInstanceProfilein interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getImageId
Description copied from interface:CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationPropertyThe ID of the AMI.- Specified by:
getImageIdin interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getInstanceRequirements
Description copied from interface:CfnSpotFleetPropsMixin.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
IResolvableorCfnSpotFleetPropsMixin.InstanceRequirementsRequestProperty- Specified by:
getInstanceRequirementsin interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getInstanceType
Description copied from interface:CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationPropertyThe instance type.- Specified by:
getInstanceTypein interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getKernelId
Description copied from interface:CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationPropertyThe ID of the kernel.- Specified by:
getKernelIdin interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getKeyName
Description copied from interface:CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationPropertyThe name of the key pair.- Specified by:
getKeyNamein interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getMonitoring
Description copied from interface:CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationPropertyEnable or disable monitoring for the instances.Returns union: either
IResolvableorCfnSpotFleetPropsMixin.SpotFleetMonitoringProperty- Specified by:
getMonitoringin interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getNetworkInterfaces
Description copied from interface:CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationPropertyThe network interfaces.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpotFleetPropsMixin.InstanceNetworkInterfaceSpecificationProperty>- Specified by:
getNetworkInterfacesin interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getPlacement
Description copied from interface:CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationPropertyThe placement information.Returns union: either
IResolvableorCfnSpotFleetPropsMixin.SpotPlacementProperty- Specified by:
getPlacementin interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getRamdiskId
Description copied from interface:CfnSpotFleetPropsMixin.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 interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getSecurityGroups
Description copied from interface:CfnSpotFleetPropsMixin.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: '<'eitherIResolvableorCfnSpotFleetPropsMixin.GroupIdentifierProperty>- Specified by:
getSecurityGroupsin interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getSpotPrice
Description copied from interface:CfnSpotFleetPropsMixin.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 interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getSubnetId
Description copied from interface:CfnSpotFleetPropsMixin.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 interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getTagSpecifications
Description copied from interface:CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationPropertyThe tags to apply during creation.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpotFleetPropsMixin.SpotFleetTagSpecificationProperty>- Specified by:
getTagSpecificationsin interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getUserData
Description copied from interface:CfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationPropertyThe base64-encoded user data that instances use when starting up.User data is limited to 16 KB.
- Specified by:
getUserDatain interfaceCfnSpotFleetPropsMixin.SpotFleetLaunchSpecificationProperty- See Also:
-
getWeightedCapacity
Description copied from interface:CfnSpotFleetPropsMixin.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 interfaceCfnSpotFleetPropsMixin.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()
-