Skip to content

ServiceFunction

Source code in docs_src/capo_resiliencehubv2/types/service_function.py
class ServiceFunction(TypedDict, closed=True):
    service_arn: "capo_resiliencehubv2.types.arn.Arn"
    service_function_id: "capo_resiliencehubv2.types.entity_id.EntityId"
    """<p>The unique identifier of the service function.</p>"""
    name: "capo_resiliencehubv2.types.entity_label.EntityLabel"
    description: NotRequired[
        "capo_resiliencehubv2.types.entity_description.EntityDescription"
    ]
    criticality: "capo_resiliencehubv2.types.service_function_criticality.ServiceFunctionCriticality"
    """<p>The criticality level of the service function.</p>"""
    resource_count: NotRequired["int"]
    """<p>The number of resources associated with the service function.</p>"""
    source: NotRequired[
        "capo_resiliencehubv2.types.service_function_source.ServiceFunctionSource"
    ]
    """<p>The source of the service function.</p>"""
    created_at: NotRequired["datetime.datetime"]
    """<p>The timestamp when the service function was created.</p>"""
    updated_at: NotRequired["datetime.datetime"]
    """<p>The timestamp when the service function was last updated.</p>"""

created_at instance-attribute

created_at: NotRequired[datetime]

The timestamp when the service function was created.

criticality instance-attribute

The criticality level of the service function.

description instance-attribute

description: NotRequired[EntityDescription]

name instance-attribute

resource_count instance-attribute

resource_count: NotRequired[int]

The number of resources associated with the service function.

service_arn instance-attribute

service_arn: Arn

service_function_id instance-attribute

service_function_id: EntityId

The unique identifier of the service function.

source instance-attribute

source: NotRequired[ServiceFunctionSource]

The source of the service function.

updated_at instance-attribute

updated_at: NotRequired[datetime]

The timestamp when the service function was last updated.