Class: FluentECS::Task
- Inherits:
-
Object
- Object
- FluentECS::Task
- Includes:
- Resource
- Defined in:
- lib/fluent_ecs/task.rb
Instance Attribute Summary collapse
-
#arn ⇒ Object
Returns the value of attribute arn.
-
#container_instance ⇒ Object
Returns the value of attribute container_instance.
-
#desired_status ⇒ Object
Returns the value of attribute desired_status.
-
#family ⇒ Object
Returns the value of attribute family.
-
#known_status ⇒ Object
Returns the value of attribute known_status.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
- #containers ⇒ Object
-
#initialize(attrs = {}) ⇒ Task
constructor
A new instance of Task.
Methods included from Resource
Constructor Details
#initialize(attrs = {}) ⇒ Task
Returns a new instance of Task.
9 10 11 12 13 14 15 16 |
# File 'lib/fluent_ecs/task.rb', line 9 def initialize(attrs = {}) @arn = attrs['Arn'] @desired_status = attrs['DesiredStatus'] @family = attrs['Family'] @known_status = attrs['KnownStatus'] @version = attrs['Version'] @container_data = attrs['Containers'] end |
Instance Attribute Details
#arn ⇒ Object
Returns the value of attribute arn.
6 7 8 |
# File 'lib/fluent_ecs/task.rb', line 6 def arn @arn end |
#container_instance ⇒ Object
Returns the value of attribute container_instance.
6 7 8 |
# File 'lib/fluent_ecs/task.rb', line 6 def container_instance @container_instance end |
#desired_status ⇒ Object
Returns the value of attribute desired_status.
6 7 8 |
# File 'lib/fluent_ecs/task.rb', line 6 def desired_status @desired_status end |
#family ⇒ Object
Returns the value of attribute family.
6 7 8 |
# File 'lib/fluent_ecs/task.rb', line 6 def family @family end |
#known_status ⇒ Object
Returns the value of attribute known_status.
6 7 8 |
# File 'lib/fluent_ecs/task.rb', line 6 def known_status @known_status end |
#version ⇒ Object
Returns the value of attribute version.
6 7 8 |
# File 'lib/fluent_ecs/task.rb', line 6 def version @version end |