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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_idString

The unique ID of a deployment.

Returns:

  • (String)


3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3303

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)


3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3303

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)


3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3303

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:



3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3303

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)


3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3303

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)


3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3303

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)


3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3303

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