@@ -19,6 +19,7 @@ export class VectorKnowledgeBaseResources extends Construct {
1919 super ( scope , id )
2020
2121 this . guardrail = new bedrock . CfnGuardrail ( this , "Guardrail" , {
22+ name : `eps-assist-guardrail-${ this . node . addr } ` ,
2223 description : "Guardrail for EPS Assist Me Slackbot" ,
2324 blockedInputMessaging : "Your input was blocked." ,
2425 blockedOutputsMessaging : "Your output was blocked." ,
@@ -46,6 +47,7 @@ export class VectorKnowledgeBaseResources extends Construct {
4647 } )
4748
4849 this . knowledgeBase = new bedrock . CfnKnowledgeBase ( this , "VectorKB" , {
50+ name : `eps-assist-kb-${ this . node . addr } ` ,
4951 description : "Knowledge base for EPS Assist Me Slackbot" ,
5052 roleArn : props . bedrockExecutionRole . roleArn ,
5153 knowledgeBaseConfiguration : {
@@ -70,6 +72,7 @@ export class VectorKnowledgeBaseResources extends Construct {
7072
7173 new bedrock . CfnDataSource ( this , "S3DataSource" , {
7274 knowledgeBaseId : this . knowledgeBase . attrKnowledgeBaseId ,
75+ name : `eps-assist-s3-datasource-${ this . node . addr } ` ,
7376 dataSourceConfiguration : {
7477 type : "S3" ,
7578 s3Configuration : {
0 commit comments