You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ECS::Types::DescribeServicesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb

Overview

Note:

When making an API call, you may pass DescribeServicesRequest data as a hash:

{
  cluster: "String",
  services: ["String"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed.

Returns:

  • (String)


1558
1559
1560
1561
1562
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1558

class DescribeServicesRequest < Struct.new(
  :cluster,
  :services)
  include Aws::Structure
end

#servicesArray<String>

A list of services to describe. You may specify up to 10 services to describe in a single operation.

Returns:

  • (Array<String>)


1558
1559
1560
1561
1562
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1558

class DescribeServicesRequest < Struct.new(
  :cluster,
  :services)
  include Aws::Structure
end