Interface EmrModifyInstanceGroupByName.IInstanceGroupModifyConfigProperty
Modify the size or configurations of an instance group.
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public interface IInstanceGroupModifyConfigProperty
Syntax (vb)
Public Interface 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.
virtual EmrCreateCluster.IConfigurationProperty[] Configurations { get; }
Property Value
EmrCreateCluster.IConfigurationProperty[]
Remarks
Default: - None
EC2InstanceIdsToTerminate
The EC2 InstanceIds to terminate.
virtual string[] EC2InstanceIdsToTerminate { get; }
Property Value
System.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.
virtual Nullable<double> InstanceCount { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - None
ShrinkPolicy
Policy for customizing shrink operations.
virtual EmrModifyInstanceGroupByName.IShrinkPolicyProperty ShrinkPolicy { get; }
Property Value
EmrModifyInstanceGroupByName.IShrinkPolicyProperty
Remarks
Default: - None
See: https://docs.aws.amazon.com/emr/latest/APIReference/API_ShrinkPolicy.html