interface PublishFindingToSnsParamsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnMitigationActionPropsMixin.PublishFindingToSnsParamsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnMitigationActionPropsMixin_PublishFindingToSnsParamsProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnMitigationActionPropsMixin.PublishFindingToSnsParamsProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnMitigationActionPropsMixin.PublishFindingToSnsParamsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » 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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const publishFindingToSnsParamsProperty: iot_mixins.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