Class CfnAlarmModel.SnsProperty
Information required to publish the Amazon SNS message.
Inheritance
System.Object
CfnAlarmModel.SnsProperty
Implements
Namespace: Amazon.CDK.AWS.IoTEvents
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SnsProperty : Object, CfnAlarmModel.ISnsProperty
Syntax (vb)
Public Class SnsProperty
Inherits Object
Implements CfnAlarmModel.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
Constructors
SnsProperty() |
Properties
Payload | You can configure the action payload when you send a message as an Amazon SNS push notification. |
TargetArn | The ARN of the Amazon SNS target where the message is sent. |
Constructors
SnsProperty()
public SnsProperty()
Properties
Payload
You can configure the action payload when you send a message as an Amazon SNS push notification.
public object Payload { get; set; }
Property Value
System.Object
Remarks
TargetArn
The ARN of the Amazon SNS target where the message is sent.
public string TargetArn { get; set; }
Property Value
System.String