Class: Aws::CodeDeploy::Types::InstanceSummary

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

Overview

Information about an instance in a deployment.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_idString

The unique ID of a deployment.

Returns:

  • (String)


3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3256

class InstanceSummary < Struct.new(
  :deployment_id,
  :instance_id,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_type)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The instance ID.

Returns:

  • (String)


3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3256

class InstanceSummary < Struct.new(
  :deployment_id,
  :instance_id,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_type)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

Information about which environment an instance belongs to in a blue/green deployment.

  • BLUE: The instance is part of the original environment.

  • GREEN: The instance is part of the replacement environment.

Returns:

  • (String)


3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3256

class InstanceSummary < Struct.new(
  :deployment_id,
  :instance_id,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_type)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_atTime

A timestamp that indicates when the instance information was last updated.

Returns:

  • (Time)


3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3256

class InstanceSummary < Struct.new(
  :deployment_id,
  :instance_id,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_type)
  SENSITIVE = []
  include Aws::Structure
end

#lifecycle_eventsArray<Types::LifecycleEvent>

A list of lifecycle events for this instance.

Returns:



3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3256

class InstanceSummary < Struct.new(
  :deployment_id,
  :instance_id,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_type)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The deployment status for this instance:

  • Pending: The deployment is pending for this instance.

  • In Progress: The deployment is in progress for this instance.

  • Succeeded: The deployment has succeeded for this instance.

  • Failed: The deployment has failed for this instance.

  • Skipped: The deployment has been skipped for this instance.

  • Unknown: The deployment status is unknown for this instance.

Returns:

  • (String)


3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3256

class InstanceSummary < Struct.new(
  :deployment_id,
  :instance_id,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_type)
  SENSITIVE = []
  include Aws::Structure
end