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
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:56:07.463Z")
@Stability(Stable)
public class CfnUserSettings
extends CfnResource
implements IInspectable, 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())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnUserSettings
.static interface
Specifies a single cookie or set of cookies in an end user's browser.static interface
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnUserSettings
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnUserSettings
(software.amazon.jsii.JsiiObjectRef objRef) CfnUserSettings
(software.constructs.Construct scope, String id, CfnUserSettingsProps props) -
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.Specifies whether the user can upload files from the local device to the streaming session.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
The additional encryption context of the user settings.void
The additional encryption context of the user settings.void
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.void
setCookieSynchronizationConfiguration
(CfnUserSettings.CookieSynchronizationConfigurationProperty value) The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.void
setCopyAllowed
(String value) Specifies whether the user can copy text from the streaming session to the local device.void
setCustomerManagedKey
(String value) The customer managed key used to encrypt sensitive information in the user settings.void
setDeepLinkAllowed
(String value) Specifies whether the user can use deep links that open automatically when connecting to a session.void
The amount of time that a streaming session remains active after users disconnect.void
setDownloadAllowed
(String value) Specifies whether the user can download files from the streaming session to the local device.void
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.void
setPasteAllowed
(String value) Specifies whether the user can paste text from the local device to the streaming session.void
setPrintAllowed
(String value) Specifies whether the user can print to the local device.void
The tags to add to the user settings resource.void
setUploadAllowed
(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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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:
inspect
in 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:
renderProperties
in 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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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. -
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. -
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.
-