View a markdown version of this page

AWS::AmplifyUIBuilder::CodegenJob ReactStartCodegenJobData - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::AmplifyUIBuilder::CodegenJob ReactStartCodegenJobData

Describes the code generation job configuration for a React project.

Syntax

To declare this entity in your 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