aws-cdk-lib.aws_stepfunctions_tasks.EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty
interface InstanceFleetProvisioningSpecificationsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.StepFunctions.Tasks.EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#EmrCreateCluster_InstanceFleetProvisioningSpecificationsProperty |
![]() | software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty |
![]() | aws_cdk.aws_stepfunctions_tasks.EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty |
![]() | aws-cdk-lib » aws_stepfunctions_tasks » EmrCreateCluster » InstanceFleetProvisioningSpecificationsProperty |
The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior.
See also: https://docs.aws.amazon.com/emr/latest/APIReference/API_InstanceFleetProvisioningSpecifications.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
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.