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)
User provided props to override the default props for the S3 Bucket.
|
S3ToLambda |
build() |
static S3ToLambda.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
S3ToLambda.Builder |
existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
Existing instance of S3 Bucket object, if this is set then the bucketProps is ignored.
|
S3ToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored.
|
S3ToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
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.amazon.awscdk.core.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 - 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, if this is set then the bucketProps is ignored. This parameter is required.thispublic S3ToLambda.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored. This parameter is required.thispublic S3ToLambda.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default props are used
lambdaFunctionProps - User provided props to override the default props for the Lambda function. 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 © 2021. All rights reserved.