Interface LambdaFunctionRecipeSource.Builder

    • Method Detail

      • lambdaArn

        LambdaFunctionRecipeSource.Builder lambdaArn​(String lambdaArn)

        The ARN of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like $LATEST.

        Parameters:
        lambdaArn - The ARN of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like $LATEST.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • componentName

        LambdaFunctionRecipeSource.Builder componentName​(String componentName)

        The name of the component.

        Defaults to the name of the Lambda function.

        Parameters:
        componentName - The name of the component.

        Defaults to the name of the Lambda function.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • componentVersion

        LambdaFunctionRecipeSource.Builder componentVersion​(String componentVersion)

        The version of the component.

        Defaults to the version of the Lambda function as a semantic version. For example, if your function version is 3, the component version becomes 3.0.0.

        Parameters:
        componentVersion - The version of the component.

        Defaults to the version of the Lambda function as a semantic version. For example, if your function version is 3, the component version becomes 3.0.0.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • componentPlatforms

        LambdaFunctionRecipeSource.Builder componentPlatforms​(Collection<ComponentPlatform> componentPlatforms)

        The platforms that the component version supports.

        Parameters:
        componentPlatforms - The platforms that the component version supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • componentPlatforms

        LambdaFunctionRecipeSource.Builder componentPlatforms​(ComponentPlatform... componentPlatforms)

        The platforms that the component version supports.

        Parameters:
        componentPlatforms - The platforms that the component version supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • componentDependencies

        LambdaFunctionRecipeSource.Builder componentDependencies​(Map<String,​ComponentDependencyRequirement> componentDependencies)

        The component versions on which this Lambda function component depends.

        Parameters:
        componentDependencies - The component versions on which this Lambda function component depends.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • componentLambdaParameters

        LambdaFunctionRecipeSource.Builder componentLambdaParameters​(LambdaExecutionParameters componentLambdaParameters)

        The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.

        Parameters:
        componentLambdaParameters - The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.