interface S3LogConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WorkSpacesWeb.CfnSessionLogger.S3LogConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsworkspacesweb#CfnSessionLogger_S3LogConfigurationProperty |
Java | software.amazon.awscdk.services.workspacesweb.CfnSessionLogger.S3LogConfigurationProperty |
Python | aws_cdk.aws_workspacesweb.CfnSessionLogger.S3LogConfigurationProperty |
TypeScript | aws-cdk-lib » aws_workspacesweb » CfnSessionLogger » S3LogConfigurationProperty |
The S3 log configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesweb as workspacesweb } from 'aws-cdk-lib';
const s3LogConfigurationProperty: workspacesweb.CfnSessionLogger.S3LogConfigurationProperty = {
bucket: 'bucket',
folderStructure: 'folderStructure',
logFileFormat: 'logFileFormat',
// the properties below are optional
bucketOwner: 'bucketOwner',
keyPrefix: 'keyPrefix',
};
Properties
| Name | Type | Description |
|---|---|---|
| bucket | string | The S3 bucket name where logs are delivered. |
| folder | string | The folder structure that defines the organizational structure for log files in S3. |
| log | string | The format of the LogFile that is written to S3. |
| bucket | string | The expected bucket owner of the target S3 bucket. |
| key | string | The S3 path prefix that determines where log files are stored. |
bucket
Type:
string
The S3 bucket name where logs are delivered.
folderStructure
Type:
string
The folder structure that defines the organizational structure for log files in S3.
logFileFormat
Type:
string
The format of the LogFile that is written to S3.
bucketOwner?
Type:
string
(optional)
The expected bucket owner of the target S3 bucket.
The caller must have permissions to write to the target bucket.
keyPrefix?
Type:
string
(optional)
The S3 path prefix that determines where log files are stored.

.NET
Go
Java
Python
TypeScript