class Amazonite::Iam::InlinePolicy

Overview

Contains an inline policy template that the service embeds in roles that you create from a role template.

Defined in:

iam/inline_policy.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(policy_name : String, policy_document : String) #

[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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def policy_document : String #

The inline policy document.


[View source]
def policy_document=(policy_document : String) #

The inline policy document.


[View source]
def policy_name : String #

The name of the inline policy.


[View source]
def policy_name=(policy_name : String) #

The name of the inline policy.


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

[View source]
def validate! : Nil #

[View source]