You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SecurityHub::Types::AwsIamPolicyDetails

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AwsIamPolicyDetails as input to an Aws::Client method, you can use a vanilla 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",
}

Represents an IAM permissions policy.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#attachment_countInteger

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

Returns:

  • (Integer)

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

#create_dateString

When the policy was created.

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

Returns:

  • (String)

    When the policy was created.

#default_version_idString

The identifier of the default version of the policy.

Returns:

  • (String)

    The identifier of the default version of the policy.

#descriptionString

A description of the policy.

Returns:

  • (String)

    A description of the policy.

#is_attachableBoolean

Whether the policy can be attached to a user, group, or role.

Returns:

  • (Boolean)

    Whether the policy can be attached to a user, group, or role.

#pathString

The path to the policy.

Returns:

  • (String)

    The path to the policy.

#permissions_boundary_usage_countInteger

The number of users and roles that use the policy to set the permissions boundary.

Returns:

  • (Integer)

    The number of users and roles that use the policy to set the permissions boundary.

#policy_idString

The unique identifier of the policy.

Returns:

  • (String)

    The unique identifier of the policy.

#policy_nameString

The name of the policy.

Returns:

  • (String)

    The name of the policy.

#policy_version_listArray<Types::AwsIamPolicyVersion>

List of versions of the policy.

Returns:

#update_dateString

When the policy was most recently updated.

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

Returns:

  • (String)

    When the policy was most recently updated.