interface DynamoDBEventProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SAM.CfnFunction.DynamoDBEventProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_DynamoDBEventProperty |
Java | software.amazon.awscdk.services.sam.CfnFunction.DynamoDBEventProperty |
Python | aws_cdk.aws_sam.CfnFunction.DynamoDBEventProperty |
TypeScript | aws-cdk-lib » aws_sam » CfnFunction » DynamoDBEventProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const dynamoDBEventProperty: sam.CfnFunction.DynamoDBEventProperty = {
startingPosition: 'startingPosition',
stream: 'stream',
// the properties below are optional
batchSize: 123,
bisectBatchOnFunctionError: false,
destinationConfig: {
onFailure: {
destination: 'destination',
// the properties below are optional
type: 'type',
},
},
enabled: false,
maximumBatchingWindowInSeconds: 123,
maximumRecordAgeInSeconds: 123,
maximumRetryAttempts: 123,
parallelizationFactor: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| starting | string | |
| stream | string | |
| batch | number | |
| bisect | boolean | IResolvable | |
| destination | IResolvable | Destination | |
| enabled? | boolean | IResolvable | |
| maximum | number | |
| maximum | number | |
| maximum | number | |
| parallelization | number |
startingPosition
Type:
string
stream
Type:
string
batchSize?
Type:
number
(optional)
bisectBatchOnFunctionError?
Type:
boolean | IResolvable
(optional)
destinationConfig?
Type:
IResolvable | Destination
(optional)
enabled?
Type:
boolean | IResolvable
(optional)
maximumBatchingWindowInSeconds?
Type:
number
(optional)
maximumRecordAgeInSeconds?
Type:
number
(optional)
maximumRetryAttempts?
Type:
number
(optional)
parallelizationFactor?
Type:
number
(optional)

.NET
Go
Java
Python
TypeScript