Resource
¶
Source code in docs_src/capo_ecs/types/resource.py
double_value
instance-attribute
¶
double_value: Double
When the doubleValue type is set, the value of the resource must be a double precision floating-point type.
integer_value
instance-attribute
¶
integer_value: Integer
When the integerValue type is set, the value of the resource must be an integer.
long_value
instance-attribute
¶
long_value: Long
When the longValue type is set, the value of the resource must be an extended precision floating-point type.
name
instance-attribute
¶
name: NotRequired[String]
The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.
string_set_value
instance-attribute
¶
string_set_value: NotRequired[StringList]
When the stringSetValue type is set, the value of the resource must be a string type.