Interface EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty.Jsii$Proxy
- Enclosing class:
- EmrCreateCluster
@Stability(Stable)
public static interface EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty
extends software.amazon.jsii.JsiiSerializable
The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.tasks.*;
InstanceFleetProvisioningSpecificationsProperty instanceFleetProvisioningSpecificationsProperty = InstanceFleetProvisioningSpecificationsProperty.builder()
.spotSpecification(SpotProvisioningSpecificationProperty.builder()
.timeoutAction(EmrCreateCluster.getSpotTimeoutAction().SWITCH_TO_ON_DEMAND)
.timeoutDurationMinutes(123)
// the properties below are optional
.allocationStrategy(EmrCreateCluster.getSpotAllocationStrategy().CAPACITY_OPTIMIZED)
.blockDurationMinutes(123)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forEmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSpotSpecification
@Stability(Stable) @NotNull EmrCreateCluster.SpotProvisioningSpecificationProperty getSpotSpecification()The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior. -
builder
@Stability(Stable) static EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty.Builder builder()
-