14_IAM Policy Contents Summary

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

flashcard set

Earn XP

Description and Tags

Flashcards about IAM policies based on lecture notes

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

How are IAM policies stored?

IAM policies are stored in AWS as JSON documents, containing one or more statement elements.

2
New cards

What does each statement element in an IAM policy include?

Each statement includes an effect (allow or deny) and a principal that defines who the permission applies to.

3
New cards

In identity-based policies, how is the principle defined?

For identity-based policies, the principle is implied as the identity the policy is attached to.

4
New cards

What does the 'action' element describe in an IAM policy?

Describes what is allowed or denied within the policy.

5
New cards

What does the 'resource' element describe in an IAM policy?

Describes which AWS resources the action applies to.

6
New cards

What is the purpose of the 'condition' element in an IAM policy?

An optional element that provides additional context for granting or denying permissions.

7
New cards

What does the first part of the example resource-based policy explicitly allow?

Any DynamoDB or S3 action on the DynamoDB table and S3 bucket listed in the resources section.

8
New cards

What does the second part of the example resource-based policy explicitly deny?

Access to any DynamoDB or S3 actions on all resources except for those listed under 'not resource'.

9
New cards

In the identity-based policy example, what does the first part of the statement allow?

Several IAM actions on a specified username within an AWS account.

10
New cards

In the cross-account resource-based policy example, what permission is granted?

Grants the principal (account number of account B) permission to perform any action on an S3 bucket in account A.

11
New cards

How are IAM Policies Stored?

IAM policies are stored as JSON documents.

12
New cards

What does each statement in an IAM policy describe?

Each statement describes effects, actions, and resources that together define a distinct permission.