Crate scratchstack_aspen
source ·Expand description
AWS IAM policy document (Aspen) representation and evaluation.
Modules
Operators for conditions.
Macros
Implement Display for a given class by formatting it as pretty-printed JSON.
Implement FromStr for a given class by parsing it as JSON.
Structs
Representation of an Aspen condition clause in a statement.
The request context used when evaluating an Aspen policy.
Builder for
Context
.$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.
The top-level structure for holding an Aspen policy.
Builder for
Policy
.A set of policies being evaluated to determine the permissions in effect.
An Amazon Resource Name (ARN) statement in an IAM Aspen policy.
A non-wildcard principal statement in an Aspen policy.
Builder for
SpecifiedPrincipal
.An Aspen policy statement.
Builder for
Statement
.$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
An action in an Aspen policy.
The error type used to convey Aspen errors.
An AWS account principal clause in an Aspen policy.
An operator for a condition clause.
The variant on an operation.
The outcome of a policy evaluation.
Effect of an Aspen statement.
Error type for PolicyBuilder
The source of a policy.
Aspen policy versions as represented in an Aspen policy document.
A principal statement in an Aspen policy.
A resource in an Aspen policy.
Error type for SpecifiedPrincipalBuilder
Error type for StatementBuilder
Type Definitions
A list of actions. In JSON, this may be a string or an array of strings.
A map of condition variables to their allowed values.
A list of resources. In JSON, this may be a string or an array of strings.
A list of statements. In JSON, this may be an object or an array of objects.