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

78 lines 3.26 kB
import * as pulumi from "@pulumi/pulumi"; /** * Updates the service-managed configuration for a stack. The request body may include the ESC environment reference, secrets provider type, encrypted key, and encryption salt. If stack configuration is returned by the API, it is used in place of the local stack config file (e.g. Pulumi.[stack].yaml). Returns the updated configuration object. Returns 400 if the environment reference is invalid or not found. */ export declare class Config extends pulumi.CustomResource { /** * Get an existing Config 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): Config; /** * Returns true if the given object is an instance of Config. 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 Config; /** * The KMS-encrypted ciphertext for the data key used for secrets encryption. Only used for cloud-based secrets providers. */ readonly encryptedKey: pulumi.Output<string | undefined>; /** * The stack's base64-encoded encryption salt. Only used for passphrase-based secrets providers. */ readonly encryptionSalt: pulumi.Output<string | undefined>; /** * Reference to ESC environment to use as stack configuration. */ readonly environment: pulumi.Output<string>; /** * The stack's secrets provider. */ readonly secretsProvider: pulumi.Output<string | undefined>; /** * Create a Config 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: ConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Config resource. */ export interface ConfigArgs { /** * The KMS-encrypted ciphertext for the data key used for secrets encryption. Only used for cloud-based secrets providers. */ encryptedKey?: pulumi.Input<string | undefined>; /** * The stack's base64-encoded encryption salt. Only used for passphrase-based secrets providers. */ encryptionSalt?: pulumi.Input<string | undefined>; /** * Reference to ESC environment to use as stack configuration. */ environment: pulumi.Input<string>; /** * The organization name */ orgName: pulumi.Input<string>; /** * The project name */ projectName: pulumi.Input<string>; /** * The stack's secrets provider. */ secretsProvider?: pulumi.Input<string | undefined>; /** * The stack name */ stackName: pulumi.Input<string>; } //# sourceMappingURL=config.d.ts.map