1
1
AWSTemplateFormatVersion: "2010-09-09"
2
2
3
- Description: Amazon Transcribe Post Call Analytics - PCA (v0.7.12 ) (uksb-1sn29lk73, SO9071)
3
+ Description: Amazon Transcribe Post Call Analytics - PCA (v0.7.13 ) (uksb-1sn29lk73, SO9071)
4
4
5
5
Parameters:
6
6
@@ -626,12 +626,6 @@ Conditions:
626
626
ShouldCreateKendraIndexDeveloperEdition: !Equals [!Ref EnableTranscriptKendraSearch, 'Yes, create new Kendra Index (Developer Edition)']
627
627
ShouldDeployPcaDashboards: !Equals [!Ref EnablePcaDashboards, 'Yes']
628
628
ShouldLoadSampleFiles: !Equals [!Ref loadSampleAudioFiles, 'true']
629
- ShouldDeployBedrockBoto3Layer: !Or [
630
- !Equals [!Ref CallSummarization, 'BEDROCK'],
631
- !Equals [!Ref CallSummarization, 'BEDROCK+TCA'],
632
- !Equals [!Ref CallSummarization, 'TCA-ONLY'],
633
- !Equals [!Ref GenAIQuery, 'BEDROCK'],
634
- ]
635
629
ShouldDeployLLMThirdPartyApiKey: !And [!Not [!Equals [!Ref SummarizationLLMThirdPartyApiKey, '']], !Not [!Equals [!Ref SummarizationLLMThirdPartyApiKey, undefined]]]
636
630
ShouldTestBedrockModelId: !And [
637
631
!Or [
@@ -917,7 +911,7 @@ Resources:
917
911
Properties:
918
912
Handler: index.lambda_handler
919
913
Role: !GetAtt 'TestBedrockModelFunctionRole.Arn'
920
- Runtime: python3.11
914
+ Runtime: python3.13
921
915
Timeout: 60
922
916
MemorySize: 128
923
917
Code:
@@ -927,9 +921,6 @@ Resources:
927
921
import subprocess
928
922
import os
929
923
import sys
930
- print("install latest boto3 to get bedrock service support")
931
- subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--target', '/tmp', 'boto3'])
932
- sys.path.insert(0,'/tmp')
933
924
import boto3
934
925
from botocore.config import Config
935
926
@@ -1090,12 +1081,6 @@ Resources:
1090
1081
Parameters:
1091
1082
ParentStackName: !Ref 'AWS::StackName'
1092
1083
1093
- BedrockBoto3Layer:
1094
- Type: AWS::CloudFormation::Stack
1095
- # Condition: ShouldDeployBedrockBoto3Layer
1096
- Properties:
1097
- TemplateURL: pca-boto3-bedrock/template.yaml
1098
-
1099
1084
LLMThirdPartyApiKeySecret:
1100
1085
Condition: ShouldDeployLLMThirdPartyApiKey
1101
1086
Type: AWS::SecretsManager::Secret
@@ -1127,10 +1112,6 @@ Resources:
1127
1112
- ''
1128
1113
SummarizationLambdaFunctionArn: !Ref SummarizationLambdaFunctionArn
1129
1114
PyUtilsLayerArn: !GetAtt PythonUtilsLayer.Outputs.PyUtilsLayer
1130
- Boto3LayerArn: !If
1131
- - ShouldDeployBedrockBoto3Layer
1132
- - !GetAtt BedrockBoto3Layer.Outputs.Boto3Layer
1133
- - ''
1134
1115
LLMTableName: !GetAtt LLMPromptConfigure.Outputs.LLMTableName
1135
1116
1136
1117
PCAUI:
@@ -1167,10 +1148,6 @@ Resources:
1167
1148
- !Ref LLMThirdPartyApiKeySecret
1168
1149
- ''
1169
1150
PyUtilsLayerArn: !GetAtt PythonUtilsLayer.Outputs.PyUtilsLayer
1170
- Boto3LayerArn: !If
1171
- - ShouldDeployBedrockBoto3Layer
1172
- - !GetAtt BedrockBoto3Layer.Outputs.Boto3Layer
1173
- - ''
1174
1151
LLMTableName: !GetAtt LLMPromptConfigure.Outputs.LLMTableName
1175
1152
1176
1153
MediaSearchKendraFinder:
@@ -1249,7 +1226,7 @@ Resources:
1249
1226
Condition: ShouldDeployPcaDashboards
1250
1227
Properties:
1251
1228
Handler: index.handler
1252
- Runtime: python3.11
1229
+ Runtime: python3.13
1253
1230
Role: !GetAtt QuickSightEnabledCheckFunctionRole.Arn
1254
1231
Code:
1255
1232
ZipFile: !Sub |
0 commit comments