View a markdown version of this page

AWS::AmplifyUIBuilder::CodegenJob ReactStartCodegenJobData - 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::AmplifyUIBuilder::CodegenJob ReactStartCodegenJobData

Describes the code generation job configuration for a React project.

Syntax

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

JSON

{ "ApiConfiguration" : ApiConfiguration, "InlineSourceMap" : Boolean, "Module" : String, "RenderTypeDeclarations" : Boolean, "Script" : String, "Target" : String }

Properties

ApiConfiguration

The API configuration for the code generation job.

Required: No

Type: ApiConfiguration

Update requires: Replacement

InlineSourceMap

Specifies whether the code generation job should render inline source maps.

Required: No

Type: Boolean

Update requires: Replacement

Module

The JavaScript module type.

Required: No

Type: String

Allowed values: es2020 | esnext

Update requires: Replacement

RenderTypeDeclarations

Specifies whether the code generation job should render type declaration files.

Required: No

Type: Boolean

Update requires: Replacement

Script

The file type to use for a JavaScript project.

Required: No

Type: String

Allowed values: jsx | tsx | js

Update requires: Replacement

Target

The ECMAScript specification to use.

Required: No

Type: String

Allowed values: es2015 | es2020

Update requires: Replacement