From the course: Complete Guide to AWS Security and Compliance Management

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Illustrating S3 bucket policies with CLI

Illustrating S3 bucket policies with CLI

- [Narrator] Now that we know how to author bucket policies, let's see how they manifest using the command line interface. First, let's have a quick checkpoint quiz. Do you remember the four elements associated with bucket policies? The first is the effect, either allowing or denying an action. The second is the principal populated by the ARN, whose permissions you want to adjust. Then there's the action, which can get as granular as you'd like in terms of allowing or denying permissions. Finally, there's the resource, which is the ARN to which you want to adjust access. To help me illustrate this, I've created a couple of named profiles on my laptop. First, I've created a profile for Ari, the developer with access to production. Let's say she needs to resolve a performance issue and has to edit the Engine X configuration file. Based off of testing, she needs to adjust the worker connections from its 1024 default to 4096. She makes that change, then adds a comment to the file. After…

Contents