public static final class LambdaToS3Props.Builder extends Object implements software.amazon.jsii.Builder<LambdaToS3Props>
LambdaToS3Props| Constructor and Description |
|---|
Builder() |
public LambdaToS3Props.Builder bucketEnvironmentVariableName(String bucketEnvironmentVariableName)
LambdaToS3Props.getBucketEnvironmentVariableName()bucketEnvironmentVariableName - Optional Name for the S3 bucket environment variable set for the Lambda function.thispublic LambdaToS3Props.Builder bucketPermissions(List<String> bucketPermissions)
LambdaToS3Props.getBucketPermissions()bucketPermissions - Optional bucket permissions to grant to the Lambda function.
One or more of the following may be specified: "Delete", "Put", "Read", "ReadWrite", "Write".thispublic LambdaToS3Props.Builder bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
LambdaToS3Props.getBucketProps()bucketProps - User provided props to override the default props for the S3 Bucket.thispublic LambdaToS3Props.Builder deployVpc(Boolean deployVpc)
LambdaToS3Props.getDeployVpc()deployVpc - Whether to deploy a new VPC.thispublic LambdaToS3Props.Builder existingBucketObj(software.amazon.awscdk.services.s3.IBucket existingBucketObj)
LambdaToS3Props.getExistingBucketObj()existingBucketObj - Existing instance of S3 Bucket object, providing both this and `bucketProps` will cause an error.thispublic LambdaToS3Props.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
LambdaToS3Props.getExistingLambdaObj()existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.thispublic LambdaToS3Props.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
LambdaToS3Props.getExistingVpc()existingVpc - An existing VPC for the construct to use (construct will NOT create a new VPC in this case).thispublic LambdaToS3Props.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
LambdaToS3Props.getLambdaFunctionProps()lambdaFunctionProps - User provided props to override the default props for the Lambda function.thispublic LambdaToS3Props.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
LambdaToS3Props.getVpcProps()vpcProps - Properties to override default properties if deployVpc is true.thispublic LambdaToS3Props build()
build in interface software.amazon.jsii.Builder<LambdaToS3Props>LambdaToS3PropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.