@Stability(value=Stable)
public static interface CfnFunction.DynamoDBEventProperty
extends software.amazon.jsii.JsiiSerializable
// 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFunction.DynamoDBEventProperty.Builder
A builder for
CfnFunction.DynamoDBEventProperty |
static class |
CfnFunction.DynamoDBEventProperty.Jsii$Proxy
An implementation for
CfnFunction.DynamoDBEventProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFunction.DynamoDBEventProperty.Builder |
builder() |
default Number |
getBatchSize()
`CfnFunction.DynamoDBEventProperty.BatchSize`.
|
default Object |
getBisectBatchOnFunctionError()
`CfnFunction.DynamoDBEventProperty.BisectBatchOnFunctionError`.
|
default Object |
getDestinationConfig()
`CfnFunction.DynamoDBEventProperty.DestinationConfig`.
|
default Object |
getEnabled()
`CfnFunction.DynamoDBEventProperty.Enabled`.
|
default Number |
getMaximumBatchingWindowInSeconds()
`CfnFunction.DynamoDBEventProperty.MaximumBatchingWindowInSeconds`.
|
default Number |
getMaximumRecordAgeInSeconds()
`CfnFunction.DynamoDBEventProperty.MaximumRecordAgeInSeconds`.
|
default Number |
getMaximumRetryAttempts()
`CfnFunction.DynamoDBEventProperty.MaximumRetryAttempts`.
|
default Number |
getParallelizationFactor()
`CfnFunction.DynamoDBEventProperty.ParallelizationFactor`.
|
String |
getStartingPosition()
`CfnFunction.DynamoDBEventProperty.StartingPosition`.
|
String |
getStream()
`CfnFunction.DynamoDBEventProperty.Stream`.
|
@Stability(value=Stable) @NotNull String getStartingPosition()
@Stability(value=Stable) @NotNull String getStream()
@Stability(value=Stable) @Nullable default Number getBatchSize()
@Stability(value=Stable) @Nullable default Object getBisectBatchOnFunctionError()
@Stability(value=Stable) @Nullable default Object getDestinationConfig()
@Stability(value=Stable) @Nullable default Object getEnabled()
@Stability(value=Stable) @Nullable default Number getMaximumBatchingWindowInSeconds()
@Stability(value=Stable) @Nullable default Number getMaximumRecordAgeInSeconds()
@Stability(value=Stable) @Nullable default Number getMaximumRetryAttempts()
@Stability(value=Stable) @Nullable default Number getParallelizationFactor()
@Stability(value=Stable) static CfnFunction.DynamoDBEventProperty.Builder builder()
Copyright © 2022. All rights reserved.