aws Verified current stable Not installed? Cloud Infrastructure

Aws / Display Help S3 Mb

Display Help S3 Mb

Display help information for the S3 mb command.

$
Terminal
aws s3 mb help

When To Use

When needing assistance or clarification on command syntax and options for creating an S3 bucket.

Pro Tip

Use this command with 'more' or 'less' to paginate through a lengthy help output for better readability.

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
```
Usage: aws s3 mb [options] <bucket>

Create a new S3 bucket.

Options:
  --acl                     The canned ACL to apply. (e.g., private, public-read)
  --region                  The region to create the bucket in.
  --profile                 The profile to use for AWS access.

Examples:
  aws s3 mb s3://my-bucket --region us-west-2
```

Anatomy of Output

Understanding the result

AWS CLI version 2.x.x CLI Version

Displays the current AWS CLI version in use.

Usage: aws s3 mb [options] bucket Command Usage

General syntax for the command with options.

Options: Available Options

Here you will find flags like --region, --acl.

Troubleshooting

Common pitfalls

Unknown options: blah-blah

Solution: Check your spelling of the command or options.

Argument bucket is required.

Solution: Provide the necessary bucket name after the command.

Invalid parameters given to the command.

Solution: Review the help section for correct command usage.

Command Breakdown

What each part is doing

aws
Base Command
The executable that performs this operation. Here it runs Aws before the shell applies any redirect operators.

How To Run

Execution path

  1. Step 1

    Run: `aws s3 mb help` to display the help information for creating buckets.

  2. Step 2

    Check for usage details and options listed in the command output. Verify all options are available.

Alternative Approaches

Comparable commands in other tools

Alternative cloud infrastructure tools for the same job.