@Stability(value=Stable)
public static interface CfnInput.AttributeProperty
extends software.amazon.jsii.JsiiSerializable
Inputs are derived from messages sent to the AWS IoT Events system using BatchPutMessage . Each such message contains a JSON payload. Those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors.
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.*;
AttributeProperty attributeProperty = AttributeProperty.builder()
.jsonPath("jsonPath")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInput.AttributeProperty.Builder
A builder for
CfnInput.AttributeProperty |
static class |
CfnInput.AttributeProperty.Jsii$Proxy
An implementation for
CfnInput.AttributeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInput.AttributeProperty.Builder |
builder() |
String |
getJsonPath()
An expression that specifies an attribute-value pair in a JSON structure.
|
@Stability(value=Stable) @NotNull String getJsonPath()
Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events ( BatchPutMessage ). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the condition expressions used by detectors.
Syntax: <field-name>.<field-name>...
@Stability(value=Stable) static CfnInput.AttributeProperty.Builder builder()
CfnInput.AttributeProperty.Builder of CfnInput.AttributePropertyCopyright © 2022. All rights reserved.