Class CfnAlarmModelPropsMixin.SnsProperty
Information required to publish the Amazon SNS message.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAlarmModelPropsMixin.SnsProperty : CfnAlarmModelPropsMixin.ISnsProperty
Syntax (vb)
Public Class CfnAlarmModelPropsMixin.SnsProperty Implements CfnAlarmModelPropsMixin.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.Mixins.Preview.AWS.IoTEvents.Mixins;
var snsProperty = new SnsProperty {
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
TargetArn = "targetArn"
};
Synopsis
Constructors
| SnsProperty() | Information required to publish the Amazon SNS message. |
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()
Information required to publish the Amazon SNS message.
public SnsProperty()
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.Mixins.Preview.AWS.IoTEvents.Mixins;
var snsProperty = new SnsProperty {
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
TargetArn = "targetArn"
};
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
Remarks
TargetArn
The ARN of the Amazon SNS target where the message is sent.
public string? TargetArn { get; set; }