class
Amazonite::Iam::ContextEntry
- Amazonite::Iam::ContextEntry
- Reference
- Object
Overview
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.
Defined in:
iam/context_entry.crConstructors
- .from_xml(node : XML::Node) : self
- .new(context_key_name : String | Nil = nil, context_key_values : Array(String) | Nil = nil, context_key_type : ContextKeyTypeEnum | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#context_key_name : String | Nil
The full name of a condition context key, including the service prefix.
-
#context_key_name=(context_key_name : String | Nil)
The full name of a condition context key, including the service prefix.
-
#context_key_type : ContextKeyTypeEnum | Nil
The data type of the value (or values) specified in the
ContextKeyValuesparameter. -
#context_key_type=(context_key_type : ContextKeyTypeEnum | Nil)
The data type of the value (or values) specified in the
ContextKeyValuesparameter. -
#context_key_values : Array(String) | Nil
The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a
Conditionelement in an input policy. -
#context_key_values=(context_key_values : Array(String) | Nil)
The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a
Conditionelement in an input policy. -
#hash(hasher)
See
Object#hash(hasher) - #to_query_params(prefix : String) : Array(Tuple(String, String))
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The full name of a condition context key, including the service prefix. For example,
aws:SourceIp or s3:VersionId.
The full name of a condition context key, including the service prefix. For example,
aws:SourceIp or s3:VersionId.
The data type of the value (or values) specified in the ContextKeyValues parameter.
The data type of the value (or values) specified in the ContextKeyValues parameter.
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.
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.