
AWSでS3のバケットを、AWS CLIで作成、削除、表示します。
S3のバケットを作成する!
S3のバケットを作成します。
| 1 2 | $ aws s3 mb s3://sample-20230605-cloudformation-templatesmake_bucket: sample-20230605-cloudformation-templates | 
S3のバケットを表示する!
作成したS3のバケットを表示します。
| 1 2 | $ aws s3 ls2023-06-05 06:06:38 sample-20230605-cloudformation-templates | 
S3のバケットを削除する!
S3のバケットを削除します。
| 1 2 | $ aws s3 rb s3://sample-20230605-cloudformation-templatesremove_bucket: sample-20230605-cloudformation-templates | 
S3のバケットを削除したことを確認する!
作成したS3のバケットが表示されないことを確認します。
| 1 | $ aws s3 rb s3://sample-20230605-cloudformation-templates | 
おわりに
S3のバケットをAWS CLIで作成、削除、表示しました。
関連記事

