interface OnDemandProvisioningSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins.CfnClusterPropsMixin.OnDemandProvisioningSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsemr/mixins#CfnClusterPropsMixin_OnDemandProvisioningSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.emr.mixins.CfnClusterPropsMixin.OnDemandProvisioningSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_emr.mixins.CfnClusterPropsMixin.OnDemandProvisioningSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_emr » mixins » CfnClusterPropsMixin » OnDemandProvisioningSpecificationProperty |
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as emr_mixins } from '@aws-cdk/mixins-preview/aws-emr';
const onDemandProvisioningSpecificationProperty: emr_mixins.CfnClusterPropsMixin.OnDemandProvisioningSpecificationProperty = {
allocationStrategy: 'allocationStrategy',
capacityReservationOptions: {
capacityReservationPreference: 'capacityReservationPreference',
capacityReservationResourceGroupArn: 'capacityReservationResourceGroupArn',
usageStrategy: 'usageStrategy',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| allocation | string | Specifies the strategy to use in launching On-Demand instance fleets. |
| capacity | IResolvable | On | The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy. |
allocationStrategy?
Type:
string
(optional)
Specifies the strategy to use in launching On-Demand instance fleets.
Available options are lowest-price and prioritized . lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price .
capacityReservationOptions?
Type:
IResolvable | On
(optional)
The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.

.NET
Go
Java
Python
TypeScript