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();
 

See Also: