CfnUserAccessLoggingSettingsPropsMixin
- class aws_cdk.mixins_preview.aws_workspacesweb.mixins.CfnUserAccessLoggingSettingsPropsMixin(props, *, strategy=None)
Bases:
MixinThis 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? .
For more information about setting up user access logging, see Set up user access logging .
- See:
- CloudformationResource:
AWS::WorkSpacesWeb::UserAccessLoggingSettings
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_workspacesweb import mixins as workspacesweb_mixins cfn_user_access_logging_settings_props_mixin = workspacesweb_mixins.CfnUserAccessLoggingSettingsPropsMixin(workspacesweb_mixins.CfnUserAccessLoggingSettingsMixinProps( kinesis_stream_arn="kinesisStreamArn", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::WorkSpacesWeb::UserAccessLoggingSettings.- Parameters:
props (
Union[CfnUserAccessLoggingSettingsMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['kinesisStreamArn', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental