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();
 
  • Method Details

    • getAssessmentId

      @Stability(Stable) @Nullable default String getAssessmentId()
      The identifier for the assessment that's associated with the delegation.
    • getAssessmentName

      @Stability(Stable) @Nullable default String getAssessmentName()
      The name of the assessment that's associated with the delegation.
    • getComment

      @Stability(Stable) @Nullable default String getComment()
      The comment that's related to the delegation.
    • getControlSetId

      @Stability(Stable) @Nullable default String getControlSetId()
      The identifier for the control set that's associated with the delegation.
    • getCreatedBy

      @Stability(Stable) @Nullable default String getCreatedBy()
      The user or role that created the delegation.

      Minimum : 1

      Maximum : 100

      Pattern : ^[a-zA-Z0-9-_()\\[\\]\\s]+$

    • getCreationTime

      @Stability(Stable) @Nullable default Number getCreationTime()
      Specifies when the delegation was created.
    • getId

      @Stability(Stable) @Nullable default String getId()
      The unique identifier for the delegation.
    • getLastUpdated

      @Stability(Stable) @Nullable default Number getLastUpdated()
      Specifies when the delegation was last updated.
    • 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 .

    • getStatus

      @Stability(Stable) @Nullable default String getStatus()
      The status of the delegation.
    • builder

      @Stability(Stable) static CfnAssessment.DelegationProperty.Builder builder()
      Returns:
      a CfnAssessment.DelegationProperty.Builder of CfnAssessment.DelegationProperty