Skip to content

LambdaFunctionRecipeSource

Source code in docs_src/capo_greengrassv2/types/lambda_function_recipe_source.py
class LambdaFunctionRecipeSource(TypedDict, closed=True):
    lambda_arn: "capo_greengrassv2.types.non_empty_string.NonEmptyString"
    """<p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like <code>$LATEST</code>.</p>"""
    component_name: NotRequired[
        "capo_greengrassv2.types.component_name_string.ComponentNameString"
    ]
    """<p>The name of the component.</p> <p>Defaults to the name of the Lambda function.</p>"""
    component_version: NotRequired[
        "capo_greengrassv2.types.component_version_string.ComponentVersionString"
    ]
    """<p>The version of the component.</p> <p>Defaults to the version of the Lambda function as a semantic version. For example, if your function version is <code>3</code>, the component version becomes <code>3.0.0</code>.</p>"""
    component_platforms: NotRequired[
        "capo_greengrassv2.types.component_platform_list.ComponentPlatformList"
    ]
    """<p>The platforms that the component version supports.</p>"""
    component_dependencies: NotRequired[
        "capo_greengrassv2.types.component_dependency_map.ComponentDependencyMap"
    ]
    """<p>The component versions on which this Lambda function component depends.</p>"""
    component_lambda_parameters: NotRequired[
        "capo_greengrassv2.types.lambda_execution_parameters.LambdaExecutionParameters"
    ]
    """<p>The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.</p>"""

component_dependencies instance-attribute

component_dependencies: NotRequired[ComponentDependencyMap]

The component versions on which this Lambda function component depends.

component_lambda_parameters instance-attribute

component_lambda_parameters: NotRequired[LambdaExecutionParameters]

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

component_name instance-attribute

component_name: NotRequired[ComponentNameString]

The name of the component.

Defaults to the name of the Lambda function.

component_platforms instance-attribute

component_platforms: NotRequired[ComponentPlatformList]

The platforms that the component version supports.

component_version instance-attribute

component_version: NotRequired[ComponentVersionString]

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.

lambda_arn instance-attribute

lambda_arn: NonEmptyString

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.