Class: Aws::ECS::Types::SubmitTaskStateChangeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::SubmitTaskStateChangeRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
When making an API call, you may pass SubmitTaskStateChangeRequest data as a hash:
{
cluster: "String",
task: "String",
status: "String",
reason: "String",
containers: [
{
container_name: "String",
exit_code: 1,
network_bindings: [
{
bind_ip: "String",
container_port: 1,
host_port: 1,
protocol: "tcp", # accepts tcp, udp
},
],
reason: "String",
status: "String",
},
],
attachments: [
{
attachment_arn: "String", # required
status: "String", # required
},
],
pull_started_at: Time.now,
pull_stopped_at: Time.now,
execution_stopped_at: Time.now,
}
Instance Attribute Summary collapse
-
#attachments ⇒ Array<Types::AttachmentStateChange>
Any attachments associated with the state change request.
-
#cluster ⇒ String
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
-
#containers ⇒ Array<Types::ContainerStateChange>
Any containers associated with the state change request.
-
#execution_stopped_at ⇒ Time
The Unix time stamp for when the task execution stopped.
-
#pull_started_at ⇒ Time
The Unix time stamp for when the container image pull began.
-
#pull_stopped_at ⇒ Time
The Unix time stamp for when the container image pull completed.
-
#reason ⇒ String
The reason for the state change request.
-
#status ⇒ String
The status of the state change request.
-
#task ⇒ String
The task ID or full ARN of the task in the state change request.
Instance Attribute Details
#attachments ⇒ Array<Types::AttachmentStateChange>
Any attachments associated with the state change request.
4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 |
# File 'lib/aws-sdk-ecs/types.rb', line 4947 class SubmitTaskStateChangeRequest < Struct.new( :cluster, :task, :status, :reason, :containers, :attachments, :pull_started_at, :pull_stopped_at, :execution_stopped_at) include Aws::Structure end |
#cluster ⇒ String
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 |
# File 'lib/aws-sdk-ecs/types.rb', line 4947 class SubmitTaskStateChangeRequest < Struct.new( :cluster, :task, :status, :reason, :containers, :attachments, :pull_started_at, :pull_stopped_at, :execution_stopped_at) include Aws::Structure end |
#containers ⇒ Array<Types::ContainerStateChange>
Any containers associated with the state change request.
4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 |
# File 'lib/aws-sdk-ecs/types.rb', line 4947 class SubmitTaskStateChangeRequest < Struct.new( :cluster, :task, :status, :reason, :containers, :attachments, :pull_started_at, :pull_stopped_at, :execution_stopped_at) include Aws::Structure end |
#execution_stopped_at ⇒ Time
The Unix time stamp for when the task execution stopped.
4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 |
# File 'lib/aws-sdk-ecs/types.rb', line 4947 class SubmitTaskStateChangeRequest < Struct.new( :cluster, :task, :status, :reason, :containers, :attachments, :pull_started_at, :pull_stopped_at, :execution_stopped_at) include Aws::Structure end |
#pull_started_at ⇒ Time
The Unix time stamp for when the container image pull began.
4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 |
# File 'lib/aws-sdk-ecs/types.rb', line 4947 class SubmitTaskStateChangeRequest < Struct.new( :cluster, :task, :status, :reason, :containers, :attachments, :pull_started_at, :pull_stopped_at, :execution_stopped_at) include Aws::Structure end |
#pull_stopped_at ⇒ Time
The Unix time stamp for when the container image pull completed.
4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 |
# File 'lib/aws-sdk-ecs/types.rb', line 4947 class SubmitTaskStateChangeRequest < Struct.new( :cluster, :task, :status, :reason, :containers, :attachments, :pull_started_at, :pull_stopped_at, :execution_stopped_at) include Aws::Structure end |
#reason ⇒ String
The reason for the state change request.
4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 |
# File 'lib/aws-sdk-ecs/types.rb', line 4947 class SubmitTaskStateChangeRequest < Struct.new( :cluster, :task, :status, :reason, :containers, :attachments, :pull_started_at, :pull_stopped_at, :execution_stopped_at) include Aws::Structure end |
#status ⇒ String
The status of the state change request.
4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 |
# File 'lib/aws-sdk-ecs/types.rb', line 4947 class SubmitTaskStateChangeRequest < Struct.new( :cluster, :task, :status, :reason, :containers, :attachments, :pull_started_at, :pull_stopped_at, :execution_stopped_at) include Aws::Structure end |
#task ⇒ String
The task ID or full ARN of the task in the state change request.
4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 |
# File 'lib/aws-sdk-ecs/types.rb', line 4947 class SubmitTaskStateChangeRequest < Struct.new( :cluster, :task, :status, :reason, :containers, :attachments, :pull_started_at, :pull_stopped_at, :execution_stopped_at) include Aws::Structure end |