interface PublishFindingToSnsParamsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoT.CfnMitigationActionPropsMixin.PublishFindingToSnsParamsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiot#CfnMitigationActionPropsMixin_PublishFindingToSnsParamsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iot.CfnMitigationActionPropsMixin.PublishFindingToSnsParamsProperty |
Python | aws_cdk.cfn_property_mixins.aws_iot.CfnMitigationActionPropsMixin.PublishFindingToSnsParamsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iot » CfnMitigationActionPropsMixin » 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/cfn-property-mixins';
const publishFindingToSnsParamsProperty: iot.CfnMitigationActionPropsMixin.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
(optional)
The ARN of the topic to which you want to publish the findings.

.NET
Go
Java
Python
TypeScript