Interface CfnCluster.IClusterSettingsProperty
The settings to use when creating a cluster.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IClusterSettingsProperty
Syntax (vb)
Public Interface IClusterSettingsProperty
Remarks
This parameter is used to turn on CloudWatch Container Insights for a cluster.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var clusterSettingsProperty = new ClusterSettingsProperty {
Name = "name",
Value = "value"
};
Synopsis
Properties
Name | The name of the cluster setting. |
Value | The value to set for the cluster setting. The supported values are |
Properties
Name
The name of the cluster setting.
virtual string Name { get; }
Property Value
System.String
Remarks
The value is containerInsights
.
Value
The value to set for the cluster setting. The supported values are enabled
and disabled
.
virtual string Value { get; }
Property Value
System.String
Remarks
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 .