Show / Hide Table of Contents

Interface EmrCreateCluster.IManagedScalingPolicyProperty

The managed scaling policy for an Amazon EMR cluster.

Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface EmrCreateCluster.IManagedScalingPolicyProperty
Syntax (vb)
Public Interface EmrCreateCluster.IManagedScalingPolicyProperty
Remarks

See: https://docs.aws.amazon.com/emr/latest/APIReference/API_ManagedScalingPolicy.html

ExampleMetadata: infused

Examples
new EmrCreateCluster(this, "CreateCluster", new EmrCreateClusterProps {
                 Instances = new InstancesConfigProperty {
                     InstanceFleets = new [] { new InstanceFleetConfigProperty {
                         InstanceFleetType = EmrCreateCluster.InstanceRoleType.CORE,
                         InstanceTypeConfigs = new [] { new InstanceTypeConfigProperty {
                             InstanceType = "m5.xlarge"
                         } },
                         TargetOnDemandCapacity = 1
                     }, new InstanceFleetConfigProperty {
                         InstanceFleetType = EmrCreateCluster.InstanceRoleType.MASTER,
                         InstanceTypeConfigs = new [] { new InstanceTypeConfigProperty {
                             InstanceType = "m5.xlarge"
                         } },
                         TargetOnDemandCapacity = 1
                     } }
                 },
                 Name = "ClusterName",
                 ReleaseLabel = "emr-7.9.0",
                 ManagedScalingPolicy = new ManagedScalingPolicyProperty {
                     ComputeLimits = new ManagedScalingComputeLimitsProperty {
                         UnitType = EmrCreateCluster.ComputeLimitsUnitType.INSTANCE_FLEET_UNITS,
                         MaximumCapacityUnits = 4,
                         MinimumCapacityUnits = 1,
                         MaximumOnDemandCapacityUnits = 4,
                         MaximumCoreCapacityUnits = 2
                     }
                 }
             });

Synopsis

Properties

ComputeLimits

The Amazon EC2 unit limits for a managed scaling policy.

Properties

ComputeLimits

The Amazon EC2 unit limits for a managed scaling policy.

EmrCreateCluster.IManagedScalingComputeLimitsProperty? ComputeLimits { get; }
Property Value

EmrCreateCluster.IManagedScalingComputeLimitsProperty

Remarks

Default: - None

Back to top Generated by DocFX