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::EMRServerless::Application CloudWatchLoggingConfiguration
The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Enabled" :Boolean, "EncryptionKeyArn" :String, "LogGroupName" :String, "LogStreamNamePrefix" :String, "LogTypeMap" :[ LogTypeMapKeyValuePair, ... ]}
YAML
Enabled:BooleanEncryptionKeyArn:StringLogGroupName:StringLogStreamNamePrefix:StringLogTypeMap:- LogTypeMapKeyValuePair
Properties
Enabled-
Enables CloudWatch logging.
Required: No
Type: Boolean
Update requires: Some interruptions
EncryptionKeyArn-
The Amazon Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.
Required: No
Type: String
Pattern:
^arn:(aws[a-zA-Z0-9-]*):kms:[a-zA-Z0-9\-]*:(\d{12})?:key\/[a-zA-Z0-9-]+$Minimum:
20Maximum:
2048Update requires: Some interruptions
LogGroupName-
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.
Required: No
Type: String
Pattern:
^[\.\-_/#A-Za-z0-9]+$Minimum:
1Maximum:
512Update requires: Some interruptions
LogStreamNamePrefix-
Prefix for the CloudWatch log stream name.
Required: No
Type: String
Pattern:
^[^:*]*$Minimum:
1Maximum:
512Update requires: Some interruptions
LogTypeMapProperty description not available.
Required: No
Type: Array of LogTypeMapKeyValuePair
Update requires: Some interruptions