Skip to content

Deployment

Source code in docs_src/capo_proton/types/deployment.py
class Deployment(TypedDict, closed=True):
    id: "capo_proton.types.deployment_id.DeploymentId"
    """<p>The ID of the deployment.</p>"""
    arn: "capo_proton.types.deployment_arn.DeploymentArn"
    """<p>The Amazon Resource Name (ARN) of the deployment.</p>"""
    target_arn: "capo_proton.types.arn.Arn"
    """<p>The Amazon Resource Name (ARN) of the target of the deployment.</p>"""
    target_resource_created_at: "datetime.datetime"
    """<p>The date and time the depoyment target was created.</p>"""
    target_resource_type: (
        "capo_proton.types.deployment_target_resource_type.DeploymentTargetResourceType"
    )
    """<p>The resource type of the deployment target. It can be an environment, service, service instance, or component.</p>"""
    environment_name: "capo_proton.types.resource_name.ResourceName"
    """<p>The name of the environment associated with this deployment.</p>"""
    service_name: NotRequired["capo_proton.types.resource_name.ResourceName"]
    """<p>The name of the service in this deployment.</p>"""
    service_instance_name: NotRequired["capo_proton.types.resource_name.ResourceName"]
    """<p>The name of the deployment's service instance.</p>"""
    component_name: NotRequired["capo_proton.types.resource_name.ResourceName"]
    """<p>The name of the component associated with this deployment.</p>"""
    deployment_status: "capo_proton.types.deployment_status.DeploymentStatus"
    """<p>The status of the deployment.</p>"""
    deployment_status_message: NotRequired[
        "capo_proton.types.status_message.StatusMessage"
    ]
    """<p>The deployment status message.</p>"""
    created_at: "datetime.datetime"
    """<p>The date and time the deployment was created.</p>"""
    last_modified_at: "datetime.datetime"
    """<p>The date and time the deployment was last modified.</p>"""
    completed_at: NotRequired["datetime.datetime"]
    """<p>The date and time the deployment was completed.</p>"""
    last_attempted_deployment_id: NotRequired[
        "capo_proton.types.deployment_id.DeploymentId"
    ]
    """<p>The ID of the last attempted deployment.</p>"""
    last_succeeded_deployment_id: NotRequired[
        "capo_proton.types.deployment_id.DeploymentId"
    ]
    """<p>The ID of the last successful deployment.</p>"""
    initial_state: NotRequired["capo_proton.types.deployment_state.DeploymentState"]
    """<p>The initial state of the target resource at the time of the deployment.</p>"""
    target_state: NotRequired["capo_proton.types.deployment_state.DeploymentState"]
    """<p>The target state of the target resource at the time of the deployment.</p>"""

arn instance-attribute

The Amazon Resource Name (ARN) of the deployment.

completed_at instance-attribute

completed_at: NotRequired[datetime]

The date and time the deployment was completed.

component_name instance-attribute

component_name: NotRequired[ResourceName]

The name of the component associated with this deployment.

created_at instance-attribute

created_at: datetime

The date and time the deployment was created.

deployment_status instance-attribute

deployment_status: DeploymentStatus

The status of the deployment.

deployment_status_message instance-attribute

deployment_status_message: NotRequired[StatusMessage]

The deployment status message.

environment_name instance-attribute

environment_name: ResourceName

The name of the environment associated with this deployment.

id instance-attribute

The ID of the deployment.

initial_state instance-attribute

initial_state: NotRequired[DeploymentState]

The initial state of the target resource at the time of the deployment.

last_attempted_deployment_id instance-attribute

last_attempted_deployment_id: NotRequired[DeploymentId]

The ID of the last attempted deployment.

last_modified_at instance-attribute

last_modified_at: datetime

The date and time the deployment was last modified.

last_succeeded_deployment_id instance-attribute

last_succeeded_deployment_id: NotRequired[DeploymentId]

The ID of the last successful deployment.

service_instance_name instance-attribute

service_instance_name: NotRequired[ResourceName]

The name of the deployment's service instance.

service_name instance-attribute

service_name: NotRequired[ResourceName]

The name of the service in this deployment.

target_arn instance-attribute

target_arn: Arn

The Amazon Resource Name (ARN) of the target of the deployment.

target_resource_created_at instance-attribute

target_resource_created_at: datetime

The date and time the depoyment target was created.

target_resource_type instance-attribute

target_resource_type: DeploymentTargetResourceType

The resource type of the deployment target. It can be an environment, service, service instance, or component.

target_state instance-attribute

target_state: NotRequired[DeploymentState]

The target state of the target resource at the time of the deployment.