Class: Aws::ECS::Types::SharingStrategy
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::SharingStrategy
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
SharingStrategy is a union - when making an API calls you must set exactly one of the members.
SharingStrategy is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SharingStrategy corresponding to the set member.
The strategy that a container uses to share a GPU with other containers. Specify exactly one member.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#nvidia_mps ⇒ Types::NvidiaMpsAllocation
Shares a GPU between containers by using NVIDIA Multi-Process Service (MPS).
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#nvidia_mps ⇒ Types::NvidiaMpsAllocation
Shares a GPU between containers by using NVIDIA Multi-Process Service (MPS). You specify the GPU memory to allocate to the container and, optionally, the maximum percentage of the GPU's compute capacity that the container can use.
18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 18145 class SharingStrategy < Struct.new( :nvidia_mps, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class NvidiaMps < SharingStrategy; end class Unknown < SharingStrategy; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
18145 18146 18147 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 18145 def unknown @unknown end |