Class CfnPortal
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.CfnPortal
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IPortalRef,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.144Z")
@Stability(Stable)
public class CfnPortal
extends CfnResource
implements IInspectable, IPortalRef, ITaggableV2
This resource specifies a web portal, which users use to start browsing sessions.
A Standard web portal can't start browsing sessions unless you have at defined and associated an IdentityProvider and NetworkSettings resource. An IAM Identity Center web portal does not require an IdentityProvider resource.
For more information about web portals, see What is Amazon WorkSpaces Secure Browser? .
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.*;
CfnPortal cfnPortal = CfnPortal.Builder.create(this, "MyCfnPortal")
.additionalEncryptionContext(Map.of(
"additionalEncryptionContextKey", "additionalEncryptionContext"))
.authenticationType("authenticationType")
.browserSettingsArn("browserSettingsArn")
.customerManagedKey("customerManagedKey")
.dataProtectionSettingsArn("dataProtectionSettingsArn")
.displayName("displayName")
.instanceType("instanceType")
.ipAccessSettingsArn("ipAccessSettingsArn")
.maxConcurrentSessions(123)
.networkSettingsArn("networkSettingsArn")
.sessionLoggerArn("sessionLoggerArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.trustStoreArn("trustStoreArn")
.userAccessLoggingSettingsArn("userAccessLoggingSettingsArn")
.userSettingsArn("userSettingsArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested 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.interfaces.workspacesweb.IPortalRef
IPortalRef.Jsii$Default, IPortalRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnPortal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPortal(software.amazon.jsii.JsiiObjectRef objRef) Create a newAWS::WorkSpacesWeb::Portal.CfnPortal(software.constructs.Construct scope, String id, CfnPortalProps props) Create a newAWS::WorkSpacesWeb::Portal. -
Method Summary
Modifier and TypeMethodDescriptionThe additional encryption context of the portal.The browser that users see when using a streaming session.The creation date of the web portal.The ARN of the web portal.The endpoint URL of the web portal that users access in order to start streaming sessions.The status of the web portal.The renderer that is used in streaming sessions.The SAML metadata of the service provider.A message that explains why the web portal is in its current status.The type of authentication integration points used when signing into the web portal.The ARN of the browser settings that is associated with this web portal.Tag Manager which manages the tags for this resource.The customer managed key of the web portal.The ARN of the data protection settings.The name of the web portal.The type and resources of the underlying instance.The ARN of the IP access settings that is associated with the web portal.The maximum number of concurrent sessions for the portal.The ARN of the network settings that is associated with the web portal.A reference to a Portal resource.The ARN of the session logger that is assocaited with the portal.getTags()The tags to add to the web portal.The ARN of the trust store that is associated with the web portal.The ARN of the user access logging settings that is associated with the web portal.The ARN of the user settings that is associated with the web portal.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe additional encryption context of the portal.voidThe additional encryption context of the portal.voidsetAuthenticationType(String value) The type of authentication integration points used when signing into the web portal.voidsetBrowserSettingsArn(String value) The ARN of the browser settings that is associated with this web portal.voidsetCustomerManagedKey(String value) The customer managed key of the web portal.voidThe ARN of the data protection settings.voidsetDisplayName(String value) The name of the web portal.voidsetInstanceType(String value) The type and resources of the underlying instance.voidsetIpAccessSettingsArn(String value) The ARN of the IP access settings that is associated with the web portal.voidsetMaxConcurrentSessions(Number value) The maximum number of concurrent sessions for the portal.voidsetNetworkSettingsArn(String value) The ARN of the network settings that is associated with the web portal.voidsetSessionLoggerArn(String value) The ARN of the session logger that is assocaited with the portal.voidThe tags to add to the web portal.voidsetTrustStoreArn(String value) The ARN of the trust store that is associated with the web portal.voidThe ARN of the user access logging settings that is associated with the web portal.voidsetUserSettingsArn(String value) The ARN of the user settings that is associated with the web portal.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
-
CfnPortal
protected CfnPortal(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPortal
protected CfnPortal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPortal
@Stability(Stable) public CfnPortal(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnPortalProps props) Create a newAWS::WorkSpacesWeb::Portal.- 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.
-
CfnPortal
@Stability(Stable) public CfnPortal(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::WorkSpacesWeb::Portal.- 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
-
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.
-
getAttrBrowserType
The browser that users see when using a streaming session. -
getAttrCreationDate
The creation date of the web portal. -
getAttrPortalArn
The ARN of the web portal. -
getAttrPortalEndpoint
The endpoint URL of the web portal that users access in order to start streaming sessions. -
getAttrPortalStatus
The status of the web portal. -
getAttrRendererType
The renderer that is used in streaming sessions. -
getAttrServiceProviderSamlMetadata
The SAML metadata of the service provider. -
getAttrStatusReason
A message that explains why the web portal is in its current status. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getPortalRef
A reference to a Portal resource.- Specified by:
getPortalRefin interfaceIPortalRef
-
getAdditionalEncryptionContext
The additional encryption context of the portal.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable -
setAdditionalEncryptionContext
The additional encryption context of the portal. -
setAdditionalEncryptionContext
The additional encryption context of the portal. -
getAuthenticationType
The type of authentication integration points used when signing into the web portal.Defaults to
Standard. -
setAuthenticationType
The type of authentication integration points used when signing into the web portal.Defaults to
Standard. -
getBrowserSettingsArn
The ARN of the browser settings that is associated with this web portal. -
setBrowserSettingsArn
The ARN of the browser settings that is associated with this web portal. -
getCustomerManagedKey
The customer managed key of the web portal. -
setCustomerManagedKey
The customer managed key of the web portal. -
getDataProtectionSettingsArn
The ARN of the data protection settings. -
setDataProtectionSettingsArn
The ARN of the data protection settings. -
getDisplayName
The name of the web portal. -
setDisplayName
The name of the web portal. -
getInstanceType
The type and resources of the underlying instance. -
setInstanceType
The type and resources of the underlying instance. -
getIpAccessSettingsArn
The ARN of the IP access settings that is associated with the web portal. -
setIpAccessSettingsArn
The ARN of the IP access settings that is associated with the web portal. -
getMaxConcurrentSessions
The maximum number of concurrent sessions for the portal. -
setMaxConcurrentSessions
The maximum number of concurrent sessions for the portal. -
getNetworkSettingsArn
The ARN of the network settings that is associated with the web portal. -
setNetworkSettingsArn
The ARN of the network settings that is associated with the web portal. -
getSessionLoggerArn
The ARN of the session logger that is assocaited with the portal. -
setSessionLoggerArn
The ARN of the session logger that is assocaited with the portal. -
getTags
The tags to add to the web portal. -
setTags
The tags to add to the web portal. -
getTrustStoreArn
The ARN of the trust store that is associated with the web portal. -
setTrustStoreArn
The ARN of the trust store that is associated with the web portal. -
getUserAccessLoggingSettingsArn
The ARN of the user access logging settings that is associated with the web portal. -
setUserAccessLoggingSettingsArn
The ARN of the user access logging settings that is associated with the web portal. -
getUserSettingsArn
The ARN of the user settings that is associated with the web portal. -
setUserSettingsArn
The ARN of the user settings that is associated with the web portal.
-