UNPKG

@pulumi/pulumiservice

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fpulumiservice.svg)](https://www.npmjs.com/package/@pulumi/pulumiservice) [![Python version](https://badge.fury.io

86 lines 3.47 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * A Policy Pack published to Pulumi Cloud. The source directory is tarballed and uploaded on Create; changing source content publishes a new version (replace). */ export declare class PolicyPack extends pulumi.CustomResource { /** * Get an existing PolicyPack resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PolicyPack; /** * Returns true if the given object is an instance of PolicyPack. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PolicyPack; readonly contentHash: pulumi.Output<string>; /** * Optional display name. Changing it requires a new versionTag (policy pack versions are immutable in Pulumi Cloud). */ readonly displayName: pulumi.Output<string | undefined>; /** * Policy pack name (unique within the org). */ readonly name: pulumi.Output<string>; /** * Organization name. */ readonly organization: pulumi.Output<string>; /** * Metadata for each policy in the pack. */ readonly policies: pulumi.Output<outputs.PolicyPackPolicyInput[] | undefined>; /** * Path to the directory containing the policy pack source. The directory is tarballed and uploaded. */ readonly sourcePath: pulumi.Output<string>; readonly version: pulumi.Output<number>; /** * Semantic version tag (e.g. "1.0.0"). Versions are immutable; change to publish a new version. */ readonly versionTag: pulumi.Output<string>; /** * Create a PolicyPack resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PolicyPackArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PolicyPack resource. */ export interface PolicyPackArgs { /** * Optional display name. Changing it requires a new versionTag (policy pack versions are immutable in Pulumi Cloud). */ displayName?: pulumi.Input<string | undefined>; /** * Policy pack name (unique within the org). */ name: pulumi.Input<string>; /** * Organization name. */ organization: pulumi.Input<string>; /** * Metadata for each policy in the pack. */ policies?: pulumi.Input<pulumi.Input<inputs.PolicyPackPolicyInputArgs>[] | undefined>; /** * Path to the directory containing the policy pack source. The directory is tarballed and uploaded. */ sourcePath: pulumi.Input<string>; /** * Semantic version tag (e.g. "1.0.0"). Versions are immutable; change to publish a new version. */ versionTag: pulumi.Input<string>; } //# sourceMappingURL=policyPack.d.ts.map