AWS::CloudFormation::ResourceVersion LoggingConfig - 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::CloudFormation::ResourceVersion LoggingConfig

Logging configuration information for a resource.

Syntax

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

JSON

{ "LogGroupName" : String, "LogRoleArn" : String }

YAML

LogGroupName: String LogRoleArn: String

Properties

LogGroupName

The Amazon CloudWatch logs group to which CloudFormation sends error logging information when invoking the type's handlers.

Required: No

Type: String

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

Minimum: 1

Maximum: 512

Update requires: Replacement

LogRoleArn

The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.

Required: No

Type: String

Minimum: 1

Maximum: 256

Update requires: Replacement