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::Environment 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:StringSamplingRate:IntegerStatus: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:
1Maximum:
1011Update 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:
0Maximum:
100Update requires: No interruption
Status-
Specifies whether database logs are delivered to CloudWatch Logs.
Required: Yes
Type: String
Allowed values:
ENABLED | DISABLEDUpdate requires: No interruption