Class CfnBrowserSettings
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.CfnBrowserSettings
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IBrowserSettingsRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:31.791Z")
@Stability(Stable)
public class CfnBrowserSettings
extends CfnResource
implements IInspectable, IBrowserSettingsRef, ITaggableV2
This resource specifies browser settings that can be associated with a web portal.
Once associated with a web portal, browser settings control how the browser will behave once a user starts a streaming session for the web portal.
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.*;
CfnBrowserSettings cfnBrowserSettings = CfnBrowserSettings.Builder.create(this, "MyCfnBrowserSettings")
.additionalEncryptionContext(Map.of(
"additionalEncryptionContextKey", "additionalEncryptionContext"))
.browserPolicy("browserPolicy")
.customerManagedKey("customerManagedKey")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.webContentFilteringPolicy(WebContentFilteringPolicyProperty.builder()
.allowedUrls(List.of("allowedUrls"))
.blockedCategories(List.of("blockedCategories"))
.blockedUrls(List.of("blockedUrls"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnBrowserSettings.static interfaceThe policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.workspacesweb.IBrowserSettingsRef
IBrowserSettingsRef.Jsii$Default, IBrowserSettingsRef.Jsii$ProxyNested 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$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnBrowserSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnBrowserSettings(software.amazon.jsii.JsiiObjectRef objRef) CfnBrowserSettings(software.constructs.Construct scope, String id) Create a newAWS::WorkSpacesWeb::BrowserSettings.CfnBrowserSettings(software.constructs.Construct scope, String id, CfnBrowserSettingsProps props) Create a newAWS::WorkSpacesWeb::BrowserSettings. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForBrowserSettings(IBrowserSettingsRef resource) Additional encryption context of the browser settings.A list of web portal ARNs that the browser settings resource is associated with.The ARN of the browser settings.A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.A reference to a BrowserSettings resource.Tag Manager which manages the tags for this resource.The custom managed key of the browser settings.getTags()The tags to add to the browser settings resource.The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnBrowserSettings.renderProperties(Map<String, Object> props) voidAdditional encryption context of the browser settings.voidAdditional encryption context of the browser settings.voidsetBrowserPolicy(String value) A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions.voidsetCustomerManagedKey(String value) The custom managed key of the browser settings.voidThe tags to add to the browser settings resource.voidThe policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.voidThe policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.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
-
CfnBrowserSettings
protected CfnBrowserSettings(software.amazon.jsii.JsiiObjectRef objRef) -
CfnBrowserSettings
protected CfnBrowserSettings(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnBrowserSettings
@Stability(Stable) public CfnBrowserSettings(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnBrowserSettingsProps props) Create a newAWS::WorkSpacesWeb::BrowserSettings.- 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.
-
CfnBrowserSettings
@Stability(Stable) public CfnBrowserSettings(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::WorkSpacesWeb::BrowserSettings.- 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.
-
-
Method Details
-
arnForBrowserSettings
@Stability(Stable) @NotNull public static String arnForBrowserSettings(@NotNull IBrowserSettingsRef resource) - Parameters:
resource- This parameter is required.
-
isCfnBrowserSettings
Checks whether the given object is a CfnBrowserSettings.- Parameters:
x- This parameter is required.
-
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 the browser settings resource is associated with. -
getAttrBrowserSettingsArn
The ARN of the browser settings. -
getBrowserSettingsRef
A reference to a BrowserSettings resource.- Specified by:
getBrowserSettingsRefin interfaceIBrowserSettingsRef
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getAdditionalEncryptionContext
Additional encryption context of the browser settings.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable -
setAdditionalEncryptionContext
Additional encryption context of the browser settings. -
setAdditionalEncryptionContext
Additional encryption context of the browser settings. -
getBrowserPolicy
A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions. -
setBrowserPolicy
A JSON string containing Chrome Enterprise policies that will be applied to all streaming sessions. -
getCustomerManagedKey
The custom managed key of the browser settings. -
setCustomerManagedKey
The custom managed key of the browser settings. -
getTags
The tags to add to the browser settings resource. -
setTags
The tags to add to the browser settings resource. -
getWebContentFilteringPolicy
The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.Returns union: either
IResolvableorCfnBrowserSettings.WebContentFilteringPolicyProperty -
setWebContentFilteringPolicy
The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security. -
setWebContentFilteringPolicy
@Stability(Stable) public void setWebContentFilteringPolicy(@Nullable CfnBrowserSettings.WebContentFilteringPolicyProperty value) The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.
-