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 AccessLogS3Config
The Amazon S3 delivery settings for access logs.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "BucketArn" :String, "SamplingRate" :Integer, "Status" :String}
YAML
BucketArn:StringSamplingRate:IntegerStatus:String
Properties
BucketArn-
The Amazon Resource Name (ARN) of the Amazon S3 bucket.
The bucket must have a bucket policy that allows the
delivery.logs.amazonaws.comservice principal to write to it. Amplify Gen 3 doesn't add this policy. For more information about the policy, see Logs sent to Amazon S3 in the Amazon CloudWatch Logs User Guide.Required: No
Type: String
Pattern:
^arn:(aws|aws-cn|aws-us-gov):s3:::[a-z0-9][a-z0-9.-]*$Minimum:
1Maximum:
2048Update requires: No interruption
SamplingRate-
The percentage of requests to log.
Required: No
Type: Integer
Minimum:
0Maximum:
100Update requires: No interruption
Status-
Specifies whether access logs are delivered to Amazon S3.
Required: Yes
Type: String
Allowed values:
ENABLED | DISABLEDUpdate requires: No interruption