Interface CfnAssessment.DelegationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssessment.DelegationProperty.Jsii$Proxy
- Enclosing class:
- CfnAssessment
@Stability(Stable)
public static interface CfnAssessment.DelegationProperty
extends software.amazon.jsii.JsiiSerializable
The
Delegation
property type specifies the assignment of a control set to a delegate for review.
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.*; DelegationProperty delegationProperty = DelegationProperty.builder() .assessmentId("assessmentId") .assessmentName("assessmentName") .comment("comment") .controlSetId("controlSetId") .createdBy("createdBy") .creationTime(123) .id("id") .lastUpdated(123) .roleArn("roleArn") .roleType("roleType") .status("status") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAssessment.DelegationProperty
static final class
An implementation forCfnAssessment.DelegationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The identifier for the assessment that's associated with the delegation.default String
The name of the assessment that's associated with the delegation.default String
The comment that's related to the delegation.default String
The identifier for the control set that's associated with the delegation.default String
The user or role that created the delegation.default Number
Specifies when the delegation was created.default String
getId()
The unique identifier for the delegation.default Number
Specifies when the delegation was last updated.default String
The Amazon Resource Name (ARN) of the IAM role.default String
The type of customer persona.default String
The status of the delegation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssessmentId
The identifier for the assessment that's associated with the delegation. -
getAssessmentName
The name of the assessment that's associated with the delegation. -
getComment
The comment that's related to the delegation. -
getControlSetId
The identifier for the control set that's associated with the delegation. -
getCreatedBy
The user or role that created the delegation.Minimum :
1
Maximum :
100
Pattern :
^[a-zA-Z0-9-_()\\[\\]\\s]+$
-
getCreationTime
Specifies when the delegation was created. -
getId
The unique identifier for the delegation. -
getLastUpdated
Specifies when the delegation was last updated. -
getRoleArn
The Amazon Resource Name (ARN) of the IAM role. -
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
. -
getStatus
The status of the delegation. -
builder
-