

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::AmplifyGen3::Environment EnvironmentBackend

The backend settings for an environment.

## Syntax
<a name="aws-properties-amplifygen3-environment-environmentbackend-syntax"></a>

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

### JSON
<a name="aws-properties-amplifygen3-environment-environmentbackend-syntax.json"></a>

```json
{
  "[Auth](#cfn-amplifygen3-environment-environmentbackend-auth)" : {{Json}},
  "[Database](#cfn-amplifygen3-environment-environmentbackend-database)" : {{DatabaseConfig}},
  "[DatabaseLogConfig](#cfn-amplifygen3-environment-environmentbackend-databaselogconfig)" : {{DatabaseLogConfig}}
}
```

### YAML
<a name="aws-properties-amplifygen3-environment-environmentbackend-syntax.yaml"></a>

```yaml
  [Auth](#cfn-amplifygen3-environment-environmentbackend-auth): {{Json}}
  [Database](#cfn-amplifygen3-environment-environmentbackend-database): {{
    DatabaseConfig}}
  [DatabaseLogConfig](#cfn-amplifygen3-environment-environmentbackend-databaselogconfig): {{
    DatabaseLogConfig}}
```

## Properties
<a name="aws-properties-amplifygen3-environment-environmentbackend-properties"></a>

`Auth`  <a name="cfn-amplifygen3-environment-environmentbackend-auth"></a>
The authentication settings for the environment's backend, as a JSON document, from the most recent successful CreateEnvironment or UpdateEnvironment request. The settings take effect at the next deployment.  
*Required*: No  
*Type*: Json  
*Minimum*: `2`  
*Maximum*: `32768`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Database`  <a name="cfn-amplifygen3-environment-environmentbackend-database"></a>
The database settings for the environment, from the most recent successful CreateEnvironment or UpdateEnvironment request. The settings take effect at the next deployment.  
*Required*: No  
*Type*: [DatabaseConfig](aws-properties-amplifygen3-environment-databaseconfig.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DatabaseLogConfig`  <a name="cfn-amplifygen3-environment-environmentbackend-databaselogconfig"></a>
The delivery settings for the environment's database logs.  
*Required*: No  
*Type*: [DatabaseLogConfig](aws-properties-amplifygen3-environment-databaselogconfig.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)