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", # accepts PROCESS_OWNER, RESOURCE_OWNER
  role_arn: "IamArn",
}

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)


3617
3618
3619
3620
3621
3622
# File 'gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/types.rb', line 3617

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)


3617
3618
3619
3620
3621
3622
# File 'gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/types.rb', line 3617

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