class Amazonite::Iam::GetRolePolicyResponse

Overview

Contains the response to a successful GetRolePolicy request.

Defined in:

iam/get_role_policy_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(role_name : String, 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 policy document.

IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.


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

The policy document.

IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.


[View source]
def policy_name : String #

The name of the policy.


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

The name of the policy.


[View source]
def role_name : String #

The role the policy is associated with.


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

The role the policy is associated with.


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

[View source]
def validate! : Nil #

[View source]