class Aws::ECS::Types::Resource
Describes the resources available for a container instance.
@note When making an API call, you may pass Resource
data as a hash: { name: "String", type: "String", double_value: 1.0, long_value: 1, integer_value: 1, string_set_value: ["String"], }
@!attribute [rw] name
The name of the resource, such as `CPU`, `MEMORY`, `PORTS`, `PORTS_UDP`, or a user-defined resource. @return [String]
@!attribute [rw] type
The type of the resource, such as `INTEGER`, `DOUBLE`, `LONG`, or `STRINGSET`. @return [String]
@!attribute [rw] double_value
When the `doubleValue` type is set, the value of the resource must be a double precision floating-point type. @return [Float]
@!attribute [rw] long_value
When the `longValue` type is set, the value of the resource must be an extended precision floating-point type. @return [Integer]
@!attribute [rw] integer_value
When the `integerValue` type is set, the value of the resource must be an integer. @return [Integer]
@!attribute [rw] string_set_value
When the `stringSetValue` type is set, the value of the resource must be a string type. @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Resource AWS API Documentation
Constants
- SENSITIVE