-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into km/aws_amazon_q
- Loading branch information
Showing
61 changed files
with
5,204 additions
and
456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@startuml | ||
|
||
class IAMEntity { | ||
- id: string | ||
- inlinePolicy: PolicyStatement[] | ||
} | ||
|
||
class User | ||
class Group | ||
class Role | ||
note bottom of Role | ||
Role has a trust policy that defines what users, | ||
groups or services can assume this role. | ||
Can have a cross account trust. | ||
end note | ||
IAMEntity <|-- Group | ||
IAMEntity <|-- Role | ||
IAMEntity <|-- User | ||
Group *-- User | ||
|
||
class Policy { | ||
- managedBy: AWS|Customer | ||
} | ||
class PolicyStatement { | ||
- effect: Allow|Deny | ||
- actions: string[] | ||
- notActions: string[] | ||
- resources: string[] | ||
- conditions: string[] | ||
- more... | ||
} | ||
class Resource { | ||
- inlinePolicy: PolicyStatement[] | ||
} | ||
Policy -> PolicyStatement | ||
IAMEntity -> Policy | ||
PolicyStatement ..> Resource | ||
|
||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
@startuml | ||
|
||
hide empty members | ||
|
||
|
||
class User | ||
class Group | ||
class PermissionSet { | ||
- inlinePolicy: PolicyStatement[] | ||
} | ||
|
||
Group o--> User | ||
User o--> PermissionSet | ||
Group o--> PermissionSet | ||
|
||
(Group, PermissionSet) .. Account | ||
Account .. (User, PermissionSet) | ||
|
||
package AwsAccount { | ||
class Role | ||
PermissionSet .> Role | ||
} | ||
|
||
note bottom of AwsAccount.Role | ||
The Permissions of the PermissionSet is | ||
replicated as Role into every Account. | ||
end note | ||
|
||
class PolicyStatement { | ||
- effect: Allow|Deny | ||
- actions: string[] | ||
- notActions: string[] | ||
- resources: string[] | ||
- conditions: string[] | ||
} | ||
PermissionSet o--> PolicyStatement | ||
|
||
note bottom of PermissionSet | ||
The same PermissionSet can be assigned to multiple | ||
Users and Groups in multiple accounts. | ||
end note | ||
note right of User | ||
Has nothing to do with Iam User. | ||
end note | ||
note right of Group | ||
Has nothing to do with Iam Group. | ||
end note | ||
|
||
|
||
|
||
note top of Group | ||
AWS SSO User AWS IAM Identity Center (SSO) | ||
is usually available in one account in the organization | ||
and one region. | ||
|
||
It is allowed to have more than one SSO instance in individual accounts. | ||
end note | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.