Show / Hide Table of Contents

Interface EmrModifyInstanceGroupByName.IInstanceGroupModifyConfigProperty

Modify the size or configurations of an instance group.

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

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

ExampleMetadata: infused

Examples
new EmrModifyInstanceGroupByName(this, "Task", new EmrModifyInstanceGroupByNameProps {
                 ClusterId = "ClusterId",
                 InstanceGroupName = JsonPath.StringAt("$.InstanceGroupName"),
                 InstanceGroup = new InstanceGroupModifyConfigProperty {
                     InstanceCount = 1
                 }
             });

Synopsis

Properties

Configurations

A list of new or modified configurations to apply for an instance group.

EC2InstanceIdsToTerminate

The EC2 InstanceIds to terminate.

InstanceCount

Target size for the instance group.

ShrinkPolicy

Policy for customizing shrink operations.

Properties

Configurations

A list of new or modified configurations to apply for an instance group.

EmrCreateCluster.IConfigurationProperty[]? Configurations { get; }
Property Value

IConfigurationProperty[]

Remarks

Default: - None

EC2InstanceIdsToTerminate

The EC2 InstanceIds to terminate.

string[]? EC2InstanceIdsToTerminate { get; }
Property Value

string[]

Remarks

After you terminate the instances, the instance group will not return to its original requested size.

Default: - None

InstanceCount

Target size for the instance group.

double? InstanceCount { get; }
Property Value

double?

Remarks

Default: - None

ShrinkPolicy

Policy for customizing shrink operations.

EmrModifyInstanceGroupByName.IShrinkPolicyProperty? ShrinkPolicy { get; }
Property Value

EmrModifyInstanceGroupByName.IShrinkPolicyProperty

Remarks

Default: - None

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

Back to top Generated by DocFX