Skip to content

AwsLambdaFunctionDetails

Source code in docs_src/capo_securityhub/types/aws_lambda_function_details.py
class AwsLambdaFunctionDetails(TypedDict, closed=True):
    code: NotRequired[
        "capo_securityhub.types.aws_lambda_function_code.AwsLambdaFunctionCode"
    ]
    """<p>An <code>AwsLambdaFunctionCode</code> object.</p>"""
    code_sha256: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The SHA256 hash of the function's deployment package.</p>"""
    dead_letter_config: NotRequired[
        "capo_securityhub.types.aws_lambda_function_dead_letter_config.AwsLambdaFunctionDeadLetterConfig"
    ]
    """<p>The function's dead letter queue.</p>"""
    environment: NotRequired[
        "capo_securityhub.types.aws_lambda_function_environment.AwsLambdaFunctionEnvironment"
    ]
    """<p>The function's environment variables.</p>"""
    function_name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The name of the function.</p>"""
    handler: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The function that Lambda calls to begin executing your function.</p>"""
    kms_key_arn: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The KMS key that is used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed customer managed key.</p>"""
    last_modified: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>Indicates when the function was last updated.</p> <p>For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see <a href="https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps">Timestamps</a>.</p>"""
    layers: NotRequired[
        "capo_securityhub.types.aws_lambda_function_layer_list.AwsLambdaFunctionLayerList"
    ]
    """<p>The function's layers.</p>"""
    master_arn: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>For Lambda@Edge functions, the ARN of the master function.</p>"""
    memory_size: NotRequired["capo_securityhub.types.integer.Integer"]
    """<p>The memory that is allocated to the function.</p>"""
    revision_id: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The latest updated revision of the function or alias.</p>"""
    role: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The function's execution role.</p>"""
    runtime: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The runtime environment for the Lambda function.</p>"""
    timeout: NotRequired["capo_securityhub.types.integer.Integer"]
    """<p>The amount of time that Lambda allows a function to run before stopping it.</p>"""
    tracing_config: NotRequired[
        "capo_securityhub.types.aws_lambda_function_tracing_config.AwsLambdaFunctionTracingConfig"
    ]
    """<p>The function's X-Ray tracing configuration.</p>"""
    vpc_config: NotRequired[
        "capo_securityhub.types.aws_lambda_function_vpc_config.AwsLambdaFunctionVpcConfig"
    ]
    """<p>The function's networking configuration.</p>"""
    version: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The version of the Lambda function.</p>"""
    architectures: NotRequired[
        "capo_securityhub.types.non_empty_string_list.NonEmptyStringList"
    ]
    """<p>The instruction set architecture that the function uses. Valid values are <code>x86_64</code> or <code>arm64</code>.</p>"""
    package_type: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The type of deployment package that's used to deploy the function code to Lambda. Set to <code>Image</code> for a container image and <code>Zip</code> for a .zip file archive. </p>"""

architectures instance-attribute

architectures: NotRequired[NonEmptyStringList]

The instruction set architecture that the function uses. Valid values are x86_64 or arm64.

code instance-attribute

code: NotRequired[AwsLambdaFunctionCode]

An AwsLambdaFunctionCode object.

code_sha256 instance-attribute

code_sha256: NotRequired[NonEmptyString]

The SHA256 hash of the function's deployment package.

dead_letter_config instance-attribute

dead_letter_config: NotRequired[AwsLambdaFunctionDeadLetterConfig]

The function's dead letter queue.

environment instance-attribute

environment: NotRequired[AwsLambdaFunctionEnvironment]

The function's environment variables.

function_name instance-attribute

function_name: NotRequired[NonEmptyString]

The name of the function.

handler instance-attribute

handler: NotRequired[NonEmptyString]

The function that Lambda calls to begin executing your function.

kms_key_arn instance-attribute

kms_key_arn: NotRequired[NonEmptyString]

The KMS key that is used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed customer managed key.

last_modified instance-attribute

last_modified: NotRequired[NonEmptyString]

Indicates when the function was last updated.

For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.

layers instance-attribute

layers: NotRequired[AwsLambdaFunctionLayerList]

The function's layers.

master_arn instance-attribute

master_arn: NotRequired[NonEmptyString]

For Lambda@Edge functions, the ARN of the master function.

memory_size instance-attribute

memory_size: NotRequired[Integer]

The memory that is allocated to the function.

package_type instance-attribute

package_type: NotRequired[NonEmptyString]

The type of deployment package that's used to deploy the function code to Lambda. Set to Image for a container image and Zip for a .zip file archive.

revision_id instance-attribute

revision_id: NotRequired[NonEmptyString]

The latest updated revision of the function or alias.

role instance-attribute

role: NotRequired[NonEmptyString]

The function's execution role.

runtime instance-attribute

runtime: NotRequired[NonEmptyString]

The runtime environment for the Lambda function.

timeout instance-attribute

timeout: NotRequired[Integer]

The amount of time that Lambda allows a function to run before stopping it.

tracing_config instance-attribute

tracing_config: NotRequired[AwsLambdaFunctionTracingConfig]

The function's X-Ray tracing configuration.

version instance-attribute

version: NotRequired[NonEmptyString]

The version of the Lambda function.

vpc_config instance-attribute

vpc_config: NotRequired[AwsLambdaFunctionVpcConfig]

The function's networking configuration.