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
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.
14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14184 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.
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
)
14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14184 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.
14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14184 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.
14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14184 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.
14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14184 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.
14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14184 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.
14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14184 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.
14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14184 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.
14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14184 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.
14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14184 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.
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
)
14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14184 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 |