CedarPolicy class abstract

Constructors

CedarPolicy({required CedarPolicyEffect effect, required CedarPolicyPrincipal principal, required CedarPolicyAction action, required CedarPolicyResource resource, List<CedarPolicyCondition> conditions = const [], Map<String, String>? annotations})
factory
CedarPolicy.build([void updates(CedarPolicyBuilder)])
factory
CedarPolicy.fromJson(Map<String, dynamic> json)
factory

Properties

action CedarPolicyAction
no setter
annotations → BuiltMap<String, String>?
no setter
conditions → BuiltList<CedarPolicyCondition>
no setter
effect CedarPolicyEffect
no setter
hashCode int
The hash code for this object.
no setterinherited
isTemplate bool
no setter
principal CedarPolicyPrincipal
no setter
resource CedarPolicyResource
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(CedarPolicyBuilder)) CedarPolicy
Rebuilds the instance.
inherited
toBuilder() CedarPolicyBuilder
Converts the instance to a builder B.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<CedarPolicy>
no setter