Bucket with content cleanup to allow bucket deletion when the stack will be destroyed
Project description
@cloudcomponents/cdk-deletable-bucket
Bucket with content cleanup to allow bucket deletion when the stack will be destroyed
Install
TypeScript/JavaScript:
npm i @cloudcomponents/cdk-deletable-bucket
Python:
pip install cloudcomponents.cdk-deletable-bucket
How to use
# Example automatically generated from non-compiling source. May contain errors.
from aws_cdk.core import Construct, Stack, StackProps
from cloudcomponents.cdk_deletable_bucket import DeletableBucket
class DeletableBucketStack(Stack):
def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None):
super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting)
DeletableBucket(self, "DeletableBucket",
bucket_name="bucket2delete",
force_delete=True
)
API Reference
See API.md.
Example
See more complete examples.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cloudcomponents.cdk-deletable-bucket-1.47.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74158164b91acfea66d0d2687e6f893d0b4aa0c08e1a85abad8dbb2870ae8dcb |
|
MD5 | c2a9f73320bb62d4fe834f5c46e4c98e |
|
BLAKE2b-256 | ed06d25bcdf62782b695b721871fcd964628f09c128fe9ab4c133a729de59928 |
Close
Hashes for cloudcomponents.cdk_deletable_bucket-1.47.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16abe629096449f89fdc65aca4b434a4efe91ea460987aa9955f0bbe66e986c8 |
|
MD5 | f1226c7f1c82a9f622daf7cb60eeadd2 |
|
BLAKE2b-256 | 2a37ced1a73c874d0c1c9b31162e980dd8bb9f3ed000442ba1709fa74dba2715 |