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:
JSON
{ "Backend" :EnvironmentBackend, "CreatedAt" :String, "EnvironmentArn" :String, "EnvironmentName" :String, "EnvironmentRoleArn" :String, "EnvironmentRolePermissionMode" :String, "EnvironmentVariables" :[ EnvironmentVariable, ... ], "GradualRolloutConfig" :GradualRolloutConfig, "NetworkConfig" :NetworkConfig, "SourceConfig" :EnvironmentSourceConfig, "WafLogConfigs" :[ WafLogConfig, ... ], "Web" :EnvironmentWeb}
YAML
Backend:EnvironmentBackendCreatedAt:StringEnvironmentArn:StringEnvironmentName:StringEnvironmentRoleArn:StringEnvironmentRolePermissionMode:StringEnvironmentVariables:- EnvironmentVariableGradualRolloutConfig:GradualRolloutConfigNetworkConfig:NetworkConfigSourceConfig:EnvironmentSourceConfigWafLogConfigs:- WafLogConfigWeb:EnvironmentWeb
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:
1Maximum:
512Update requires: No interruption
EnvironmentName-
The name of the environment.
Required: No
Type: String
Minimum:
1Maximum:
40Update requires: No interruption
EnvironmentRoleArn-
The Amazon Resource Name (ARN) of the IAM role for the environment.
Required: Yes
Type: String
Minimum:
20Maximum:
2048Update requires: No interruption
EnvironmentRolePermissionMode-
The permission mode for the environment's IAM role.
Required: No
Type: String
Allowed values:
SCOPED | FULLUpdate 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:
1Maximum:
1Update requires: No interruption
Web-
The web hosting settings for the environment.
Required: No
Type: EnvironmentWeb
Update requires: No interruption