Skip to content

Deployment

Source code in docs_src/capo_greengrassv2/types/deployment.py
class Deployment(TypedDict, closed=True):
    target_arn: NotRequired["capo_greengrassv2.types.target_arn.TargetARN"]
    """<p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.</p>"""
    revision_id: NotRequired["capo_greengrassv2.types.non_empty_string.NonEmptyString"]
    """<p>The revision number of the deployment.</p>"""
    deployment_id: NotRequired[
        "capo_greengrassv2.types.non_empty_string.NonEmptyString"
    ]
    """<p>The ID of the deployment.</p>"""
    deployment_name: NotRequired[
        "capo_greengrassv2.types.non_empty_string.NonEmptyString"
    ]
    """<p>The name of the deployment.</p>"""
    creation_timestamp: NotRequired["capo_greengrassv2.types.timestamp.Timestamp"]
    """<p>The time at which the deployment was created, expressed in ISO 8601 format.</p>"""
    deployment_status: NotRequired[
        "capo_greengrassv2.types.deployment_status.DeploymentStatus"
    ]
    """<p>The status of the deployment.</p>"""
    is_latest_for_target: (
        "capo_greengrassv2.types.is_latest_for_target.IsLatestForTarget"
    )
    """<p>Whether or not the deployment is the latest revision for its target.</p>"""
    parent_target_arn: NotRequired[
        "capo_greengrassv2.types.thing_group_arn.ThingGroupARN"
    ]
    """<p>The parent deployment's target <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> within a subdeployment.</p>"""

creation_timestamp instance-attribute

creation_timestamp: NotRequired[Timestamp]

The time at which the deployment was created, expressed in ISO 8601 format.

deployment_id instance-attribute

deployment_id: NotRequired[NonEmptyString]

The ID of the deployment.

deployment_name instance-attribute

deployment_name: NotRequired[NonEmptyString]

The name of the deployment.

deployment_status instance-attribute

deployment_status: NotRequired[DeploymentStatus]

The status of the deployment.

is_latest_for_target instance-attribute

is_latest_for_target: IsLatestForTarget

Whether or not the deployment is the latest revision for its target.

parent_target_arn instance-attribute

parent_target_arn: NotRequired[ThingGroupARN]

The parent deployment's target ARN within a subdeployment.

revision_id instance-attribute

revision_id: NotRequired[NonEmptyString]

The revision number of the deployment.

target_arn instance-attribute

target_arn: NotRequired[TargetARN]

The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.