Skip to content

LifecycleExecutionResource

Source code in docs_src/capo_imagebuilder/types/lifecycle_execution_resource.py
class LifecycleExecutionResource(TypedDict, closed=True):
    account_id: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>The account that owns the impacted resource.</p>"""
    resource_id: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>Identifies the impacted resource. The resource ID depends on the type of resource, as follows.</p> <ul> <li> <p>Image Builder image resources: Amazon Resource Name (ARN)</p> </li> <li> <p>Distributed AMIs: AMI ID</p> </li> <li> <p>Container images distributed to an ECR repository: image URI or SHA Digest</p> </li> </ul>"""
    state: NotRequired[
        "capo_imagebuilder.types.lifecycle_execution_resource_state.LifecycleExecutionResourceState"
    ]
    """<p>The runtime state of the lifecycle action for this resource.</p>"""
    action: NotRequired[
        "capo_imagebuilder.types.lifecycle_execution_resource_action.LifecycleExecutionResourceAction"
    ]
    """<p>The action to take for the identified resource.</p>"""
    region: NotRequired["capo_imagebuilder.types.non_empty_string.NonEmptyString"]
    """<p>The Amazon Web Services Region where the lifecycle execution resource is stored.</p>"""
    snapshots: NotRequired[
        "capo_imagebuilder.types.lifecycle_execution_snapshot_resource_list.LifecycleExecutionSnapshotResourceList"
    ]
    """<p>A list of associated resource snapshots for the impacted resource if it’s an AMI.</p>"""
    image_uris: NotRequired["capo_imagebuilder.types.string_list.StringList"]
    """<p>For an impacted container image, this identifies a list of URIs for associated container images distributed to ECR repositories.</p>"""
    start_time: NotRequired[
        "capo_imagebuilder.types.date_time_timestamp.DateTimeTimestamp"
    ]
    """<p>The starting timestamp from the lifecycle action that was applied to the resource.</p>"""
    end_time: NotRequired[
        "capo_imagebuilder.types.date_time_timestamp.DateTimeTimestamp"
    ]
    """<p>The ending timestamp from the lifecycle action that was applied to the resource.</p>"""

account_id instance-attribute

account_id: NotRequired[NonEmptyString]

The account that owns the impacted resource.

action instance-attribute

action: NotRequired[LifecycleExecutionResourceAction]

The action to take for the identified resource.

end_time instance-attribute

end_time: NotRequired[DateTimeTimestamp]

The ending timestamp from the lifecycle action that was applied to the resource.

image_uris instance-attribute

image_uris: NotRequired[StringList]

For an impacted container image, this identifies a list of URIs for associated container images distributed to ECR repositories.

region instance-attribute

region: NotRequired[NonEmptyString]

The Amazon Web Services Region where the lifecycle execution resource is stored.

resource_id instance-attribute

resource_id: NotRequired[NonEmptyString]

Identifies the impacted resource. The resource ID depends on the type of resource, as follows.

  • Image Builder image resources: Amazon Resource Name (ARN)

  • Distributed AMIs: AMI ID

  • Container images distributed to an ECR repository: image URI or SHA Digest

snapshots instance-attribute

A list of associated resource snapshots for the impacted resource if it’s an AMI.

start_time instance-attribute

start_time: NotRequired[DateTimeTimestamp]

The starting timestamp from the lifecycle action that was applied to the resource.

state instance-attribute

state: NotRequired[LifecycleExecutionResourceState]

The runtime state of the lifecycle action for this resource.