Interface EmrModifyInstanceGroupByName.ShrinkPolicyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
EmrModifyInstanceGroupByName.ShrinkPolicyProperty.Jsii$Proxy
Enclosing class:
EmrModifyInstanceGroupByName

@Stability(Stable) public static interface EmrModifyInstanceGroupByName.ShrinkPolicyProperty extends software.amazon.jsii.JsiiSerializable
Policy for customizing shrink operations.

Allows configuration of decommissioning timeout and targeted instance shrinking.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.stepfunctions.tasks.*;
 ShrinkPolicyProperty shrinkPolicyProperty = ShrinkPolicyProperty.builder()
         .decommissionTimeout(Duration.minutes(30))
         .instanceResizePolicy(InstanceResizePolicyProperty.builder()
                 .instancesToProtect(List.of("instancesToProtect"))
                 .instancesToTerminate(List.of("instancesToTerminate"))
                 .instanceTerminationTimeout(Duration.minutes(30))
                 .build())
         .build();
 

See Also: