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.14.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

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