Class CfnInput.AttributeProperty.Builder

java.lang.Object
software.amazon.awscdk.services.iotevents.CfnInput.AttributeProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInput.AttributeProperty>
Enclosing interface:
CfnInput.AttributeProperty

@Stability(Stable) public static final class CfnInput.AttributeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInput.AttributeProperty>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • jsonPath

      @Stability(Stable) public CfnInput.AttributeProperty.Builder jsonPath(String jsonPath)
      Parameters:
      jsonPath - An expression that specifies an attribute-value pair in a JSON structure. This parameter is required. 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>...

      Returns:
      this
    • build

      @Stability(Stable) public CfnInput.AttributeProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnInput.AttributeProperty>
      Returns:
      a new instance of CfnInput.AttributeProperty
      Throws:
      NullPointerException - if any required attribute was not provided