Skip to content

Commit

Permalink
add page for using libraries without Amplify backend (#7724)
Browse files Browse the repository at this point in the history
* add page for using libraries without Amplify backend

* Update src/pages/[platform]/start/libraries-standalone/index.mdx

Co-authored-by: Rene Brandel <[email protected]>

* rename page

* update intro

* Update src/pages/[platform]/start/connect-existing-aws-resources/index.mdx

Co-authored-by: Rene Brandel <[email protected]>

* Update src/pages/[platform]/start/connect-existing-aws-resources/index.mdx

Co-authored-by: Rene Brandel <[email protected]>

---------

Co-authored-by: Rene Brandel <[email protected]>
  • Loading branch information
hdworld11 and renebrandel authored Jun 12, 2024
1 parent a8f3bcc commit 82126fa
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/directory/directory.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ export const directory = {
{
path: 'src/pages/[platform]/start/manual-installation/index.mdx'
},
{
path: 'src/pages/[platform]/start/connect-existing-aws-resources/index.mdx'
},
{
path: 'src/pages/[platform]/start/kotlin-coroutines/index.mdx'
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import { getCustomStaticPath } from '@/utils/getCustomStaticPath';
import { Card } from '@aws-amplify/ui-react';

export const meta = {
title: 'Connect to existing AWS resources',
description: 'You can use Amplify client libraries to connect directly to your AWS resources without having to set up an Amplify backend.',
platforms: [
'android',
'angular',
'flutter',
'javascript',
'nextjs',
'react',
'react-native',
'swift',
'vue'
]
};

export const getStaticPaths = async () => {
return getCustomStaticPath(meta.platforms);
};

export function getStaticProps(context) {
return {
props: {
platform: context.params.platform,
meta
}
};
}

Amplify client libraries provide you with the flexibility to directly connect your application to AWS resources, regardless of whether you choose to set up an Amplify backend environment or manually configure individual AWS services, such as AWS AppSync, Amazon Cognito, Amazon S3, and more.

If you configured AWS resources outside of an Amplify backend, you can still use the Amplify libraries to connect to them by following the instructions provided:

<Columns columns={2}>
<Card variation="outlined">
[Connect to Cognito](/[platform]/build-a-backend/auth/use-existing-cognito-resources/)

Connect to Cognito resources using Amplify Auth's client library
</Card>
</Columns>

0 comments on commit 82126fa

Please sign in to comment.