Interface EmrModifyInstanceGroupByName.InstanceResizePolicyProperty

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

@Stability(Stable) public static interface EmrModifyInstanceGroupByName.InstanceResizePolicyProperty extends software.amazon.jsii.JsiiSerializable
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

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.*;
 InstanceResizePolicyProperty instanceResizePolicyProperty = InstanceResizePolicyProperty.builder()
         .instancesToProtect(List.of("instancesToProtect"))
         .instancesToTerminate(List.of("instancesToTerminate"))
         .instanceTerminationTimeout(Duration.minutes(30))
         .build();
 

See Also: