@pulumi/pulumiservice
Version:
[](https://slack.pulumi.com) [](https://www.npmjs.com/package/@pulumi/pulumiservice) [.
*/
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