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)


2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2835

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)


2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2835

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)


2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2835

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)


2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2835

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:



2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2835

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)


2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2835

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