Class Input.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.alpha.Input.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Input>
- Enclosing class:
Input
@Stability(Experimental)
public static final class Input.Builder
extends Object
implements software.amazon.jsii.Builder<Input>
(experimental) A fluent builder for
Input
.-
Method Summary
Modifier and TypeMethodDescriptionattributeJsonPaths
(List<String> attributeJsonPaths) (experimental) An expression that specifies an attribute-value pair in a JSON structure.build()
static Input.Builder
(experimental) The name of the input.
-
Method Details
-
create
@Stability(Experimental) public static Input.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
Input.Builder
.
-
attributeJsonPaths
(experimental) 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 the condition expressions used by detectors.
- Parameters:
attributeJsonPaths
- An expression that specifies an attribute-value pair in a JSON structure. This parameter is required.- Returns:
this
-
inputName
(experimental) The name of the input.Default: - CloudFormation will generate a unique name of the input
- Parameters:
inputName
- The name of the input. This parameter is required.- Returns:
this
-
build
-