Skip to content

MessageContactProps

Properties for defining a MessageContact.

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

Initializer

import { MessageContactProps } from '@alicloud/ros-cdk-resourcemanager'
const messageContactProps: MessageContactProps = { ... }

Properties

Name Type Description
emailAddress string | @alicloud/ros-cdk-core.IResolvable Property emailAddress: The email address of the contact.
messageContactName string | @alicloud/ros-cdk-core.IResolvable Property messageContactName: The name of the contact.
messageTypes @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property messageTypes: The types of messages received by the contact.
title string | @alicloud/ros-cdk-core.IResolvable Property title: The job title of the contact.
phoneNumber string | @alicloud/ros-cdk-core.IResolvable Property phoneNumber: The mobile phone number of the contact.

emailAddressRequired

public readonly emailAddress: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property emailAddress: The email address of the contact.


messageContactNameRequired

public readonly messageContactName: string | IResolvable;
  • Type: string | @alicloud/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.


messageTypesRequired

public readonly messageTypes: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

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


titleRequired

public readonly title: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property title: The job title of the contact.

Valid values: * FinanceDirector. * TechnicalDirector. * MaintenanceDirector. * CEO. * ProjectDirector. * Other.


phoneNumberOptional

public readonly phoneNumber: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property phoneNumber: The mobile phone number of the contact.