Creating a Custom Policy
Custom policies can be created as a supplement to the system policies of DDM.
You can create custom policies in either of the following ways:
- Visual editor: Select cloud services, actions, resources, and request conditions. This does not require knowledge of policy syntax.
- JSON: Edit JSON policies from scratch or based on an existing policy.
For details, see Creating a Custom Policy. The following section contains examples of common DDM custom policies.
Example Policies
- Example: Denying DDM instance deletion
A deny policy must be used together with other policies. If the permissions assigned to a user contain both "Allow" and "Deny", the "Deny" permissions take precedence over the "Allow" permissions. The following is an example of a deny policy:
{ "Version": "1.1", "Statement": [ { "Effect": "Deny", "Action": [ "ddm:instance:delete" ] } ] }
Last Article: Creating a User and Granting Permissions
Next Article: Instance Management
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.