ShrinkPolicy - Amazon EMR
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.



The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.

Type: Integer

Required: No


Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

Type: InstanceResizePolicy object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: