Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. CreatePolicyExceptionRequest

CreatePolicyExceptionRequest

    Request to create a policy exception.

    Properties

    • policyPack string required
      The name of the policy pack the exception applies to.
    • match array[PolicyExceptionMatch] required
      The exception’s entries: between 1 and 100.
    • ↳ policies array[string] required
      The names of policies within the policy pack: between 1 and 100 non-blank names.
    • ↳ targets array[string] required
      The URNs of the resources the violations are reported against: between 1 and 100 URNs of at most 2048 characters each.
    • reason string required
      The justification for the exception: up to 2048 characters, not blank.
    • expiresInSeconds integer optional
      Seconds until the exception expires, counted from when it’s created: a whole number of hours, between 1 hour and 3650 days. Omit for an exception that never expires.

      The infrastructure as code platform for any cloud.