# CfnUserAccessLoggingSettingsPropsMixin

This resource specifies user access logging settings that can be associated with a web portal.

In order to receive logs from WorkSpaces Secure Browser, you must have an Amazon Kinesis Data Stream that starts with "amazon-workspaces-web-*". Your Amazon Kinesis data stream must either have server-side encryption turned off, or must use AWS managed keys for server-side encryption.

For more information about setting server-side encryption in Amazon Kinesis , see [How Do I Get Started with Server-Side Encryption?](https://docs.aws.amazon.com/streams/latest/dev/getting-started-with-sse.html) .

For more information about setting up user access logging, see [Set up user access logging](https://docs.aws.amazon.com/workspaces-web/latest/adminguide/user-logging.html) .

Extends: [Mixin](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Mixin.html) › CfnUserAccessLoggingSettingsPropsMixin
Implements: [IMixin](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.IMixin.html)

- CloudFormation: [`AWS::WorkSpacesWeb::UserAccessLoggingSettings`](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-workspacesweb-useraccessloggingsettings.html)
- Source: Generated at build time
- Type last changed: v2.269.0 · 16 Sep 2026

## Initializer

TypeScript:

```ts
new CfnUserAccessLoggingSettingsPropsMixin(props: CfnUserAccessLoggingSettingsMixinProps, options?: CfnPropertyMixinOptions)
```

Python:

```python
CfnUserAccessLoggingSettingsPropsMixin(props: CfnUserAccessLoggingSettingsMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
```

Java:

```java
new CfnUserAccessLoggingSettingsPropsMixin(CfnUserAccessLoggingSettingsMixinProps props, CfnPropertyMixinOptions options)
```

C# / .NET:

```csharp
new CfnUserAccessLoggingSettingsPropsMixin(CfnUserAccessLoggingSettingsMixinProps props, CfnPropertyMixinOptions? options = null)
```

Golang:

```go
NewCfnUserAccessLoggingSettingsPropsMixin(Props CfnUserAccessLoggingSettingsMixinProps, Options CfnPropertyMixinOptions)
```

## Methods

- `applyTo(construct: IConstruct): void` — Apply the mixin properties to the construct.

- `isMixin(x: any): boolean` (static) — Checks if `x` is a Mixin.

  **Parameters**

  - `x` — Any object.

  **Returns:** true if `x` is an object created from a class which extends `Mixin`.

- `supports(construct: IConstruct): boolean` — Check if this mixin supports the given construct.
