class Aws::SecurityHub::Types::AwsIamPolicyDetails

Represents an IAM permissions policy.

@note When making an API call, you may pass AwsIamPolicyDetails

data as a hash:

    {
      attachment_count: 1,
      create_date: "NonEmptyString",
      default_version_id: "NonEmptyString",
      description: "NonEmptyString",
      is_attachable: false,
      path: "NonEmptyString",
      permissions_boundary_usage_count: 1,
      policy_id: "NonEmptyString",
      policy_name: "NonEmptyString",
      policy_version_list: [
        {
          version_id: "NonEmptyString",
          is_default_version: false,
          create_date: "NonEmptyString",
        },
      ],
      update_date: "NonEmptyString",
    }

@!attribute [rw] attachment_count

The number of users, groups, and roles that the policy is attached
to.
@return [Integer]

@!attribute [rw] create_date

When the policy was created.

Uses the `date-time` format specified in [RFC 3339 section 5.6,
Internet Date/Time Format][1]. The value cannot contain spaces. For
example, `2020-03-22T13:22:13.933Z`.

[1]: https://tools.ietf.org/html/rfc3339#section-5.6
@return [String]

@!attribute [rw] default_version_id

The identifier of the default version of the policy.
@return [String]

@!attribute [rw] description

A description of the policy.
@return [String]

@!attribute [rw] is_attachable

Whether the policy can be attached to a user, group, or role.
@return [Boolean]

@!attribute [rw] path

The path to the policy.
@return [String]

@!attribute [rw] permissions_boundary_usage_count

The number of users and roles that use the policy to set the
permissions boundary.
@return [Integer]

@!attribute [rw] policy_id

The unique identifier of the policy.
@return [String]

@!attribute [rw] policy_name

The name of the policy.
@return [String]

@!attribute [rw] policy_version_list

List of versions of the policy.
@return [Array<Types::AwsIamPolicyVersion>]

@!attribute [rw] update_date

When the policy was most recently updated.

Uses the `date-time` format specified in [RFC 3339 section 5.6,
Internet Date/Time Format][1]. The value cannot contain spaces. For
example, `2020-03-22T13:22:13.933Z`.

[1]: https://tools.ietf.org/html/rfc3339#section-5.6
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsIamPolicyDetails AWS API Documentation

Constants

SENSITIVE