NewPolicyGroupRequest
NewPolicyGroupRequest is the request struct to create a new Policy Group.
Properties
namestring requiredThe name of the new policy group. Up to 100 characters, made up of letters, numbers, hyphens, underscores, periods, or spaces, and may not begin or end with a space.entityTypeenum optionalDeprecated: a legacy label,stacksoraccounts. Whenmodeis omitted it picks the mode (accounts→ audit,stacks→ preventative). When this is omitted, it is derived frommode. It does not restrict which entities the group can hold.Values:stacks,accountsmodeenum optionalThe enforcement mode for the policy group (audit or preventative). The mode decides what the group can hold: an audit group holds stacks and Insights accounts, a preventative group holds stacks only. Required unless the deprecatedentityTypeis sent. Fixed at creation; it cannot be changed later.Values:audit,preventativeagentPoolIdstring optionalAgent pool ID for policy evaluation. Defaults to Pulumi hosted pool if not specified.