ApprovalPolicy
A governance approval policy that specifies which principals and governed actions require approval, and which assets the policy applies to.
Contents
Note
In the following list, the required parameters are described first.
- Actions
-
The list of governed actions that trigger the approval workflow.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Valid Values:
SHARERequired: Yes
- ApplicableTo
-
The scoping configuration that determines who the approval policy applies to.
Type: ApplicableTo object
Required: Yes
- ApprovalGroups
-
The list of group ARNs whose members can approve requests.
Type: Array of strings
Array Members: Minimum number of 1 item.
Required: Yes
- AssetTypes
-
The list of asset types that the approval policy applies to.
Type: Array of strings
Array Members: Minimum number of 1 item.
Valid Values:
AGENT | SPACE | KNOWLEDGE_BASERequired: Yes
- CreatedAt
-
The date and time that the approval policy was created.
Type: Timestamp
Required: Yes
- Name
-
The name of the approval policy.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Required: Yes
- PolicyArn
-
The Amazon Resource Name (ARN) of the approval policy.
Type: String
Required: Yes
- PolicyId
-
The unique identifier of the approval policy.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[a-zA-Z0-9\-_]+Required: Yes
- UpdatedAt
-
The date and time that the approval policy was last updated.
Type: Timestamp
Required: Yes
- Description
-
A description of the approval policy.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 1024.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: