init # プロジェクトの新規作成 ? Enter a name for the project kumoben ? Initialize the project with the above configuration? Yes ? Select the authentication method you want to use: AWS profile ? Please choose the profile you want to use default ⠧ Initializing project in the cloud... …
add auth # 認証機能(Cognito)の追加 ? Do you want to use the default authentication and security configuration? Default configuration ? How do you want users to be able to sign in? Username ? Do you want to configure advanced settings? No, I am done. 2. AWS Amplifyでサーバーレスアプリケーションを開発してみよう
Select from one of the below mentioned services: GraphQL ? Here is the GraphQL API that we will create. Select a setting to edit or continue Continue ? Choose a schema template: Single object with fields (e.g., “Todo” with ID, name, description) # 要件 • TODOの登録、更新、削除 → Amplify CLIでAPI機能を追加 2. AWS Amplifyでサーバーレスアプリケーションを開発してみよう
capability you want to add: Lambda function (serverless function) ? Provide an AWS Lambda function name: kumobenLambda ? Choose the runtime that you want to use: Python ? Do you want to configure advanced settings? Yes ? Do you want to invoke this function on a recurring schedule? Yes ? At which interval should the function be invoked: Daily ? Select the start time in UTC (use arrow keys): 12:00 AM ? Do you want to edit the local lambda function now? No # 要件 • 毎⽇のバッチ処理で1ヶ⽉以上経ったTODOを削除 → Amplify CLIでFunction機能を追加 2. AWS Amplifyでサーバーレスアプリケーションを開発してみよう