chore(stepfunctions-tasks): add a doc and an integ test for spot instance fleets in EMR#27809
Conversation
| launchSpecifications: { | ||
| spotSpecification: { | ||
| allocationStrategy: EmrCreateCluster.SpotAllocationStrategy.CAPACITY_OPTIMIZED, | ||
| timeoutAction: EmrCreateCluster.SpotTimeoutAction.TERMINATE_CLUSTER, | ||
| timeoutDurationMinutes: 60, | ||
| }, |
There was a problem hiding this comment.
blockDurationMinutes is not specified, because it is no longer available.
Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers from July 1, 2021. For customers who have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022.
https://docs.aws.amazon.com/emr/latest/APIReference/API_SpotProvisioningSpecification.html
lpizzinidev
left a comment
There was a problem hiding this comment.
Nice 👍
Just a small adjustment.
| * This is no longer available to new customers from July 1, 2021. | ||
| * For customers who have previously used the feature, we will continue to support Spot Instances | ||
| * with a defined duration until December 31, 2022. | ||
| * | ||
| * @default - No blockDurationMinutes | ||
| */ |
There was a problem hiding this comment.
| * This is no longer available to new customers from July 1, 2021. | |
| * For customers who have previously used the feature, we will continue to support Spot Instances | |
| * with a defined duration until December 31, 2022. | |
| * | |
| * @default - No blockDurationMinutes | |
| */ | |
| * @default - No blockDurationMinutes | |
| * | |
| * @deprecated - Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers from July 1, 2021. | |
| * For customers who have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022. | |
| */ |
Should be deprecated.
There was a problem hiding this comment.
Thanks for the review! I changed it:
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
This PR adds the following points for spot instance fleet in EMR.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license