public static final class CfnPortalProps.Builder
extends java.lang.Object
CfnPortalProps
Constructor and Description |
---|
Builder() |
public CfnPortalProps.Builder portalContactEmail(java.lang.String portalContactEmail)
CfnPortalProps.getPortalContactEmail()
portalContactEmail
- The AWS administrator's contact email address. This parameter is required.this
public CfnPortalProps.Builder portalName(java.lang.String portalName)
CfnPortalProps.getPortalName()
portalName
- A friendly name for the portal. This parameter is required.this
public CfnPortalProps.Builder roleArn(java.lang.String roleArn)
CfnPortalProps.getRoleArn()
roleArn
- The [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) 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](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-service-role.html) in the *AWS IoT SiteWise User Guide* . This parameter is required.this
public CfnPortalProps.Builder alarms(java.lang.Object alarms)
CfnPortalProps.getAlarms()
alarms
- Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal.
You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the AWS IoT SiteWise Application Guide .this
public CfnPortalProps.Builder notificationSenderEmail(java.lang.String notificationSenderEmail)
CfnPortalProps.getNotificationSenderEmail()
notificationSenderEmail
- The email address that sends alarm notifications.
If you use the AWS IoT Events managed Lambda function to manage your emails, you must verify the sender email address in Amazon SES .
this
public CfnPortalProps.Builder portalAuthMode(java.lang.String portalAuthMode)
CfnPortalProps.getPortalAuthMode()
portalAuthMode
- The service to use to authenticate users to the portal. Choose from the following options:.
SSO
– The portal uses AWS IAM Identity Center (successor to AWS Single Sign-On) to authenticate users and manage user permissions. Before you can create a portal that uses IAM Identity Center , you must enable IAM Identity Center . For more information, see Enabling IAM Identity Center in the AWS IoT SiteWise User Guide . This option is only available in AWS Regions other than the China Regions.IAM
– The portal uses AWS Identity and Access Management ( IAM ) to authenticate users and manage user permissions.You can't change this value after you create a portal.
Default: SSO
this
public CfnPortalProps.Builder portalDescription(java.lang.String portalDescription)
CfnPortalProps.getPortalDescription()
portalDescription
- A description for the portal.this
public CfnPortalProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnPortalProps.getTags()
tags
- A list of key-value pairs that contain metadata for the portal.
For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .this
public CfnPortalProps build()
CfnPortalProps
java.lang.NullPointerException
- if any required attribute was not provided