1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. NewPolicyGroupRequest

NewPolicyGroupRequest

    NewPolicyGroupRequest is the request struct to create a new Policy Group.

    Properties

    • name string required
      The name of the new policy group.
    • entityType enum required
      The type of entities this policy group applies to (stacks or accounts).
      Values: stacks, accounts
    • mode enum optional
      The enforcement mode for the policy group (audit or preventative). Defaults to ‘audit’ for account policy groups, ‘preventative’ for stack policy groups.
      Values: audit, preventative
    • agentPoolId string optional
      Agent pool ID for policy evaluation. Defaults to Pulumi hosted pool if not specified.