Class CfnUserSettings
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.workspacesweb.CfnUserSettings
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IUserSettingsRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.153Z")
@Stability(Stable)
public class CfnUserSettings
extends CfnResource
implements IInspectable, IUserSettingsRef, ITaggableV2
This 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.
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.*;
CfnUserSettings cfnUserSettings = CfnUserSettings.Builder.create(this, "MyCfnUserSettings")
.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 TypeClassDescriptionstatic final classA fluent builder forCfnUserSettings.static interfaceSpecifies a single cookie or set of cookies in an end user's browser.static interfaceThe configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.static interfaceThe configuration of the toolbar.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.workspacesweb.IUserSettingsRef
IUserSettingsRef.Jsii$Default, IUserSettingsRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnUserSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnUserSettings(software.amazon.jsii.JsiiObjectRef objRef) CfnUserSettings(software.constructs.Construct scope, String id, CfnUserSettingsProps props) Create a newAWS::WorkSpacesWeb::UserSettings. -
Method Summary
Modifier and TypeMethodDescriptionThe additional encryption context of the user settings.A list of web portal ARNs that this user settings resource is associated with.The ARN of the user settings.Tag Manager which manages the tags for this resource.The 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.The customer managed key used to encrypt sensitive information in the user settings.Specifies whether the user can use deep links that open automatically when connecting to a session.The 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.The 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.The configuration of the toolbar.Specifies whether the user can upload files from the local device to the streaming session.A reference to a UserSettings resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe additional encryption context of the user settings.voidThe additional encryption context of the user settings.voidThe configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.voidsetCookieSynchronizationConfiguration(CfnUserSettings.CookieSynchronizationConfigurationProperty value) The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.voidsetCopyAllowed(String value) Specifies whether the user can copy text from the streaming session to the local device.voidsetCustomerManagedKey(String value) The customer managed key used to encrypt sensitive information in the user settings.voidsetDeepLinkAllowed(String value) Specifies whether the user can use deep links that open automatically when connecting to a session.voidThe amount of time that a streaming session remains active after users disconnect.voidsetDownloadAllowed(String value) Specifies whether the user can download files from the streaming session to the local device.voidThe amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.voidsetPasteAllowed(String value) Specifies whether the user can paste text from the local device to the streaming session.voidsetPrintAllowed(String value) Specifies whether the user can print to the local device.voidThe tags to add to the user settings resource.voidThe configuration of the toolbar.voidThe configuration of the toolbar.voidsetUploadAllowed(String value) Specifies whether the user can upload files from the local device to the streaming session.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnUserSettings
protected CfnUserSettings(software.amazon.jsii.JsiiObjectRef objRef) -
CfnUserSettings
protected CfnUserSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnUserSettings
@Stability(Stable) public CfnUserSettings(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnUserSettingsProps props) Create a newAWS::WorkSpacesWeb::UserSettings.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrAssociatedPortalArns
A list of web portal ARNs that this user settings resource is associated with. -
getAttrUserSettingsArn
The ARN of the user settings. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getUserSettingsRef
A reference to a UserSettings resource.- Specified by:
getUserSettingsRefin interfaceIUserSettingsRef
-
getCopyAllowed
Specifies whether the user can copy text from the streaming session to the local device. -
setCopyAllowed
Specifies whether the user can copy text from the streaming session to the local device. -
getDownloadAllowed
Specifies whether the user can download files from the streaming session to the local device. -
setDownloadAllowed
Specifies whether the user can download files from the streaming session to the local device. -
getPasteAllowed
Specifies whether the user can paste text from the local device to the streaming session. -
setPasteAllowed
Specifies whether the user can paste text from the local device to the streaming session. -
getPrintAllowed
Specifies whether the user can print to the local device. -
setPrintAllowed
Specifies whether the user can print to the local device. -
getUploadAllowed
Specifies whether the user can upload files from the local device to the streaming session. -
setUploadAllowed
Specifies whether the user can upload files from the local device to the streaming session. -
getAdditionalEncryptionContext
The additional encryption context of the user settings.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable -
setAdditionalEncryptionContext
The additional encryption context of the user settings. -
setAdditionalEncryptionContext
The additional encryption context of the user settings. -
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 -
setCookieSynchronizationConfiguration
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser. -
setCookieSynchronizationConfiguration
@Stability(Stable) public void setCookieSynchronizationConfiguration(@Nullable CfnUserSettings.CookieSynchronizationConfigurationProperty value) The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser. -
getCustomerManagedKey
The customer managed key used to encrypt sensitive information in the user settings. -
setCustomerManagedKey
The customer managed key used to encrypt sensitive information in the user settings. -
getDeepLinkAllowed
Specifies whether the user can use deep links that open automatically when connecting to a session. -
setDeepLinkAllowed
Specifies whether the user can use deep links that open automatically when connecting to a session. -
getDisconnectTimeoutInMinutes
The amount of time that a streaming session remains active after users disconnect. -
setDisconnectTimeoutInMinutes
The amount of time that a streaming session remains active after users disconnect. -
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. -
setIdleDisconnectTimeoutInMinutes
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins. -
getTags
The tags to add to the user settings resource. -
setTags
The tags to add to the user settings resource. -
getToolbarConfiguration
The configuration of the toolbar.Returns union: either
IResolvableorCfnUserSettings.ToolbarConfigurationProperty -
setToolbarConfiguration
The configuration of the toolbar. -
setToolbarConfiguration
@Stability(Stable) public void setToolbarConfiguration(@Nullable CfnUserSettings.ToolbarConfigurationProperty value) The configuration of the toolbar.
-