Location

class aws_cdk.aws_gamelift_alpha.Location(*, region, capacity=None)

Bases: object

(experimental) A remote location where a multi-location fleet can deploy EC2 instances for game hosting.

Parameters:
  • region (str) – (experimental) An AWS Region code.

  • capacity (Union[LocationCapacity, Dict[str, Any], None]) – (experimental) Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet’s remote location or its home Region. Default: no capacity settings on the specified location

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_gamelift_alpha as gamelift_alpha

location = gamelift_alpha.Location(
    region="region",

    # the properties below are optional
    capacity=gamelift_alpha.LocationCapacity(
        desired_capacity=123,
        max_size=123,
        min_size=123
    )
)

Attributes

capacity

(experimental) Current resource capacity settings in a specified fleet or location.

The location value might refer to a fleet’s remote location or its home Region.

Default:

no capacity settings on the specified location

Stability:

experimental

region

(experimental) An AWS Region code.

Stability:

experimental