interface InstanceFleetResizingSpecificationsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EMR.CfnCluster.InstanceFleetResizingSpecificationsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsemr#CfnCluster_InstanceFleetResizingSpecificationsProperty |
Java | software.amazon.awscdk.services.emr.CfnCluster.InstanceFleetResizingSpecificationsProperty |
Python | aws_cdk.aws_emr.CfnCluster.InstanceFleetResizingSpecificationsProperty |
TypeScript | aws-cdk-lib » aws_emr » CfnCluster » InstanceFleetResizingSpecificationsProperty |
The resize specification for On-Demand and Spot Instances in the fleet.
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 instanceFleetResizingSpecificationsProperty: emr.CfnCluster.InstanceFleetResizingSpecificationsProperty = {
onDemandResizeSpecification: {
allocationStrategy: 'allocationStrategy',
capacityReservationOptions: {
capacityReservationPreference: 'capacityReservationPreference',
capacityReservationResourceGroupArn: 'capacityReservationResourceGroupArn',
usageStrategy: 'usageStrategy',
},
timeoutDurationMinutes: 123,
},
spotResizeSpecification: {
allocationStrategy: 'allocationStrategy',
timeoutDurationMinutes: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
on | IResolvable | On | The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period. |
spot | IResolvable | Spot | The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period. |
onDemandResizeSpecification?
Type:
IResolvable
|
On
(optional)
The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period.
spotResizeSpecification?
Type:
IResolvable
|
Spot
(optional)
The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period.