RollingInstanceStops Object

Description

Specifies parameters to use when performing rolling instance stops.

Properties

delaySeconds

Delay (in seconds) between rolling stops.

Type: integer

Required: Yes

isWaitForStatus

Indicates whether the EC2 instance status should pass before continuing with the rolling stops.

Type: boolean

Required: Yes

method

Method to use to select instances during rolling stops.

Type: string

Valid Values:

  • one-at-a-time

  • by-availability-zone

  • by-resource-tag

Required: Yes

resourceTagName

Key (name) of the resource tag to use to group EC2 instances for rolling stops. Required when method is by-resource-tag.

Value: string

Required: Conditional

Sample JSON

{
    "method": "by-availability-zone",
    "delaySeconds": 0,
    "isWaitForStatus": false
}

Last updated