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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAssessment.RoleProperty
static final class
An 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
,roleType
can only bePROCESS_OWNER
.In
UpdateSettings
,roleType
can only bePROCESS_OWNER
.In
BatchCreateDelegationByAssessment
,roleType
can only beRESOURCE_OWNER
.- See Also:
-
builder
- Returns:
- a
CfnAssessment.RoleProperty.Builder
ofCfnAssessment.RoleProperty
-