Class: Aws::AuditManager::Types::Role
- Inherits:
-
Struct
- Object
- Struct
- Aws::AuditManager::Types::Role
- 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", # accepts PROCESS_OWNER, RESOURCE_OWNER
role_arn: "IamArn",
}
The wrapper that contains AWS Audit Manager role information, such as the role type and IAM Amazon Resource Name (ARN).
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role.
-
#role_type ⇒ String
The type of customer persona.
Instance Attribute Details
#role_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM role.
3408 3409 3410 3411 3412 3413 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 3408 class Role < Struct.new( :role_type, :role_arn) SENSITIVE = [] include Aws::Structure end |
#role_type ⇒ String
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>
3408 3409 3410 3411 3412 3413 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 3408 class Role < Struct.new( :role_type, :role_arn) SENSITIVE = [] include Aws::Structure end |