public static interface EmrModifyInstanceGroupByName.InstanceResizePolicyProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.stepfunctions.tasks.*; import software.amazon.awscdk.core.*; InstanceResizePolicyProperty instanceResizePolicyProperty = InstanceResizePolicyProperty.builder() .instancesToProtect(List.of("instancesToProtect")) .instancesToTerminate(List.of("instancesToTerminate")) .instanceTerminationTimeout(Duration.minutes(30)) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
EmrModifyInstanceGroupByName.InstanceResizePolicyProperty.Builder
|
static class |
EmrModifyInstanceGroupByName.InstanceResizePolicyProperty.Jsii$Proxy
An implementation for
EmrModifyInstanceGroupByName.InstanceResizePolicyProperty |
Modifier and Type | Method and Description |
---|---|
static EmrModifyInstanceGroupByName.InstanceResizePolicyProperty.Builder |
builder() |
default java.util.List<java.lang.String> |
getInstancesToProtect()
Specific list of instances to be protected when shrinking an instance group.
|
default java.util.List<java.lang.String> |
getInstancesToTerminate()
Specific list of instances to be terminated when shrinking an instance group.
|
default Duration |
getInstanceTerminationTimeout()
Decommissioning timeout override for the specific list of instances to be terminated.
|
default java.util.List<java.lang.String> getInstancesToProtect()
Default: - No instances will be protected when shrinking an instance group
default java.util.List<java.lang.String> getInstancesToTerminate()
Default: - No instances will be terminated when shrinking an instance group.
default Duration getInstanceTerminationTimeout()
Default: cdk.Duration.seconds