public static final class IotToLambda.Builder extends Object implements software.amazon.jsii.Builder<IotToLambda>
IotToLambda.| Modifier and Type | Method and Description |
|---|---|
IotToLambda |
build() |
static IotToLambda.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
IotToLambda.Builder |
deployLambda(Boolean deployLambda)
Whether to create a new lambda function or use an existing lambda function.
|
IotToLambda.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object.
|
IotToLambda.Builder |
iotTopicRuleProps(software.amazon.awscdk.services.iot.CfnTopicRuleProps iotTopicRuleProps)
User provided CfnTopicRuleProps to override the defaults.
|
IotToLambda.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Optional user provided props to override the default props.
|
public static IotToLambda.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.IotToLambda.Builder.public IotToLambda.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 IotToLambda.Builder iotTopicRuleProps(software.amazon.awscdk.services.iot.CfnTopicRuleProps iotTopicRuleProps)
Default: - None
iotTopicRuleProps - User provided CfnTopicRuleProps to override the defaults. This parameter is required.thispublic IotToLambda.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 IotToLambda.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 IotToLambda build()
build in interface software.amazon.jsii.Builder<IotToLambda>Copyright © 2020. All rights reserved.