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",
  attached_managed_policies: [
    {
      policy_name: "NonEmptyString",
      policy_arn: "NonEmptyString",
    },
  ],
  create_date: "NonEmptyString",
  instance_profile_list: [
    {
      arn: "NonEmptyString",
      create_date: "NonEmptyString",
      instance_profile_id: "NonEmptyString",
      instance_profile_name: "NonEmptyString",
      path: "NonEmptyString",
      roles: [
        {
          arn: "NonEmptyString",
          assume_role_policy_document: "AwsIamRoleAssumeRolePolicyDocument",
          create_date: "NonEmptyString",
          path: "NonEmptyString",
          role_id: "NonEmptyString",
          role_name: "NonEmptyString",
        },
      ],
    },
  ],
  permissions_boundary: {
    permissions_boundary_arn: "NonEmptyString",
    permissions_boundary_type: "NonEmptyString",
  },
  role_id: "NonEmptyString",
  role_name: "NonEmptyString",
  role_policy_list: [
    {
      policy_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)


11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11372

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.



11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11372

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.

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)


11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11372

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:



11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11372

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)


11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11372

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)


11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11372

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.



11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11372

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)


11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11372

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)


11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11372

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:



11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11372

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