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.
|
S3ToLambda |
build() |
static S3ToLambda.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
S3ToLambda.Builder |
deployBucket(Boolean deployBucket)
Whether to create a S3 Bucket or use an existing S3 Bucket.
|
S3ToLambda.Builder |
deployLambda(Boolean deployLambda)
Whether to create a new lambda function or use an existing lambda function.
|
S3ToLambda.Builder |
existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
Existing instance of S3 Bucket object.
|
S3ToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object.
|
S3ToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Optional user provided props to override the default props.
|
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 deployLambda(Boolean deployLambda)
If set to false, you must provide a lambda function object as existingObj
Default: - true
deployLambda - Whether to create a new lambda function or use an existing lambda function. This parameter is required.thispublic S3ToLambda.Builder bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
If deploy is set to true only then this property is required
Default: - Default props are used
bucketProps - Optional user provided props to override the default props. This parameter is required.thispublic S3ToLambda.Builder deployBucket(Boolean deployBucket)
If set to false, you must provide S3 Bucket as existingBucketObj
Default: - true
deployBucket - Whether to create a S3 Bucket or use an existing S3 Bucket. This parameter is required.thispublic S3ToLambda.Builder existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
If deployBucket is set to false only then this property is required
Default: - None
existingBucketObj - Existing instance of S3 Bucket object. This parameter is required.thispublic S3ToLambda.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
If deploy is set to false only then this property is required
Default: - None
existingLambdaObj - Existing instance of Lambda Function object. This parameter is required.thispublic S3ToLambda.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
If deploy is set to true only then this property is required
Default: - Default props are used
lambdaFunctionProps - Optional user provided props to override the default props. 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 © 2020. All rights reserved.