aws-samples / bedrock-claude-chat

AWS-native chatbot using Bedrock + Claude (+Mistral)
MIT No Attribution
828 stars 304 forks source link

[Feature Request] Set shutdown time to stop RDS #228

Closed k70suK3-k06a7ash1 closed 5 months ago

k70suK3-k06a7ash1 commented 5 months ago

Issue #, if available: issue Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

k70suK3-k06a7ash1 commented 5 months ago

テスト修正

k70suK3-k06a7ash1 commented 5 months ago

IF : https://docs.aws.amazon.com/ja_jp/eventbridge/latest/userguide/eb-cron-expressions.html

k70suK3-k06a7ash1 commented 5 months ago
   "rdbShutdown": {
      "timeToStop": "",
      "restorationTime": ""
    }

if rdbShutdown{} has timeToStop and restorationTime then create event bridge

k70suK3-k06a7ash1 commented 5 months ago

def cdk.json => cdk/bin => bedrock-stack(include validation)

k70suK3-k06a7ash1 commented 5 months ago

add cdk test if hasRDS then => create event bridge and lambda if !hasRDS then => none

k70suK3-k06a7ash1 commented 5 months ago

動作確認中ですmm

k70suK3-k06a7ash1 commented 5 months ago

動作確認OK

k70suK3-k06a7ash1 commented 5 months ago

@statefb 再三恐縮ですが確認お願いしますmm

k70suK3-k06a7ash1 commented 5 months ago

@statefb こちら、修正完了しました!

k70suK3-k06a7ash1 commented 5 months ago

@statefb 度重なって恐縮ですが、修正完了しました!

statefb commented 5 months ago

LGTM! Thank you!