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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-securityhub/types.rb

Overview

Represents an IAM permissions policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attachment_countInteger

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

Returns:

  • (Integer)


14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
# File 'lib/aws-sdk-securityhub/types.rb', line 14054

class AwsIamPolicyDetails < Struct.new(
  :attachment_count,
  :create_date,
  :default_version_id,
  :description,
  :is_attachable,
  :path,
  :permissions_boundary_usage_count,
  :policy_id,
  :policy_name,
  :policy_version_list,
  :update_date)
  SENSITIVE = []
  include Aws::Structure
end

#create_dateString

When the policy was created.

This field accepts only the specified formats. Timestamps can end with ‘Z` or `(“+” / “-”) time-hour [“:” time-minute]`. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

  • ‘YYYY-MM-DDTHH:MM:SSZ` (for example, `2019-01-31T23:00:00Z`)

  • ‘YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ` (for example, `2019-01-31T23:00:00.123456789Z`)

  • ‘YYYY-MM-DDTHH:MM:SS+HH:MM` (for example, `2024-01-04T15:25:10+17:59`)

  • ‘YYYY-MM-DDTHH:MM:SS-HHMM` (for example, `2024-01-04T15:25:10-1759`)

  • ‘YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM` (for example, `2024-01-04T15:25:10.123456789+17:59`)

Returns:

  • (String)


14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
# File 'lib/aws-sdk-securityhub/types.rb', line 14054

class AwsIamPolicyDetails < Struct.new(
  :attachment_count,
  :create_date,
  :default_version_id,
  :description,
  :is_attachable,
  :path,
  :permissions_boundary_usage_count,
  :policy_id,
  :policy_name,
  :policy_version_list,
  :update_date)
  SENSITIVE = []
  include Aws::Structure
end

#default_version_idString

The identifier of the default version of the policy.

Returns:

  • (String)


14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
# File 'lib/aws-sdk-securityhub/types.rb', line 14054

class AwsIamPolicyDetails < Struct.new(
  :attachment_count,
  :create_date,
  :default_version_id,
  :description,
  :is_attachable,
  :path,
  :permissions_boundary_usage_count,
  :policy_id,
  :policy_name,
  :policy_version_list,
  :update_date)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the policy.

Returns:

  • (String)


14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
# File 'lib/aws-sdk-securityhub/types.rb', line 14054

class AwsIamPolicyDetails < Struct.new(
  :attachment_count,
  :create_date,
  :default_version_id,
  :description,
  :is_attachable,
  :path,
  :permissions_boundary_usage_count,
  :policy_id,
  :policy_name,
  :policy_version_list,
  :update_date)
  SENSITIVE = []
  include Aws::Structure
end

#is_attachableBoolean

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

Returns:

  • (Boolean)


14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
# File 'lib/aws-sdk-securityhub/types.rb', line 14054

class AwsIamPolicyDetails < Struct.new(
  :attachment_count,
  :create_date,
  :default_version_id,
  :description,
  :is_attachable,
  :path,
  :permissions_boundary_usage_count,
  :policy_id,
  :policy_name,
  :policy_version_list,
  :update_date)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

The path to the policy.

Returns:

  • (String)


14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
# File 'lib/aws-sdk-securityhub/types.rb', line 14054

class AwsIamPolicyDetails < Struct.new(
  :attachment_count,
  :create_date,
  :default_version_id,
  :description,
  :is_attachable,
  :path,
  :permissions_boundary_usage_count,
  :policy_id,
  :policy_name,
  :policy_version_list,
  :update_date)
  SENSITIVE = []
  include Aws::Structure
end

#permissions_boundary_usage_countInteger

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

Returns:

  • (Integer)


14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
# File 'lib/aws-sdk-securityhub/types.rb', line 14054

class AwsIamPolicyDetails < Struct.new(
  :attachment_count,
  :create_date,
  :default_version_id,
  :description,
  :is_attachable,
  :path,
  :permissions_boundary_usage_count,
  :policy_id,
  :policy_name,
  :policy_version_list,
  :update_date)
  SENSITIVE = []
  include Aws::Structure
end

#policy_idString

The unique identifier of the policy.

Returns:

  • (String)


14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
# File 'lib/aws-sdk-securityhub/types.rb', line 14054

class AwsIamPolicyDetails < Struct.new(
  :attachment_count,
  :create_date,
  :default_version_id,
  :description,
  :is_attachable,
  :path,
  :permissions_boundary_usage_count,
  :policy_id,
  :policy_name,
  :policy_version_list,
  :update_date)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The name of the policy.

Returns:

  • (String)


14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
# File 'lib/aws-sdk-securityhub/types.rb', line 14054

class AwsIamPolicyDetails < Struct.new(
  :attachment_count,
  :create_date,
  :default_version_id,
  :description,
  :is_attachable,
  :path,
  :permissions_boundary_usage_count,
  :policy_id,
  :policy_name,
  :policy_version_list,
  :update_date)
  SENSITIVE = []
  include Aws::Structure
end

#policy_version_listArray<Types::AwsIamPolicyVersion>

List of versions of the policy.

Returns:



14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
# File 'lib/aws-sdk-securityhub/types.rb', line 14054

class AwsIamPolicyDetails < Struct.new(
  :attachment_count,
  :create_date,
  :default_version_id,
  :description,
  :is_attachable,
  :path,
  :permissions_boundary_usage_count,
  :policy_id,
  :policy_name,
  :policy_version_list,
  :update_date)
  SENSITIVE = []
  include Aws::Structure
end

#update_dateString

When the policy was most recently updated.

This field accepts only the specified formats. Timestamps can end with ‘Z` or `(“+” / “-”) time-hour [“:” time-minute]`. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

  • ‘YYYY-MM-DDTHH:MM:SSZ` (for example, `2019-01-31T23:00:00Z`)

  • ‘YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ` (for example, `2019-01-31T23:00:00.123456789Z`)

  • ‘YYYY-MM-DDTHH:MM:SS+HH:MM` (for example, `2024-01-04T15:25:10+17:59`)

  • ‘YYYY-MM-DDTHH:MM:SS-HHMM` (for example, `2024-01-04T15:25:10-1759`)

  • ‘YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM` (for example, `2024-01-04T15:25:10.123456789+17:59`)

Returns:

  • (String)


14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
# File 'lib/aws-sdk-securityhub/types.rb', line 14054

class AwsIamPolicyDetails < Struct.new(
  :attachment_count,
  :create_date,
  :default_version_id,
  :description,
  :is_attachable,
  :path,
  :permissions_boundary_usage_count,
  :policy_id,
  :policy_name,
  :policy_version_list,
  :update_date)
  SENSITIVE = []
  include Aws::Structure
end