@Stability(value=Stable)
public static interface CfnCluster.ExecuteCommandConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCluster.ExecuteCommandConfigurationProperty.Builder
A builder for
CfnCluster.ExecuteCommandConfigurationProperty |
static class |
CfnCluster.ExecuteCommandConfigurationProperty.Jsii$Proxy
An implementation for
CfnCluster.ExecuteCommandConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCluster.ExecuteCommandConfigurationProperty.Builder |
builder() |
default String |
getKmsKeyId()
Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.
|
default Object |
getLogConfiguration()
The log configuration for the results of the execute command actions.
|
default String |
getLogging()
The log setting to use for redirecting logs for your execute command results.
|
@Stability(value=Stable) @Nullable default String getKmsKeyId()
@Stability(value=Stable) @Nullable default Object getLogConfiguration()
The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When logging=OVERRIDE is specified, a logConfiguration must be provided.
@Stability(value=Stable) @Nullable default String getLogging()
NONE : The execute command session is not logged.DEFAULT : The awslogs configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If no awslogs log driver is configured in the task definition, the output won't be logged.OVERRIDE : Specify the logging details as a part of logConfiguration . If the OVERRIDE logging option is specified, the logConfiguration is required.@Stability(value=Stable) static CfnCluster.ExecuteCommandConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.