Skip to content
v2.275.0

RoleProperty Struct ​

The Role property type specifies the wrapper that contains AWS Audit Manager role information, such as the role type and IAM Amazon Resource Name (ARN).

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_auditmanager as auditmanager } from 'aws-cdk-lib';
const roleProperty: auditmanager.CfnAssessment.RoleProperty = {
  roleArn: 'roleArn',
  roleType: 'roleType',
};

Properties ​

roleArnoptionalstringrole_arnoptionalstrroleArnoptionalStringRoleArnoptionalstringRoleArnoptional*string#
The Amazon Resource Name (ARN) of the IAM role.
roleTypeoptionalstringrole_typeoptionalstrroleTypeoptionalStringRoleTypeoptionalstringRoleTypeoptional*string#
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 .