ApprovalStrategy

sealed class ApprovalStrategy

Strategy for how an approval team grants approval.

Inheritors

Types

Link copied to clipboard
data class MofN(val value: MofNApprovalStrategy) : ApprovalStrategy

Minimum number of approvals (M) required for a total number of approvers (N).

Link copied to clipboard

Functions

Link copied to clipboard

Casts this ApprovalStrategy as a MofN and retrieves its aws.sdk.kotlin.services.mpa.model.MofNApprovalStrategy value. Throws an exception if the ApprovalStrategy is not a MofN.

Link copied to clipboard

Casts this ApprovalStrategy as a MofN and retrieves its aws.sdk.kotlin.services.mpa.model.MofNApprovalStrategy value. Returns null if the ApprovalStrategy is not a MofN.