public static interface CfnCluster.ClusterSettingsProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnCluster.ClusterSettingsProperty.Builder
A builder for
CfnCluster.ClusterSettingsProperty |
static class |
CfnCluster.ClusterSettingsProperty.Jsii$Proxy
An implementation for
CfnCluster.ClusterSettingsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnCluster.ClusterSettingsProperty.Builder |
builder() |
default java.lang.String |
getName()
The name of the cluster setting.
|
default java.lang.String |
getValue()
The value to set for the cluster setting.
|
default java.lang.String getName()
The only supported value is containerInsights
.
default java.lang.String getValue()
The supported values are enabled
and disabled
. If enabled
is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights
account setting is enabled. If a cluster value is specified, it will override the containerInsights
value set with PutAccountSetting or PutAccountSettingDefault .
static CfnCluster.ClusterSettingsProperty.Builder builder()