Policy

class Policy

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.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String?

The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.

Link copied to clipboard

The number of entities (users, groups, and roles) that the policy is attached to.

Link copied to clipboard

The date and time, in ISO 8601 date-time format, when the policy was created.

Link copied to clipboard

The identifier for the version of the policy that is set as the default version.

Link copied to clipboard

A friendly description of the policy.

Link copied to clipboard

Specifies whether the policy can be attached to an IAM user, group, or role.

Link copied to clipboard
val path: String?

The path to the policy.

Link copied to clipboard

The number of entities (users and roles) for which the policy is used to set the permissions boundary.

Link copied to clipboard

The stable and unique string identifying the policy.

Link copied to clipboard

The friendly name (not ARN) identifying the policy.

Link copied to clipboard
val tags: List<Tag>?

A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

Link copied to clipboard

The date and time, in ISO 8601 date-time format, when the policy was last updated.

Functions

Link copied to clipboard
inline fun copy(block: Policy.Builder.() -> Unit = {}): Policy
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String