public static final class LambdaToDynamoDB.Builder extends Object implements software.amazon.jsii.Builder<LambdaToDynamoDB>
LambdaToDynamoDB.| Modifier and Type | Method and Description |
|---|---|
LambdaToDynamoDB |
build() |
static LambdaToDynamoDB.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
LambdaToDynamoDB.Builder |
deployVpc(Boolean deployVpc)
Whether to deploy a new VPC.
|
LambdaToDynamoDB.Builder |
dynamoTableProps(software.amazon.awscdk.services.dynamodb.TableProps dynamoTableProps)
Optional user provided props to override the default props.
|
LambdaToDynamoDB.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
LambdaToDynamoDB.Builder |
existingTableObj(software.amazon.awscdk.services.dynamodb.Table existingTableObj)
Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error.
|
LambdaToDynamoDB.Builder |
existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
|
LambdaToDynamoDB.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
LambdaToDynamoDB.Builder |
tableEnvironmentVariableName(String tableEnvironmentVariableName)
Optional Name for the DynamoDB table environment variable set for the Lambda function.
|
LambdaToDynamoDB.Builder |
tablePermissions(String tablePermissions)
Optional table permissions to grant to the Lambda function.
|
LambdaToDynamoDB.Builder |
vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
Properties to override default properties if deployVpc is true.
|
public static LambdaToDynamoDB.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.LambdaToDynamoDB.Builder.public LambdaToDynamoDB.Builder deployVpc(Boolean deployVpc)
Default: - false
deployVpc - Whether to deploy a new VPC. This parameter is required.thispublic LambdaToDynamoDB.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 LambdaToDynamoDB.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 LambdaToDynamoDB.Builder existingTableObj(software.amazon.awscdk.services.dynamodb.Table existingTableObj)
Default: - None
existingTableObj - Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error. This parameter is required.thispublic LambdaToDynamoDB.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
existingVpc - An existing VPC for the construct to use (construct will NOT create a new VPC in this case). This parameter is required.thispublic LambdaToDynamoDB.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 LambdaToDynamoDB.Builder tableEnvironmentVariableName(String tableEnvironmentVariableName)
Default: - None
tableEnvironmentVariableName - Optional Name for the DynamoDB table environment variable set for the Lambda function. This parameter is required.thispublic LambdaToDynamoDB.Builder tablePermissions(String tablePermissions)
One of the following may be specified: "All", "Read", "ReadWrite", "Write".
Default: - Read/write access is given to the Lambda function if no value is specified.
tablePermissions - Optional table permissions to grant to the Lambda function. This parameter is required.thispublic LambdaToDynamoDB.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
vpcProps - Properties to override default properties if deployVpc is true. This parameter is required.thispublic LambdaToDynamoDB build()
build in interface software.amazon.jsii.Builder<LambdaToDynamoDB>Copyright © 2022. All rights reserved.