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

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 AwsIamRoleDetails data as a hash:

{
  assume_role_policy_document: "AwsIamRoleAssumeRolePolicyDocument",
  create_date: "NonEmptyString",
  role_id: "NonEmptyString",
  role_name: "NonEmptyString",
  max_session_duration: 1,
  path: "NonEmptyString",
}

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)


1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1795

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

#create_dateString

The date and time, in ISO 8601 date-time format, when the role was created.

Returns:

  • (String)


1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1795

class AwsIamRoleDetails < Struct.new(
  :assume_role_policy_document,
  :create_date,
  :role_id,
  :role_name,
  :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)


1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1795

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

#pathString

The path to the role.

Returns:

  • (String)


1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1795

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

#role_idString

The stable and unique string identifying the role.

Returns:

  • (String)


1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1795

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

#role_nameString

The friendly name that identifies the role.

Returns:

  • (String)


1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1795

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