Skip to content

@aws-cdk/aws-amplify-alpha module: Add performance mode option #18557

@AndyW22

Description

@AndyW22

Description

On the amplify console, there is a "performance mode" option on each branch, this is not present in CDK.

image

Use Case

Performance mode is useful with cache policies for the cloudfront distribution and should be an option for each branch.

Proposed Solution

performanceMode added to the BranchOptions interface with the existing autoBuild option:

    const master = amplifyApp.addBranch('master', {
     autoBuild: true,
     performanceMode: true
});

Other information

No response

Acknowledge

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-amplifyRelated to AWS Amplifyfeature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions