interface SnsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoTEvents.CfnDetectorModel.SnsProperty |
Java | software.amazon.awscdk.services.iotevents.CfnDetectorModel.SnsProperty |
Python | aws_cdk.aws_iotevents.CfnDetectorModel.SnsProperty |
TypeScript | @aws-cdk/aws-iotevents » CfnDetectorModel » 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 * as iotevents from '@aws-cdk/aws-iotevents';
const snsProperty: iotevents.CfnDetectorModel.SnsProperty = {
targetArn: 'targetArn',
// the properties below are optional
payload: {
contentExpression: 'contentExpression',
type: 'type',
},
};
Properties
Name | Type | Description |
---|---|---|
target | string | The ARN of the Amazon SNS target where the message is sent. |
payload? | IResolvable | Payload | You can configure the action payload when you send a message as an Amazon SNS push notification. |
targetArn
Type:
string
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.