AWS::EMRServerless::Application CloudWatchLoggingConfiguration - AWS CloudFormation

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 AWS CloudFormation template, use the following syntax:

JSON

{ "Enabled" : Boolean, "EncryptionKeyArn" : String, "LogGroupName" : String, "LogStreamNamePrefix" : String, "LogTypeMap" : [ LogTypeMapKeyValuePair, ... ] }

Properties

Enabled

Enables CloudWatch logging.

Required: No

Type: Boolean

Update requires: Some interruptions

EncryptionKeyArn

The AWS 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: 20

Maximum: 2048

Update 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: 1

Maximum: 512

Update requires: Some interruptions

LogStreamNamePrefix

Prefix for the CloudWatch log stream name.

Required: No

Type: String

Pattern: ^[^:*]*$

Minimum: 1

Maximum: 512

Update requires: Some interruptions

LogTypeMap

Property description not available.

Required: No

Type: Array of LogTypeMapKeyValuePair

Update requires: Some interruptions