public static final class S3ToLambda.Builder extends Object implements software.amazon.jsii.Builder<S3ToLambda>
S3ToLambda.| Modifier and Type | Method and Description |
|---|---|
S3ToLambda.Builder |
bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
Optional user provided props to override the default props for the S3 Bucket.
|
S3ToLambda |
build() |
static S3ToLambda.Builder |
create(software.constructs.Construct scope,
String id) |
S3ToLambda.Builder |
existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
Existing instance of S3 Bucket object, providing both this and `bucketProps` will cause an error.
|
S3ToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
S3ToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Optional user provided props to override the default props for the Lambda function.
|
S3ToLambda.Builder |
loggingBucketProps(software.amazon.awscdk.services.s3.BucketProps loggingBucketProps)
Optional user provided props to override the default props for the S3 Logging Bucket.
|
S3ToLambda.Builder |
logS3AccessLogs(Boolean logS3AccessLogs)
Whether to turn on Access Logs for the S3 bucket with the associated storage costs.
|
S3ToLambda.Builder |
s3EventSourceProps(software.amazon.awscdk.services.lambda.eventsources.S3EventSourceProps s3EventSourceProps)
Optional user provided props to override the default props.
|
public static S3ToLambda.Builder create(software.constructs.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.S3ToLambda.Builder.public S3ToLambda.Builder bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
Default: - Default props are used
bucketProps - Optional user provided props to override the default props for the S3 Bucket. This parameter is required.thispublic S3ToLambda.Builder existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
Default: - None
existingBucketObj - Existing instance of S3 Bucket object, providing both this and `bucketProps` will cause an error. This parameter is required.thispublic S3ToLambda.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 S3ToLambda.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default props are used
lambdaFunctionProps - Optional user provided props to override the default props for the Lambda function. This parameter is required.thispublic S3ToLambda.Builder loggingBucketProps(software.amazon.awscdk.services.s3.BucketProps loggingBucketProps)
Default: - Default props are used
loggingBucketProps - Optional user provided props to override the default props for the S3 Logging Bucket. This parameter is required.thispublic S3ToLambda.Builder logS3AccessLogs(Boolean logS3AccessLogs)
Enabling Access Logging is a best practice.
Default: - true
logS3AccessLogs - Whether to turn on Access Logs for the S3 bucket with the associated storage costs. This parameter is required.thispublic S3ToLambda.Builder s3EventSourceProps(software.amazon.awscdk.services.lambda.eventsources.S3EventSourceProps s3EventSourceProps)
Default: - Default props are used
s3EventSourceProps - Optional user provided props to override the default props. This parameter is required.thispublic S3ToLambda build()
build in interface software.amazon.jsii.Builder<S3ToLambda>Copyright © 2022. All rights reserved.