Class: AwsEcsCluster
- Inherits:
-
Object
- Object
- AwsEcsCluster
- Includes:
- AwsSingularResourceMixin
- Defined in:
- lib/resources/aws/aws_ecs_cluster.rb
Defined Under Namespace
Classes: Backend
Instance Attribute Summary collapse
-
#active_services_count ⇒ Object
readonly
Returns the value of attribute active_services_count.
-
#cluster_arn ⇒ Object
readonly
Returns the value of attribute cluster_arn.
-
#cluster_name ⇒ Object
readonly
Returns the value of attribute cluster_name.
-
#pending_tasks_count ⇒ Object
readonly
Returns the value of attribute pending_tasks_count.
-
#registered_container_instances_count ⇒ Object
readonly
Returns the value of attribute registered_container_instances_count.
-
#running_tasks_count ⇒ Object
readonly
Returns the value of attribute running_tasks_count.
-
#statistics ⇒ Object
readonly
Returns the value of attribute statistics.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
Methods included from AwsSingularResourceMixin
Methods included from AwsResourceMixin
#catch_aws_errors, #check_resource_param_names, #initialize, #inspec_runner
Instance Attribute Details
#active_services_count ⇒ Object (readonly)
Returns the value of attribute active_services_count.
13 14 15 |
# File 'lib/resources/aws/aws_ecs_cluster.rb', line 13 def active_services_count @active_services_count end |
#cluster_arn ⇒ Object (readonly)
Returns the value of attribute cluster_arn.
13 14 15 |
# File 'lib/resources/aws/aws_ecs_cluster.rb', line 13 def cluster_arn @cluster_arn end |
#cluster_name ⇒ Object (readonly)
Returns the value of attribute cluster_name.
13 14 15 |
# File 'lib/resources/aws/aws_ecs_cluster.rb', line 13 def cluster_name @cluster_name end |
#pending_tasks_count ⇒ Object (readonly)
Returns the value of attribute pending_tasks_count.
13 14 15 |
# File 'lib/resources/aws/aws_ecs_cluster.rb', line 13 def pending_tasks_count @pending_tasks_count end |
#registered_container_instances_count ⇒ Object (readonly)
Returns the value of attribute registered_container_instances_count.
13 14 15 |
# File 'lib/resources/aws/aws_ecs_cluster.rb', line 13 def registered_container_instances_count @registered_container_instances_count end |
#running_tasks_count ⇒ Object (readonly)
Returns the value of attribute running_tasks_count.
13 14 15 |
# File 'lib/resources/aws/aws_ecs_cluster.rb', line 13 def running_tasks_count @running_tasks_count end |
#statistics ⇒ Object (readonly)
Returns the value of attribute statistics.
13 14 15 |
# File 'lib/resources/aws/aws_ecs_cluster.rb', line 13 def statistics @statistics end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
13 14 15 |
# File 'lib/resources/aws/aws_ecs_cluster.rb', line 13 def status @status end |
Instance Method Details
#to_s ⇒ Object
17 18 19 |
# File 'lib/resources/aws/aws_ecs_cluster.rb', line 17 def to_s "AWS ECS cluster #{cluster_name}" end |