ContextEntry class
Contains information about a condition context key. It includes the name of
the key and specifies the value (or values, if the context key supports
multiple values) to use in the simulation. This information is used when
evaluating the Condition
elements of the input policies.
This data type is used as an input parameter to SimulateCustomPolicy and SimulatePrincipalPolicy.
Constructors
-
ContextEntry({String? contextKeyName, ContextKeyTypeEnum? contextKeyType, List<
String> ? contextKeyValues})
Properties
- contextKeyName → String?
-
The full name of a condition context key, including the service prefix. For
example,
aws:SourceIp
ors3:VersionId
.final - contextKeyType → ContextKeyTypeEnum?
-
The data type of the value (or values) specified in the
ContextKeyValues
parameter.final -
contextKeyValues
→ List<
String> ? -
The value (or values, if the condition context key supports multiple values)
to provide to the simulation when the key is referenced by a
Condition
element in an input policy.final - hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited