-
Notifications
You must be signed in to change notification settings - Fork 1k
apigw-stepfunctions-lambda-bedrock-s3-sns: Update aws-cdk-lib for Python 3.14 #2907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,32 +15,6 @@ Important: this application uses various AWS services and there are costs associ | |
| * [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html) installed and configured | ||
| * [Git Installed](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) | ||
| * [AWS Cloud Development Kit](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html) installed | ||
| * [Amazon Bedrock Nova Reel Access](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html#add-model-access) | ||
|
|
||
| ## Amazon Bedrock setup instructions | ||
| You must request access to Amazon Nova Reel model before you can use it. If you try to use the model (with the API or console) before you have requested access to it, you receive an error message. For more information, see [Model access](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html). | ||
|
|
||
| 1. In the AWS console, select the region from which you want to access Amazon Bedrock. At the time of writing, Amazon Bedrock is available in us-east-1 (N. Virginia) and us-west-2 (Oregon) regions. | ||
|
|
||
|  | ||
|
|
||
| 1. Find **Amazon Bedrock** by searching in the AWS console. | ||
|
|
||
|  | ||
|
|
||
| 1. Expand the side menu. | ||
|
|
||
|  | ||
|
|
||
| 1. From the side menu, select **Model access**. | ||
|
|
||
|  | ||
|
|
||
| 1. Select the **Edit** button. | ||
|
|
||
|  | ||
|
|
||
| 6. Use the checkboxes to select the models you wish to enable. Review the applicable EULAs as needed. Click **Save changes** to activate the models in your account. For this pattern we only need Nova Reel / model id: amazon.nova-reel-v1:0. | ||
|
|
||
| ## Deployment Instructions | ||
|
|
||
|
|
@@ -100,12 +74,12 @@ We'll be making requests to the *generateVideo* endpoint with a desired prompt. | |
|
|
||
| Follow the example below and replace `{your-api-url}` with your api url from step 9. | ||
|
|
||
| ``` | ||
| curl -X POST \ | ||
| {your-api-url}/generateVideo \ | ||
| -H "Content-Type: application/json" \ | ||
| -d '{"prompt": "video of a car made up of fruits"}' | ||
| ``` | ||
| ```sh | ||
| curl -X POST \ | ||
| {your-api-url}/generateVideo \ | ||
| -H "Content-Type: application/json" \ | ||
| -d '{"prompt": "video of a car made up of fruits"}' | ||
| ``` | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| ## Review results | ||
|
|
||
|
|
@@ -124,4 +98,4 @@ Within 4-5 minutes, you would be receiving an email with Amazon S3 Pre-Signed UR | |
| ---- | ||
| Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
|
|
||
| SPDX-License-Identifier: MIT-0 | ||
| SPDX-License-Identifier: MIT-0 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| aws-cdk-lib==2.171.1 | ||
| aws-cdk-lib==2.226.0 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note: I updated to latest version. Python 3.14 was supported since aws-cdk-lib v2.222.0 or later. |
||
| constructs>=10.0.0,<11.0.0 | ||

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: Model access page has been retired.
https://aws.amazon.com/blogs/security/simplified-amazon-bedrock-model-access/