Skip to content

Commit 805b851

Browse files
authored
Merge pull request #2907 from kakakakakku/apigw-stepfunctions-lambda-bedrock-s3-sns
apigw-stepfunctions-lambda-bedrock-s3-sns: Update aws-cdk-lib for Python 3.14
2 parents 89c47c1 + 5bd2586 commit 805b851

File tree

7 files changed

+8
-34
lines changed

7 files changed

+8
-34
lines changed

apigw-stepfunctions-lambda-bedrock-s3-sns/README.md

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,6 @@ Important: this application uses various AWS services and there are costs associ
1515
* [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html) installed and configured
1616
* [Git Installed](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
1717
* [AWS Cloud Development Kit](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html) installed
18-
* [Amazon Bedrock Nova Reel Access](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html#add-model-access)
19-
20-
## Amazon Bedrock setup instructions
21-
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).
22-
23-
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.
24-
25-
![Region Selection](bedrock_setup/region-selection.png)
26-
27-
1. Find **Amazon Bedrock** by searching in the AWS console.
28-
29-
![Bedrock Search](bedrock_setup/bedrock-search.png)
30-
31-
1. Expand the side menu.
32-
33-
![Bedrock Expand Menu](bedrock_setup/bedrock-menu-expand.png)
34-
35-
1. From the side menu, select **Model access**.
36-
37-
![Model Access](bedrock_setup/model-access-link.png)
38-
39-
1. Select the **Edit** button.
40-
41-
![Model Access View](bedrock_setup/model-access-view.png)
42-
43-
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.
4418

4519
## Deployment Instructions
4620

@@ -100,12 +74,12 @@ We'll be making requests to the *generateVideo* endpoint with a desired prompt.
10074
10175
Follow the example below and replace `{your-api-url}` with your api url from step 9.
10276
103-
```
104-
curl -X POST \
105-
{your-api-url}/generateVideo \
106-
-H "Content-Type: application/json" \
107-
-d '{"prompt": "video of a car made up of fruits"}'
108-
```
77+
```sh
78+
curl -X POST \
79+
{your-api-url}/generateVideo \
80+
-H "Content-Type: application/json" \
81+
-d '{"prompt": "video of a car made up of fruits"}'
82+
```
10983

11084
## Review results
11185

@@ -124,4 +98,4 @@ Within 4-5 minutes, you would be receiving an email with Amazon S3 Pre-Signed UR
12498
----
12599
Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
126100

127-
SPDX-License-Identifier: MIT-0
101+
SPDX-License-Identifier: MIT-0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
aws-cdk-lib==2.171.1
1+
aws-cdk-lib==2.226.0
22
constructs>=10.0.0,<11.0.0

0 commit comments

Comments
 (0)