View a markdown version of this page

AWS::AmplifyGen3::App PrescribedEnvironment - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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.

AWS::AmplifyGen3::App PrescribedEnvironment

The configuration of one of the two environments that every Amazon Amplify Gen 3 app has. Use it for the ProductionEnvironment and PreviewEnvironment properties of AWS::AmplifyGen3::App.

Syntax

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

Properties

Backend

The backend settings for the environment. Database is present only when the app has a backend. Auth is present whenever it is stored.

Required: No

Type: EnvironmentBackend

Update requires: No interruption

CreatedAt

The time at which the environment was created. The value is in ISO-8601 format.

Required: No

Type: String

Update requires: No interruption

EnvironmentArn

The Amazon Resource Name (ARN) of the environment.

Required: No

Type: String

Minimum: 1

Maximum: 512

Update requires: No interruption

EnvironmentName

The name of the environment.

Required: No

Type: String

Minimum: 1

Maximum: 40

Update requires: No interruption

EnvironmentRoleArn

The Amazon Resource Name (ARN) of the IAM role for the environment.

Required: Yes

Type: String

Minimum: 20

Maximum: 2048

Update requires: No interruption

EnvironmentRolePermissionMode

The permission mode for the environment's IAM role.

Required: No

Type: String

Allowed values: SCOPED | FULL

Update requires: No interruption

EnvironmentVariables

The environment variables for the environment. Changes take effect at the next deployment.

Required: No

Type: Array of EnvironmentVariable

Update requires: No interruption

GradualRolloutConfig

The gradual rollout settings.

Required: No

Type: GradualRolloutConfig

Update requires: No interruption

NetworkConfig

The VPC network configuration for the environment.

Required: No

Type: NetworkConfig

Update requires: No interruption

SourceConfig

The source configuration for the environment.

Required: No

Type: EnvironmentSourceConfig

Update requires: No interruption

WafLogConfigs

A list of the environment's Amazon WAF log configurations. Omitted when the environment has no WAF log configuration.

Required: No

Type: Array of WafLogConfig

Minimum: 1

Maximum: 1

Update requires: No interruption

Web

The web hosting settings for the environment.

Required: No

Type: EnvironmentWeb

Update requires: No interruption