Skip to content

/AWS1/CL_ECSAUTOREPAIRCONF

The auto repair configuration for an Amazon ECS Managed Instances capacity provider. When enabled, Amazon ECS automatically replaces container instances that are detected as unhealthy based on container instance health checks, including accelerated compute device and daemon health checks.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_actionsstatus TYPE /AWS1/ECSAUTOREPAIRACTSSTATUS /AWS1/ECSAUTOREPAIRACTSSTATUS

The status of auto repair actions for the capacity provider. When set to ENABLED, Amazon ECS automatically replaces container instances with an IMPAIRED health status. When set to DISABLED, Amazon ECS still monitors container instance health but does not automatically replace impaired instances.


Queryable Attributes

actionsStatus

The status of auto repair actions for the capacity provider. When set to ENABLED, Amazon ECS automatically replaces container instances with an IMPAIRED health status. When set to DISABLED, Amazon ECS still monitors container instance health but does not automatically replace impaired instances.

Accessible with the following methods

Method Description
GET_ACTIONSSTATUS() Getter for ACTIONSSTATUS, with configurable default
ASK_ACTIONSSTATUS() Getter for ACTIONSSTATUS w/ exceptions if field has no value
HAS_ACTIONSSTATUS() Determine if ACTIONSSTATUS has a value