Get Involved
Edit on GitHub

createPolicySetting

createPolicySetting (input: CreatePolicySettingInput!) → PolicySetting

Create a policy setting for the given type, resource and precedence. Provide the setting in either standard form (either value (as JSON) or valueSource (as YAML string), or as a calculated setting with inputTemplate (as YAML Nunjucks template) and optional input (as GraphQL query string). Optionally provide note, validFromTimestamp and validToTimestamp