pub struct Policy {Show 13 fields
pub arn: String,
pub attachment_count: i64,
pub create_date: String,
pub default_version_id: String,
pub description: String,
pub is_attachable: bool,
pub path: String,
pub permissions_boundary_usage_count: i64,
pub policy_id: String,
pub policy_name: String,
pub update_date: String,
pub policy_document: String,
pub namespace: String,
}
Expand description
IAM policies are documents in JSON format that define permissions for an operation regardless of the method that you use to perform the operation.
Fields§
§arn: String
The resource name of the policy.
attachment_count: i64
The number of entities (users, groups, and roles) that the policy is attached to.
create_date: String
The date and time, in ISO 8601 date-time format, when the policy was created.
default_version_id: String
The identifier for the version of the policy that is set as the default version.
description: String
A friendly description of the policy.
is_attachable: bool
Specifies whether the policy can be attached to user, group, or role.
path: String
The path to the policy
permissions_boundary_usage_count: i64
Resource name of the policy that is used to set permissions boundary for the policy.
policy_id: String
The stable and unique string identifying the policy.
policy_name: String
The friendly name of the policy.
update_date: String
The date and time, in ISO 8601 date-time format, when the policy was created.
policy_document: String
§namespace: String