interface S3LogConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_workspacesweb.CfnSessionLogger.S3LogConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsworkspacesweb#CfnSessionLogger_S3LogConfigurationProperty |
![]() | software.amazon.awscdk.services.workspacesweb.CfnSessionLogger.S3LogConfigurationProperty |
![]() | aws_cdk.aws_workspacesweb.CfnSessionLogger.S3LogConfigurationProperty |
![]() | 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.