public static interface CfnDetectorModel.SnsProperty
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 |
CfnDetectorModel.SnsProperty.Builder
A builder for
CfnDetectorModel.SnsProperty |
static class |
CfnDetectorModel.SnsProperty.Jsii$Proxy
An implementation for
CfnDetectorModel.SnsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDetectorModel.SnsProperty.Builder |
builder() |
default java.lang.Object |
getPayload()
You can configure the action payload when you send a message as an Amazon SNS push notification.
|
java.lang.String |
getTargetArn()
The ARN of the Amazon SNS target where the message is sent.
|
java.lang.String getTargetArn()
default java.lang.Object getPayload()
static CfnDetectorModel.SnsProperty.Builder builder()