public static final class LambdaToDynamoDBProps.Builder extends Object implements software.amazon.jsii.Builder<LambdaToDynamoDBProps>
LambdaToDynamoDBProps| Constructor and Description |
|---|
Builder() |
public LambdaToDynamoDBProps.Builder deployVpc(Boolean deployVpc)
LambdaToDynamoDBProps.getDeployVpc()deployVpc - Whether to deploy a new VPC.thispublic LambdaToDynamoDBProps.Builder dynamoTableProps(software.amazon.awscdk.services.dynamodb.TableProps dynamoTableProps)
LambdaToDynamoDBProps.getDynamoTableProps()dynamoTableProps - Optional user provided props to override the default props.thispublic LambdaToDynamoDBProps.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
LambdaToDynamoDBProps.getExistingLambdaObj()existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.thispublic LambdaToDynamoDBProps.Builder existingTableObj(software.amazon.awscdk.services.dynamodb.Table existingTableObj)
LambdaToDynamoDBProps.getExistingTableObj()existingTableObj - Existing instance of DynamoDB table object, providing both this and `dynamoTableProps` will cause an error.thispublic LambdaToDynamoDBProps.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
LambdaToDynamoDBProps.getExistingVpc()existingVpc - An existing VPC for the construct to use (construct will NOT create a new VPC in this case).thispublic LambdaToDynamoDBProps.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
LambdaToDynamoDBProps.getLambdaFunctionProps()lambdaFunctionProps - User provided props to override the default props for the Lambda function.thispublic LambdaToDynamoDBProps.Builder tableEnvironmentVariableName(String tableEnvironmentVariableName)
LambdaToDynamoDBProps.getTableEnvironmentVariableName()tableEnvironmentVariableName - Optional Name for the DynamoDB table environment variable set for the Lambda function.thispublic LambdaToDynamoDBProps.Builder tablePermissions(String tablePermissions)
LambdaToDynamoDBProps.getTablePermissions()tablePermissions - Optional table permissions to grant to the Lambda function.
One of the following may be specified: "All", "Read", "ReadWrite", "Write".thispublic LambdaToDynamoDBProps.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
LambdaToDynamoDBProps.getVpcProps()vpcProps - Properties to override default properties if deployVpc is true.thispublic LambdaToDynamoDBProps build()
build in interface software.amazon.jsii.Builder<LambdaToDynamoDBProps>LambdaToDynamoDBPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.