Policies

Creates a new `Policy`, and applies it to the provided `Groups`.

Changed on
post/policies

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

policyIdstring

unique ID of policy

typestring

type of policy

descriptionstring

description of policy

appliesTostring[]

the paths of the group that this policy applies to

documentstring

the policy document (e.g. a provisioning template)

Response

Created successfully

Changes

    • breaking

      the request's body type changed from no type to object (media type: application/vnd.aws-cdf-v1.0+json)

    • breaking

      the request's body type changed from no type to object (media type: application/vnd.aws-cdf-v2.0+json)