Skip to main content

Amplify CLI cdk-exported-backend

Integration Tests

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)

Source distribution for aws-amplify.cdk.exported-backend 0.0.6
File Size Uploaded
aws-amplify.cdk.exported-backend-0.0.6.tar.gz 147.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-amplify.cdk.exported-backend 0.0.6
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page