@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.49 kB
TypeScript
import { ResourceValidationPolicy } from "@pulumi/policy";
declare namespace Control {
/**
* Disallow the use of non-stable (Beta) resouces (retail.v2beta.Control).
*
* @severity medium
* @frameworks none
* @topics api, beta, unstable
* @link https://cloud.google.com/apis/design/versioning
*/
const disallowBetaResource: ResourceValidationPolicy;
}
export { Control };
declare namespace Model {
/**
* Disallow the use of non-stable (Beta) resouces (retail.v2beta.Model).
*
* @severity medium
* @frameworks none
* @topics api, beta, unstable
* @link https://cloud.google.com/apis/design/versioning
*/
const disallowBetaResource: ResourceValidationPolicy;
}
export { Model };
declare namespace Product {
/**
* Disallow the use of non-stable (Beta) resouces (retail.v2beta.Product).
*
* @severity medium
* @frameworks none
* @topics api, beta, unstable
* @link https://cloud.google.com/apis/design/versioning
*/
const disallowBetaResource: ResourceValidationPolicy;
}
export { Product };
declare namespace ServingConfig {
/**
* Disallow the use of non-stable (Beta) resouces (retail.v2beta.ServingConfig).
*
* @severity medium
* @frameworks none
* @topics api, beta, unstable
* @link https://cloud.google.com/apis/design/versioning
*/
const disallowBetaResource: ResourceValidationPolicy;
}
export { ServingConfig };