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.iotsitewise.CfnPortal
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-04T00:39:33.778Z")
@Stability(Stable)
public class CfnPortal
extends CfnResource
implements IInspectable, ITaggable
Creates a portal, which can contain projects and dashboards.
AWS IoT SiteWise Monitor uses IAM Identity Center or IAM to authenticate portal users and manage user permissions.
Before you can sign in to a new portal, you must add at least one identity to that portal. For more information, see Adding or removing portal administrators in the AWS IoT SiteWise User Guide .
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.iotsitewise.*; Object alarms; CfnPortal cfnPortal = CfnPortal.Builder.create(this, "MyCfnPortal") .portalContactEmail("portalContactEmail") .portalName("portalName") .roleArn("roleArn") // the properties below are optional .alarms(alarms) .notificationSenderEmail("notificationSenderEmail") .portalAuthMode("portalAuthMode") .portalDescription("portalDescription") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal.static final class
A fluent builder forCfnPortal
.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.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnPortal
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnPortal
(software.amazon.jsii.JsiiObjectRef objRef) CfnPortal
(software.constructs.Construct scope, String id, CfnPortalProps props) -
Method Summary
Modifier and TypeMethodDescriptionContains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal.The ARN of the portal, which has the following format.The IAM Identity Center application generated client ID (used with IAM Identity Center APIs).The ID of the created portal.The public URL for the AWS IoT SiteWise Monitor portal.The email address that sends alarm notifications.The service to use to authenticate users to the portal.The AWS administrator's contact email address.A description for the portal.A friendly name for the portal.The ARN of a service role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf.getTags()
Tag Manager which manages the tags for this resource.A list of key-value pairs that contain metadata for the portal.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal.void
setNotificationSenderEmail
(String value) The email address that sends alarm notifications.void
setPortalAuthMode
(String value) The service to use to authenticate users to the portal.void
setPortalContactEmail
(String value) The AWS administrator's contact email address.void
setPortalDescription
(String value) A description for the portal.void
setPortalName
(String value) A friendly name for the portal.void
setRoleArn
(String value) The ARN of a service role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf.void
setTagsRaw
(List<CfnTag> value) A list of key-value pairs that contain metadata for the portal.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
-
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, @NotNull CfnPortalProps 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.
-
getAttrPortalArn
The ARN of the portal, which has the following format.arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}
-
getAttrPortalClientId
The IAM Identity Center application generated client ID (used with IAM Identity Center APIs). -
getAttrPortalId
The ID of the created portal. -
getAttrPortalStartUrl
The public URL for the AWS IoT SiteWise Monitor portal. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getPortalContactEmail
The AWS administrator's contact email address. -
setPortalContactEmail
The AWS administrator's contact email address. -
getPortalName
A friendly name for the portal. -
setPortalName
A friendly name for the portal. -
getRoleArn
The ARN of a service role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf. For more information, see Using service roles for AWS IoT SiteWise Monitor in the AWS IoT SiteWise User Guide . -
setRoleArn
The ARN of a service role that allows the portal's users to access your AWS IoT SiteWise resources on your behalf. For more information, see Using service roles for AWS IoT SiteWise Monitor in the AWS IoT SiteWise User Guide . -
getAlarms
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal. -
setAlarms
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal. -
getNotificationSenderEmail
The email address that sends alarm notifications. -
setNotificationSenderEmail
The email address that sends alarm notifications. -
getPortalAuthMode
The service to use to authenticate users to the portal.Choose from the following options:.
-
setPortalAuthMode
The service to use to authenticate users to the portal.Choose from the following options:.
-
getPortalDescription
A description for the portal. -
setPortalDescription
A description for the portal. -
getTagsRaw
A list of key-value pairs that contain metadata for the portal. -
setTagsRaw
A list of key-value pairs that contain metadata for the portal.
-