Interface CfnAssessment.RoleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssessment.RoleProperty.Jsii$Proxy
- Enclosing class:
CfnAssessment
@Stability(Stable)
public static interface CfnAssessment.RoleProperty
extends software.amazon.jsii.JsiiSerializable
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:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.auditmanager.*;
RoleProperty roleProperty = RoleProperty.builder()
.roleArn("roleArn")
.roleType("roleType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAssessment.RolePropertystatic final classAn implementation forCfnAssessment.RoleProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRoleArn
The Amazon Resource Name (ARN) of the IAM role.- See Also:
-
getRoleType
The type of customer persona.In
CreateAssessment,roleTypecan only bePROCESS_OWNER.In
UpdateSettings,roleTypecan only bePROCESS_OWNER.In
BatchCreateDelegationByAssessment,roleTypecan only beRESOURCE_OWNER.- See Also:
-
builder
- Returns:
- a
CfnAssessment.RoleProperty.BuilderofCfnAssessment.RoleProperty
-