Policy class
Contains information about a managed policy.
This data type is used as a response element in the CreatePolicy, GetPolicy, and ListPolicies operations.
For more information about managed policies, refer to Managed Policies and Inline Policies in the IAM User Guide.
Constructors
Properties
- arn → String?
-
final
- attachmentCount → int?
-
The number of entities (users, groups, and roles) that the policy is
attached to.
final
- createDate → DateTime?
-
The date and time, in ISO 8601
date-time format, when the policy was created.
final
- defaultVersionId → String?
-
The identifier for the version of the policy that is set as the default
version.
final
- description → String?
-
A friendly description of the policy.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAttachable → bool?
-
Specifies whether the policy can be attached to an IAM user, group, or role.
final
- path → String?
-
The path to the policy.
final
- permissionsBoundaryUsageCount → int?
-
The number of entities (users and roles) for which the policy is used to set
the permissions boundary.
final
- policyId → String?
-
The stable and unique string identifying the policy.
final
- policyName → String?
-
The friendly name (not ARN) identifying the policy.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateDate → DateTime?
-
The date and time, in ISO 8601
date-time format, when the policy was last updated.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited