class Amazonite::Iam::Position

Overview

Contains the row and column of a location of a Statement element in a policy document.

This data type is used as a member of the [Statement](https://docs.aws.amazon.com/IAM/latest/APIReference/API_Statement.html) type.

Defined in:

iam/position.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(line : Int32 | Nil = nil, column : Int32 | 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 column : Int32 | Nil #

The column in the line containing the specified position in the document.


[View source]
def column=(column : Int32 | Nil) #

The column in the line containing the specified position in the document.


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

See Object#hash(hasher)


def line : Int32 | Nil #

The line containing the specified position in the document.


[View source]
def line=(line : Int32 | Nil) #

The line containing the specified position in the document.


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

[View source]
def validate! : Nil #

[View source]