Class: Aws::AuditManager::Types::Role

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/types.rb

Overview

Note:

When making an API call, you may pass Role data as a hash:

{
  role_type: "PROCESS_OWNER", # required, accepts PROCESS_OWNER, RESOURCE_OWNER
  role_arn: "IamArn", # required
}

The wrapper that contains the Audit Manager role information of the current user. This includes the role type and IAM Amazon Resource Name (ARN).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#role_arnString

The Amazon Resource Name (ARN) of the IAM role.

Returns:

  • (String)


4237
4238
4239
4240
4241
4242
# File 'gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/types.rb', line 4237

class Role < Struct.new(
  :role_type,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#role_typeString

The type of customer persona.

In CreateAssessment, roleType can only be PROCESS_OWNER.

In UpdateSettings, roleType can only be PROCESS_OWNER.

In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.

Returns:

  • (String)


4237
4238
4239
4240
4241
4242
# File 'gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/types.rb', line 4237

class Role < Struct.new(
  :role_type,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end