Create the Amazon resources - Amazon SDK for JavaScript
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

The Amazon SDK for JavaScript V3 API Reference Guide describes in detail all the API operations for the Amazon SDK for JavaScript version 3 (V3).

Create the Amazon resources

This topic is part of a tutorial about building an app that transcribes and displays voice messages for authenticated users. To start at the beginning of the tutorial, see Build a transcription app with authenticated users.

This topic describes how to provision Amazon resources for this app using the Amazon Cloud Development Kit (Amazon CDK).

Note

The Amazon CDK is a software development framework that enables you to define cloud application resources. For more information, see the Amazon Cloud Development Kit (Amazon CDK) Developer Guide.

To create resources for the app, use the template here on GitHub to create a Amazon CDK stack using either the Amazon Web Services Management Console or the Amazon CLI. For instructions on how to modify the stack, or to delete the stack and its associated resources when you have finished the tutorial, see here on GitHub.

Note

The stack name must be unique within an Amazon Region and Amazon account. You can specify up to 128 characters, and numbers and hyphens are allowed.

The resulting stack automatically provisions the following resources.

  • An Amazon Cognito identity pool with an authenticated user role.

  • An IAM policy with permissions for the Amazon S3 and Amazon Transcribe is attached to the authenticated user role.

  • An Amazon Cognito user pool that enables users to sign up and sign in to the app.

  • An Amazon S3 bucket to host the application files.

  • An Amazon S3 bucket to to store the transcriptions.

    Important

    This Amazon S3 bucket allows READ (LIST) public access, which enables anyone to list the objects within the bucket and potentially misuse the information. If you do not delete this Amazon S3 bucket immediately after completing the tutorial, we highly recommend you comply with the Security Best Practices in Amazon S3 in the Amazon Simple Storage Service User Guide.