AttachPolicyRequest

AttachPolicyRequest
AttachPolicyRequest

Attach a Policy to a Group.

JSON Example
{
    "policyId": 0,
    "stackRank": 0
}
integer As int64 As int64
policyId
Required  

Identifier of the Policy to attach. Required (POLICY_ID_REQUIRED); a Policy that does not exist is 404 POLICY_NOT_FOUND; one already attached is 409 POLICY_ALREADY_ATTACHED; a Group holds at most 20 Policies (GROUP_POLICY_LIMIT_EXCEEDED)

integer As int32 As int32
stackRank
Required  
Constraints: minimum: 1

Position of the Policy among the Group's Policies, 1 or more (INVALID_STACK_RANK otherwise). Policies are listed and compiled in ascending stackRank, so 1 is the highest priority