CfnBrowserSettingsPropsMixin

class aws_cdk.mixins_preview.aws_workspacesweb.mixins.CfnBrowserSettingsPropsMixin(props, *, strategy=None)

Bases: Mixin

This resource specifies browser settings that can be associated with a web portal.

Once associated with a web portal, browser settings control how the browser will behave once a user starts a streaming session for the web portal.

See:

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

CloudformationResource:

AWS::WorkSpacesWeb::BrowserSettings

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_browser_settings_props_mixin = workspacesweb_mixins.CfnBrowserSettingsPropsMixin(workspacesweb_mixins.CfnBrowserSettingsMixinProps(
    additional_encryption_context={
        "additional_encryption_context_key": "additionalEncryptionContext"
    },
    browser_policy="browserPolicy",
    customer_managed_key="customerManagedKey",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    web_content_filtering_policy=workspacesweb_mixins.CfnBrowserSettingsPropsMixin.WebContentFilteringPolicyProperty(
        allowed_urls=["allowedUrls"],
        blocked_categories=["blockedCategories"],
        blocked_urls=["blockedUrls"]
    )
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

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

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['additionalEncryptionContext', 'browserPolicy', 'customerManagedKey', 'tags', 'webContentFilteringPolicy']

Static Methods

classmethod is_mixin(x)

(experimental) 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.

Stability:

experimental

WebContentFilteringPolicyProperty

class CfnBrowserSettingsPropsMixin.WebContentFilteringPolicyProperty(*, allowed_urls=None, blocked_categories=None, blocked_urls=None)

Bases: object

The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.

Parameters:
  • allowed_urls (Optional[Sequence[str]]) – URLs and domains that are always accessible to end users.

  • blocked_categories (Optional[Sequence[str]]) – Categories of websites that are blocked on the end user’s browsers.

  • blocked_urls (Optional[Sequence[str]]) – URLs and domains that end users cannot access.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-browsersettings-webcontentfilteringpolicy.html

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.aws_workspacesweb import mixins as workspacesweb_mixins

web_content_filtering_policy_property = workspacesweb_mixins.CfnBrowserSettingsPropsMixin.WebContentFilteringPolicyProperty(
    allowed_urls=["allowedUrls"],
    blocked_categories=["blockedCategories"],
    blocked_urls=["blockedUrls"]
)

Attributes

allowed_urls

URLs and domains that are always accessible to end users.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-browsersettings-webcontentfilteringpolicy.html#cfn-workspacesweb-browsersettings-webcontentfilteringpolicy-allowedurls

blocked_categories

Categories of websites that are blocked on the end user’s browsers.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-browsersettings-webcontentfilteringpolicy.html#cfn-workspacesweb-browsersettings-webcontentfilteringpolicy-blockedcategories

blocked_urls

URLs and domains that end users cannot access.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-browsersettings-webcontentfilteringpolicy.html#cfn-workspacesweb-browsersettings-webcontentfilteringpolicy-blockedurls