View a markdown version of this page

AWS::AmplifyGen3::App DatabaseCloudWatchLogsConfig - 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::AmplifyGen3::App DatabaseCloudWatchLogsConfig

The Amazon CloudWatch Logs delivery settings for database logs. Amplify delivers the logs to a log group that it creates in your account, named /aws/amplifygen3/app-name/environment-name/database-logs.

Syntax

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

JSON

{ "LogGroupArn" : String, "SamplingRate" : Integer, "Status" : String }

YAML

LogGroupArn: String SamplingRate: Integer Status: String

Properties

LogGroupArn

The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log group that receives the database logs. Present while delivery is ENABLED.

Required: No

Type: String

Pattern: ^arn:aws:logs:[a-z0-9-]+:[0-9]{12}:log-group:.+$

Minimum: 1

Maximum: 1011

Update requires: No interruption

SamplingRate

The percentage of database log lines that are delivered to CloudWatch Logs, from 0 to 100. Absent when no rate is stored, in which case 100% of the lines are delivered.

Required: No

Type: Integer

Minimum: 0

Maximum: 100

Update requires: No interruption

Status

Specifies whether database logs are delivered to CloudWatch Logs.

Required: Yes

Type: String

Allowed values: ENABLED | DISABLED

Update requires: No interruption