@Stability(value=Stable)
public static interface CfnAlarmModel.SnsProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAlarmModel.SnsProperty.Builder
A builder for
CfnAlarmModel.SnsProperty |
static class |
CfnAlarmModel.SnsProperty.Jsii$Proxy
An implementation for
CfnAlarmModel.SnsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAlarmModel.SnsProperty.Builder |
builder() |
default Object |
getPayload()
You can configure the action payload when you send a message as an Amazon SNS push notification.
|
String |
getTargetArn()
The ARN of the Amazon SNS target where the message is sent.
|
@Stability(value=Stable) @NotNull String getTargetArn()
@Stability(value=Stable) @Nullable default Object getPayload()
@Stability(value=Stable) static CfnAlarmModel.SnsProperty.Builder builder()
CfnAlarmModel.SnsProperty.Builder of CfnAlarmModel.SnsPropertyCopyright © 2022. All rights reserved.