Skip to content

ServerlessFunction

Source code in docs_src/capo_inspector2/types/serverless_function.py
class ServerlessFunction(TypedDict, closed=True):
    serverless_function_name: NotRequired[
        "capo_inspector2.types.non_empty_string.NonEmptyString"
    ]
    """<p>The name of the serverless function.</p>"""
    runtime: NotRequired["capo_inspector2.types.non_empty_string.NonEmptyString"]
    """<p>The runtime of the serverless function.</p>"""
    version: NotRequired["capo_inspector2.types.non_empty_string.NonEmptyString"]
    """<p>The version of the serverless function.</p>"""
    code_digest: NotRequired["capo_inspector2.types.non_empty_string.NonEmptyString"]
    """<p>The code digest of the serverless function.</p>"""
    last_modified_at: NotRequired[
        "capo_inspector2.types.date_time_timestamp.DateTimeTimestamp"
    ]
    """<p>The date and time the serverless function was last modified.</p>"""
    network_id: NotRequired["capo_inspector2.types.non_empty_string.NonEmptyString"]
    """<p>The network ID associated with the serverless function.</p>"""
    subnet_ids: NotRequired[
        "capo_inspector2.types.cloud_subnet_id_list.CloudSubnetIdList"
    ]
    """<p>The subnet IDs associated with the serverless function.</p>"""
    security_group_ids: NotRequired[
        "capo_inspector2.types.cloud_security_group_id_list.CloudSecurityGroupIdList"
    ]
    """<p>The security group IDs associated with the serverless function.</p>"""
    execution_role: NotRequired["capo_inspector2.types.non_empty_string.NonEmptyString"]
    """<p>The execution role of the serverless function.</p>"""
    package_type: NotRequired["capo_inspector2.types.package_type.PackageType"]
    """<p>The package type of the serverless function.</p>"""
    architectures: NotRequired[
        "capo_inspector2.types.architecture_list.ArchitectureList"
    ]
    """<p>The architectures of the serverless function.</p>"""
    layers: NotRequired[
        "capo_inspector2.types.serverless_function_layer_list.ServerlessFunctionLayerList"
    ]
    """<p>The layers of the serverless function.</p>"""

architectures instance-attribute

architectures: NotRequired[ArchitectureList]

The architectures of the serverless function.

code_digest instance-attribute

code_digest: NotRequired[NonEmptyString]

The code digest of the serverless function.

execution_role instance-attribute

execution_role: NotRequired[NonEmptyString]

The execution role of the serverless function.

last_modified_at instance-attribute

last_modified_at: NotRequired[DateTimeTimestamp]

The date and time the serverless function was last modified.

layers instance-attribute

layers: NotRequired[ServerlessFunctionLayerList]

The layers of the serverless function.

network_id instance-attribute

network_id: NotRequired[NonEmptyString]

The network ID associated with the serverless function.

package_type instance-attribute

package_type: NotRequired[PackageType]

The package type of the serverless function.

runtime instance-attribute

runtime: NotRequired[NonEmptyString]

The runtime of the serverless function.

security_group_ids instance-attribute

security_group_ids: NotRequired[CloudSecurityGroupIdList]

The security group IDs associated with the serverless function.

serverless_function_name instance-attribute

serverless_function_name: NotRequired[NonEmptyString]

The name of the serverless function.

subnet_ids instance-attribute

subnet_ids: NotRequired[CloudSubnetIdList]

The subnet IDs associated with the serverless function.

version instance-attribute

version: NotRequired[NonEmptyString]

The version of the serverless function.