class Amazonite::Iam::Statement

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.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(source_policy_id : String | Nil = nil, source_policy_type : PolicySourceType | Nil = nil, start_position : Position | Nil = nil, end_position : Position | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def end_position : Position | Nil #

The row and column of the end of a Statement in an IAM policy.


[View source]
def end_position=(end_position : Position | Nil) #

The row and column of the end of a Statement in an IAM policy.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def source_policy_id : String | Nil #

The identifier of the policy that was provided as an input.


[View source]
def source_policy_id=(source_policy_id : String | Nil) #

The identifier of the policy that was provided as an input.


[View source]
def source_policy_type : PolicySourceType | Nil #

The type of the policy.


[View source]
def source_policy_type=(source_policy_type : PolicySourceType | Nil) #

The type of the policy.


[View source]
def start_position : Position | Nil #

The row and column of the beginning of the Statement in an IAM policy.


[View source]
def start_position=(start_position : Position | Nil) #

The row and column of the beginning of the Statement in an IAM policy.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]