interface CfnSessionLoggerProps
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_workspacesweb.CfnSessionLoggerProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsworkspacesweb#CfnSessionLoggerProps |
![]() | software.amazon.awscdk.services.workspacesweb.CfnSessionLoggerProps |
![]() | aws_cdk.aws_workspacesweb.CfnSessionLoggerProps |
![]() | aws-cdk-lib » aws_workspacesweb » CfnSessionLoggerProps |
Properties for defining a CfnSessionLogger
.
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';
declare const all: any;
const cfnSessionLoggerProps: workspacesweb.CfnSessionLoggerProps = {
eventFilter: {
all: all,
include: ['include'],
},
logConfiguration: {
s3: {
bucket: 'bucket',
folderStructure: 'folderStructure',
logFileFormat: 'logFileFormat',
// the properties below are optional
bucketOwner: 'bucketOwner',
keyPrefix: 'keyPrefix',
},
},
// the properties below are optional
additionalEncryptionContext: {
additionalEncryptionContextKey: 'additionalEncryptionContext',
},
customerManagedKey: 'customerManagedKey',
displayName: 'displayName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
event | IResolvable | Event | The filter that specifies which events to monitor. |
log | IResolvable | Log | The configuration that specifies where logs are fowarded. |
additional | { [string]: string } | IResolvable | The additional encryption context of the session logger. |
customer | string | The custom managed key of the session logger. |
display | string | The human-readable display name. |
tags? | Cfn [] |
eventFilter
Type:
IResolvable
|
Event
The filter that specifies which events to monitor.
logConfiguration
Type:
IResolvable
|
Log
The configuration that specifies where logs are fowarded.
additionalEncryptionContext?
Type:
{ [string]: string } |
IResolvable
(optional)
The additional encryption context of the session logger.
customerManagedKey?
Type:
string
(optional)
The custom managed key of the session logger.
displayName?
Type:
string
(optional)
The human-readable display name.
tags?
Type:
Cfn
[]
(optional)