Show / Hide Table of Contents

Class CfnCluster.OnDemandProvisioningSpecificationProperty

The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.

Inheritance
object
CfnCluster.OnDemandProvisioningSpecificationProperty
Implements
CfnCluster.IOnDemandProvisioningSpecificationProperty
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 CfnCluster.OnDemandProvisioningSpecificationProperty : CfnCluster.IOnDemandProvisioningSpecificationProperty
Syntax (vb)
Public Class CfnCluster.OnDemandProvisioningSpecificationProperty Implements CfnCluster.IOnDemandProvisioningSpecificationProperty
Remarks
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-ondemandprovisioningspecification.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 onDemandProvisioningSpecificationProperty = new OnDemandProvisioningSpecificationProperty {
                 AllocationStrategy = "allocationStrategy",

                 // the properties below are optional
                 CapacityReservationOptions = new OnDemandCapacityReservationOptionsProperty {
                     CapacityReservationPreference = "capacityReservationPreference",
                     CapacityReservationResourceGroupArn = "capacityReservationResourceGroupArn",
                     UsageStrategy = "usageStrategy"
                 }
             };

Synopsis

Constructors

OnDemandProvisioningSpecificationProperty()

The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.

Properties

AllocationStrategy

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

CapacityReservationOptions

The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.

Constructors

OnDemandProvisioningSpecificationProperty()

The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.

public OnDemandProvisioningSpecificationProperty()
Remarks
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-ondemandprovisioningspecification.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 onDemandProvisioningSpecificationProperty = new OnDemandProvisioningSpecificationProperty {
                 AllocationStrategy = "allocationStrategy",

                 // the properties below are optional
                 CapacityReservationOptions = new OnDemandCapacityReservationOptionsProperty {
                     CapacityReservationPreference = "capacityReservationPreference",
                     CapacityReservationResourceGroupArn = "capacityReservationResourceGroupArn",
                     UsageStrategy = "usageStrategy"
                 }
             };

Properties

AllocationStrategy

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

public string AllocationStrategy { get; set; }
Property Value

string

Remarks

Available options are lowest-price and prioritized . lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price .

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

CapacityReservationOptions

The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.

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

object

Remarks

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

Type union: either IResolvable or CfnCluster.IOnDemandCapacityReservationOptionsProperty

Implements

CfnCluster.IOnDemandProvisioningSpecificationProperty
Back to top Generated by DocFX