This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::EMR::Cluster CloudWatchLogConfiguration
Holds CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Enabled" :Boolean, "EncryptionKeyArn" :String, "LogGroupName" :String, "LogStreamNamePrefix" :String, "LogTypes" :{}Key:Value, ...}
YAML
Enabled:BooleanEncryptionKeyArn:StringLogGroupName:StringLogStreamNamePrefix:StringLogTypes:Key:Value
Properties
Enabled-
Specifies if CloudWatch logging is enabled.
Required: Yes
Type: Boolean
Update requires: Replacement
EncryptionKeyArn-
The ARN of the encryption key used to encrypt the logs.
Required: No
Type: String
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*Minimum:
0Maximum:
10280Update requires: Replacement
LogGroupName-
The name of the CloudWatch log group where logs are published.
Required: No
Type: String
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*Minimum:
0Maximum:
10280Update requires: Replacement
LogStreamNamePrefix-
The prefix of the log stream name.
Required: No
Type: String
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*Minimum:
0Maximum:
10280Update requires: Replacement
LogTypes-
A map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch. Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and STDERR.
Required: No
Type: Object of Array
Pattern:
.*Update requires: Replacement