Class: Aws::ECS::Types::Resource
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::Resource
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
Describes the resources available for a container instance.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#double_value ⇒ Float
When the
doubleValuetype is set, the value of the resource must be a double precision floating-point type. -
#integer_value ⇒ Integer
When the
integerValuetype is set, the value of the resource must be an integer. -
#long_value ⇒ Integer
When the
longValuetype is set, the value of the resource must be an extended precision floating-point type. -
#name ⇒ String
The name of the resource, such as
CPU,MEMORY,PORTS,PORTS_UDP, or a user-defined resource. -
#string_set_value ⇒ Array<String>
When the
stringSetValuetype is set, the value of the resource must be a string type. -
#type ⇒ String
The type of the resource.
Instance Attribute Details
#double_value ⇒ Float
When the doubleValue type is set, the value of the resource must
be a double precision floating-point type.
10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10068 class Resource < Struct.new( :name, :type, :double_value, :long_value, :integer_value, :string_set_value) SENSITIVE = [] include Aws::Structure end |
#integer_value ⇒ Integer
When the integerValue type is set, the value of the resource must
be an integer.
10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10068 class Resource < Struct.new( :name, :type, :double_value, :long_value, :integer_value, :string_set_value) SENSITIVE = [] include Aws::Structure end |
#long_value ⇒ Integer
When the longValue type is set, the value of the resource must be
an extended precision floating-point type.
10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10068 class Resource < Struct.new( :name, :type, :double_value, :long_value, :integer_value, :string_set_value) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the resource, such as CPU, MEMORY, PORTS,
PORTS_UDP, or a user-defined resource.
10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10068 class Resource < Struct.new( :name, :type, :double_value, :long_value, :integer_value, :string_set_value) SENSITIVE = [] include Aws::Structure end |
#string_set_value ⇒ Array<String>
When the stringSetValue type is set, the value of the resource
must be a string type.
10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10068 class Resource < Struct.new( :name, :type, :double_value, :long_value, :integer_value, :string_set_value) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of the resource. Valid values: INTEGER, DOUBLE, LONG,
or STRINGSET.
10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10068 class Resource < Struct.new( :name, :type, :double_value, :long_value, :integer_value, :string_set_value) SENSITIVE = [] include Aws::Structure end |