Interface CfnUserSettingsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserSettingsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.156Z")
@Stability(Stable)
public interface CfnUserSettingsProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnUserSettings.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.workspacesweb.*;
CfnUserSettingsProps cfnUserSettingsProps = CfnUserSettingsProps.builder()
.copyAllowed("copyAllowed")
.downloadAllowed("downloadAllowed")
.pasteAllowed("pasteAllowed")
.printAllowed("printAllowed")
.uploadAllowed("uploadAllowed")
// the properties below are optional
.additionalEncryptionContext(Map.of(
"additionalEncryptionContextKey", "additionalEncryptionContext"))
.cookieSynchronizationConfiguration(CookieSynchronizationConfigurationProperty.builder()
.allowlist(List.of(CookieSpecificationProperty.builder()
.domain("domain")
// the properties below are optional
.name("name")
.path("path")
.build()))
// the properties below are optional
.blocklist(List.of(CookieSpecificationProperty.builder()
.domain("domain")
// the properties below are optional
.name("name")
.path("path")
.build()))
.build())
.customerManagedKey("customerManagedKey")
.deepLinkAllowed("deepLinkAllowed")
.disconnectTimeoutInMinutes(123)
.idleDisconnectTimeoutInMinutes(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.toolbarConfiguration(ToolbarConfigurationProperty.builder()
.hiddenToolbarItems(List.of("hiddenToolbarItems"))
.maxDisplayResolution("maxDisplayResolution")
.toolbarType("toolbarType")
.visualMode("visualMode")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserSettingsPropsstatic final classAn implementation forCfnUserSettingsProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnUserSettingsProps.Builderbuilder()default ObjectThe additional encryption context of the user settings.default ObjectThe configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.Specifies whether the user can copy text from the streaming session to the local device.default StringThe customer managed key used to encrypt sensitive information in the user settings.default StringSpecifies whether the user can use deep links that open automatically when connecting to a session.default NumberThe amount of time that a streaming session remains active after users disconnect.Specifies whether the user can download files from the streaming session to the local device.default NumberThe amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.Specifies whether the user can paste text from the local device to the streaming session.Specifies whether the user can print to the local device.getTags()The tags to add to the user settings resource.default ObjectThe configuration of the toolbar.Specifies whether the user can upload files from the local device to the streaming session.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCopyAllowed
Specifies whether the user can copy text from the streaming session to the local device.- See Also:
-
getDownloadAllowed
Specifies whether the user can download files from the streaming session to the local device.- See Also:
-
getPasteAllowed
Specifies whether the user can paste text from the local device to the streaming session.- See Also:
-
getPrintAllowed
Specifies whether the user can print to the local device.- See Also:
-
getUploadAllowed
Specifies whether the user can upload files from the local device to the streaming session.- See Also:
-
getAdditionalEncryptionContext
The additional encryption context of the user settings.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getCookieSynchronizationConfiguration
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.Returns union: either
IResolvableorCfnUserSettings.CookieSynchronizationConfigurationProperty- See Also:
-
getCustomerManagedKey
The customer managed key used to encrypt sensitive information in the user settings.- See Also:
-
getDeepLinkAllowed
Specifies whether the user can use deep links that open automatically when connecting to a session.- See Also:
-
getDisconnectTimeoutInMinutes
The amount of time that a streaming session remains active after users disconnect.- See Also:
-
getIdleDisconnectTimeoutInMinutes
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.- See Also:
-
getTags
The tags to add to the user settings resource.A tag is a key-value pair.
- See Also:
-
getToolbarConfiguration
The 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.
Returns union: either
IResolvableorCfnUserSettings.ToolbarConfigurationProperty- See Also:
-
builder
- Returns:
- a
CfnUserSettingsProps.BuilderofCfnUserSettingsProps
-