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 |
deployBucket(Boolean deployBucket)
Sets the value of
S3ToLambdaProps.getDeployBucket() |
S3ToLambdaProps.Builder |
deployLambda(Boolean deployLambda)
Sets the value of
S3ToLambdaProps.getDeployLambda() |
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 |
s3EventSourceProps(software.amazon.awscdk.services.lambda.eventsources.S3EventSourceProps s3EventSourceProps)
Sets the value of
S3ToLambdaProps.getS3EventSourceProps() |
public S3ToLambdaProps.Builder deployLambda(Boolean deployLambda)
S3ToLambdaProps.getDeployLambda()deployLambda - Whether to create a new lambda function or use an existing lambda function. This parameter is required.
If set to false, you must provide a lambda function object as existingObjthispublic S3ToLambdaProps.Builder bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
S3ToLambdaProps.getBucketProps()bucketProps - Optional user provided props to override the default props.
If deploy is set to true only then this property is requiredthispublic S3ToLambdaProps.Builder deployBucket(Boolean deployBucket)
S3ToLambdaProps.getDeployBucket()deployBucket - Whether to create a S3 Bucket or use an existing S3 Bucket.
If set to false, you must provide S3 Bucket as existingBucketObjthispublic S3ToLambdaProps.Builder existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
S3ToLambdaProps.getExistingBucketObj()existingBucketObj - Existing instance of S3 Bucket object.
If deployBucket is set to false only then this property is requiredthispublic S3ToLambdaProps.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
S3ToLambdaProps.getExistingLambdaObj()existingLambdaObj - Existing instance of Lambda Function object.
If deploy is set to false only then this property is requiredthispublic S3ToLambdaProps.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
S3ToLambdaProps.getLambdaFunctionProps()lambdaFunctionProps - Optional user provided props to override the default props.
If deploy is set to true only then this property is requiredthispublic 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 © 2020. All rights reserved.