Interface CfnFunction.DynamoDBEventProperty

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

@Stability(Stable) public static interface CfnFunction.DynamoDBEventProperty 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.*;
 DynamoDBEventProperty dynamoDBEventProperty = DynamoDBEventProperty.builder()
         .startingPosition("startingPosition")
         .stream("stream")
         // the properties below are optional
         .batchSize(123)
         .bisectBatchOnFunctionError(false)
         .destinationConfig(DestinationConfigProperty.builder()
                 .onFailure(DestinationProperty.builder()
                         .destination("destination")
                         // the properties below are optional
                         .type("type")
                         .build())
                 .build())
         .enabled(false)
         .maximumBatchingWindowInSeconds(123)
         .maximumRecordAgeInSeconds(123)
         .maximumRetryAttempts(123)
         .parallelizationFactor(123)
         .build();
 
  • Method Details

    • getStartingPosition

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

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

      @Stability(Stable) @Nullable default Number getBatchSize()
      CfnFunction.DynamoDBEventProperty.BatchSize.
    • getBisectBatchOnFunctionError

      @Stability(Stable) @Nullable default Object getBisectBatchOnFunctionError()
      CfnFunction.DynamoDBEventProperty.BisectBatchOnFunctionError.
    • getDestinationConfig

      @Stability(Stable) @Nullable default Object getDestinationConfig()
      CfnFunction.DynamoDBEventProperty.DestinationConfig.
    • getEnabled

      @Stability(Stable) @Nullable default Object getEnabled()
      CfnFunction.DynamoDBEventProperty.Enabled.
    • getMaximumBatchingWindowInSeconds

      @Stability(Stable) @Nullable default Number getMaximumBatchingWindowInSeconds()
      CfnFunction.DynamoDBEventProperty.MaximumBatchingWindowInSeconds.
    • getMaximumRecordAgeInSeconds

      @Stability(Stable) @Nullable default Number getMaximumRecordAgeInSeconds()
      CfnFunction.DynamoDBEventProperty.MaximumRecordAgeInSeconds.
    • getMaximumRetryAttempts

      @Stability(Stable) @Nullable default Number getMaximumRetryAttempts()
      CfnFunction.DynamoDBEventProperty.MaximumRetryAttempts.
    • getParallelizationFactor

      @Stability(Stable) @Nullable default Number getParallelizationFactor()
      CfnFunction.DynamoDBEventProperty.ParallelizationFactor.
    • builder

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