Interface CfnInputProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnInputProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:37.222Z") @Stability(Stable) public interface CfnInputProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnInput.

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.*;
 CfnInputProps cfnInputProps = CfnInputProps.builder()
         .inputDefinition(InputDefinitionProperty.builder()
                 .attributes(List.of(AttributeProperty.builder()
                         .jsonPath("jsonPath")
                         .build()))
                 .build())
         // the properties below are optional
         .inputDescription("inputDescription")
         .inputName("inputName")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getInputDefinition

      @Stability(Stable) @NotNull Object getInputDefinition()
      The definition of the input.
    • getInputDescription

      @Stability(Stable) @Nullable default String getInputDescription()
      A brief description of the input.
    • getInputName

      @Stability(Stable) @Nullable default String getInputName()
      The name of the input.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnInputProps.Builder builder()
      Returns:
      a CfnInputProps.Builder of CfnInputProps