2020-09-18 00:17:34 +00:00
|
|
|
// Copyright 2016-2020, Pulumi Corporation.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
2020-09-08 23:20:10 +00:00
|
|
|
|
2020-10-07 07:25:36 +00:00
|
|
|
/**
|
2024-07-10 17:22:24 +00:00
|
|
|
* An input to/output from a `pulumi config` command.
|
2020-10-07 07:25:36 +00:00
|
|
|
*/
|
2020-10-08 01:31:55 +00:00
|
|
|
export interface ConfigValue {
|
2024-07-10 17:22:24 +00:00
|
|
|
/**
|
|
|
|
* The underlying configuration value.
|
|
|
|
*/
|
2020-09-18 00:17:34 +00:00
|
|
|
value: string;
|
2024-07-10 17:22:24 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* True if and only if this configuration value is a secret.
|
|
|
|
*/
|
2020-09-18 15:07:49 +00:00
|
|
|
secret?: boolean;
|
2020-10-08 01:31:55 +00:00
|
|
|
}
|
2020-09-14 03:28:24 +00:00
|
|
|
|
2020-10-07 07:25:36 +00:00
|
|
|
/**
|
2024-07-10 17:22:24 +00:00
|
|
|
* A map of configuration values.
|
2020-10-07 07:25:36 +00:00
|
|
|
*/
|
2020-09-18 00:17:34 +00:00
|
|
|
export type ConfigMap = { [key: string]: ConfigValue };
|