@jameslnewell/buildkite-pipelines
Version:
Generate Buildkite pipelines from code.
26 lines (25 loc) • 804 B
TypeScript
import { PluginSchema } from '../../schema';
import { PluginBuilder } from '../PluginBuilder';
/**
* @see https://github.com/seek-oss/aws-sm-buildkite-plugin
*/
export declare class SecretsManagerPlugin implements PluginBuilder {
#private;
static PLUGIN: string;
/**
* @deprecated Use .setRegion() instead
*/
region(region: string): this;
setRegion(region: string): this;
/**
* @deprecated Use .addEnv() instead
*/
env(name: string, secretId: string, jsonKey?: string): this;
addEnv(name: string, secretId: string, jsonKey?: string): this;
/**
* @deprecated Use .addFile() instead
*/
file(name: string, secretId: string): this;
addFile(name: string, secretId: string): this;
build(): PluginSchema | Promise<PluginSchema>;
}