Interface CfnDetectorModel.SnsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDetectorModel.SnsProperty.Jsii$Proxy
- Enclosing class:
- CfnDetectorModel
@Stability(Stable)
public static interface CfnDetectorModel.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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDetectorModel.SnsPropertystatic final classAn implementation forCfnDetectorModel.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. -
getPayload
You can configure the action payload when you send a message as an Amazon SNS push notification. -
builder
-