Class: Aws::ECS::Types::ContainerStateChange

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

Overview

An object that represents a change in state for a container.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_name ⇒ String

The name of the container.

Returns:

  • (String)


2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2783

class ContainerStateChange < Struct.new(
  :container_name,
  :image_digest,
  :runtime_id,
  :exit_code,
  :network_bindings,
  :reason,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#exit_code ⇒ Integer

The exit code for the container, if the state change is a result of the container exiting.

Returns:

  • (Integer)


2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2783

class ContainerStateChange < Struct.new(
  :container_name,
  :image_digest,
  :runtime_id,
  :exit_code,
  :network_bindings,
  :reason,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#image_digest ⇒ String

The container image SHA 256 digest.

Returns:

  • (String)


2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2783

class ContainerStateChange < Struct.new(
  :container_name,
  :image_digest,
  :runtime_id,
  :exit_code,
  :network_bindings,
  :reason,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#network_bindings ⇒ Array<Types::NetworkBinding>

Any network bindings that are associated with the container.

Returns:



2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2783

class ContainerStateChange < Struct.new(
  :container_name,
  :image_digest,
  :runtime_id,
  :exit_code,
  :network_bindings,
  :reason,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#reason ⇒ String

The reason for the state change.

Returns:

  • (String)


2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2783

class ContainerStateChange < Struct.new(
  :container_name,
  :image_digest,
  :runtime_id,
  :exit_code,
  :network_bindings,
  :reason,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#runtime_id ⇒ String

The ID of the Docker container.

Returns:

  • (String)


2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2783

class ContainerStateChange < Struct.new(
  :container_name,
  :image_digest,
  :runtime_id,
  :exit_code,
  :network_bindings,
  :reason,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The status of the container.

Returns:

  • (String)


2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 2783

class ContainerStateChange < Struct.new(
  :container_name,
  :image_digest,
  :runtime_id,
  :exit_code,
  :network_bindings,
  :reason,
  :status)
  SENSITIVE = []
  include Aws::Structure
end