Skip to content

ClusterSetting

Source code in docs_src/capo_ecs/types/cluster_setting.py
class ClusterSetting(TypedDict, closed=True):
    name: NotRequired["capo_ecs.types.cluster_setting_name.ClusterSettingName"]
    """<p>The name of the cluster setting. The value is <code>containerInsights</code>.</p>"""
    value: NotRequired["capo_ecs.types.string.String"]
    """<p>The value to set for the cluster setting. The supported values are <code>enhanced</code>, <code>enabled</code>, and <code>disabled</code>. </p> <p>To use Container Insights with enhanced observability, set the <code>containerInsights</code> account setting to <code>enhanced</code>.</p> <p>To use Container Insights, set the <code>containerInsights</code> account setting to <code>enabled</code>.</p> <p>If a cluster value is specified, it will override the <code>containerInsights</code> value set with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html">PutAccountSetting</a> or <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html">PutAccountSettingDefault</a>.</p>"""

name instance-attribute

name: NotRequired[ClusterSettingName]

The name of the cluster setting. The value is containerInsights.

value instance-attribute

value: NotRequired[String]

The value to set for the cluster setting. The supported values are enhanced, enabled, and disabled.

To use Container Insights with enhanced observability, set the containerInsights account setting to enhanced.

To use Container Insights, set the containerInsights account setting to enabled.

If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.