class Aws::ECS::Types::ContainerStateChange

An object representing a change in state for a container.

@note When making an API call, you may pass ContainerStateChange

data as a hash:

    {
      container_name: "String",
      image_digest: "String",
      runtime_id: "String",
      exit_code: 1,
      network_bindings: [
        {
          bind_ip: "String",
          container_port: 1,
          host_port: 1,
          protocol: "tcp", # accepts tcp, udp
        },
      ],
      reason: "String",
      status: "String",
    }

@!attribute [rw] container_name

The name of the container.
@return [String]

@!attribute [rw] image_digest

The container image SHA 256 digest.
@return [String]

@!attribute [rw] runtime_id

The ID of the Docker container.
@return [String]

@!attribute [rw] exit_code

The exit code for the container, if the state change is a result of
the container exiting.
@return [Integer]

@!attribute [rw] network_bindings

Any network bindings associated with the container.
@return [Array<Types::NetworkBinding>]

@!attribute [rw] reason

The reason for the state change.
@return [String]

@!attribute [rw] status

The status of the container.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerStateChange AWS API Documentation

Constants

SENSITIVE