CfnUserAccessLoggingSettingsPropsMixin

class aws_cdk.cfn_property_mixins.aws_workspacesweb.CfnUserAccessLoggingSettingsPropsMixin(props, *, strategy=None)

Bases: Mixin

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? .

For more information about setting up user access logging, see Set up user access logging .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-useraccessloggingsettings.html

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.cfn_property_mixins import aws_workspacesweb as workspacesweb
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_user_access_logging_settings_props_mixin = workspacesweb.CfnUserAccessLoggingSettingsPropsMixin(workspacesweb.CfnUserAccessLoggingSettingsMixinProps(
    kinesis_stream_arn="kinesisStreamArn",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::WorkSpacesWeb::UserAccessLoggingSettings.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

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)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.