interface DynamoDBEventProperty
Language Type name
.NETAmazon.CDK.AWS.SAM.CfnFunction.DynamoDBEventProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_DynamoDBEventProperty
Javasoftware.amazon.awscdk.services.sam.CfnFunction.DynamoDBEventProperty
Pythonaws_cdk.aws_sam.CfnFunction.DynamoDBEventProperty
TypeScript aws-cdk-lib
» aws_sam
» CfnFunction
» DynamoDBEventProperty
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-dynamodbevent.html
Example
import { aws_sam as sam } from 'aws-cdk-lib' ;
const dynamoDBEventProperty: sam.CfnFunction.DynamoDBEventProperty = {
startingPosition: 'startingPosition' ,
stream: 'stream' ,
batchSize: 123 ,
bisectBatchOnFunctionError: false ,
destinationConfig: {
onFailure: {
destination: 'destination' ,
type : 'type' ,
},
},
enabled: false ,
maximumBatchingWindowInSeconds: 123 ,
maximumRecordAgeInSeconds: 123 ,
maximumRetryAttempts: 123 ,
parallelizationFactor: 123 ,
};
Properties
Name Type Description
startingPosition string
stream string
batchSize? number
bisectBatchOnFunctionError? boolean |
IResolvable
destinationConfig? IResolvable
|
DestinationConfigProperty
enabled? boolean |
IResolvable
maximumBatchingWindowInSeconds? number
maximumRecordAgeInSeconds? number
maximumRetryAttempts? number
parallelizationFactor? number
startingPosition
Type:
string
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-dynamodbevent.html#cfn-serverless-function-dynamodbevent-startingposition
stream
Type:
string
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-dynamodbevent.html#cfn-serverless-function-dynamodbevent-stream
batchSize?
Type:
number
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-dynamodbevent.html#cfn-serverless-function-dynamodbevent-batchsize
bisectBatchOnFunctionError?
Type:
boolean |
IResolvable
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-dynamodbevent.html#cfn-serverless-function-dynamodbevent-bisectbatchonfunctionerror
destinationConfig?
Type:
IResolvable
|
DestinationConfigProperty
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-dynamodbevent.html#cfn-serverless-function-dynamodbevent-destinationconfig
enabled?
Type:
boolean |
IResolvable
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-dynamodbevent.html#cfn-serverless-function-dynamodbevent-enabled
maximumBatchingWindowInSeconds?
Type:
number
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-dynamodbevent.html#cfn-serverless-function-dynamodbevent-maximumbatchingwindowinseconds
maximumRecordAgeInSeconds?
Type:
number
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-dynamodbevent.html#cfn-serverless-function-dynamodbevent-maximumrecordageinseconds
maximumRetryAttempts?
Type:
number
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-dynamodbevent.html#cfn-serverless-function-dynamodbevent-maximumretryattempts
parallelizationFactor?
Type:
number
(optional)
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-dynamodbevent.html#cfn-serverless-function-dynamodbevent-parallelizationfactor