Interface CfnAlarmModel.SnsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlarmModel.SnsProperty.Jsii$Proxy
- Enclosing class:
CfnAlarmModel
@Stability(Stable)
public static interface CfnAlarmModel.SnsProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.iotevents.*; SnsProperty snsProperty = SnsProperty.builder() .targetArn("targetArn") // the properties below are optional .payload(PayloadProperty.builder() .contentExpression("contentExpression") .type("type") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAlarmModel.SnsProperty
static final class
An implementation forCfnAlarmModel.SnsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargetArn
The ARN of the Amazon SNS target where the message is sent.- See Also:
-
getPayload
You can configure the action payload when you send a message as an Amazon SNS push notification.- See Also:
-
builder
- Returns:
- a
CfnAlarmModel.SnsProperty.Builder
ofCfnAlarmModel.SnsProperty
-