Show / Hide Table of Contents

Class CfnAlarmModelPropsMixin.SnsProperty

Information required to publish the Amazon SNS message.

Inheritance
object
CfnAlarmModelPropsMixin.SnsProperty
Implements
CfnAlarmModelPropsMixin.ISnsProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-sns.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-sns.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-sns.html#cfn-iotevents-alarmmodel-sns-payload

Type union: either IResolvable or CfnAlarmModelPropsMixin.IPayloadProperty

TargetArn

The ARN of the Amazon SNS target where the message is sent.

public string? TargetArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-sns.html#cfn-iotevents-alarmmodel-sns-targetarn

Implements

CfnAlarmModelPropsMixin.ISnsProperty
Back to top Generated by DocFX