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 Details

    • create

      public static IotToLambda.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope -
      • represents the scope for all the resources.
      This parameter is required.
      id -
      • this is a a scope-unique id.
      This parameter is required.
      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)
      Optional - instance of an existing Lambda Function object, providing both this and lambdaFunctionProps will cause an error.

      Default: - None

      Parameters:
      existingLambdaObj - Optional - instance of an existing Lambda Function object, providing both this and lambdaFunctionProps will cause an error. This parameter is required.
      Returns:
      this
    • lambdaFunctionProps

      public IotToLambda.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
      Optional - user provided props to override the default props for the Lambda function.

      Providing both this and existingLambdaObj causes an error.

      Default: - Default props are used

      Parameters:
      lambdaFunctionProps - Optional - user provided props to override the default props for the Lambda function. This parameter is required.
      Returns:
      this
    • build

      public IotToLambda build()
      Specified by:
      build in interface software.amazon.jsii.Builder<IotToLambda>
      Returns:
      a newly built instance of IotToLambda.