Skip to content

Put Notification Channel

fms_put_notification_channel R Documentation

Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs

Description

Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.

To perform this action outside of the console, you must first configure the SNS topic's access policy to allow the SnsRoleName to publish SNS logs. If the SnsRoleName provided is a role other than the AWSServiceRoleForFMS service-linked role, this role must have a trust relationship configured to allow the Firewall Manager service principal fms.amazonaws.com to assume this role. For information about configuring an SNS access policy, see Service roles for Firewall Manager in the Firewall Manager Developer Guide.

Usage

fms_put_notification_channel(SnsTopicArn, SnsRoleName)

Arguments

SnsTopicArn

[required] The Amazon Resource Name (ARN) of the SNS topic that collects notifications from Firewall Manager.

SnsRoleName

[required] The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record Firewall Manager activity.

Value

An empty list.

Request syntax

svc$put_notification_channel(
  SnsTopicArn = "string",
  SnsRoleName = "string"
)