interface InstanceFleetResizingSpecificationsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins.CfnInstanceFleetConfigPropsMixin.InstanceFleetResizingSpecificationsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsemr/mixins#CfnInstanceFleetConfigPropsMixin_InstanceFleetResizingSpecificationsProperty |
Java | software.amazon.awscdk.mixins.preview.services.emr.mixins.CfnInstanceFleetConfigPropsMixin.InstanceFleetResizingSpecificationsProperty |
Python | aws_cdk.mixins_preview.aws_emr.mixins.CfnInstanceFleetConfigPropsMixin.InstanceFleetResizingSpecificationsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_emr » mixins » CfnInstanceFleetConfigPropsMixin » 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 { mixins as emr_mixins } from '@aws-cdk/mixins-preview/aws-emr';
const instanceFleetResizingSpecificationsProperty: emr_mixins.CfnInstanceFleetConfigPropsMixin.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.

.NET
Go
Java
Python
TypeScript