interface ClusterSettingsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.CfnCluster.ClusterSettingsProperty |
![]() | software.amazon.awscdk.services.ecs.CfnCluster.ClusterSettingsProperty |
![]() | aws_cdk.aws_ecs.CfnCluster.ClusterSettingsProperty |
![]() | @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 .