interface InstanceFleetProvisioningSpecificationsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.StepFunctions.Tasks.EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty |
![]() | software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty |
![]() | aws_cdk.aws_stepfunctions_tasks.EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty |
![]() | @aws-cdk/aws-stepfunctions-tasks » EmrCreateCluster » InstanceFleetProvisioningSpecificationsProperty |
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 * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
const instanceFleetProvisioningSpecificationsProperty: stepfunctions_tasks.EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty = {
spotSpecification: {
timeoutAction: stepfunctions_tasks.EmrCreateCluster.SpotTimeoutAction.SWITCH_TO_ON_DEMAND,
timeoutDurationMinutes: 123,
// the properties below are optional
allocationStrategy: stepfunctions_tasks.EmrCreateCluster.SpotAllocationStrategy.CAPACITY_OPTIMIZED,
blockDurationMinutes: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
spot | Spot | The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior. |
spotSpecification
Type:
Spot
The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior.