InstanceFleetResizingSpecificationsProperty Struct
The resize specification for On-Demand and Spot Instances in the fleet.
Example
ts
// 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
onDemandResizeSpecificationoptionalIResolvable | CfnCluster.OnDemandResizingSpecificationPropertyon_demand_resize_specificationoptionaltyping.Union[IResolvable, OnDemandResizingSpecificationProperty]onDemandResizeSpecificationoptionalIResolvableOnDemandResizeSpecificationoptionalIResolvableOnDemandResizeSpecificationoptionalinterface{}#The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period.
spotResizeSpecificationoptionalIResolvable | CfnCluster.SpotResizingSpecificationPropertyspot_resize_specificationoptionaltyping.Union[IResolvable, SpotResizingSpecificationProperty]spotResizeSpecificationoptionalIResolvableSpotResizeSpecificationoptionalIResolvableSpotResizeSpecificationoptionalinterface{}#The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period.