Class CfnUserSettings
This resource specifies user settings that can be associated with a web portal.
Inherited Members
Namespace: Amazon.CDK.AWS.WorkSpacesWeb
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnUserSettings : CfnResource, IInspectable, IUserSettingsRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnUserSettings Inherits CfnResource Implements IInspectable, IUserSettingsRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WorkSpacesWeb;
var cfnUserSettings = new CfnUserSettings(this, "MyCfnUserSettings", new CfnUserSettingsProps {
CopyAllowed = "copyAllowed",
DownloadAllowed = "downloadAllowed",
PasteAllowed = "pasteAllowed",
PrintAllowed = "printAllowed",
UploadAllowed = "uploadAllowed",
// the properties below are optional
AdditionalEncryptionContext = new Dictionary<string, string> {
{ "additionalEncryptionContextKey", "additionalEncryptionContext" }
},
CookieSynchronizationConfiguration = new CookieSynchronizationConfigurationProperty {
Allowlist = new [] { new CookieSpecificationProperty {
Domain = "domain",
// the properties below are optional
Name = "name",
Path = "path"
} },
// the properties below are optional
Blocklist = new [] { new CookieSpecificationProperty {
Domain = "domain",
// the properties below are optional
Name = "name",
Path = "path"
} }
},
CustomerManagedKey = "customerManagedKey",
DeepLinkAllowed = "deepLinkAllowed",
DisconnectTimeoutInMinutes = 123,
IdleDisconnectTimeoutInMinutes = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ToolbarConfiguration = new ToolbarConfigurationProperty {
HiddenToolbarItems = new [] { "hiddenToolbarItems" },
MaxDisplayResolution = "maxDisplayResolution",
ToolbarType = "toolbarType",
VisualMode = "visualMode"
}
});
Synopsis
Constructors
| CfnUserSettings(Construct, string, ICfnUserSettingsProps) | Create a new |
Properties
| AdditionalEncryptionContext | The additional encryption context of the user settings. |
| AttrAssociatedPortalArns | A list of web portal ARNs that this user settings resource is associated with. |
| AttrUserSettingsArn | The ARN of the user settings. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CdkTagManager | Tag Manager which manages the tags for this resource. |
| CfnProperties | This resource specifies user settings that can be associated with a web portal. |
| CookieSynchronizationConfiguration | The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser. |
| CopyAllowed | Specifies whether the user can copy text from the streaming session to the local device. |
| CustomerManagedKey | The customer managed key used to encrypt sensitive information in the user settings. |
| DeepLinkAllowed | Specifies whether the user can use deep links that open automatically when connecting to a session. |
| DisconnectTimeoutInMinutes | The amount of time that a streaming session remains active after users disconnect. |
| DownloadAllowed | Specifies whether the user can download files from the streaming session to the local device. |
| IdleDisconnectTimeoutInMinutes | The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins. |
| PasteAllowed | Specifies whether the user can paste text from the local device to the streaming session. |
| PrintAllowed | Specifies whether the user can print to the local device. |
| Tags | The tags to add to the user settings resource. |
| ToolbarConfiguration | The configuration of the toolbar. |
| UploadAllowed | Specifies whether the user can upload files from the local device to the streaming session. |
| UserSettingsRef | A reference to a UserSettings resource. |
Methods
| ArnForUserSettings(IUserSettingsRef) | This resource specifies user settings that can be associated with a web portal. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnUserSettings(object) | Checks whether the given object is a CfnUserSettings. |
| RenderProperties(IDictionary<string, object>) | This resource specifies user settings that can be associated with a web portal. |
Constructors
CfnUserSettings(Construct, string, ICfnUserSettingsProps)
Create a new AWS::WorkSpacesWeb::UserSettings.
public CfnUserSettings(Construct scope, string id, ICfnUserSettingsProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnUserSettingsProps
Resource properties.
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
Properties
AdditionalEncryptionContext
The additional encryption context of the user settings.
public virtual object? AdditionalEncryptionContext { get; set; }
Property Value
Remarks
Type union: either Dictionary<string, string> or IResolvable
AttrAssociatedPortalArns
A list of web portal ARNs that this user settings resource is associated with.
public virtual string[] AttrAssociatedPortalArns { get; }
Property Value
string[]
Remarks
CloudformationAttribute: AssociatedPortalArns
AttrUserSettingsArn
The ARN of the user settings.
public virtual string AttrUserSettingsArn { get; }
Property Value
Remarks
CloudformationAttribute: UserSettingsArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
CfnProperties
This resource specifies user settings that can be associated with a web portal.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
CookieSynchronizationConfiguration
The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
public virtual object? CookieSynchronizationConfiguration { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnUserSettings.ICookieSynchronizationConfigurationProperty
CopyAllowed
Specifies whether the user can copy text from the streaming session to the local device.
public virtual string CopyAllowed { get; set; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
CustomerManagedKey
The customer managed key used to encrypt sensitive information in the user settings.
public virtual string? CustomerManagedKey { get; set; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
DeepLinkAllowed
Specifies whether the user can use deep links that open automatically when connecting to a session.
public virtual string? DeepLinkAllowed { get; set; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
DisconnectTimeoutInMinutes
The amount of time that a streaming session remains active after users disconnect.
public virtual double? DisconnectTimeoutInMinutes { get; set; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
DownloadAllowed
Specifies whether the user can download files from the streaming session to the local device.
public virtual string DownloadAllowed { get; set; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
IdleDisconnectTimeoutInMinutes
The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
public virtual double? IdleDisconnectTimeoutInMinutes { get; set; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
PasteAllowed
Specifies whether the user can paste text from the local device to the streaming session.
public virtual string PasteAllowed { get; set; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
PrintAllowed
Specifies whether the user can print to the local device.
public virtual string PrintAllowed { get; set; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
Tags
The tags to add to the user settings resource.
public virtual ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
ToolbarConfiguration
The configuration of the toolbar.
public virtual object? ToolbarConfiguration { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnUserSettings.IToolbarConfigurationProperty
UploadAllowed
Specifies whether the user can upload files from the local device to the streaming session.
public virtual string UploadAllowed { get; set; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
UserSettingsRef
A reference to a UserSettings resource.
public virtual IUserSettingsReference UserSettingsRef { get; }
Property Value
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
Methods
ArnForUserSettings(IUserSettingsRef)
This resource specifies user settings that can be associated with a web portal.
public static string ArnForUserSettings(IUserSettingsRef resource)
Parameters
- resource IUserSettingsRef
Returns
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WorkSpacesWeb;
var cfnUserSettings = new CfnUserSettings(this, "MyCfnUserSettings", new CfnUserSettingsProps {
CopyAllowed = "copyAllowed",
DownloadAllowed = "downloadAllowed",
PasteAllowed = "pasteAllowed",
PrintAllowed = "printAllowed",
UploadAllowed = "uploadAllowed",
// the properties below are optional
AdditionalEncryptionContext = new Dictionary<string, string> {
{ "additionalEncryptionContextKey", "additionalEncryptionContext" }
},
CookieSynchronizationConfiguration = new CookieSynchronizationConfigurationProperty {
Allowlist = new [] { new CookieSpecificationProperty {
Domain = "domain",
// the properties below are optional
Name = "name",
Path = "path"
} },
// the properties below are optional
Blocklist = new [] { new CookieSpecificationProperty {
Domain = "domain",
// the properties below are optional
Name = "name",
Path = "path"
} }
},
CustomerManagedKey = "customerManagedKey",
DeepLinkAllowed = "deepLinkAllowed",
DisconnectTimeoutInMinutes = 123,
IdleDisconnectTimeoutInMinutes = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ToolbarConfiguration = new ToolbarConfigurationProperty {
HiddenToolbarItems = new [] { "hiddenToolbarItems" },
MaxDisplayResolution = "maxDisplayResolution",
ToolbarType = "toolbarType",
VisualMode = "visualMode"
}
});
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
IsCfnUserSettings(object)
Checks whether the given object is a CfnUserSettings.
public static bool IsCfnUserSettings(object x)
Parameters
- x object
Returns
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
This resource specifies user settings that can be associated with a web portal.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
CloudformationResource: AWS::WorkSpacesWeb::UserSettings
ExampleMetadata: fixture=_generated