In this first lab we will describe the customer scenario so that you understand the problem being solved by the custom policy.
Policy aliases are the secret sauce in custom policy creation. This lab will explain what they are and help you list the ones available for a resource type.
Determine the logic
You can't create a policy without knowing the logic that you need to embed in the policy.
Create the custom policy
OK, we know the aliases to use and the logic we need to apply. Time to construct the JSON for the custom policy.
Define, assign and test
Define the custom policy at the right scope point. Assign it and test it out to confirm that it works as expected.