interface SnsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoTEvents.CfnAlarmModelPropsMixin.SnsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiotevents#CfnAlarmModelPropsMixin_SnsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnAlarmModelPropsMixin.SnsProperty |
Python | aws_cdk.cfn_property_mixins.aws_iotevents.CfnAlarmModelPropsMixin.SnsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iotevents » CfnAlarmModelPropsMixin » 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.CfnAlarmModelPropsMixin.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