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)


13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
# File 'lib/aws-sdk-securityhub/types.rb', line 13585

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.

For more information about the validation and formatting of timestamp fields in Security Hub, see [Timestamps].

[1]: docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps

Returns:

  • (String)


13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
# File 'lib/aws-sdk-securityhub/types.rb', line 13585

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)


13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
# File 'lib/aws-sdk-securityhub/types.rb', line 13585

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)


13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
# File 'lib/aws-sdk-securityhub/types.rb', line 13585

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)


13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
# File 'lib/aws-sdk-securityhub/types.rb', line 13585

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)


13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
# File 'lib/aws-sdk-securityhub/types.rb', line 13585

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)


13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
# File 'lib/aws-sdk-securityhub/types.rb', line 13585

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)


13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
# File 'lib/aws-sdk-securityhub/types.rb', line 13585

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)


13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
# File 'lib/aws-sdk-securityhub/types.rb', line 13585

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:



13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
# File 'lib/aws-sdk-securityhub/types.rb', line 13585

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.

For more information about the validation and formatting of timestamp fields in Security Hub, see [Timestamps].

[1]: docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps

Returns:

  • (String)


13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
# File 'lib/aws-sdk-securityhub/types.rb', line 13585

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