1.22.0-alpha.7 • Published 5 months ago

@cdk-cloudformation/awscommunity-s3-deletebucketcontents v1.22.0-alpha.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

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.