class
Amazonite::Iam::Statement
- Amazonite::Iam::Statement
- Reference
- Object
Overview
Contains a reference to a Statement element in a policy document that determines the result of
the simulation.
This data type is used by the MatchedStatements member of the [EvaluationResult](https://docs.aws.amazon.com/IAM/latest/APIReference/API_EvaluationResult.html) type.
Defined in:
iam/statement.crConstructors
- .from_xml(node : XML::Node) : self
- .new(source_policy_id : String | Nil = nil, source_policy_type : PolicySourceType | Nil = nil, start_position : Position | Nil = nil, end_position : Position | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#end_position : Position | Nil
The row and column of the end of a
Statementin an IAM policy. -
#end_position=(end_position : Position | Nil)
The row and column of the end of a
Statementin an IAM policy. -
#hash(hasher)
See
Object#hash(hasher) -
#source_policy_id : String | Nil
The identifier of the policy that was provided as an input.
-
#source_policy_id=(source_policy_id : String | Nil)
The identifier of the policy that was provided as an input.
-
#source_policy_type : PolicySourceType | Nil
The type of the policy.
-
#source_policy_type=(source_policy_type : PolicySourceType | Nil)
The type of the policy.
-
#start_position : Position | Nil
The row and column of the beginning of the
Statementin an IAM policy. -
#start_position=(start_position : Position | Nil)
The row and column of the beginning of the
Statementin an IAM policy. - #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 row and column of the end of a Statement in an IAM policy.
The row and column of the end of a Statement in an IAM policy.
The identifier of the policy that was provided as an input.
The row and column of the beginning of the Statement in an IAM policy.
The row and column of the beginning of the Statement in an IAM policy.