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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_idString

The deployment ID.

Returns:

  • (String)


2242
2243
2244
2245
2246
2247
2248
2249
2250
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2242

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

#instance_idString

The instance ID.

Returns:

  • (String)


2242
2243
2244
2245
2246
2247
2248
2249
2250
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2242

class InstanceSummary < Struct.new(
  :deployment_id,
  :instance_id,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_type)
  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)


2242
2243
2244
2245
2246
2247
2248
2249
2250
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2242

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

#last_updated_atTime

A timestamp indicating when the instance information was last updated.

Returns:

  • (Time)


2242
2243
2244
2245
2246
2247
2248
2249
2250
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2242

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

#lifecycle_eventsArray<Types::LifecycleEvent>

A list of lifecycle events for this instance.

Returns:



2242
2243
2244
2245
2246
2247
2248
2249
2250
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2242

class InstanceSummary < Struct.new(
  :deployment_id,
  :instance_id,
  :status,
  :last_updated_at,
  :lifecycle_events,
  :instance_type)
  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)


2242
2243
2244
2245
2246
2247
2248
2249
2250
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2242

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