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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_idString

The unique ID of a deployment.

Returns:

  • (String)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2864

class InstanceTarget < Struct.new(
  :deployment_id,
  :target_id,
  :target_arn,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_label)
  include Aws::Structure
end

#instance_labelString

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

Returns:

  • (String)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2864

class InstanceTarget < Struct.new(
  :deployment_id,
  :target_id,
  :target_arn,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_label)
  include Aws::Structure
end

#last_updated_atTime

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

Returns:

  • (Time)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2864

class InstanceTarget < Struct.new(
  :deployment_id,
  :target_id,
  :target_arn,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_label)
  include Aws::Structure
end

#lifecycle_eventsArray<Types::LifecycleEvent>

The lifecycle events of the deployment to this target instance.

Returns:



2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2864

class InstanceTarget < Struct.new(
  :deployment_id,
  :target_id,
  :target_arn,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_label)
  include Aws::Structure
end

#statusString

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

Returns:

  • (String)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2864

class InstanceTarget < Struct.new(
  :deployment_id,
  :target_id,
  :target_arn,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_label)
  include Aws::Structure
end

#target_arnString

The ARN of the target.

Returns:

  • (String)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2864

class InstanceTarget < Struct.new(
  :deployment_id,
  :target_id,
  :target_arn,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_label)
  include Aws::Structure
end

#target_idString

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

Returns:

  • (String)


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2864

class InstanceTarget < Struct.new(
  :deployment_id,
  :target_id,
  :target_arn,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_label)
  include Aws::Structure
end