class Aws::SSMContacts::Types::CreateContactRequest

@note When making an API call, you may pass CreateContactRequest

data as a hash:

    {
      alias: "ContactAlias", # required
      display_name: "ContactName",
      type: "PERSONAL", # required, accepts PERSONAL, ESCALATION
      plan: { # required
        stages: [ # required
          {
            duration_in_minutes: 1, # required
            targets: [ # required
              {
                channel_target_info: {
                  contact_channel_id: "SsmContactsArn", # required
                  retry_interval_in_minutes: 1,
                },
                contact_target_info: {
                  contact_id: "SsmContactsArn",
                  is_essential: false, # required
                },
              },
            ],
          },
        ],
      },
      tags: [
        {
          key: "TagKey",
          value: "TagValue",
        },
      ],
      idempotency_token: "IdempotencyToken",
    }

@!attribute [rw] alias

The short name to quickly identify a contact or escalation plan. The
contact alias must be unique and identifiable.
@return [String]

@!attribute [rw] display_name

The full name of the contact or escalation plan.
@return [String]

@!attribute [rw] type

To create an escalation plan use `ESCALATION`. To create a contact
use `PERSONAL`.
@return [String]

@!attribute [rw] plan

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.
@return [Types::Plan]

@!attribute [rw] tags

Adds a tag to the target. You can only tag resources created in the
first Region of your replication set.
@return [Array<Types::Tag>]

@!attribute [rw] idempotency_token

A token ensuring that the operation is called only once with the
specified details.

**A suitable default value is auto-generated.** You should normally
not need to pass this option.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/CreateContactRequest AWS API Documentation

Constants

SENSITIVE