Skip to content

Creates a response plan that automates the initial response to incidents

Description

Creates a response plan that automates the initial response to incidents. A response plan engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning of an incident.

Usage

ssmincidents_create_response_plan(actions, chatChannel, clientToken,
  displayName, engagements, incidentTemplate, integrations, name, tags)

Arguments

  • actions

    The actions that the response plan starts at the beginning of an incident.

  • chatChannel

    The Chatbot chat channel used for collaboration during an incident.

  • clientToken

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

  • displayName

    The long format of the response plan name. This field can contain spaces.

  • engagements

    The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.

  • incidentTemplate

    [required] Details used to create an incident when using this response plan.

  • integrations

    Information about third-party services integrated into the response plan.

  • name

    [required] The short format name of the response plan. Can't include spaces.

  • tags

    A list of tags that you are adding to the response plan.

Value

A list with the following syntax:

list(
  arn = "string"
)

Request syntax

svc$create_response_plan(
  actions = list(
    list(
      ssmAutomation = list(
        documentName = "string",
        documentVersion = "string",
        dynamicParameters = list(
          list(
            variable = "INCIDENT_RECORD_ARN"|"INVOLVED_RESOURCES"
          )
        ),
        parameters = list(
          list(
            "string"
          )
        ),
        roleArn = "string",
        targetAccount = "RESPONSE_PLAN_OWNER_ACCOUNT"|"IMPACTED_ACCOUNT"
      )
    )
  ),
  chatChannel = list(
    chatbotSns = list(
      "string"
    ),
    empty = list()
  ),
  clientToken = "string",
  displayName = "string",
  engagements = list(
    "string"
  ),
  incidentTemplate = list(
    dedupeString = "string",
    impact = 123,
    incidentTags = list(
      "string"
    ),
    notificationTargets = list(
      list(
        snsTopicArn = "string"
      )
    ),
    summary = "string",
    title = "string"
  ),
  integrations = list(
    list(
      pagerDutyConfiguration = list(
        name = "string",
        pagerDutyIncidentConfiguration = list(
          serviceId = "string"
        ),
        secretId = "string"
      )
    )
  ),
  name = "string",
  tags = list(
    "string"
  )
)