View a markdown version of this page

AWS::AmplifyGen3::App BuildConfig - 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 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: String InstallCommand: String OutputDirectory: String RootDirectory: String

Properties

BuildCommand

The command that builds the application.

Required: Yes

Type: String

Minimum: 1

Maximum: 1024

Update requires: No interruption

InstallCommand

The command that installs dependencies during the build.

Required: Yes

Type: String

Minimum: 1

Maximum: 1024

Update requires: No interruption

OutputDirectory

The directory that contains the build output to deploy.

Required: Yes

Type: String

Minimum: 1

Maximum: 256

Update requires: No interruption

RootDirectory

The directory in the repository that contains the application source.

Required: No

Type: String

Minimum: 1

Maximum: 256

Update requires: No interruption