Interface CfnInput.AttributeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInput.AttributeProperty.Jsii$Proxy
- Enclosing class:
CfnInput
@Stability(Stable)
public static interface CfnInput.AttributeProperty
extends software.amazon.jsii.JsiiSerializable
The attributes from the JSON payload that are made available by the input.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnInput.AttributeProperty
static final class
An implementation forCfnInput.AttributeProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
An expression that specifies an attribute-value pair in a JSON structure.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJsonPath
An expression that specifies an attribute-value pair in a JSON structure.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 thecondition
expressions used by detectors.Syntax:
<field-name>.<field-name>...
-
builder
- Returns:
- a
CfnInput.AttributeProperty.Builder
ofCfnInput.AttributeProperty
-