Class: Aws::SecurityHub::Types::AwsIamPolicyDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsIamPolicyDetails
- Defined in:
- gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb
Overview
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
-
#attachment_count ⇒ Integer
The number of users, groups, and roles that the policy is attached to.
-
#create_date ⇒ String
When the policy was created.
-
#default_version_id ⇒ String
The identifier of the default version of the policy.
-
#description ⇒ String
A description of the policy.
-
#is_attachable ⇒ Boolean
Whether the policy can be attached to a user, group, or role.
-
#path ⇒ String
The path to the policy.
-
#permissions_boundary_usage_count ⇒ Integer
The number of users and roles that use the policy to set the permissions boundary.
-
#policy_id ⇒ String
The unique identifier of the policy.
-
#policy_name ⇒ String
The name of the policy.
-
#policy_version_list ⇒ Array<Types::AwsIamPolicyVersion>
List of versions of the policy.
-
#update_date ⇒ String
When the policy was most recently updated.
Instance Attribute Details
#attachment_count ⇒ Integer
The number of users, groups, and roles that the policy is attached to.
12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12959 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_date ⇒ String
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
.
12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12959 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_id ⇒ String
The identifier of the default version of the policy.
12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12959 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 |
#description ⇒ String
A description of the policy.
12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12959 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_attachable ⇒ Boolean
Whether the policy can be attached to a user, group, or role.
12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12959 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 |
#path ⇒ String
The path to the policy.
12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12959 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_count ⇒ Integer
The number of users and roles that use the policy to set the permissions boundary.
12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12959 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_id ⇒ String
The unique identifier of the policy.
12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12959 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_name ⇒ String
The name of the policy.
12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12959 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_list ⇒ Array<Types::AwsIamPolicyVersion>
List of versions of the policy.
12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12959 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_date ⇒ String
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
.
12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 12959 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 |