Skip to content

Commit

Permalink
fix(cw role): setting for automatic creation of cloudwatch role for a…
Browse files Browse the repository at this point in the history
…pigw
  • Loading branch information
massi-ang authored and bigadsoleiman committed Mar 11, 2024
1 parent 4df641a commit 9e6e875
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/aws-genai-llm-chatbot-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export class AwsGenAILLMChatbotStack extends cdk.Stack {
`/${this.stackName}/ChatBotApi/Realtime/Resolvers/outgoing-message-handler/ServiceRole/DefaultPolicy/Resource`,
`/${this.stackName}/IdeficsInterface/IdeficsInterfaceRequestHandler/ServiceRole/DefaultPolicy/Resource`,
`/${this.stackName}/IdeficsInterface/IdeficsInterfaceRequestHandler/ServiceRole/Resource`,
`/${this.stackName}/IdeficsInterface/ChatbotFilesPrivateApi/CloudWatchRole/Resource`,
`/${this.stackName}/IdeficsInterface/S3IntegrationRole/DefaultPolicy/Resource`,
],
[
Expand Down
1 change: 1 addition & 0 deletions lib/model-interfaces/idefics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export class IdeficsInterface extends Construct {
accessLogDestination: new apigateway.LogGroupLogDestination(logGroup),
accessLogFormat: apigateway.AccessLogFormat.jsonWithStandardFields(),
},
cloudWatchRole: true,
binaryMediaTypes: ["*/*"],
endpointConfiguration: {
types: [apigateway.EndpointType.PRIVATE],
Expand Down

0 comments on commit 9e6e875

Please sign in to comment.