public static final class S3ToLambdaProps.Builder extends Object implements software.amazon.jsii.Builder<S3ToLambdaProps>
S3ToLambdaProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
S3ToLambdaProps.Builder |
bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
Sets the value of
S3ToLambdaProps.getBucketProps() |
S3ToLambdaProps |
build()
Builds the configured instance.
|
S3ToLambdaProps.Builder |
existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
Sets the value of
S3ToLambdaProps.getExistingBucketObj() |
S3ToLambdaProps.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Sets the value of
S3ToLambdaProps.getExistingLambdaObj() |
S3ToLambdaProps.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Sets the value of
S3ToLambdaProps.getLambdaFunctionProps() |
S3ToLambdaProps.Builder |
loggingBucketProps(software.amazon.awscdk.services.s3.BucketProps loggingBucketProps)
Sets the value of
S3ToLambdaProps.getLoggingBucketProps() |
S3ToLambdaProps.Builder |
logS3AccessLogs(Boolean logS3AccessLogs)
Sets the value of
S3ToLambdaProps.getLogS3AccessLogs() |
S3ToLambdaProps.Builder |
s3EventSourceProps(software.amazon.awscdk.services.lambda.eventsources.S3EventSourceProps s3EventSourceProps)
Sets the value of
S3ToLambdaProps.getS3EventSourceProps() |
public S3ToLambdaProps.Builder bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
S3ToLambdaProps.getBucketProps()bucketProps - Optional user provided props to override the default props for the S3 Bucket.thispublic S3ToLambdaProps.Builder existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
S3ToLambdaProps.getExistingBucketObj()existingBucketObj - Existing instance of S3 Bucket object, providing both this and `bucketProps` will cause an error.thispublic S3ToLambdaProps.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
S3ToLambdaProps.getExistingLambdaObj()existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.thispublic S3ToLambdaProps.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
S3ToLambdaProps.getLambdaFunctionProps()lambdaFunctionProps - Optional user provided props to override the default props for the Lambda function.thispublic S3ToLambdaProps.Builder loggingBucketProps(software.amazon.awscdk.services.s3.BucketProps loggingBucketProps)
S3ToLambdaProps.getLoggingBucketProps()loggingBucketProps - Optional user provided props to override the default props for the S3 Logging Bucket.thispublic S3ToLambdaProps.Builder logS3AccessLogs(Boolean logS3AccessLogs)
S3ToLambdaProps.getLogS3AccessLogs()logS3AccessLogs - Whether to turn on Access Logs for the S3 bucket with the associated storage costs.
Enabling Access Logging is a best practice.thispublic S3ToLambdaProps.Builder s3EventSourceProps(software.amazon.awscdk.services.lambda.eventsources.S3EventSourceProps s3EventSourceProps)
S3ToLambdaProps.getS3EventSourceProps()s3EventSourceProps - Optional user provided props to override the default props.thispublic S3ToLambdaProps build()
build in interface software.amazon.jsii.Builder<S3ToLambdaProps>S3ToLambdaPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.