UNPKG

@defang-io/pulumi-defang

Version:

![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/DefangLabs/pulumi-defang?label=Version)

39 lines (38 loc) 1.5 kB
import * as pulumi from "@pulumi/pulumi"; export declare class Provider extends pulumi.ProviderResource { /** * Returns true if the given object is an instance of Provider. 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 Provider; /** * The cloud provider to use. Can be one of [auto aws gcp digitalocean]. */ readonly cloudProviderID: pulumi.Output<string | undefined>; /** * The deployment mode to use. Can be one of [DEVELOPMENT STAGING PRODUCTION]. */ readonly deploymentMode: pulumi.Output<string | undefined>; /** * Create a Provider 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?: ProviderArgs, opts?: pulumi.ResourceOptions); } /** * The set of arguments for constructing a Provider resource. */ export interface ProviderArgs { /** * The cloud provider to use. Can be one of [auto aws gcp digitalocean]. */ cloudProviderID?: pulumi.Input<string>; debug?: pulumi.Input<boolean>; /** * The deployment mode to use. Can be one of [DEVELOPMENT STAGING PRODUCTION]. */ deploymentMode?: pulumi.Input<string>; }