Class: Aws::GameLift::Types::CreateContainerGroupDefinitionInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_definitionsArray<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.



1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-gamelift/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

#nameString

A descriptive identifier for the container group definition. The name value must be unique in an Amazon Web Services Region.

Returns:

  • (String)


1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-gamelift/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_systemString

The platform that is used by containers in the container group definition. All containers in a group must run on the same operating system.

Returns:

  • (String)


1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-gamelift/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_strategyString

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.

Returns:

  • (String)


1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-gamelift/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

#tagsArray<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.

Returns:



1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-gamelift/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_limitInteger

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.

Returns:

  • (Integer)


1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-gamelift/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_limitInteger

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.

Returns:

  • (Integer)


1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
# File 'gems/aws-sdk-gamelift/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