interface SnsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoTEvents.CfnDetectorModelPropsMixin.SnsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiotevents#CfnDetectorModelPropsMixin_SnsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnDetectorModelPropsMixin.SnsProperty |
Python | aws_cdk.cfn_property_mixins.aws_iotevents.CfnDetectorModelPropsMixin.SnsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iotevents » CfnDetectorModelPropsMixin » SnsProperty |
Information required to publish the Amazon SNS message.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotevents as iotevents } from '@aws-cdk/cfn-property-mixins';
const snsProperty: iotevents.CfnDetectorModelPropsMixin.SnsProperty = {
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
targetArn: 'targetArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| payload? | IResolvable | Payload | You can configure the action payload when you send a message as an Amazon SNS push notification. |
| target | string | ITopic | The ARN of the Amazon SNS target where the message is sent. |
payload?
Type:
IResolvable | Payload
(optional)
You can configure the action payload when you send a message as an Amazon SNS push notification.
targetArn?
Type:
string | ITopic
(optional)
The ARN of the Amazon SNS target where the message is sent.

.NET
Go
Java
Python
TypeScript