-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(identity-based-policy): add whyCannot method (#71)
- Loading branch information
1 parent
5405ef7
commit 47f21f1
Showing
65 changed files
with
844 additions
and
4 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [ActionBasedType](./iam-policies.actionbasedtype.md) | ||
|
||
## ActionBasedType type | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
declare type ActionBasedType = StatementInterface & (ActionBlock | NotActionBlock); | ||
``` |
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [ConditionBlock](./iam-policies.conditionblock.md) | ||
|
||
## ConditionBlock type | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
declare type ConditionBlock = Record<string, Record<string, unknown>>; | ||
``` |
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [ConditionKey](./iam-policies.conditionkey.md) | ||
|
||
## ConditionKey type | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
declare type ConditionKey = string | number | boolean; | ||
``` |
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [ConditionMap](./iam-policies.conditionmap.md) | ||
|
||
## ConditionMap interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
interface ConditionMap | ||
``` |
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [ConditionResolver](./iam-policies.conditionresolver.md) | ||
|
||
## ConditionResolver interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
interface ConditionResolver | ||
``` |
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [DecomposeString](./iam-policies.decomposestring.md) > [body](./iam-policies.decomposestring.body.md) | ||
|
||
## DecomposeString.body property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
body: string; | ||
``` |
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [DecomposeString](./iam-policies.decomposestring.md) > [end](./iam-policies.decomposestring.end.md) | ||
|
||
## DecomposeString.end property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
end: number; | ||
``` |
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,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [DecomposeString](./iam-policies.decomposestring.md) | ||
|
||
## DecomposeString interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
interface DecomposeString | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [body](./iam-policies.decomposestring.body.md) | string | | | ||
| [end](./iam-policies.decomposestring.end.md) | number | | | ||
| [post](./iam-policies.decomposestring.post.md) | string | | | ||
| [pre](./iam-policies.decomposestring.pre.md) | string | | | ||
| [start](./iam-policies.decomposestring.start.md) | number | | | ||
|
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [DecomposeString](./iam-policies.decomposestring.md) > [post](./iam-policies.decomposestring.post.md) | ||
|
||
## DecomposeString.post property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
post: string; | ||
``` |
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [DecomposeString](./iam-policies.decomposestring.md) > [pre](./iam-policies.decomposestring.pre.md) | ||
|
||
## DecomposeString.pre property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
pre: string; | ||
``` |
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [DecomposeString](./iam-policies.decomposestring.md) > [start](./iam-policies.decomposestring.start.md) | ||
|
||
## DecomposeString.start property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
start: number; | ||
``` |
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [EffectBlock](./iam-policies.effectblock.md) | ||
|
||
## EffectBlock type | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
declare type EffectBlock = 'allow' | 'deny'; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/gitbook/api/iam-policies.evaluateactionbasedinterface.action.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [EvaluateActionBasedInterface](./iam-policies.evaluateactionbasedinterface.md) > [action](./iam-policies.evaluateactionbasedinterface.action.md) | ||
|
||
## EvaluateActionBasedInterface.action property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
action: string; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/gitbook/api/iam-policies.evaluateactionbasedinterface.context.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [EvaluateActionBasedInterface](./iam-policies.evaluateactionbasedinterface.md) > [context](./iam-policies.evaluateactionbasedinterface.context.md) | ||
|
||
## EvaluateActionBasedInterface.context property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
context?: T; | ||
``` |
19 changes: 19 additions & 0 deletions
19
docs/gitbook/api/iam-policies.evaluateactionbasedinterface.md
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,19 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [EvaluateActionBasedInterface](./iam-policies.evaluateactionbasedinterface.md) | ||
|
||
## EvaluateActionBasedInterface interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
interface EvaluateActionBasedInterface<T extends object> | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [action](./iam-policies.evaluateactionbasedinterface.action.md) | string | | | ||
| [context?](./iam-policies.evaluateactionbasedinterface.context.md) | T | <i>(Optional)</i> | | ||
|
19 changes: 19 additions & 0 deletions
19
docs/gitbook/api/iam-policies.evaluateidentitybasedinterface.md
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,19 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [EvaluateIdentityBasedInterface](./iam-policies.evaluateidentitybasedinterface.md) | ||
|
||
## EvaluateIdentityBasedInterface interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
interface EvaluateIdentityBasedInterface<T extends object> extends EvaluateActionBasedInterface<T> | ||
``` | ||
<b>Extends:</b> EvaluateActionBasedInterface<T> | ||
## Properties | ||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [resource](./iam-policies.evaluateidentitybasedinterface.resource.md) | string | | | ||
11 changes: 11 additions & 0 deletions
11
docs/gitbook/api/iam-policies.evaluateidentitybasedinterface.resource.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [EvaluateIdentityBasedInterface](./iam-policies.evaluateidentitybasedinterface.md) > [resource](./iam-policies.evaluateidentitybasedinterface.resource.md) | ||
|
||
## EvaluateIdentityBasedInterface.resource property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
resource: string; | ||
``` |
21 changes: 21 additions & 0 deletions
21
docs/gitbook/api/iam-policies.evaluateresourcebasedinterface.md
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,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [EvaluateResourceBasedInterface](./iam-policies.evaluateresourcebasedinterface.md) | ||
|
||
## EvaluateResourceBasedInterface interface | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
interface EvaluateResourceBasedInterface<T extends object> extends EvaluateActionBasedInterface<T> | ||
``` | ||
<b>Extends:</b> EvaluateActionBasedInterface<T> | ||
## Properties | ||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [principal?](./iam-policies.evaluateresourcebasedinterface.principal.md) | string | <i>(Optional)</i> | | ||
| [principalType?](./iam-policies.evaluateresourcebasedinterface.principaltype.md) | string | <i>(Optional)</i> | | ||
| [resource?](./iam-policies.evaluateresourcebasedinterface.resource.md) | string | <i>(Optional)</i> | | ||
11 changes: 11 additions & 0 deletions
11
docs/gitbook/api/iam-policies.evaluateresourcebasedinterface.principal.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [EvaluateResourceBasedInterface](./iam-policies.evaluateresourcebasedinterface.md) > [principal](./iam-policies.evaluateresourcebasedinterface.principal.md) | ||
|
||
## EvaluateResourceBasedInterface.principal property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
principal?: string; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/gitbook/api/iam-policies.evaluateresourcebasedinterface.principaltype.md
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,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [iam-policies](./iam-policies.md) > [EvaluateResourceBasedInterface](./iam-policies.evaluateresourcebasedinterface.md) > [principalType](./iam-policies.evaluateresourcebasedinterface.principaltype.md) | ||
|
||
## EvaluateResourceBasedInterface.principalType property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
principalType?: string; | ||
``` |
Oops, something went wrong.