0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

generative-ai-use-cases-jp で Kendra を Enterprise Edition に変更してデプロイ

Posted at

はじめに

GitHub で公開されている generative-ai-use-cases-jp についての記事です。デフォルトでは、Kendra が Developer Edition でデプロイされます。使い方によっては Document の数が多くなったりするので、Enterprise Edition に変更したい事があります。

今回は、Edition の変更を行うショート記事です。

変更点

/packages/cdk/lib/construct/rag.tsのファイルを開き、47 行目付近にある Edition の指定を、ENTERPRISE_EDITION に変更します

    const index = new kendra.CfnIndex(this, 'KendraIndex', {
      name: 'generative-ai-use-cases-index',
      edition: 'ENTERPRISE_EDITION',
      roleArn: indexRole.roleArn,

この後、次のコマンドを実行しデプロイを行うことで、個別に構成が可能です。

npm ci
npm run cdk:deploy
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?