Package-level declarations
Types
Stage for the auto created branch.
The type of cache configuration to use for an Amplify app. The AMPLIFY_MANAGED
cache configuration automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules. This is the default setting. The AMPLIFY_MANAGED_NO_COOKIES
cache configuration type is the same as AMPLIFY_MANAGED
, except that it excludes all cookies from the cache key.
The platform for the Amplify app. For a static app, set the platform type to WEB
. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
. If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to WEB_COMPUTE
and set the artifacts baseDirectory
to .next
in the application's build settings. For an example of the build specification settings, see Amplify build settings for a Next.js 14 SSG application in the Amplify Hosting User Guide .
Describes the current stage for the branch.
The type of SSL/TLS certificate that you want to use. Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you. Specify CUSTOM
to use your own certificate that you have already added to AWS Certificate Manager in your AWS account . Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into AWS Certificate Manager in the ACM User guide .
The certificate type. Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you. Specify CUSTOM
to use your own certificate that you have already added to AWS Certificate Manager in your AWS account . Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into AWS Certificate Manager in the ACM User guide .