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 first configure the SNS topic’s access policy to allow the
SnsRoleName
to publish SNS logs. If theSnsRoleName
provided is a role other than theAWSServiceRoleForFMS
service-linked role, this role must have a trust relationship configured to allow the Firewall Manager service principalfms.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.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