Expand description
AWS IAM policy document (Aspen) representation and evaluation.
Modules§
- condop
- Operators for conditions.
Macros§
- display_
json - Implement Display for a given class by formatting it as pretty-printed JSON.
- from_
str_ json - Implement FromStr for a given class by parsing it as JSON.
Structs§
- Condition
- Representation of an Aspen condition clause in a statement.
- Context
- The request context used when evaluating an Aspen policy.
- Context
Builder - Builder for
Context
. - MapList
- $llt allows a JSON field to be represented as the element itself (equivalent to a list of 1 item) or as s list of elements.
- Policy
- The top-level structure for holding an Aspen policy.
- Policy
Builder - Builder for
Policy
. - Policy
Set - A set of policies being evaluated to determine the permissions in effect.
- Resource
Arn - An Amazon Resource Name (ARN) statement in an IAM Aspen policy.
- Specified
Principal - A non-wildcard principal statement in an Aspen policy.
- Specified
Principal Builder - Builder for
SpecifiedPrincipal
. - Statement
- An Aspen policy statement.
- Statement
Builder - Builder for
Statement
. - String
Like List - $llt allows a JSON field to be represented as the element itself (equivalent to a list of 1 item) or as s list of elements.
Enums§
- Action
- An action in an Aspen policy.
- Aspen
Error - The error type used to convey Aspen errors.
- AwsPrincipal
- An AWS account principal clause in an Aspen policy.
- Condition
Op - An operator for a condition clause.
- Condition
Variant - The variant on an operation.
- Decision
- The outcome of a policy evaluation.
- Effect
- Effect of an Aspen statement.
- Policy
Builder Error - Error type for PolicyBuilder
- Policy
Source - The source of a policy.
- Policy
Version - Aspen policy versions as represented in an Aspen policy document.
- Principal
- A principal statement in an Aspen policy.
- Resource
- A resource in an Aspen policy.
- Specified
Principal Builder Error - Error type for SpecifiedPrincipalBuilder
- Statement
Builder Error - Error type for StatementBuilder
Type Aliases§
- Action
List - A list of actions. In JSON, this may be a string or an array of strings.
- Condition
Map - A map of condition variables to their allowed values.
- Resource
List - A list of resources. In JSON, this may be a string or an array of strings.
- Statement
List - A list of statements. In JSON, this may be an object or an array of objects.