CfnPortalProps

class aws_cdk.aws_iotsitewise.CfnPortalProps(*, portal_contact_email, portal_name, role_arn, alarms=None, notification_sender_email=None, portal_auth_mode=None, portal_description=None, tags=None)

Bases: object

Properties for defining a CfnPortal.

Parameters:
  • portal_contact_email (str) – The AWS administrator’s contact email address.

  • portal_name (str) – A friendly name for the portal.

  • role_arn (str) – 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 .

  • alarms (Any) – 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 .

  • notification_sender_email (Optional[str]) – The email address that sends alarm notifications. .. epigraph:: If you use the AWS IoT Events managed Lambda function to manage your emails, you must verify the sender email address in Amazon SES .

  • portal_auth_mode (Optional[str]) – The service to use to authenticate users to the portal. Choose from the following options:. - SSO – The portal uses AWS IAM Identity Center 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 to authenticate users and manage user permissions. You can’t change this value after you create a portal. Default: SSO

  • portal_description (Optional[str]) – A description for the portal.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – 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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotsitewise as iotsitewise

# alarms: Any

cfn_portal_props = iotsitewise.CfnPortalProps(
    portal_contact_email="portalContactEmail",
    portal_name="portalName",
    role_arn="roleArn",

    # the properties below are optional
    alarms=alarms,
    notification_sender_email="notificationSenderEmail",
    portal_auth_mode="portalAuthMode",
    portal_description="portalDescription",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-alarms

notification_sender_email

The email address that sends alarm notifications.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-notificationsenderemail

portal_auth_mode

.

  • SSO – The portal uses AWS IAM Identity Center 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 to authenticate users and manage user permissions.

You can’t change this value after you create a portal.

Default: SSO

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-portalauthmode

Type:

The service to use to authenticate users to the portal. Choose from the following options

portal_contact_email

The AWS administrator’s contact email address.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-portalcontactemail

portal_description

A description for the portal.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-portaldescription

portal_name

A friendly name for the portal.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-portalname

role_arn

//docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-service-role.html>`_ in the AWS IoT SiteWise User Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-rolearn

Type:

The `ARN <https

Type:

//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

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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-tags