Class CfnNotificationChannel
A CloudFormation AWS::FMS::NotificationChannel
.
Inherited Members
Namespace: Amazon.CDK.AWS.FMS
Assembly: Amazon.CDK.AWS.FMS.dll
Syntax (csharp)
public class CfnNotificationChannel : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnNotificationChannel
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Designates 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 in the AWS Firewall Manager Developer Guide .
CloudformationResource: AWS::FMS::NotificationChannel
ExampleMetadata: fixture=_generated
Examples
// 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 cfnNotificationChannel = new CfnNotificationChannel(this, "MyCfnNotificationChannel", new CfnNotificationChannelProps {
SnsRoleName = "snsRoleName",
SnsTopicArn = "snsTopicArn"
});
Synopsis
Constructors
CfnNotificationChannel(Construct, String, ICfnNotificationChannelProps) | Create a new |
CfnNotificationChannel(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnNotificationChannel(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
SnsRoleName | The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record AWS Firewall Manager activity. |
SnsTopicArn | The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager . |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnNotificationChannel(Construct, String, ICfnNotificationChannelProps)
Create a new AWS::FMS::NotificationChannel
.
public CfnNotificationChannel(Construct scope, string id, ICfnNotificationChannelProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnNotificationChannelProps
- resource properties.
CfnNotificationChannel(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnNotificationChannel(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnNotificationChannel(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnNotificationChannel(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
SnsRoleName
The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record AWS Firewall Manager activity.
public virtual string SnsRoleName { get; set; }
Property Value
System.String
Remarks
SnsTopicArn
The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager .
public virtual string SnsTopicArn { get; set; }
Property Value
System.String
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>