CfnNotificationChannelProps Struct
Properties for defining a CfnNotificationChannel.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fms as fms } from 'aws-cdk-lib';
const cfnNotificationChannelProps: fms.CfnNotificationChannelProps = {
snsRoleName: 'snsRoleName',
snsTopicArn: 'snsTopicArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_fms as fms
cfn_notification_channel_props = fms.CfnNotificationChannelProps(
sns_role_name="snsRoleName",
sns_topic_arn="snsTopicArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fms.*;
CfnNotificationChannelProps cfnNotificationChannelProps = CfnNotificationChannelProps.builder()
.snsRoleName("snsRoleName")
.snsTopicArn("snsTopicArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FMS;
var cfnNotificationChannelProps = new CfnNotificationChannelProps {
SnsRoleName = "snsRoleName",
SnsTopicArn = "snsTopicArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnNotificationChannelProps := &CfnNotificationChannelProps{
SnsRoleName: jsii.String("snsRoleName"),
SnsTopicArn: jsii.String("snsTopicArn"),
}
Properties
The Amazon Resource Name (ARN) of the IAM role that allows Amazon to record AWS Firewall Manager activity.
The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager .