Class CfnMitigationAction.PublishFindingToSnsParamsProperty
Parameters to define a mitigation action that publishes findings to Amazon SNS.
Inheritance
System.Object
CfnMitigationAction.PublishFindingToSnsParamsProperty
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PublishFindingToSnsParamsProperty : Object, CfnMitigationAction.IPublishFindingToSnsParamsProperty
Syntax (vb)
Public Class PublishFindingToSnsParamsProperty
Inherits Object
Implements CfnMitigationAction.IPublishFindingToSnsParamsProperty
Remarks
You can implement your own custom actions in response to the Amazon SNS messages.
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.IoT;
var publishFindingToSnsParamsProperty = new PublishFindingToSnsParamsProperty {
TopicArn = "topicArn"
};
Synopsis
Constructors
PublishFindingToSnsParamsProperty() |
Properties
TopicArn | The ARN of the topic to which you want to publish the findings. |
Constructors
PublishFindingToSnsParamsProperty()
public PublishFindingToSnsParamsProperty()
Properties
TopicArn
The ARN of the topic to which you want to publish the findings.
public string TopicArn { get; set; }
Property Value
System.String