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 BuildConfig
The build settings for an Amplify Gen 3 app.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "BuildCommand" :String, "InstallCommand" :String, "OutputDirectory" :String, "RootDirectory" :String}
YAML
BuildCommand:StringInstallCommand:StringOutputDirectory:StringRootDirectory:String
Properties
BuildCommand-
The command that builds the application.
Required: Yes
Type: String
Minimum:
1Maximum:
1024Update requires: No interruption
InstallCommand-
The command that installs dependencies during the build.
Required: Yes
Type: String
Minimum:
1Maximum:
1024Update requires: No interruption
OutputDirectory-
The directory that contains the build output to deploy.
Required: Yes
Type: String
Minimum:
1Maximum:
256Update requires: No interruption
RootDirectory-
The directory in the repository that contains the application source.
Required: No
Type: String
Minimum:
1Maximum:
256Update requires: No interruption