@Generated(value="jsii-pacmak/1.62.0 (build 293ac17)", date="2022-07-26T15:51:51.688Z") 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 Lambda function environment variable set to the name of the bucket.
|
default List<String> |
getBucketPermissions()
Optional bucket permissions to grant to the Lambda function.
|
default software.amazon.awscdk.services.s3.BucketProps |
getBucketProps()
Optional 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, providing both this and `bucketProps` will cause an error.
|
default software.amazon.awscdk.services.lambda.Function |
getExistingLambdaObj()
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
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()
Optional user provided props to override the default props for the Lambda function.
|
default software.amazon.awscdk.services.s3.BucketProps |
getLoggingBucketProps()
Optional user provided props to override the default props for the S3 Logging Bucket.
|
default Boolean |
getLogS3AccessLogs()
Whether to turn on Access Logs for the S3 bucket with the associated storage costs.
|
default software.amazon.awscdk.services.ec2.VpcProps |
getVpcProps()
Properties to override default properties if deployVpc is true.
|
@Nullable default String getBucketEnvironmentVariableName()
Default: - S3_BUCKET_NAME
@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.s3.BucketProps getLoggingBucketProps()
Default: - Default props are used
@Nullable default Boolean getLogS3AccessLogs()
Enabling Access Logging is a best practice.
Default: - true
@Nullable default software.amazon.awscdk.services.ec2.VpcProps getVpcProps()
static LambdaToS3Props.Builder builder()
LambdaToS3Props.Builder of LambdaToS3PropsCopyright © 2022. All rights reserved.