Skip to content

LambdaFunctionInfo

Source code in docs_src/capo_codedeploy/types/lambda_function_info.py
class LambdaFunctionInfo(TypedDict, closed=True):
    function_name: NotRequired[
        "capo_codedeploy.types.lambda_function_name.LambdaFunctionName"
    ]
    """<p> The name of a Lambda function. </p>"""
    function_alias: NotRequired[
        "capo_codedeploy.types.lambda_function_alias.LambdaFunctionAlias"
    ]
    """<p> The alias of a Lambda function. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html">Lambda Function Aliases</a> in the <i>Lambda Developer Guide</i>.</p>"""
    current_version: NotRequired["capo_codedeploy.types.version.Version"]
    """<p> The version of a Lambda function that production traffic points to. </p>"""
    target_version: NotRequired["capo_codedeploy.types.version.Version"]
    """<p> The version of a Lambda function that production traffic points to after the Lambda function is deployed. </p>"""
    target_version_weight: "capo_codedeploy.types.traffic_weight.TrafficWeight"
    """<p> The percentage of production traffic that the target version of a Lambda function receives. </p>"""

current_version instance-attribute

current_version: NotRequired[Version]

The version of a Lambda function that production traffic points to.

function_alias instance-attribute

function_alias: NotRequired[LambdaFunctionAlias]

The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer Guide.

function_name instance-attribute

function_name: NotRequired[LambdaFunctionName]

The name of a Lambda function.

target_version instance-attribute

target_version: NotRequired[Version]

The version of a Lambda function that production traffic points to after the Lambda function is deployed.

target_version_weight instance-attribute

target_version_weight: TrafficWeight

The percentage of production traffic that the target version of a Lambda function receives.