CreatePolicyBody: {
    description?: string;
    rules: Rule[];
    scope: CreatePolicyBodyScope;
}

Type declaration

  • Optionaldescription?: string

    An optional human-readable description for the policy. Policy descriptions can consist of alphanumeric characters, spaces, commas, and periods, and be 50 characters or less.

    ^[A-Za-z0-9 ,.]{1,50}$

  • rules: Rule[]

    A list of rules that comprise the policy. There is a limit of 10 rules per policy.

  • scope: CreatePolicyBodyScope

    The scope of the policy.