Skip to content

(aws-cdk/aws-amplify): (Add Platform property to amplify.App) #24076

@kevinold

Description

@kevinold

Describe the feature

Amplify accepts a Platform property via CloudFormation, but this is not accessible via the CDK.

Use Case

I am looking to deploy single-page applications (SPAs) and server-rendered applications (SSR) to Amplify via CDK.

The Platform defaults to "WEB" if not set, and deploying an SSR application via the CDK, I need a way to set the Platform to "WEB_COMPUTE".

Proposed Solution

Add a platform property to the AppProps for amplify.App.

Other Information

No response

Acknowledgements

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

CDK version used

2.63.2

Environment details (OS name and version, etc.)

MacOS Monterey 12.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-amplifyRelated to AWS Amplifyeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions