Skip to content

Commit 13e65ff

Browse files
author
AWS
committed
Amazon Elastic MapReduce Update: Amazon EMR customers can now specify how EC2 On-Demand Capacity Reservations are used in their EMR clusters with instance fleets using allocation strategy.
1 parent 2edcb5a commit 13e65ff

File tree

2 files changed

+40
-5
lines changed

2 files changed

+40
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic MapReduce",
4+
"contributor": "",
5+
"description": "Amazon EMR customers can now specify how EC2 On-Demand Capacity Reservations are used in their EMR clusters with instance fleets using allocation strategy."
6+
}

services/emr/src/main/resources/codegen-resources/service-2.json

+34-5
Original file line numberDiff line numberDiff line change
@@ -2322,7 +2322,7 @@
23222322
},
23232323
"BidPrice":{
23242324
"shape":"String",
2325-
"documentation":"<p>The bid price for each EC2 Spot Instance type as defined by <code>InstanceType</code>. Expressed in USD. If neither <code>BidPrice</code> nor <code>BidPriceAsPercentageOfOnDemandPrice</code> is provided, <code>BidPriceAsPercentageOfOnDemandPrice</code> defaults to 100%.</p>"
2325+
"documentation":"<p>If specified, indicates that the instance group uses Spot Instances. This is the maximum price you are willing to pay for Spot Instances. Specify <code>OnDemandPrice</code> to set the amount equal to the On-Demand price, or specify an amount in USD.</p>"
23262326
},
23272327
"InstanceType":{
23282328
"shape":"InstanceType",
@@ -2397,7 +2397,7 @@
23972397
},
23982398
"BidPrice":{
23992399
"shape":"XmlStringMaxLen256",
2400-
"documentation":"<p>The bid price for each EC2 Spot Instance as defined by <code>InstanceType</code>. Expressed in USD. If neither <code>BidPrice</code> nor <code>BidPriceAsPercentageOfOnDemandPrice</code> is provided, <code>BidPriceAsPercentageOfOnDemandPrice</code> defaults to 100%.</p>"
2400+
"documentation":"<p>If specified, indicates that the instance group uses Spot Instances. This is the maximum price you are willing to pay for Spot Instances. Specify <code>OnDemandPrice</code> to set the amount equal to the On-Demand price, or specify an amount in USD.</p>"
24012401
},
24022402
"InstanceType":{
24032403
"shape":"InstanceType",
@@ -2456,7 +2456,7 @@
24562456
},
24572457
"BidPrice":{
24582458
"shape":"XmlStringMaxLen256",
2459-
"documentation":"<p>The bid price for each EC2 Spot Instance as defined by <code>InstanceType</code>. Expressed in USD. If neither <code>BidPrice</code> nor <code>BidPriceAsPercentageOfOnDemandPrice</code> is provided, <code>BidPriceAsPercentageOfOnDemandPrice</code> defaults to 100%.</p>"
2459+
"documentation":"<p>If specified, indicates that the instance group uses Spot Instances. This is the maximum price you are willing to pay for Spot Instances. Specify <code>OnDemandPrice</code> to set the amount equal to the On-Demand price, or specify an amount in USD.</p>"
24602460
},
24612461
"InstanceType":{
24622462
"shape":"InstanceType",
@@ -3526,7 +3526,7 @@
35263526
},
35273527
"StepConcurrencyLevel":{
35283528
"shape":"Integer",
3529-
"documentation":"<p>The number of steps that can be executed concurrently. You can specify a maximum of 256 steps. </p>"
3529+
"documentation":"<p>The number of steps that can be executed concurrently. You can specify a minimum of 1 step and a maximum of 256 steps. </p>"
35303530
}
35313531
}
35323532
},
@@ -3685,6 +3685,31 @@
36853685
"type":"list",
36863686
"member":{"shape":"NotebookExecutionSummary"}
36873687
},
3688+
"OnDemandCapacityReservationOptions":{
3689+
"type":"structure",
3690+
"members":{
3691+
"UsageStrategy":{
3692+
"shape":"OnDemandCapacityReservationUsageStrategy",
3693+
"documentation":"<p>Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.</p> <p>If you specify <code>use-capacity-reservations-first</code>, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy (<code>lowest-price</code>) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy (<code>lowest-price</code>).</p> <p>If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.</p>"
3694+
},
3695+
"CapacityReservationPreference":{
3696+
"shape":"OnDemandCapacityReservationPreference",
3697+
"documentation":"<p>Indicates the instance's Capacity Reservation preferences. Possible preferences include:</p> <ul> <li> <p> <code>open</code> - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).</p> </li> <li> <p> <code>none</code> - The instance avoids running in a Capacity Reservation even if one is available. The instance runs as an On-Demand Instance.</p> </li> </ul>"
3698+
}
3699+
},
3700+
"documentation":"<p>Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.</p>"
3701+
},
3702+
"OnDemandCapacityReservationPreference":{
3703+
"type":"string",
3704+
"enum":[
3705+
"open",
3706+
"none"
3707+
]
3708+
},
3709+
"OnDemandCapacityReservationUsageStrategy":{
3710+
"type":"string",
3711+
"enum":["use-capacity-reservations-first"]
3712+
},
36883713
"OnDemandProvisioningAllocationStrategy":{
36893714
"type":"string",
36903715
"enum":["lowest-price"]
@@ -3695,7 +3720,11 @@
36953720
"members":{
36963721
"AllocationStrategy":{
36973722
"shape":"OnDemandProvisioningAllocationStrategy",
3698-
"documentation":"<p> Specifies the strategy to use in launching On-Demand Instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first. </p>"
3723+
"documentation":"<p>Specifies the strategy to use in launching On-Demand instance fleets. Currently, the only option is <code>lowest-price</code> (the default), which launches the lowest price first.</p>"
3724+
},
3725+
"CapacityReservationOptions":{
3726+
"shape":"OnDemandCapacityReservationOptions",
3727+
"documentation":"<p>The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.</p>"
36993728
}
37003729
},
37013730
"documentation":"<p> The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy. </p> <note> <p>The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR version 5.12.1 and later.</p> </note>"

0 commit comments

Comments
 (0)