Skip to content

Add Notification Channel

devopsguru_add_notification_channel R Documentation

Adds a notification channel to DevOps Guru

Description

Adds a notification channel to DevOps Guru. A notification channel is used to notify you about important DevOps Guru events, such as when an insight is generated.

If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for Amazon SNS topics.

If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics.

Usage

devopsguru_add_notification_channel(Config)

Arguments

Config

[required] A NotificationChannelConfig object that specifies what type of notification channel to add. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).

Value

A list with the following syntax:

list(
  Id = "string"
)

Request syntax

svc$add_notification_channel(
  Config = list(
    Sns = list(
      TopicArn = "string"
    ),
    Filters = list(
      Severities = list(
        "LOW"|"MEDIUM"|"HIGH"
      ),
      MessageTypes = list(
        "NEW_INSIGHT"|"CLOSED_INSIGHT"|"NEW_ASSOCIATION"|"SEVERITY_UPGRADED"|"NEW_RECOMMENDATION"
      )
    )
  )
)