class Amazonite::Iam::AttachedPolicy

Overview

Contains information about an attached policy.

An attached policy is a managed policy that has been attached to a user, group, or role. This data type is used as a response element in the ListAttachedGroupPolicies, ListAttachedRolePolicies, ListAttachedUserPolicies, and GetAccountAuthorizationDetails operations.

For more information about managed policies, refer to Managed policies and inline policies in the IAM User Guide.

Defined in:

iam/attached_policy.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(policy_name : String | Nil = nil, policy_arn : String | 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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def policy_arn : String | Nil #

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

[View source]
def policy_name : String | Nil #

The friendly name of the attached policy.


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

The friendly name of the attached policy.


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

[View source]
def validate! : Nil #

[View source]