interface PublishFindingToSnsParamsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnMitigationAction.PublishFindingToSnsParamsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnMitigationAction_PublishFindingToSnsParamsProperty |
Java | software.amazon.awscdk.services.iot.CfnMitigationAction.PublishFindingToSnsParamsProperty |
Python | aws_cdk.aws_iot.CfnMitigationAction.PublishFindingToSnsParamsProperty |
TypeScript | aws-cdk-lib » 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 { aws_iot as iot } from 'aws-cdk-lib';
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.