Class: Ufo::ECS::Service
- Inherits:
-
Struct
- Object
- Struct
- Ufo::ECS::Service
- Defined in:
- lib/ufo/ecs/service.rb
Instance Attribute Summary collapse
-
#cluster_arn ⇒ Object
Returns the value of attribute cluster_arn.
-
#service_arn ⇒ Object
Returns the value of attribute service_arn.
Instance Method Summary collapse
Instance Attribute Details
#cluster_arn ⇒ Object
Returns the value of attribute cluster_arn
11 12 13 |
# File 'lib/ufo/ecs/service.rb', line 11 def cluster_arn @cluster_arn end |
#service_arn ⇒ Object
Returns the value of attribute service_arn
11 12 13 |
# File 'lib/ufo/ecs/service.rb', line 11 def service_arn @service_arn end |
Instance Method Details
#cluster_name ⇒ Object
12 13 14 |
# File 'lib/ufo/ecs/service.rb', line 12 def cluster_name cluster_arn.split('/').last end |
#service_name ⇒ Object
16 17 18 |
# File 'lib/ufo/ecs/service.rb', line 16 def service_name service_arn.split('/').last end |