Class: Aws::SecurityHub::Types::AwsIamRoleDetails

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

Overview

Contains information about an IAM role, including all of the role’s policies.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#assume_role_policy_documentString

The trust policy that grants permission to assume the role.

Returns:

  • (String)


14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
# File 'lib/aws-sdk-securityhub/types.rb', line 14180

class AwsIamRoleDetails < Struct.new(
  :assume_role_policy_document,
  :attached_managed_policies,
  :create_date,
  :instance_profile_list,
  :permissions_boundary,
  :role_id,
  :role_name,
  :role_policy_list,
  :max_session_duration,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#attached_managed_policiesArray<Types::AwsIamAttachedManagedPolicy>

The list of the managed policies that are attached to the role.



14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
# File 'lib/aws-sdk-securityhub/types.rb', line 14180

class AwsIamRoleDetails < Struct.new(
  :assume_role_policy_document,
  :attached_managed_policies,
  :create_date,
  :instance_profile_list,
  :permissions_boundary,
  :role_id,
  :role_name,
  :role_policy_list,
  :max_session_duration,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#create_dateString

Indicates when the role 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)


14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
# File 'lib/aws-sdk-securityhub/types.rb', line 14180

class AwsIamRoleDetails < Struct.new(
  :assume_role_policy_document,
  :attached_managed_policies,
  :create_date,
  :instance_profile_list,
  :permissions_boundary,
  :role_id,
  :role_name,
  :role_policy_list,
  :max_session_duration,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#instance_profile_listArray<Types::AwsIamInstanceProfile>

The list of instance profiles that contain this role.

Returns:



14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
# File 'lib/aws-sdk-securityhub/types.rb', line 14180

class AwsIamRoleDetails < Struct.new(
  :assume_role_policy_document,
  :attached_managed_policies,
  :create_date,
  :instance_profile_list,
  :permissions_boundary,
  :role_id,
  :role_name,
  :role_policy_list,
  :max_session_duration,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#max_session_durationInteger

The maximum session duration (in seconds) that you want to set for the specified role.

Returns:

  • (Integer)


14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
# File 'lib/aws-sdk-securityhub/types.rb', line 14180

class AwsIamRoleDetails < Struct.new(
  :assume_role_policy_document,
  :attached_managed_policies,
  :create_date,
  :instance_profile_list,
  :permissions_boundary,
  :role_id,
  :role_name,
  :role_policy_list,
  :max_session_duration,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

The path to the role.

Returns:

  • (String)


14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
# File 'lib/aws-sdk-securityhub/types.rb', line 14180

class AwsIamRoleDetails < Struct.new(
  :assume_role_policy_document,
  :attached_managed_policies,
  :create_date,
  :instance_profile_list,
  :permissions_boundary,
  :role_id,
  :role_name,
  :role_policy_list,
  :max_session_duration,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#permissions_boundaryTypes::AwsIamPermissionsBoundary

Information about the policy used to set the permissions boundary for an IAM principal.



14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
# File 'lib/aws-sdk-securityhub/types.rb', line 14180

class AwsIamRoleDetails < Struct.new(
  :assume_role_policy_document,
  :attached_managed_policies,
  :create_date,
  :instance_profile_list,
  :permissions_boundary,
  :role_id,
  :role_name,
  :role_policy_list,
  :max_session_duration,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#role_idString

The stable and unique string identifying the role.

Returns:

  • (String)


14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
# File 'lib/aws-sdk-securityhub/types.rb', line 14180

class AwsIamRoleDetails < Struct.new(
  :assume_role_policy_document,
  :attached_managed_policies,
  :create_date,
  :instance_profile_list,
  :permissions_boundary,
  :role_id,
  :role_name,
  :role_policy_list,
  :max_session_duration,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#role_nameString

The friendly name that identifies the role.

Returns:

  • (String)


14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
# File 'lib/aws-sdk-securityhub/types.rb', line 14180

class AwsIamRoleDetails < Struct.new(
  :assume_role_policy_document,
  :attached_managed_policies,
  :create_date,
  :instance_profile_list,
  :permissions_boundary,
  :role_id,
  :role_name,
  :role_policy_list,
  :max_session_duration,
  :path)
  SENSITIVE = []
  include Aws::Structure
end

#role_policy_listArray<Types::AwsIamRolePolicy>

The list of inline policies that are embedded in the role.

Returns:



14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
# File 'lib/aws-sdk-securityhub/types.rb', line 14180

class AwsIamRoleDetails < Struct.new(
  :assume_role_policy_document,
  :attached_managed_policies,
  :create_date,
  :instance_profile_list,
  :permissions_boundary,
  :role_id,
  :role_name,
  :role_policy_list,
  :max_session_duration,
  :path)
  SENSITIVE = []
  include Aws::Structure
end