Interface CfnCluster.ClusterSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ClusterSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.ClusterSettingsProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ecs.*; ClusterSettingsProperty clusterSettingsProperty = ClusterSettingsProperty.builder() .name("name") .value("value") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.ClusterSettingsProperty
static final class
An implementation forCfnCluster.ClusterSettingsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the cluster setting.The value is
containerInsights
. -
getValue
The value to set for the cluster setting. The supported values areenabled
anddisabled
.If you set
name
tocontainerInsights
andvalue
toenabled
, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless thecontainerInsights
account setting is turned on. If a cluster value is specified, it will override thecontainerInsights
value set with PutAccountSetting or PutAccountSettingDefault . -
builder
-