AWS::EMRServerless::Application CloudWatchLoggingConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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, ... ] }

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