Skip to content

InstanceTarget

Source code in docs_src/capo_codedeploy/types/instance_target.py
class InstanceTarget(TypedDict, closed=True):
    deployment_id: NotRequired["capo_codedeploy.types.deployment_id.DeploymentId"]
    """<p> The unique ID of a deployment. </p>"""
    target_id: NotRequired["capo_codedeploy.types.target_id.TargetId"]
    """<p> The unique ID of a deployment target that has a type of <code>instanceTarget</code>. </p>"""
    target_arn: NotRequired["capo_codedeploy.types.target_arn.TargetArn"]
    """<p> The Amazon Resource Name (ARN) of the target. </p>"""
    status: NotRequired["capo_codedeploy.types.target_status.TargetStatus"]
    """<p> The status an EC2/On-premises deployment's target instance. </p>"""
    last_updated_at: NotRequired["capo_codedeploy.types.time.Time"]
    """<p> The date and time when the target instance was updated by a deployment. </p>"""
    lifecycle_events: NotRequired[
        "capo_codedeploy.types.lifecycle_event_list.LifecycleEventList"
    ]
    """<p> The lifecycle events of the deployment to this target instance. </p>"""
    instance_label: NotRequired["capo_codedeploy.types.target_label.TargetLabel"]
    """<p> A label that identifies whether the instance is an original target (<code>BLUE</code>) or a replacement target (<code>GREEN</code>). </p>"""

deployment_id instance-attribute

deployment_id: NotRequired[DeploymentId]

The unique ID of a deployment.

instance_label instance-attribute

instance_label: NotRequired[TargetLabel]

A label that identifies whether the instance is an original target (BLUE) or a replacement target (GREEN).

last_updated_at instance-attribute

last_updated_at: NotRequired[Time]

The date and time when the target instance was updated by a deployment.

lifecycle_events instance-attribute

lifecycle_events: NotRequired[LifecycleEventList]

The lifecycle events of the deployment to this target instance.

status instance-attribute

status: NotRequired[TargetStatus]

The status an EC2/On-premises deployment's target instance.

target_arn instance-attribute

target_arn: NotRequired[TargetArn]

The Amazon Resource Name (ARN) of the target.

target_id instance-attribute

target_id: NotRequired[TargetId]

The unique ID of a deployment target that has a type of instanceTarget.