AWS::WorkSpacesWeb::SessionLogger S3LogConfiguration - AWS CloudFormation

This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::WorkSpacesWeb::SessionLogger S3LogConfiguration

The S3 log configuration.

Syntax

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

JSON

{ "Bucket" : String, "BucketOwner" : String, "FolderStructure" : String, "KeyPrefix" : String, "LogFileFormat" : String }

YAML

Bucket: String BucketOwner: String FolderStructure: String KeyPrefix: String LogFileFormat: String

Properties

Bucket

The S3 bucket name where logs are delivered.

Required: Yes

Type: String

Pattern: ^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$

Minimum: 1

Maximum: 256

Update requires: No interruption

BucketOwner

The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.

Required: No

Type: String

Pattern: ^[0-9]{12}$

Update requires: No interruption

FolderStructure

The folder structure that defines the organizational structure for log files in S3.

Required: Yes

Type: String

Allowed values: Flat | NestedByDate

Update requires: No interruption

KeyPrefix

The S3 path prefix that determines where log files are stored.

Required: No

Type: String

Pattern: ^[\d\w\-_/!().*']+$

Minimum: 1

Maximum: 256

Update requires: No interruption

LogFileFormat

The format of the LogFile that is written to S3.

Required: Yes

Type: String

Allowed values: JSONLines | Json

Update requires: No interruption