View a markdown version of this page

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

The Amazon CloudWatch Logs delivery settings for access 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.

Required: No

Type: String

Pattern: ^arn:(aws|aws-cn|aws-us-gov):logs:[a-z0-9-]+:[0-9]{12}:log-group:.+$

Minimum: 1

Maximum: 2048

Update requires: No interruption

SamplingRate

The percentage of requests to log.

Required: No

Type: Integer

Minimum: 0

Maximum: 100

Update requires: No interruption

Status

Specifies whether access logs are delivered to CloudWatch Logs.

Required: Yes

Type: String

Allowed values: ENABLED | DISABLED

Update requires: No interruption