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

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

Overview

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",
}

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)


10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10437

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.

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)


10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10437

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)


10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10437

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)


10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10437

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)


10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10437

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)


10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10437

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)


10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10437

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)


10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10437

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)


10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10437

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:



10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10437

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.

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)


10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10437

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