interface SnsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins.CfnDetectorModelPropsMixin.SnsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotevents/mixins#CfnDetectorModelPropsMixin_SnsProperty |
Java | software.amazon.awscdk.mixins.preview.services.iotevents.mixins.CfnDetectorModelPropsMixin.SnsProperty |
Python | aws_cdk.mixins_preview.aws_iotevents.mixins.CfnDetectorModelPropsMixin.SnsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iotevents » mixins » 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 { mixins as iotevents_mixins } from '@aws-cdk/mixins-preview/aws-iotevents';
const snsProperty: iotevents_mixins.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 | 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
(optional)
The ARN of the Amazon SNS target where the message is sent.

.NET
Go
Java
Python
TypeScript