Interface CfnFunction.KinesisEventProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFunction.KinesisEventProperty.Jsii$Proxy
Enclosing class:
CfnFunction

@Stability(Stable) public static interface CfnFunction.KinesisEventProperty extends software.amazon.jsii.JsiiSerializable
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.sam.*;
 KinesisEventProperty kinesisEventProperty = KinesisEventProperty.builder()
         .startingPosition("startingPosition")
         .stream("stream")
         // the properties below are optional
         .batchSize(123)
         .enabled(false)
         .functionResponseTypes(List.of("functionResponseTypes"))
         .build();
 
  • Method Details

    • getStartingPosition

      @Stability(Stable) @NotNull String getStartingPosition()
      CfnFunction.KinesisEventProperty.StartingPosition.
    • getStream

      @Stability(Stable) @NotNull String getStream()
      CfnFunction.KinesisEventProperty.Stream.
    • getBatchSize

      @Stability(Stable) @Nullable default Number getBatchSize()
      CfnFunction.KinesisEventProperty.BatchSize.
    • getEnabled

      @Stability(Stable) @Nullable default Object getEnabled()
      CfnFunction.KinesisEventProperty.Enabled.
    • getFunctionResponseTypes

      @Stability(Stable) @Nullable default List<String> getFunctionResponseTypes()
      CfnFunction.KinesisEventProperty.FunctionResponseTypes.
    • builder

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