UNPKG

@pulumi/google-compliance-policies

Version:

This repository contains a growing set of Compliance Policies to validate your infrastructure using Pulumi's Crossguard Policy-as-Code framework.

50 lines (49 loc) 1.47 kB
import { ResourceValidationPolicy } from "@pulumi/policy"; declare namespace Backup { /** * Disallow the use of non-stable (Beta) resouces (alloydb.v1beta.Backup). * * @severity medium * @frameworks none * @topics api, beta, unstable * @link https://cloud.google.com/apis/design/versioning */ const disallowBetaResource: ResourceValidationPolicy; } export { Backup }; declare namespace Cluster { /** * Disallow the use of non-stable (Beta) resouces (alloydb.v1beta.Cluster). * * @severity medium * @frameworks none * @topics api, beta, unstable * @link https://cloud.google.com/apis/design/versioning */ const disallowBetaResource: ResourceValidationPolicy; } export { Cluster }; declare namespace Instance { /** * Disallow the use of non-stable (Beta) resouces (alloydb.v1beta.Instance). * * @severity medium * @frameworks none * @topics api, beta, unstable * @link https://cloud.google.com/apis/design/versioning */ const disallowBetaResource: ResourceValidationPolicy; } export { Instance }; declare namespace User { /** * Disallow the use of non-stable (Beta) resouces (alloydb.v1beta.User). * * @severity medium * @frameworks none * @topics api, beta, unstable * @link https://cloud.google.com/apis/design/versioning */ const disallowBetaResource: ResourceValidationPolicy; } export { User };