aws-cdk-lib.aws_emr.CfnInstanceFleetConfig.OnDemandProvisioningSpecificationProperty

interface OnDemandProvisioningSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.EMR.CfnInstanceFleetConfig.OnDemandProvisioningSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsemr#CfnInstanceFleetConfig_OnDemandProvisioningSpecificationProperty
Javasoftware.amazon.awscdk.services.emr.CfnInstanceFleetConfig.OnDemandProvisioningSpecificationProperty
Pythonaws_cdk.aws_emr.CfnInstanceFleetConfig.OnDemandProvisioningSpecificationProperty
TypeScript aws-cdk-lib » aws_emr » CfnInstanceFleetConfig » 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 { aws_emr as emr } from 'aws-cdk-lib';
const onDemandProvisioningSpecificationProperty: emr.CfnInstanceFleetConfig.OnDemandProvisioningSpecificationProperty = {
  allocationStrategy: 'allocationStrategy',
};

Properties

NameTypeDescription
allocationStrategystringSpecifies the strategy to use in launching On-Demand instance fleets.

allocationStrategy

Type: string

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.