Skip to main content

An experimental extension that deletes all contents of the referenced bucket when the stack is deleted. Use with caution!

Project description

awscommunity-s3-deletebucketcontents

AWS CDK L1 construct and data structures for the AWS CloudFormation Registry type AwsCommunity::S3::DeleteBucketContents v1.22.0.

Description

An experimental extension that deletes all contents of the referenced bucket when the stack is deleted. Use with caution!

References

Usage

In order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using the AWS CLI using the following command:

aws cloudformation activate-type \
  --type-name AwsCommunity::S3::DeleteBucketContents \
  --publisher-id c830e97710da0c9954d80ba8df021e5439e7134b \
  --type RESOURCE \
  --execution-role-arn ROLE-ARN

Alternatively:

aws cloudformation activate-type \
  --public-type-arn arn:aws:cloudformation:us-east-1::type/resource/c830e97710da0c9954d80ba8df021e5439e7134b/AwsCommunity-S3-DeleteBucketContents \
  --execution-role-arn ROLE-ARN

You can find more information about activating this type in the AWS CloudFormation documentation.

Feedback

This library is auto-generated and published to all supported programming languages by the cdklabs/cdk-cloudformation project based on the API schema published for AwsCommunity::S3::DeleteBucketContents.

  • Issues related to this generated library should be reported here.
  • Issues related to AwsCommunity::S3::DeleteBucketContents should be reported to the publisher.

License

Distributed under the Apache-2.0 License.

Project details


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

File details

Details for the file cdk-cloudformation-awscommunity-s3-deletebucketcontents-1.22.0a7.tar.gz.

File metadata

File hashes

Hashes for cdk-cloudformation-awscommunity-s3-deletebucketcontents-1.22.0a7.tar.gz
Algorithm Hash digest
SHA256 c3dea5ca7395ad5ab2cc08df274c59eed1ed22dda42328e9fadbb98419e13241
MD5 c5815b29122862aed8060a252d093c27
BLAKE2b-256 bd1e31edccd04ff742c94f555ab32f3cb7e0174fbfc6b7e0862fce95a7fec58f

See more details on using hashes here.

File details

Details for the file cdk_cloudformation_awscommunity_s3_deletebucketcontents-1.22.0a7-py3-none-any.whl.

File metadata

File hashes

Hashes for cdk_cloudformation_awscommunity_s3_deletebucketcontents-1.22.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 d1c4548cea0c83f0a0d2c4b436a232fa3988a410ce32f43a3587688f8f8976c4
MD5 96e2c19ca80998fdbccfa90813a5ade9
BLAKE2b-256 2c989bb50d544acb1479da13c7466d4ec6d0f67165d7e508e440c9b35fd5a78a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page