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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_idString

The unique ID of a deployment.

Returns:

  • (String)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
# File 'lib/aws-sdk-codedeploy/types.rb', line 2882

class InstanceTarget < Struct.new(
  :deployment_id,
  :target_id,
  :target_arn,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_label)
  SENSITIVE = []
  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)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
# File 'lib/aws-sdk-codedeploy/types.rb', line 2882

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

#last_updated_atTime

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

Returns:

  • (Time)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
# File 'lib/aws-sdk-codedeploy/types.rb', line 2882

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

#lifecycle_eventsArray<Types::LifecycleEvent>

The lifecycle events of the deployment to this target instance.

Returns:



2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
# File 'lib/aws-sdk-codedeploy/types.rb', line 2882

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

#statusString

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

Returns:

  • (String)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
# File 'lib/aws-sdk-codedeploy/types.rb', line 2882

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

#target_arnString

The Amazon Resource Name (ARN) of the target.

Returns:

  • (String)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
# File 'lib/aws-sdk-codedeploy/types.rb', line 2882

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

#target_idString

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

Returns:

  • (String)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
# File 'lib/aws-sdk-codedeploy/types.rb', line 2882

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