interface PublishFindingToSnsParamsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnMitigationAction.PublishFindingToSnsParamsProperty |
Java | software.amazon.awscdk.services.iot.CfnMitigationAction.PublishFindingToSnsParamsProperty |
Python | aws_cdk.aws_iot.CfnMitigationAction.PublishFindingToSnsParamsProperty |
TypeScript | @aws-cdk/aws-iot » CfnMitigationAction » PublishFindingToSnsParamsProperty |
Parameters to define a mitigation action that publishes findings to Amazon SNS.
You can implement your own custom actions in response to the Amazon SNS messages.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot from '@aws-cdk/aws-iot';
const publishFindingToSnsParamsProperty: iot.CfnMitigationAction.PublishFindingToSnsParamsProperty = {
topicArn: 'topicArn',
};
Properties
Name | Type | Description |
---|---|---|
topic | string | The ARN of the topic to which you want to publish the findings. |
topicArn
Type:
string
The ARN of the topic to which you want to publish the findings.