AWS::ECS::Cluster ExecuteCommandConfiguration
The details of the execute command configuration.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "KmsKeyId" :
String
, "LogConfiguration" :ExecuteCommandLogConfiguration
, "Logging" :String
}
YAML
KmsKeyId:
String
LogConfiguration:ExecuteCommandLogConfiguration
Logging:String
Properties
KmsKeyId
-
Specify an AWS Key Management Service key ID to encrypt the data between the local client and the container.
Required: No
Type: String
Update requires: No interruption
LogConfiguration
-
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.Required: No
Type: ExecuteCommandLogConfiguration
Update requires: No interruption
Logging
-
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.
Required: No
Type: String
Allowed values:
NONE | DEFAULT | OVERRIDE
Update requires: No interruption
-