public static final class DynamoDBStreamsToLambda.Builder extends Object implements software.amazon.jsii.Builder<DynamoDBStreamsToLambda>
DynamoDBStreamsToLambda.| Modifier and Type | Method and Description |
|---|---|
DynamoDBStreamsToLambda |
build() |
static DynamoDBStreamsToLambda.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
DynamoDBStreamsToLambda.Builder |
deploySqsDlqQueue(Boolean deploySqsDlqQueue)
Whether to deploy a SQS dead letter queue when a data record reaches the Maximum Retry Attempts or Maximum Record Age, its metadata like shard ID and stream ARN will be sent to an SQS queue.
|
DynamoDBStreamsToLambda.Builder |
dynamoEventSourceProps(Object dynamoEventSourceProps)
Optional user provided props to override the default props.
|
DynamoDBStreamsToLambda.Builder |
dynamoTableProps(software.amazon.awscdk.services.dynamodb.TableProps dynamoTableProps)
Optional user provided props to override the default props.
|
DynamoDBStreamsToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
DynamoDBStreamsToLambda.Builder |
existingTableInterface(software.amazon.awscdk.services.dynamodb.ITable existingTableInterface)
Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error.
|
DynamoDBStreamsToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
DynamoDBStreamsToLambda.Builder |
sqsDlqQueueProps(software.amazon.awscdk.services.sqs.QueueProps sqsDlqQueueProps)
Optional user provided properties for the SQS dead letter queue.
|
public static DynamoDBStreamsToLambda.Builder create(software.amazon.awscdk.core.Construct scope, String id)
scope - - represents the scope for all the resources. This parameter is required.id - - this is a a scope-unique id. This parameter is required.DynamoDBStreamsToLambda.Builder.public DynamoDBStreamsToLambda.Builder deploySqsDlqQueue(Boolean deploySqsDlqQueue)
Default: - true.
deploySqsDlqQueue - Whether to deploy a SQS dead letter queue when a data record reaches the Maximum Retry Attempts or Maximum Record Age, its metadata like shard ID and stream ARN will be sent to an SQS queue. This parameter is required.thispublic DynamoDBStreamsToLambda.Builder dynamoEventSourceProps(Object dynamoEventSourceProps)
Default: - Default props are used
dynamoEventSourceProps - Optional user provided props to override the default props. This parameter is required.thispublic DynamoDBStreamsToLambda.Builder dynamoTableProps(software.amazon.awscdk.services.dynamodb.TableProps dynamoTableProps)
Default: - Default props are used
dynamoTableProps - Optional user provided props to override the default props. This parameter is required.thispublic DynamoDBStreamsToLambda.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error. This parameter is required.thispublic DynamoDBStreamsToLambda.Builder existingTableInterface(software.amazon.awscdk.services.dynamodb.ITable existingTableInterface)
Default: - None
existingTableInterface - Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error. This parameter is required.thispublic DynamoDBStreamsToLambda.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default props are used
lambdaFunctionProps - User provided props to override the default props for the Lambda function. This parameter is required.thispublic DynamoDBStreamsToLambda.Builder sqsDlqQueueProps(software.amazon.awscdk.services.sqs.QueueProps sqsDlqQueueProps)
Default: - Default props are used
sqsDlqQueueProps - Optional user provided properties for the SQS dead letter queue. This parameter is required.thispublic DynamoDBStreamsToLambda build()
build in interface software.amazon.jsii.Builder<DynamoDBStreamsToLambda>Copyright © 2022. All rights reserved.