CreatePolicySettingInput

CreatePolicySettingInput

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

noteStringOptional note for the policy setting, as a string
precedencePolicySettingPrecedenceOptional precedence of the policy setting. Defaults to REQUIRED if not specified
resourceID!The resource level to create the policy setting at, either as an id, or an AKA
templateStringOptional template of a calculated policy setting, as a YAML Nunjucks string
templateInputScalarOptional Graphql templateInput query of a calculated policy setting, as a string, or array of strings
typeID!The type of the policy setting to create, either as an id, or an AKA
validFromTimestampStringOptional validFromTimestamp for the policy setting, as an ISO string
validToTimestampStringOptional validToTimestamp for the policy setting, as an ISO string
valueJSONOptional value of a standard policy setting, as a JSON object
valueSourceStringOptional valueSource of a standard policy setting, as a YAML string