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

The LoggingConfig property type specifies logging configuration information for an extension.

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 extension's handlers.

Required: No

Type: String

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

Minimum: 1

Maximum: 512

Update requires: Replacement

LogRoleArn

The Amazon Resource Name (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