@Generated(value="jsii-pacmak/1.27.0 (build 07d848a)", date="2021-04-07T22:59:50.562Z") public interface LambdaToS3Props extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
LambdaToS3Props.Builder
A builder for
LambdaToS3Props |
static class |
LambdaToS3Props.Jsii$Proxy
An implementation for
LambdaToS3Props |
| Modifier and Type | Method and Description |
|---|---|
static LambdaToS3Props.Builder |
builder() |
default String |
getBucketEnvironmentVariableName()
Optional Name for the S3 bucket environment variable set for the Lambda function.
|
default List<String> |
getBucketPermissions()
Optional bucket permissions to grant to the Lambda function.
|
default software.amazon.awscdk.services.s3.BucketProps |
getBucketProps()
User provided props to override the default props for the S3 Bucket.
|
default Boolean |
getDeployVpc()
Whether to deploy a new VPC.
|
default software.amazon.awscdk.services.s3.IBucket |
getExistingBucketObj()
Existing instance of S3 Bucket object, if this is set then the bucketProps is ignored.
|
default software.amazon.awscdk.services.lambda.Function |
getExistingLambdaObj()
Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored.
|
default software.amazon.awscdk.services.ec2.IVpc |
getExistingVpc()
An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
|
default software.amazon.awscdk.services.lambda.FunctionProps |
getLambdaFunctionProps()
User provided props to override the default props for the Lambda function.
|
default software.amazon.awscdk.services.ec2.VpcProps |
getVpcProps()
Properties to override default properties if deployVpc is true.
|
@Nullable default String getBucketEnvironmentVariableName()
Default: - None
@Nullable default List<String> getBucketPermissions()
One or more of the following may be specified: "Delete", "Put", "Read", "ReadWrite", "Write".
Default: - Read/write access is given to the Lambda function if no value is specified.
@Nullable default software.amazon.awscdk.services.s3.BucketProps getBucketProps()
Default: - Default props are used
@Nullable default Boolean getDeployVpc()
Default: - false
@Nullable default software.amazon.awscdk.services.s3.IBucket getExistingBucketObj()
Default: - None
@Nullable default software.amazon.awscdk.services.lambda.Function getExistingLambdaObj()
Default: - None
@Nullable default software.amazon.awscdk.services.ec2.IVpc getExistingVpc()
@Nullable default software.amazon.awscdk.services.lambda.FunctionProps getLambdaFunctionProps()
Default: - Default properties are used.
@Nullable default software.amazon.awscdk.services.ec2.VpcProps getVpcProps()
static LambdaToS3Props.Builder builder()
LambdaToS3Props.Builder of LambdaToS3PropsCopyright © 2021. All rights reserved.