Amplify CLI cdk-exported-backend
This CDK construct is used to include the CloudFormation resources generated by Amplify CLI Export command. The construct handles assets and CloudFormation files. It offers abstractions over the Amplify CLI generated cloud resources.
The library is published under the following
| Language | Repository |
|---|---|
| Typescript/Javascript | @aws-amplify/cdk-exported-backend |
| Python | aws-amplify.cdk.exported-backend |
| Java | com.amplifyframework:exported-backend |
Usage
Install via NPM:
npm i @aws-amplify/cdk-exported-backend@latest
Add to your CDK app:
import { AmplifyExportedBackend } from '@aws-amplify/cdk-exported-backend';
...
const amplifyExport = new AmplifyExportedBackend(app, 'AmplifyExportedBackend', {
path: './amplify-export-myAmplifyApp',
amplifyEnvironment: 'dev',
});
Construct Props
The construct props extend stack props and can be used to override the root stack properties.
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
| path | String | You can use the absolute or the relative path to the location of the folder. When using relative paths it's important to note that the path is relative to the root of your CDK application | Yes | undefined |
| stage | String | This works similar to Amplify CLI's environment names. The construct makes modification to be able to integrate into the CDK app. | Yes | undefined |
Deploy this to your account
cdk deploy
Contributing
We welcome community contributions and pull requests.
Security
See CONTRIBUTING for more information.
License
This project is licensed under the Apache-2.0 License.
Metadata
Release files for aws-amplify.cdk.exported-backend 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aws-amplify.cdk.exported-backend-0.0.6.tar.gz | 147.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aws_amplify.cdk.exported_backend-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 294.1 kB
Release files / aws-amplify.cdk.exported-backend-0.0.6.tar.gz
| Download URL | aws-amplify.cdk.exported-backend-0.0.6.tar.gz |
|---|---|
| Size | 147.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0414ed75461e790c5a1510c28512fb66e6b93ce5050585c3a28f45768ebe2a0
|
|
BLAKE2b-256 checksum How to use checksums |
019d15ce23e7e554fe75302558faf8e0b9f1baea164ba850f43f48f16ada3a3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.3
|
Release files / aws_amplify.cdk.exported_backend-0.0.6-py3-none-any.whl
| Download URL | aws_amplify.cdk.exported_backend-0.0.6-py3-none-any.whl |
|---|---|
| Size | 146.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
684f62f218ce89d6ac377a1de7f502801ad62a924b0cbb55748392e21dd653ba
|
|
BLAKE2b-256 checksum How to use checksums |
b5afcdfdf35b5b0d15c39d29c7b79d82c4c8e6054b999f2a979eef976501744b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.3
|