AWS::FMS::NotificationChannelDesignates the IAM role and Amazon Simple Notification Service (SNS) topic to use to record SNS logs. To perform this action outside of the console, you must configure the SNS topic to allow the role `AWSServiceRoleForFMS` to publish SNS logs. For more information, see [Firewall Manager required permissions for API actions](https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html) in the *AWS Firewall Manager Developer Guide* .
import { CfnNotificationChannel } from 'aws-cdk-lib/aws-fms';Or use the module namespace:
import * as fms from 'aws-cdk-lib/aws-fms';
// fms.CfnNotificationChannelConfiguration passed to the constructor as CfnNotificationChannelProps.
snsRoleNameRequiredstringThe Amazon Resource Name (ARN) of the IAM role that allows Amazon to record AWS Firewall Manager activity.
snsTopicArnRequiredstringThe Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-fmsAWS::FMS::NotificationChannel