AWS RDS Database Auto Running Protection Stack
This constructor stack includes a function to automatically stop a database or cluster that will automatically start in 7 days.
Resources
This construct creating resource list.
- StepFunctions(StateMachine)
- IAM Role (StepFunctions)
- IAM Policy (StepFunctions)
- EventBridge
- IAM Role (EventBridge)
Install
TypeScript
install by npm
npm install @gammarers/aws-rds-database-auto-running-protection-stack
install by yarn
yarn add @gammarers/aws-rds-database-auto-running-protection-stack
install by pnpm
pnpm add @gammarers/aws-rds-database-auto-running-protection-stack
install by bun
bun add @gammarers/aws-rds-database-auto-running-protection-stack
Python
pip install gammarers.aws-rds-database-auto-running-protection-stack
C# / .NET
dotnet add package Gammarers.CDK.AWS.RDSDatabaseAutoRunningProtectionStack
Example
Code
import { RDSDatabaseAutoRunningProtectionStack } from '@gammarers/aws-rds-database-auto-running-protection-stack';
new RDSDatabaseAutoRunningProtectionStack(app, 'RDSDatabaseAutoRunningProtectionStack', {
stackName: 'rds-database-auto-running-protection-stack',
targetResource: {
tagKey: 'AutoRunningProtection',
tagValues: ['YES'],
},
resourceNamingOption: {
type: RDSDatabaseAutoRunningProtectionStackResourceNamingType.DEFAULT,
},
notifications: {
emails: [ // "Incoming Sample Message - EMAIL"
'foo@example.com',
'bar@example.net',
],
slack: { // "Incoming Sample Message - Slack"
webhookSecretName: 'example/slack/webhook', // Slack webhook secret
},
},
});
Slack webhook secret
Please save it in AWS Secrets Manager in the following format.
get your slack webhook url parts
https://hooks.slack.com/services/<workspace>/<channel>/<whebook>
| SecretKey | SecretValue |
|---|---|
| Workspace | |
| Channel | |
| Webhook |
Incoming Sample Message
Slack
License
This project is licensed under the Apache-2.0 License.
Metadata
Release files for gammarers.aws-rds-database-auto-running-protection-stack 2.7.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gammarers_aws_rds_database_auto_running_protection_stack-2.7.6.tar.gz | 230.7 kB | Without provenance | Details for gammarers_aws_rds_database_auto_running_protection_stack-2.7.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gammarers_aws_rds_database_auto_running_protection_stack-2.7.6-py3-none-any.whl | Python 3 | none | any | Details for gammarers_aws_rds_database_auto_running_protection_stack-2.7.6-py3-none-any.whl |
Total release size: 459.8 kB
Release files / gammarers_aws_rds_database_auto_running_protection_stack-2.7.6.tar.gz
| Download URL | gammarers_aws_rds_database_auto_running_protection_stack-2.7.6.tar.gz |
|---|---|
| Size | 230.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
836990d882f14f67b95f6b80d4f0d12ef099cc62cbb2cd95d65908b019b17b3c
|
|
BLAKE2b-256 checksum How to use checksums |
701e5e55442841a71bcaf5e63f0815ff7d062e6c7723677daf7d98cf0d387946
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.3
|
Release files / gammarers_aws_rds_database_auto_running_protection_stack-2.7.6-py3-none-any.whl
| Download URL | gammarers_aws_rds_database_auto_running_protection_stack-2.7.6-py3-none-any.whl |
|---|---|
| Size | 229.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9459b3510b257997d0a7f5e041c9d14efd1e45e05044c45e8ef90d22e3714604
|
|
BLAKE2b-256 checksum How to use checksums |
423f081d1f039618a9a941cdce2c94042995829e104205a2d370ec69488f3955
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.3
|
Security for gammarers.aws-rds-database-auto-running-protection-stack 2.7.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.