View a markdown version of this page

AWS::EMRContainers::JobTemplate ParametricCloudWatchMonitoringConfiguration - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::EMRContainers::JobTemplate ParametricCloudWatchMonitoringConfiguration

A configuration for CloudWatch monitoring. You can configure your jobs to send log information to CloudWatch Logs. This data type allows job template parameters to be specified within.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "LogGroupName" : String, "LogStreamNamePrefix" : String }

YAML

LogGroupName: String LogStreamNamePrefix: String

Properties

LogGroupName

The name of the log group for log publishing.

Required: No

Type: String

Pattern: ^[\.\-_/#A-Za-z0-9\$\{\}]+$

Minimum: 1

Maximum: 512

Update requires: Replacement

LogStreamNamePrefix

The specified name prefix for log streams.

Required: No

Type: String

Pattern: \S

Minimum: 1

Maximum: 256

Update requires: Replacement