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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.ClusterSettingsPropertystatic final classAn 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 areenabledanddisabled.If you set
nametocontainerInsightsandvaluetoenabled, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless thecontainerInsightsaccount setting is turned on. If a cluster value is specified, it will override thecontainerInsightsvalue set with PutAccountSetting or PutAccountSettingDefault . -
builder
-