policyCreatev2

Create a new Policy (v2 API).

Arguments

Returns

Policy!
Policy!
Collapse
  • id
    Unique (within a single organization), immutable name of the policy.
  • space
    ID of the space this Policy belongs to.
  • hasAttachedStacks
    Indicates whether any stacks are attached to this policy, either directly or via auto-attachment.
  • Body of the policy.
  • createdAt
    Unix timestamp representing the policy creation.
  • User-defined labels set on the Policy.
  • Name of the policy.
  • description
    Description of the policy.
  • updatedAt
    Unix timestamp of the last policy update.
  • notificationCount
    Number of the new policy notifications.