Class CfnNotificationChannel
Designates the IAM role and Amazon Simple Notification Service (SNS) topic to use to record SNS logs.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.FMS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnNotificationChannel : CfnResource, IInspectable
Syntax (vb)
Public Class CfnNotificationChannel
Inherits CfnResource
Implements IInspectable
Remarks
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(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 |
CfnNotificationChannel(Construct, String, ICfnNotificationChannelProps) |
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(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
CfnNotificationChannel(Construct, String, ICfnNotificationChannelProps)
public CfnNotificationChannel(Construct scope, string id, ICfnNotificationChannelProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnNotificationChannelProps
Resource properties.
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
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
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>