public static final class DynamoDBStreamToLambda.Builder extends Object implements software.amazon.jsii.Builder<DynamoDBStreamToLambda>
DynamoDBStreamToLambda.| Modifier and Type | Method and Description |
|---|---|
DynamoDBStreamToLambda |
build() |
static DynamoDBStreamToLambda.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
DynamoDBStreamToLambda.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.
|
DynamoDBStreamToLambda.Builder |
dynamoEventSourceProps(Object dynamoEventSourceProps)
Optional user provided props to override the default props.
|
DynamoDBStreamToLambda.Builder |
dynamoTableProps(software.amazon.awscdk.services.dynamodb.TableProps dynamoTableProps)
Optional user provided props to override the default props.
|
DynamoDBStreamToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored.
|
DynamoDBStreamToLambda.Builder |
existingTableObj(software.amazon.awscdk.services.dynamodb.Table existingTableObj)
Existing instance of DynamoDB table object, If this is set then the dynamoTableProps is ignored.
|
DynamoDBStreamToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
DynamoDBStreamToLambda.Builder |
sqsDlqQueueProps(software.amazon.awscdk.services.sqs.QueueProps sqsDlqQueueProps)
Optional user provided properties for the SQS dead letter queue.
|
public static DynamoDBStreamToLambda.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.DynamoDBStreamToLambda.Builder.public DynamoDBStreamToLambda.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 DynamoDBStreamToLambda.Builder dynamoEventSourceProps(Object dynamoEventSourceProps)
Default: - Default props are used
dynamoEventSourceProps - Optional user provided props to override the default props. This parameter is required.thispublic DynamoDBStreamToLambda.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 DynamoDBStreamToLambda.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored. This parameter is required.thispublic DynamoDBStreamToLambda.Builder existingTableObj(software.amazon.awscdk.services.dynamodb.Table existingTableObj)
Default: - None
existingTableObj - Existing instance of DynamoDB table object, If this is set then the dynamoTableProps is ignored. This parameter is required.thispublic DynamoDBStreamToLambda.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 DynamoDBStreamToLambda.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 DynamoDBStreamToLambda build()
build in interface software.amazon.jsii.Builder<DynamoDBStreamToLambda>Copyright © 2020. All rights reserved.