File tree Expand file tree Collapse file tree 9 files changed +117
-0
lines changed
samples/bedrock-agent-ui-wrapper Expand file tree Collapse file tree 9 files changed +117
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ # with the License. A copy of the License is located at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ # and limitations under the License.
12+ #
13+
114
215#!/usr/bin/env python3
316import os
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ # with the License. A copy of the License is located at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ # and limitations under the License.
12+ #
13+
114import json
215import os
316import boto3
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ # with the License. A copy of the License is located at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ # and limitations under the License.
12+ #
13+
114import json
215import os
316import boto3
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ # with the License. A copy of the License is located at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ # and limitations under the License.
12+ #
13+
114from typing import Any , Dict
215from aws_cdk import (
316 aws_route53 as route53 ,
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ # with the License. A copy of the License is located at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ # and limitations under the License.
12+ #
13+
114from aws_cdk import (
215 Stack ,
316 aws_iam as iam ,
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ # with the License. A copy of the License is located at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ # and limitations under the License.
12+ #
13+
114from constructs import Construct
215from datetime import datetime
316from aws_cdk import (
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ # with the License. A copy of the License is located at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ # and limitations under the License.
12+ #
13+
114import os
215import json
316from constructs import Construct
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ # with the License. A copy of the License is located at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ # and limitations under the License.
12+ #
13+
114import os
215from pathlib import Path
316
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5+ # with the License. A copy of the License is located at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10+ # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11+ # and limitations under the License.
12+ #
13+
114import streamlit as st
215import boto3
316import uuid
You can’t perform that action at this time.
0 commit comments