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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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_nameString

The name of the container.

Returns:

  • (String)


2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'lib/aws-sdk-ecs/types.rb', line 2370

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

#exit_codeInteger

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

Returns:

  • (Integer)


2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'lib/aws-sdk-ecs/types.rb', line 2370

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

#image_digestString

The container image SHA 256 digest.

Returns:

  • (String)


2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'lib/aws-sdk-ecs/types.rb', line 2370

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

#network_bindingsArray<Types::NetworkBinding>

Any network bindings that are associated with the container.

Returns:



2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'lib/aws-sdk-ecs/types.rb', line 2370

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

#reasonString

The reason for the state change.

Returns:

  • (String)


2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'lib/aws-sdk-ecs/types.rb', line 2370

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

#runtime_idString

The ID of the Docker container.

Returns:

  • (String)


2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'lib/aws-sdk-ecs/types.rb', line 2370

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

#statusString

The status of the container.

Returns:

  • (String)


2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
# File 'lib/aws-sdk-ecs/types.rb', line 2370

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