class
Amazonite::Iam::AttachedPolicy
- Amazonite::Iam::AttachedPolicy
- Reference
- Object
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.crConstructors
- .from_xml(node : XML::Node) : self
- .new(policy_name : String | Nil = nil, policy_arn : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) - #policy_arn : String | Nil
- #policy_arn=(policy_arn : String | Nil)
-
#policy_name : String | Nil
The friendly name of the attached policy.
-
#policy_name=(policy_name : String | Nil)
The friendly name of the attached policy.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
- #validate! : Nil
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.