CfnUserSettingsPropsMixin
- class aws_cdk.mixins_preview.aws_workspacesweb.mixins.CfnUserSettingsPropsMixin(props, *, strategy=None)
Bases:
MixinThis resource specifies user settings that can be associated with a web portal.
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
- See:
- CloudformationResource:
AWS::WorkSpacesWeb::UserSettings
- 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_settings_props_mixin = workspacesweb_mixins.CfnUserSettingsPropsMixin(workspacesweb_mixins.CfnUserSettingsMixinProps( additional_encryption_context={ "additional_encryption_context_key": "additionalEncryptionContext" }, cookie_synchronization_configuration=workspacesweb_mixins.CfnUserSettingsPropsMixin.CookieSynchronizationConfigurationProperty( allowlist=[workspacesweb_mixins.CfnUserSettingsPropsMixin.CookieSpecificationProperty( domain="domain", name="name", path="path" )], blocklist=[workspacesweb_mixins.CfnUserSettingsPropsMixin.CookieSpecificationProperty( domain="domain", name="name", path="path" )] ), copy_allowed="copyAllowed", customer_managed_key="customerManagedKey", deep_link_allowed="deepLinkAllowed", disconnect_timeout_in_minutes=123, download_allowed="downloadAllowed", idle_disconnect_timeout_in_minutes=123, paste_allowed="pasteAllowed", print_allowed="printAllowed", tags=[CfnTag( key="key", value="value" )], toolbar_configuration=workspacesweb_mixins.CfnUserSettingsPropsMixin.ToolbarConfigurationProperty( hidden_toolbar_items=["hiddenToolbarItems"], max_display_resolution="maxDisplayResolution", toolbar_type="toolbarType", visual_mode="visualMode" ), upload_allowed="uploadAllowed" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::WorkSpacesWeb::UserSettings.- Parameters:
props (
Union[CfnUserSettingsMixinProps,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 = ['additionalEncryptionContext', 'cookieSynchronizationConfiguration', 'copyAllowed', 'customerManagedKey', 'deepLinkAllowed', 'disconnectTimeoutInMinutes', 'downloadAllowed', 'idleDisconnectTimeoutInMinutes', 'pasteAllowed', 'printAllowed', 'tags', 'toolbarConfiguration', 'uploadAllowed']
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
ToolbarConfigurationProperty
- class CfnUserSettingsPropsMixin.ToolbarConfigurationProperty(*, hidden_toolbar_items=None, max_display_resolution=None, toolbar_type=None, visual_mode=None)
Bases:
objectThe configuration of the toolbar.
This allows administrators to select the toolbar type and visual mode, set maximum display resolution for sessions, and choose which items are visible to end users during their sessions. If administrators do not modify these settings, end users retain control over their toolbar preferences.
- Parameters:
hidden_toolbar_items (
Optional[Sequence[str]]) – The list of toolbar items to be hidden.max_display_resolution (
Optional[str]) – The maximum display resolution that is allowed for the session.toolbar_type (
Optional[str]) – The type of toolbar displayed during the session.visual_mode (
Optional[str]) – The visual mode of the toolbar.
- See:
- 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 toolbar_configuration_property = workspacesweb_mixins.CfnUserSettingsPropsMixin.ToolbarConfigurationProperty( hidden_toolbar_items=["hiddenToolbarItems"], max_display_resolution="maxDisplayResolution", toolbar_type="toolbarType", visual_mode="visualMode" )
Attributes
The list of toolbar items to be hidden.
- max_display_resolution
The maximum display resolution that is allowed for the session.
- toolbar_type
The type of toolbar displayed during the session.
- visual_mode
The visual mode of the toolbar.