Class: Aws::GameLift::Types::CreateContainerGroupDefinitionInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::CreateContainerGroupDefinitionInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-gamelift/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#container_definitions ⇒ Array<Types::ContainerDefinitionInput>
Definitions for all containers in this group.
-
#name ⇒ String
A descriptive identifier for the container group definition.
-
#operating_system ⇒ String
The platform that is used by containers in the container group definition.
-
#scheduling_strategy ⇒ String
The method for deploying the container group across fleet instances.
-
#tags ⇒ Array<Types::Tag>
A list of labels to assign to the container group definition resource.
-
#total_cpu_limit ⇒ Integer
The maximum amount of CPU units to allocate to the container group.
-
#total_memory_limit ⇒ Integer
The maximum amount of memory (in MiB) to allocate to the container group.
Instance Attribute Details
#container_definitions ⇒ Array<Types::ContainerDefinitionInput>
Definitions for all containers in this group. Each container definition identifies the container image and specifies configuration settings for the container. See the [ Container fleet design guide] for container guidelines.
[1]: docs.aws.amazon.com/gamelift/latest/developerguide/containers-design-fleet.html
1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1734 class CreateContainerGroupDefinitionInput < Struct.new( :name, :scheduling_strategy, :total_memory_limit, :total_cpu_limit, :container_definitions, :operating_system, :tags) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A descriptive identifier for the container group definition. The name value must be unique in an Amazon Web Services Region.
1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1734 class CreateContainerGroupDefinitionInput < Struct.new( :name, :scheduling_strategy, :total_memory_limit, :total_cpu_limit, :container_definitions, :operating_system, :tags) SENSITIVE = [] include Aws::Structure end |
#operating_system ⇒ String
The platform that is used by containers in the container group definition. All containers in a group must run on the same operating system.
1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1734 class CreateContainerGroupDefinitionInput < Struct.new( :name, :scheduling_strategy, :total_memory_limit, :total_cpu_limit, :container_definitions, :operating_system, :tags) SENSITIVE = [] include Aws::Structure end |
#scheduling_strategy ⇒ String
The method for deploying the container group across fleet instances. A replica container group might have multiple copies on each fleet instance. A daemon container group has one copy per fleet instance. Default value is ‘REPLICA`.
1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1734 class CreateContainerGroupDefinitionInput < Struct.new( :name, :scheduling_strategy, :total_memory_limit, :total_cpu_limit, :container_definitions, :operating_system, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of labels to assign to the container group definition resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see [ Tagging Amazon Web Services Resources] in the *Amazon Web Services General Reference*.
1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1734 class CreateContainerGroupDefinitionInput < Struct.new( :name, :scheduling_strategy, :total_memory_limit, :total_cpu_limit, :container_definitions, :operating_system, :tags) SENSITIVE = [] include Aws::Structure end |
#total_cpu_limit ⇒ Integer
The maximum amount of CPU units to allocate to the container group. Set this parameter to an integer value in CPU units (1 vCPU is equal to 1024 CPU units). All containers in the group share this memory. If you specify CPU limits for individual containers, set this parameter based on the following guidelines. The value must be equal to or greater than the sum of the CPU limits for all containers in the group.
1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1734 class CreateContainerGroupDefinitionInput < Struct.new( :name, :scheduling_strategy, :total_memory_limit, :total_cpu_limit, :container_definitions, :operating_system, :tags) SENSITIVE = [] include Aws::Structure end |
#total_memory_limit ⇒ Integer
The maximum amount of memory (in MiB) to allocate to the container group. All containers in the group share this memory. If you specify memory limits for individual containers, set this parameter based on the following guidelines. The value must be (1) greater than the sum of the soft memory limits for all containers in the group, and (2) greater than any individual container’s hard memory limit.
1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 |
# File 'lib/aws-sdk-gamelift/types.rb', line 1734 class CreateContainerGroupDefinitionInput < Struct.new( :name, :scheduling_strategy, :total_memory_limit, :total_cpu_limit, :container_definitions, :operating_system, :tags) SENSITIVE = [] include Aws::Structure end |