LoggingConfig - AWS CloudFormation
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: December 30, 2025.

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 AWS SDKs, see the following: