This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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:StringLogConfiguration:ExecuteCommandLogConfigurationLogging: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=OVERRIDEis specified, alogConfigurationmust 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: 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.
Required: No
Type: String
Allowed values:
NONE | DEFAULT | OVERRIDEUpdate requires: No interruption
-