interface ClusterSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.CfnCluster.ClusterSettingsProperty |
Java | software.amazon.awscdk.services.ecs.CfnCluster.ClusterSettingsProperty |
Python | aws_cdk.aws_ecs.CfnCluster.ClusterSettingsProperty |
TypeScript | @aws-cdk/aws-ecs » CfnCluster » ClusterSettingsProperty |
The settings to use when creating a cluster.
This parameter is used to turn on CloudWatch Container Insights for a cluster.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ecs from '@aws-cdk/aws-ecs';
const clusterSettingsProperty: ecs.CfnCluster.ClusterSettingsProperty = {
name: 'name',
value: 'value',
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | The name of the cluster setting. |
| value? | string | The value to set for the cluster setting. The supported values are enabled and disabled . |
name?
Type:
string
(optional)
The name of the cluster setting.
The value is containerInsights .
value?
Type:
string
(optional)
The value to set for the cluster setting. The supported values are enabled and disabled .
If you set name to containerInsights and value to enabled , CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the containerInsights account setting is turned on. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault .

.NET
Java
Python
TypeScript