<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>go-to-k</author_name>
  <author_url>https://blog.hatena.ne.jp/go-to-k/</author_url>
  <blog_title>365歩のテック</blog_title>
  <blog_url>https://go-to-k.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>S3</anon>
    <anon>Go</anon>
    <anon>OSS/Tools</anon>
  </categories>
  <description>概要 S3コンソールの「バケットを空にする」機能がCLIやSDKではしづらい バージョニングがオフならCLIだとaws s3 rm --recursiveで可能だが、速度が遅い バージョニングがオンだとそもそもできない(やろうとすると面倒で大変) S3バケットを削除する際、バケットが空でないと削除できない CLIではaws s3 rb --forceで可能だが、速度が遅い 空にしたいが他リソースから依存されていて、CDKのautoDeleteObjectsなどでバケット削除+再作成が出来ない S3のライフサイクル機能で消そうとしても1日待たないといけない とにかく、大量のオブジェクトを早急に削…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgo-to-k.hatenablog.com%2Fentry%2Fcls3&quot; title=&quot;S3バケット高速削除・空にするツール(バージョニング対応) - 365歩のテック&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://github.com/user-attachments/assets/b8c17ce6-527b-4056-a2f5-635a2c16d967</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-10-24 01:28:00</published>
  <title>S3バケット高速削除・空にするツール(バージョニング対応)</title>
  <type>rich</type>
  <url>https://go-to-k.hatenablog.com/entry/cls3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
