I hereby claim:
- I am kichik on github.
- I am kichik (https://keybase.io/kichik) on keybase.
- I have a public key whose fingerprint is 4E00 9AF2 0152 8344 7D5A 349F 3BC9 8C15 5628 BF8B
To claim this, I am signing this object:
| from aws_cdk import ( | |
| Duration, | |
| CustomResource, | |
| aws_apprunner_alpha as apprunner, | |
| aws_lambda as lambda_, | |
| aws_route53 as route53, | |
| aws_logs as logs, | |
| custom_resources, | |
| ) |
| try: | |
| import aws_cdk.core as core # CDK 1 | |
| except ImportError: | |
| import aws_cdk as core # CDK 2 | |
| from aws_cdk import aws_codepipeline as codepipeline | |
| from aws_cdk import aws_kms as kms | |
| from aws_cdk import aws_s3 as s3 | |
| from aws_cdk import pipelines | |
| app = core.App() |
| # aws cloudformation deploy --template-file KeepDbStopped.yml --stack-name stop-db --capabilities CAPABILITY_IAM --parameter-overrides DB=arn:aws:rds:us-east-1:XXX:db:XXX | |
| Description: Automatically stop RDS instance every time it turns on due to exceeding the maximum allowed time being stopped | |
| Parameters: | |
| DB: | |
| Description: ARN of database that needs to be stopped | |
| Type: String | |
| AllowedPattern: arn:aws:rds:[a-z0-9\-]+:[0-9]+:db:[^:]* | |
| MaxStartupTime: | |
| Description: Maximum number of minutes to wait between database is automatically started and the time it's ready to be shut down. Extend this limit if your database takes a long time to boot up. | |
| Type: Number |
I hereby claim:
To claim this, I am signing this object: