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.

LoggingConfig

Contains logging configuration information for an extension.

Contents

LogGroupName

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

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

Required: Yes

LogRoleArn

The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: arn:.+:iam::[0-9]{12}:role/.+

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: