Skip to content
v2.275.0

CfnContactProps Struct ​

Properties for defining a CfnContact.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssmcontacts as ssmcontacts } from 'aws-cdk-lib';
const cfnContactProps: ssmcontacts.CfnContactProps = {
  alias: 'alias',
  displayName: 'displayName',
  type: 'type',

  // the properties below are optional
  plan: [{
    durationInMinutes: 123,
    rotationIds: ['rotationIds'],
    targets: [{
      channelTargetInfo: {
        channelId: 'channelId',
        retryIntervalInMinutes: 123,
      },
      contactTargetInfo: {
        contactId: 'contactId',
        isEssential: false,
      },
    }],
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

aliasstringaliasstraliasStringAliasstringAlias*stringrequired#
The unique and identifiable alias of the contact or escalation plan.
displayNamestringdisplay_namestrdisplayNameStringDisplayNamestringDisplayName*stringrequired#
The full name of the contact or escalation plan.
planoptionalIResolvable | IResolvable | CfnContact.StageProperty[]planoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, StageProperty]]]planoptionalIResolvablePlanoptionalIResolvablePlanoptionalinterface{}#
A list of stages.

A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
typestringtypestrtypeStringTypestringType*stringrequired#
The type of contact.
  • PERSONAL : A single, individual contact.
  • ESCALATION : An escalation plan.
  • ONCALL_SCHEDULE : An on-call schedule.