Show / Hide Table of Contents

Class CfnInstanceFleetConfig.OnDemandResizingSpecificationProperty

The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.

Inheritance
object
CfnInstanceFleetConfig.OnDemandResizingSpecificationProperty
Implements
CfnInstanceFleetConfig.IOnDemandResizingSpecificationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstanceFleetConfig.OnDemandResizingSpecificationProperty : CfnInstanceFleetConfig.IOnDemandResizingSpecificationProperty
Syntax (vb)
Public Class CfnInstanceFleetConfig.OnDemandResizingSpecificationProperty Implements CfnInstanceFleetConfig.IOnDemandResizingSpecificationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-ondemandresizingspecification.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.EMR;

             var onDemandResizingSpecificationProperty = new OnDemandResizingSpecificationProperty {
                 AllocationStrategy = "allocationStrategy",
                 CapacityReservationOptions = new OnDemandCapacityReservationOptionsProperty {
                     CapacityReservationPreference = "capacityReservationPreference",
                     CapacityReservationResourceGroupArn = "capacityReservationResourceGroupArn",
                     UsageStrategy = "usageStrategy"
                 },
                 TimeoutDurationMinutes = 123
             };

Synopsis

Constructors

OnDemandResizingSpecificationProperty()

The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.

Properties

AllocationStrategy

Specifies the allocation strategy to use to launch On-Demand instances during a resize.

CapacityReservationOptions

The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.

TimeoutDurationMinutes

On-Demand resize timeout in minutes.

Constructors

OnDemandResizingSpecificationProperty()

The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.

public OnDemandResizingSpecificationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-ondemandresizingspecification.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.EMR;

             var onDemandResizingSpecificationProperty = new OnDemandResizingSpecificationProperty {
                 AllocationStrategy = "allocationStrategy",
                 CapacityReservationOptions = new OnDemandCapacityReservationOptionsProperty {
                     CapacityReservationPreference = "capacityReservationPreference",
                     CapacityReservationResourceGroupArn = "capacityReservationResourceGroupArn",
                     UsageStrategy = "usageStrategy"
                 },
                 TimeoutDurationMinutes = 123
             };

Properties

AllocationStrategy

Specifies the allocation strategy to use to launch On-Demand instances during a resize.

public string? AllocationStrategy { get; set; }
Property Value

string

Remarks

The default is lowest-price .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-ondemandresizingspecification.html#cfn-emr-instancefleetconfig-ondemandresizingspecification-allocationstrategy

CapacityReservationOptions

The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.

public object? CapacityReservationOptions { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-ondemandresizingspecification.html#cfn-emr-instancefleetconfig-ondemandresizingspecification-capacityreservationoptions

TimeoutDurationMinutes

On-Demand resize timeout in minutes.

public double? TimeoutDurationMinutes { get; set; }
Property Value

double?

Remarks

If On-Demand Instances are not provisioned within this time, the resize workflow stops. The minimum value is 5 minutes, and the maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-ondemandresizingspecification.html#cfn-emr-instancefleetconfig-ondemandresizingspecification-timeoutdurationminutes

Implements

CfnInstanceFleetConfig.IOnDemandResizingSpecificationProperty
Back to top Generated by DocFX