Resource - Amazon Elastic Container Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Resource

Describes the resources available for a container instance.

Contents

doubleValue

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

Type: Double

Required: No

integerValue

When the integerValue type is set, the value of the resource must be an integer.

Type: Integer

Required: No

longValue

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

Type: Long

Required: No

name

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

Type: String

Required: No

stringSetValue

When the stringSetValue type is set, the value of the resource must be a string type.

Type: Array of strings

Required: No

type

The type of the resource. Valid values: INTEGER, DOUBLE, LONG, or STRINGSET.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: