Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsy0911/zenn-streamlit-cognito
https://github.com/gsy0911/zenn-streamlit-cognito
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gsy0911/zenn-streamlit-cognito
- Owner: gsy0911
- License: mit
- Created: 2021-08-07T00:57:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-15T00:39:27.000Z (8 months ago)
- Last Synced: 2024-06-15T12:26:47.053Z (8 months ago)
- Language: TypeScript
- Size: 376 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zenn-streamlit-cognito
[![cdk-version](https://img.shields.io/badge/aws_cdk-2.27.0-green.svg)](https://formulae.brew.sh/formula/aws-cdk)
[![NodeVersion](https://img.shields.io/badge/node-16.15.0-blue.svg)](https://nodejs.org/ja/)![](./streamlit_cognito_infra.png)
# zenn article
- [cognitoを利用してstreamlitへのアクセス範囲を限定する](https://zenn.dev/gsy0911/articles/da47b660b7dd2b7d1ae7)
- see: [tag: CDKv1](https://github.com/gsy0911/zenn-streamlit-cognito/tree/CDKv1)# deploy step
1. create `infra/params.ts` from example
```shell
$ cp infrastructure/lib/paramsExample.ts infrastructure/lib/params.ts
```2. prepare your domain in `Route53`
3. get Certificate of your domain in `ACM`4. edit `params.ts` and set parameters
5. deploy via CDK```shell
# in infra directory
$ cdk ls
streamlit-cognito$ cdk deploy
Do you wish to deploy these changes (y/n)? y
...
```6. access your domain