Class: Aws::IoTSiteWise::Types::CreatePortalRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iotsitewise/types.rb

Constant Summary collapse

SENSITIVE =
[:portal_contact_email, :notification_sender_email]

Instance Attribute Summary collapse

Instance Attribute Details

#alarmsTypes::Alarms

Contains the configuration information of an alarm created in an 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 *IoT SiteWise Application Guide*.

[1]: docs.aws.amazon.com/iot-sitewise/latest/appguide/monitor-alarms.html

Returns:



3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end

#client_tokenString

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don’t reuse this client token if a new idempotent request is required.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end

#notification_sender_emailString

The email address that sends alarm notifications.

If you use the [IoT Events managed Lambda function] to manage your emails, you must [verify the sender email address in Amazon SES].

[1]: docs.aws.amazon.com/iotevents/latest/developerguide/lambda-support.html [2]: docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html

Returns:

  • (String)


3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end

#portal_auth_modeString

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

  • ‘SSO` – The portal uses 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 *IoT SiteWise User Guide*. This option is only available in Amazon Web Services Regions other than the China Regions.

  • ‘IAM` – The portal uses Identity and Access Management to authenticate users and manage user permissions.

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

Default: ‘SSO`

[1]: docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-get-started.html#mon-gs-sso

Returns:

  • (String)


3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end

#portal_contact_emailString

The Amazon Web Services administrator’s contact email address.

Returns:

  • (String)


3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end

#portal_descriptionString

A description for the portal.

Returns:

  • (String)


3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end

#portal_logo_image_fileTypes::ImageFile

A logo image to display in the portal. Upload a square, high-resolution image. The image is displayed on a dark background.

Returns:



3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end

#portal_nameString

A friendly name for the portal.

Returns:

  • (String)


3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end

#portal_typeString

Define the type of portal. The value for IoT SiteWise Monitor (Classic) is ‘SITEWISE_PORTAL_V1`. The value for IoT SiteWise Monitor (AI-aware) is `SITEWISE_PORTAL_V2`.

Returns:

  • (String)


3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end

#portal_type_configurationHash<String,Types::PortalTypeEntry>

The configuration entry associated with the specific portal type. The value for IoT SiteWise Monitor (Classic) is ‘SITEWISE_PORTAL_V1`. The value for IoT SiteWise Monitor (AI-aware) is `SITEWISE_PORTAL_V2`.

Returns:



3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end

#role_arnString

The [ARN] of a service role that allows the portal’s users to access your IoT SiteWise resources on your behalf. For more information, see [Using service roles for IoT SiteWise Monitor] in the *IoT SiteWise User Guide*.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html [2]: docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-service-role.html

Returns:

  • (String)


3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end

#tagsHash<String,String>

A list of key-value pairs that contain metadata for the portal. For more information, see [Tagging your IoT SiteWise resources] in the *IoT SiteWise User Guide*.

[1]: docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html

Returns:

  • (Hash<String,String>)


3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
# File 'lib/aws-sdk-iotsitewise/types.rb', line 3376

class CreatePortalRequest < Struct.new(
  :portal_name,
  :portal_description,
  :portal_contact_email,
  :client_token,
  :portal_logo_image_file,
  :role_arn,
  :tags,
  :portal_auth_mode,
  :notification_sender_email,
  :alarms,
  :portal_type,
  :portal_type_configuration)
  SENSITIVE = [:portal_contact_email, :notification_sender_email]
  include Aws::Structure
end