FMS / Client / put_notification_channel

put_notification_channel#

FMS.Client.put_notification_channel(**kwargs)#

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 configure the SNS topic to allow the Firewall Manager role AWSServiceRoleForFMS to publish SNS logs. For more information, see Firewall Manager required permissions for API actions in the Firewall Manager Developer Guide.

See also: AWS API Documentation

Request Syntax

response = client.put_notification_channel(
    SnsTopicArn='string',
    SnsRoleName='string'
)
Parameters:
  • SnsTopicArn (string) –

    [REQUIRED]

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

  • SnsRoleName (string) –

    [REQUIRED]

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

Returns:

None

Exceptions

  • FMS.Client.exceptions.ResourceNotFoundException

  • FMS.Client.exceptions.InvalidOperationException

  • FMS.Client.exceptions.InternalErrorException