Skip to content

MessageContactProps

Properties for defining a MessageContact.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-messagecontact

Initializer

import ros_cdk_resourcemanager
ros_cdk_resourcemanager.MessageContactProps(
  email_address: typing.Union[str, IResolvable],
  message_contact_name: typing.Union[str, IResolvable],
  message_types: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
  title: typing.Union[str, IResolvable],
  phone_number: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
email_address typing.Union[str, ros_cdk_core.IResolvable] Property emailAddress: The email address of the contact.
message_contact_name typing.Union[str, ros_cdk_core.IResolvable] Property messageContactName: The name of the contact.
message_types typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property messageTypes: The types of messages received by the contact.
title typing.Union[str, ros_cdk_core.IResolvable] Property title: The job title of the contact.
phone_number typing.Union[str, ros_cdk_core.IResolvable] Property phoneNumber: The mobile phone number of the contact.

email_addressRequired

email_address: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property emailAddress: The email address of the contact.


message_contact_nameRequired

message_contact_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property messageContactName: The name of the contact.

The name must be unique in your resource directory. The name must be 2 to 12 characters in length and can contain only letters.


message_typesRequired

message_types: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property messageTypes: The types of messages received by the contact.


titleRequired

title: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property title: The job title of the contact.

Valid values:

  • FinanceDirector.
  • TechnicalDirector.
  • MaintenanceDirector.
  • CEO.
  • ProjectDirector.
  • Other.

phone_numberOptional

phone_number: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property phoneNumber: The mobile phone number of the contact.