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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


4369
4370
4371
4372
4373
4374
# File 'lib/aws-sdk-auditmanager/types.rb', line 4369

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

#role_typeString

The type of customer persona.

<note markdown=“1”> In ‘CreateAssessment`, `roleType` can only be `PROCESS_OWNER`.

In `UpdateSettings`, `roleType` can only be `PROCESS_OWNER`.

In `BatchCreateDelegationByAssessment`, `roleType` can only be

‘RESOURCE_OWNER`.

</note>

Returns:

  • (String)


4369
4370
4371
4372
4373
4374
# File 'lib/aws-sdk-auditmanager/types.rb', line 4369

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