Interface CfnCluster.ExecuteCommandConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ExecuteCommandConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnCluster
@Stability(Stable)
public static interface CfnCluster.ExecuteCommandConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The details of the execute command configuration.
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.*; ExecuteCommandConfigurationProperty executeCommandConfigurationProperty = ExecuteCommandConfigurationProperty.builder() .kmsKeyId("kmsKeyId") .logConfiguration(ExecuteCommandLogConfigurationProperty.builder() .cloudWatchEncryptionEnabled(false) .cloudWatchLogGroupName("cloudWatchLogGroupName") .s3BucketName("s3BucketName") .s3EncryptionEnabled(false) .s3KeyPrefix("s3KeyPrefix") .build()) .logging("logging") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.ExecuteCommandConfigurationProperty
static final class
An implementation forCfnCluster.ExecuteCommandConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.default Object
The log configuration for the results of the execute command actions.default String
The log setting to use for redirecting logs for your execute command results.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKmsKeyId
Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container. -
getLogConfiguration
The log configuration for the results of the execute command actions.The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When
logging=OVERRIDE
is specified, alogConfiguration
must be provided. -
getLogging
The log setting to use for redirecting logs for your execute command results. The following log settings are available.NONE
: The execute command session is not logged.DEFAULT
: Theawslogs
configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogs
log driver is configured in the task definition, the output won't be logged.OVERRIDE
: Specify the logging details as a part oflogConfiguration
. If theOVERRIDE
logging option is specified, thelogConfiguration
is required.
-
builder
-