Interface CfnAssessment.RoleProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnAssessment.RoleProperty extends
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).


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 RoleProperty roleProperty = RoleProperty.builder()
  • Method Details

    • getRoleArn

      @Stability(Stable) @Nullable default String getRoleArn()
      The Amazon Resource Name (ARN) of the IAM role.
    • getRoleType

      @Stability(Stable) @Nullable default String getRoleType()
      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 .

    • builder

      @Stability(Stable) static CfnAssessment.RoleProperty.Builder builder()
      a CfnAssessment.RoleProperty.Builder of CfnAssessment.RoleProperty