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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.ExecuteCommandConfigurationPropertystatic final classAn implementation forCfnCluster.ExecuteCommandConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringSpecify an AWS Key Management Service key ID to encrypt the data between the local client and the container.default ObjectThe log configuration for the results of the execute command actions.default StringThe 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.- See Also:
-
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=OVERRIDEis specified, alogConfigurationmust be provided.Returns union: either
IResolvableorCfnCluster.ExecuteCommandLogConfigurationProperty- See Also:
-
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: Theawslogsconfiguration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogslog driver is configured in the task definition, the output won't be logged.OVERRIDE: Specify the logging details as a part oflogConfiguration. If theOVERRIDElogging option is specified, thelogConfigurationis required.
- See Also:
-
builder
-