class
Amazonite::Iam::ManagedPolicyDetail
- Amazonite::Iam::ManagedPolicyDetail
- Reference
- Object
Overview
Contains information about a managed policy, including the policy's ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to.
This data type is used as a response element in the GetAccountAuthorizationDetails operation.
For more information about managed policies, see Managed policies and inline policies in the IAM User Guide.
Defined in:
iam/managed_policy_detail.crConstructors
- .from_xml(node : XML::Node) : self
- .new(policy_name : String | Nil = nil, policy_id : String | Nil = nil, arn : String | Nil = nil, path : String | Nil = nil, default_version_id : String | Nil = nil, attachment_count : Int32 | Nil = nil, permissions_boundary_usage_count : Int32 | Nil = nil, is_attachable : Bool | Nil = nil, description : String | Nil = nil, create_date : Time | Nil = nil, update_date : Time | Nil = nil, policy_version_list : Array(PolicyVersion) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. - #arn : String | Nil
- #arn=(arn : String | Nil)
-
#attachment_count : Int32 | Nil
The number of principal entities (users, groups, and roles) that the policy is attached to.
-
#attachment_count=(attachment_count : Int32 | Nil)
The number of principal entities (users, groups, and roles) that the policy is attached to.
-
#create_date : Time | Nil
The date and time, in ISO 8601 date-time format, when the policy was created.
-
#create_date=(create_date : Time | Nil)
The date and time, in ISO 8601 date-time format, when the policy was created.
-
#default_version_id : String | Nil
The identifier for the version of the policy that is set as the default (operative) version.
-
#default_version_id=(default_version_id : String | Nil)
The identifier for the version of the policy that is set as the default (operative) version.
-
#description : String | Nil
A friendly description of the policy.
-
#description=(description : String | Nil)
A friendly description of the policy.
-
#hash(hasher)
See
Object#hash(hasher) -
#is_attachable : Bool | Nil
Specifies whether the policy can be attached to an IAM user, group, or role.
-
#is_attachable=(is_attachable : Bool | Nil)
Specifies whether the policy can be attached to an IAM user, group, or role.
-
#path : String | Nil
The path to the policy.
-
#path=(path : String | Nil)
The path to the policy.
-
#permissions_boundary_usage_count : Int32 | Nil
The number of entities (users and roles) for which the policy is used as the permissions boundary.
-
#permissions_boundary_usage_count=(permissions_boundary_usage_count : Int32 | Nil)
The number of entities (users and roles) for which the policy is used as the permissions boundary.
-
#policy_id : String | Nil
The stable and unique string identifying the policy.
-
#policy_id=(policy_id : String | Nil)
The stable and unique string identifying the policy.
-
#policy_name : String | Nil
The friendly name (not ARN) identifying the policy.
-
#policy_name=(policy_name : String | Nil)
The friendly name (not ARN) identifying the policy.
-
#policy_version_list : Array(PolicyVersion) | Nil
A list containing information about the versions of the policy.
-
#policy_version_list=(policy_version_list : Array(PolicyVersion) | Nil)
A list containing information about the versions of the policy.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
-
#update_date : Time | Nil
The date and time, in ISO 8601 date-time format, when the policy was last updated.
-
#update_date=(update_date : Time | Nil)
The date and time, in ISO 8601 date-time format, when the policy was last updated.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The number of principal entities (users, groups, and roles) that the policy is attached to.
The number of principal entities (users, groups, and roles) that the policy is attached to.
The date and time, in ISO 8601 date-time format, when the policy was created.
The date and time, in ISO 8601 date-time format, when the policy was created.
The identifier for the version of the policy that is set as the default (operative) version.
For more information about policy versions, see Versioning for managed policies in the IAM User Guide.
The identifier for the version of the policy that is set as the default (operative) version.
For more information about policy versions, see Versioning for managed policies in the IAM User Guide.
Specifies whether the policy can be attached to an IAM user, group, or role.
Specifies whether the policy can be attached to an IAM user, group, or role.
The path to the policy.
For more information about paths, see IAM identifiers in the IAM User Guide.
The path to the policy.
For more information about paths, see IAM identifiers in the IAM User Guide.
The number of entities (users and roles) for which the policy is used as the permissions boundary.
For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
The number of entities (users and roles) for which the policy is used as the permissions boundary.
For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
The stable and unique string identifying the policy.
For more information about IDs, see IAM identifiers in the IAM User Guide.
The stable and unique string identifying the policy.
For more information about IDs, see IAM identifiers in the IAM User Guide.
A list containing information about the versions of the policy.
A list containing information about the versions of the policy.
The date and time, in ISO 8601 date-time format, when the policy was last updated.
When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
The date and time, in ISO 8601 date-time format, when the policy was last updated.
When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.