

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::GameLift::Fleet AnywhereConfiguration
<a name="aws-properties-gamelift-fleet-anywhereconfiguration"></a>

Amazon GameLift Servers configuration options for your Anywhere fleets.

## Syntax
<a name="aws-properties-gamelift-fleet-anywhereconfiguration-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-gamelift-fleet-anywhereconfiguration-syntax.json"></a>

```
{
  "[Cost](#cfn-gamelift-fleet-anywhereconfiguration-cost)" : String
}
```

### YAML
<a name="aws-properties-gamelift-fleet-anywhereconfiguration-syntax.yaml"></a>

```
  [Cost](#cfn-gamelift-fleet-anywhereconfiguration-cost): String
```

## Properties
<a name="aws-properties-gamelift-fleet-anywhereconfiguration-properties"></a>

`Cost`  <a name="cfn-gamelift-fleet-anywhereconfiguration-cost"></a>
The cost to run your fleet per hour. Amazon GameLift Servers uses the provided cost of your fleet to balance usage in queues. For more information about queues, see [Setting up queues](https://docs.amazonaws.cn/gamelift/latest/developerguide/queues-intro.html) in the *Amazon GameLift Servers Developer Guide*.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^\d{1,5}(?:\.\d{1,5})?$`  
*Minimum*: `1`  
*Maximum*: `11`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## See also
<a name="aws-properties-gamelift-fleet-anywhereconfiguration--seealso"></a>
+ [ Create GameLift resources using Amazon CloudFront](https://docs.amazonaws.cn/gamelift/latest/developerguide/resources-cloudformation.html) in the *Amazon GameLift Developer Guide*
+ [ Create an Amazon GameLift Anywhere fleet](https://docs.amazonaws.cn/gamelift/latest/developerguide/fleets-creating-anywhere.html) in the *Amazon GameLift Developer Guide*
+ [LocationModel](https://docs.amazonaws.cn/gamelift/latest/apireference/API_LocationModel.html) in the *Amazon GameLift API Reference*

