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