Interface CfnDetectorModel.ISnsProperty
Information required to publish the Amazon SNS message.
Namespace: Amazon.CDK.AWS.IoTEvents
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISnsProperty
Syntax (vb)
Public Interface ISnsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTEvents;
var snsProperty = new SnsProperty {
TargetArn = "targetArn",
// the properties below are optional
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
}
};
Synopsis
Properties
Payload | You can configure the action payload when you send a message as an Amazon SNS push notification. |
Target |
The ARN of the Amazon SNS target where the message is sent. |
Properties
Payload
You can configure the action payload when you send a message as an Amazon SNS push notification.
virtual object Payload { get; }
Property Value
System.
Remarks
TargetArn
The ARN of the Amazon SNS target where the message is sent.
string TargetArn { get; }
Property Value
System.