cleanup_s3.purge_bucket

Hook Path

runway.cfngin.hooks.cleanup_s3.purge_bucket

Delete objects in a Bucket. Primarily used as a pre_destroy hook before deleting an S3 bucket.

Changed in version 2.0.0: Moved from runway.hooks to runway.cfngin.hooks.

Args

bucket_name: str

Name of the S3 bucket.