AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.ElasticMapReduce.Model.InstanceResizePolicy

Namespace: Amazon.ElasticMapReduce.Model
Assembly: AWSSDK.ElasticMapReduce.dll
Version: 3.x.y.z

Syntax

C#
public class InstanceResizePolicy

The InstanceResizePolicy type exposes the following members

Constructors

NameDescription
Public Method InstanceResizePolicy()

Properties

NameTypeDescription
Public Property InstancesToProtect System.Collections.Generic.List<System.String>

Gets and sets the property InstancesToProtect.

Specific list of instances to be protected when shrinking an instance group.

Public Property InstancesToTerminate System.Collections.Generic.List<System.String>

Gets and sets the property InstancesToTerminate.

Specific list of instances to be terminated when shrinking an instance group.

Public Property InstanceTerminationTimeout System.Int32

Gets and sets the property InstanceTerminationTimeout.

Decommissioning timeout override for the specific list of instances to be terminated.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5