@Stability(value=Stable)
public static interface CfnCluster.ClusterSettingsProperty
extends software.amazon.jsii.JsiiSerializable
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 String |
getName()
The name of the cluster setting.
|
default String |
getValue()
The value to set for the cluster setting.
|
@Stability(value=Stable) @Nullable default String getName()
The only supported value is containerInsights .
@Stability(value=Stable) @Nullable default 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 .
@Stability(value=Stable) static CfnCluster.ClusterSettingsProperty.Builder builder()
Copyright © 2022. All rights reserved.