You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeDeploy::Types::InstanceTarget

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A target Amazon EC2 or on-premises instance during a deployment that uses the EC2/On-premises compute platform.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_idString

The unique ID of a deployment.

Returns:

  • (String)

    The unique ID of a deployment.

#instance_labelString

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

Possible values:

  • Blue
  • Green

Returns:

  • (String)

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

#last_updated_atTime

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

Returns:

  • (Time)

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

#lifecycle_eventsArray<Types::LifecycleEvent>

The lifecycle events of the deployment to this target instance.

Returns:

#statusString

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

Possible values:

  • Pending
  • InProgress
  • Succeeded
  • Failed
  • Skipped
  • Unknown
  • Ready

Returns:

  • (String)

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

#target_arnString

The ARN of the target.

Returns:

  • (String)

    The ARN of the target.

#target_idString

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

Returns:

  • (String)

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