Class IotToLambda.Builder
java.lang.Object
software.amazon.awsconstructs.services.iotlambda.IotToLambda.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IotToLambda>
- Enclosing class:
IotToLambda
public static final class IotToLambda.Builder
extends Object
implements software.amazon.jsii.Builder<IotToLambda>
A fluent builder for
IotToLambda.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static IotToLambda.BuilderexistingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj) Existing instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error.iotTopicRuleProps(software.amazon.awscdk.services.iot.CfnTopicRuleProps iotTopicRuleProps) User provided CfnTopicRuleProps to override the defaults.lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps) User provided props to override the default props for the Lambda function.
-
Method Details
-
create
- Parameters:
scope-- represents the scope for all the resources.
id-- this is a a scope-unique id.
- Returns:
- a new instance of
IotToLambda.Builder.
-
iotTopicRuleProps
public IotToLambda.Builder iotTopicRuleProps(software.amazon.awscdk.services.iot.CfnTopicRuleProps iotTopicRuleProps) User provided CfnTopicRuleProps to override the defaults.Default: - None
- Parameters:
iotTopicRuleProps- User provided CfnTopicRuleProps to override the defaults. This parameter is required.- Returns:
this
-
existingLambdaObj
public IotToLambda.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj) Existing instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error.Default: - None
- Parameters:
existingLambdaObj- Existing instance of Lambda Function object, providing both this andlambdaFunctionPropswill cause an error. This parameter is required.- Returns:
this
-
lambdaFunctionProps
public IotToLambda.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps) User provided props to override the default props for the Lambda function.Default: - Default props are used
- Parameters:
lambdaFunctionProps- User provided props to override the default props for the Lambda function. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IotToLambda>- Returns:
- a newly built instance of
IotToLambda.
-