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: StringThe resource name of the policy.
attachment_count: i64The number of entities (users, groups, and roles) that the policy is attached to.
create_date: StringThe date and time, in ISO 8601 date-time format, when the policy was created.
default_version_id: StringThe identifier for the version of the policy that is set as the default version.
description: StringA friendly description of the policy.
is_attachable: boolSpecifies whether the policy can be attached to user, group, or role.
path: StringThe path to the policy
permissions_boundary_usage_count: i64Resource name of the policy that is used to set permissions boundary for the policy.
policy_id: StringThe stable and unique string identifying the policy.
policy_name: StringThe friendly name of the policy.
update_date: StringThe date and time, in ISO 8601 date-time format, when the policy was created.
policy_document: String§namespace: String