View a markdown version of this page

AWS::EMRContainers::JobTemplate ParametricCloudWatchMonitoringConfiguration - 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).

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