Class: AwsEcsCluster

Inherits:
Object
  • Object
show all
Includes:
AwsSingularResourceMixin
Defined in:
lib/resources/aws/aws_ecs_cluster.rb

Defined Under Namespace

Classes: Backend

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from AwsSingularResourceMixin

#exists?, included

Methods included from AwsResourceMixin

#catch_aws_errors, #check_resource_param_names, #initialize, #inspec_runner

Instance Attribute Details

#active_services_countObject (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_arnObject (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_nameObject (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_countObject (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_countObject (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_countObject (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

#statisticsObject (readonly)

Returns the value of attribute statistics.



13
14
15
# File 'lib/resources/aws/aws_ecs_cluster.rb', line 13

def statistics
  @statistics
end

#statusObject (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_sObject



17
18
19
# File 'lib/resources/aws/aws_ecs_cluster.rb', line 17

def to_s
  "AWS ECS cluster #{cluster_name}"
end