Modifier and Type | Method and Description |
---|---|
CfnPortal.Builder |
alarms(java.lang.Object alarms)
Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal.
|
CfnPortal |
build() |
static CfnPortal.Builder |
create(Construct scope,
java.lang.String id) |
CfnPortal.Builder |
notificationSenderEmail(java.lang.String notificationSenderEmail)
The email address that sends alarm notifications.
|
CfnPortal.Builder |
portalAuthMode(java.lang.String portalAuthMode)
The service to use to authenticate users to the portal.
|
CfnPortal.Builder |
portalContactEmail(java.lang.String portalContactEmail)
The AWS administrator's contact email address.
|
CfnPortal.Builder |
portalDescription(java.lang.String portalDescription)
A description for the portal.
|
CfnPortal.Builder |
portalName(java.lang.String portalName)
A friendly name for the portal.
|
CfnPortal.Builder |
roleArn(java.lang.String 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.
|
CfnPortal.Builder |
tags(java.util.List<? extends CfnTag> tags)
A list of key-value pairs that contain metadata for the portal.
|
public static CfnPortal.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnPortal.Builder
.public CfnPortal.Builder portalContactEmail(java.lang.String portalContactEmail)
portalContactEmail
- The AWS administrator's contact email address. This parameter is required.this
public CfnPortal.Builder portalName(java.lang.String portalName)
portalName
- A friendly name for the portal. This parameter is required.this
public CfnPortal.Builder roleArn(java.lang.String roleArn)
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 CfnPortal.Builder alarms(java.lang.Object alarms)
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 .
alarms
- Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal. This parameter is required.this
public CfnPortal.Builder notificationSenderEmail(java.lang.String notificationSenderEmail)
If you use the AWS IoT Events managed Lambda function to manage your emails, you must verify the sender email address in Amazon SES .
notificationSenderEmail
- The email address that sends alarm notifications. This parameter is required.this
public CfnPortal.Builder portalAuthMode(java.lang.String portalAuthMode)
SSO
– The portal uses AWS Single Sign-On to authenticate users and manage user permissions. Before you can create a portal that uses AWS SSO , you must enable AWS SSO . For more information, see Enabling AWS SSO 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
portalAuthMode
- The service to use to authenticate users to the portal. Choose from the following options:. This parameter is required.this
public CfnPortal.Builder portalDescription(java.lang.String portalDescription)
portalDescription
- A description for the portal. This parameter is required.this
public CfnPortal.Builder tags(java.util.List<? extends CfnTag> tags)
For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .
tags
- A list of key-value pairs that contain metadata for the portal. This parameter is required.this
public CfnPortal build()