digitalocean.App
Explore with Pulumi AI
Provides a DigitalOcean App resource.
Example Usage
Basic Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;
return await Deployment.RunAsync(() =>
{
var golang_sample = new DigitalOcean.App("golang-sample", new()
{
Spec = new DigitalOcean.Inputs.AppSpecArgs
{
Name = "golang-sample",
Region = "ams",
Services = new[]
{
new DigitalOcean.Inputs.AppSpecServiceArgs
{
EnvironmentSlug = "go",
Git = new DigitalOcean.Inputs.AppSpecServiceGitArgs
{
Branch = "main",
RepoCloneUrl = "https://github.com/digitalocean/sample-golang.git",
},
InstanceCount = 1,
InstanceSizeSlug = "professional-xs",
Name = "go-service",
},
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := digitalocean.NewApp(ctx, "golang-sample", &digitalocean.AppArgs{
Spec: &digitalocean.AppSpecArgs{
Name: pulumi.String("golang-sample"),
Region: pulumi.String("ams"),
Services: digitalocean.AppSpecServiceArray{
&digitalocean.AppSpecServiceArgs{
EnvironmentSlug: pulumi.String("go"),
Git: &digitalocean.AppSpecServiceGitArgs{
Branch: pulumi.String("main"),
RepoCloneUrl: pulumi.String("https://github.com/digitalocean/sample-golang.git"),
},
InstanceCount: pulumi.Int(1),
InstanceSizeSlug: pulumi.String("professional-xs"),
Name: pulumi.String("go-service"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.digitalocean.App;
import com.pulumi.digitalocean.AppArgs;
import com.pulumi.digitalocean.inputs.AppSpecArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var golang_sample = new App("golang-sample", AppArgs.builder()
.spec(AppSpecArgs.builder()
.name("golang-sample")
.region("ams")
.services(AppSpecServiceArgs.builder()
.environmentSlug("go")
.git(AppSpecServiceGitArgs.builder()
.branch("main")
.repoCloneUrl("https://github.com/digitalocean/sample-golang.git")
.build())
.instanceCount(1)
.instanceSizeSlug("professional-xs")
.name("go-service")
.build())
.build())
.build());
}
}
import pulumi
import pulumi_digitalocean as digitalocean
golang_sample = digitalocean.App("golang-sample", spec=digitalocean.AppSpecArgs(
name="golang-sample",
region="ams",
services=[digitalocean.AppSpecServiceArgs(
environment_slug="go",
git=digitalocean.AppSpecServiceGitArgs(
branch="main",
repo_clone_url="https://github.com/digitalocean/sample-golang.git",
),
instance_count=1,
instance_size_slug="professional-xs",
name="go-service",
)],
))
import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const golang_sample = new digitalocean.App("golang-sample", {spec: {
name: "golang-sample",
region: "ams",
services: [{
environmentSlug: "go",
git: {
branch: "main",
repoCloneUrl: "https://github.com/digitalocean/sample-golang.git",
},
instanceCount: 1,
instanceSizeSlug: "professional-xs",
name: "go-service",
}],
}});
resources:
golang-sample:
type: digitalocean:App
properties:
spec:
name: golang-sample
region: ams
services:
- environmentSlug: go
git:
branch: main
repoCloneUrl: https://github.com/digitalocean/sample-golang.git
instanceCount: 1
instanceSizeSlug: professional-xs
name: go-service
Static Site Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;
return await Deployment.RunAsync(() =>
{
var static_site_example = new DigitalOcean.App("static-site-example", new()
{
Spec = new DigitalOcean.Inputs.AppSpecArgs
{
Name = "static-site-example",
Region = "ams",
StaticSites = new[]
{
new DigitalOcean.Inputs.AppSpecStaticSiteArgs
{
BuildCommand = "bundle exec jekyll build -d ./public",
Git = new DigitalOcean.Inputs.AppSpecStaticSiteGitArgs
{
Branch = "main",
RepoCloneUrl = "https://github.com/digitalocean/sample-jekyll.git",
},
Name = "sample-jekyll",
OutputDir = "/public",
},
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := digitalocean.NewApp(ctx, "static-site-example", &digitalocean.AppArgs{
Spec: &digitalocean.AppSpecArgs{
Name: pulumi.String("static-site-example"),
Region: pulumi.String("ams"),
StaticSites: digitalocean.AppSpecStaticSiteArray{
&digitalocean.AppSpecStaticSiteArgs{
BuildCommand: pulumi.String("bundle exec jekyll build -d ./public"),
Git: &digitalocean.AppSpecStaticSiteGitArgs{
Branch: pulumi.String("main"),
RepoCloneUrl: pulumi.String("https://github.com/digitalocean/sample-jekyll.git"),
},
Name: pulumi.String("sample-jekyll"),
OutputDir: pulumi.String("/public"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.digitalocean.App;
import com.pulumi.digitalocean.AppArgs;
import com.pulumi.digitalocean.inputs.AppSpecArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var static_site_example = new App("static-site-example", AppArgs.builder()
.spec(AppSpecArgs.builder()
.name("static-site-example")
.region("ams")
.staticSites(AppSpecStaticSiteArgs.builder()
.buildCommand("bundle exec jekyll build -d ./public")
.git(AppSpecStaticSiteGitArgs.builder()
.branch("main")
.repoCloneUrl("https://github.com/digitalocean/sample-jekyll.git")
.build())
.name("sample-jekyll")
.outputDir("/public")
.build())
.build())
.build());
}
}
import pulumi
import pulumi_digitalocean as digitalocean
static_site_example = digitalocean.App("static-site-example", spec=digitalocean.AppSpecArgs(
name="static-site-example",
region="ams",
static_sites=[digitalocean.AppSpecStaticSiteArgs(
build_command="bundle exec jekyll build -d ./public",
git=digitalocean.AppSpecStaticSiteGitArgs(
branch="main",
repo_clone_url="https://github.com/digitalocean/sample-jekyll.git",
),
name="sample-jekyll",
output_dir="/public",
)],
))
import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const static_site_example = new digitalocean.App("static-site-example", {spec: {
name: "static-site-example",
region: "ams",
staticSites: [{
buildCommand: "bundle exec jekyll build -d ./public",
git: {
branch: "main",
repoCloneUrl: "https://github.com/digitalocean/sample-jekyll.git",
},
name: "sample-jekyll",
outputDir: "/public",
}],
}});
resources:
static-site-example:
type: digitalocean:App
properties:
spec:
name: static-site-example
region: ams
staticSites:
- buildCommand: bundle exec jekyll build -d ./public
git:
branch: main
repoCloneUrl: https://github.com/digitalocean/sample-jekyll.git
name: sample-jekyll
outputDir: /public
Multiple Components Example
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.digitalocean.App;
import com.pulumi.digitalocean.AppArgs;
import com.pulumi.digitalocean.inputs.AppSpecArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var mono_repo_example = new App("mono-repo-example", AppArgs.builder()
.spec(AppSpecArgs.builder()
.alerts(AppSpecAlertArgs.builder()
.rule("DEPLOYMENT_FAILED")
.build())
.databases(AppSpecDatabaseArgs.builder()
.engine("PG")
.name("starter-db")
.production(false)
.build())
.domains(Map.of("name", "foo.example.com"))
.name("mono-repo-example")
.region("ams")
.services(AppSpecServiceArgs.builder()
.alert(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.environmentSlug("go")
.github(AppSpecServiceGithubArgs.builder()
.branch("main")
.deployOnPush(true)
.repo("username/repo")
.build())
.httpPort(3000)
.instanceCount(2)
.instanceSizeSlug("professional-xs")
.logDestination(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.name("api")
.routes(AppSpecServiceRouteArgs.builder()
.path("/api")
.build())
.runCommand("bin/api")
.sourceDir("api/")
.build())
.staticSites(AppSpecStaticSiteArgs.builder()
.buildCommand("npm run build")
.github(AppSpecStaticSiteGithubArgs.builder()
.branch("main")
.deployOnPush(true)
.repo("username/repo")
.build())
.name("web")
.routes(AppSpecStaticSiteRouteArgs.builder()
.path("/")
.build())
.build())
.build())
.build());
}
}
Coming soon!
Coming soon!
resources:
mono-repo-example:
type: digitalocean:App
properties:
spec:
alerts:
- rule: DEPLOYMENT_FAILED
databases:
- engine: PG
name: starter-db
production: false
domains:
- name: foo.example.com
name: mono-repo-example
region: ams
services:
- alert:
- operator: GREATER_THAN
rule: CPU_UTILIZATION
value: 75
window: TEN_MINUTES
environmentSlug: go
github:
branch: main
deployOnPush: true
repo: username/repo
httpPort: 3000
instanceCount: 2
instanceSizeSlug: professional-xs
logDestination:
- name: MyLogs
papertrail:
endpoint: syslog+tls://example.com:12345
name: api
routes:
- path: /api
runCommand: bin/api
sourceDir: api/
staticSites:
- buildCommand: npm run build
github:
branch: main
deployOnPush: true
repo: username/repo
name: web
routes:
- path: /
Create App Resource
new App(name: string, args?: AppArgs, opts?: CustomResourceOptions);
@overload
def App(resource_name: str,
opts: Optional[ResourceOptions] = None,
spec: Optional[AppSpecArgs] = None)
@overload
def App(resource_name: str,
args: Optional[AppArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewApp(ctx *Context, name string, args *AppArgs, opts ...ResourceOption) (*App, error)
public App(string name, AppArgs? args = null, CustomResourceOptions? opts = null)
type: digitalocean:App
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
App Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The App resource accepts the following input properties:
- Spec
Pulumi.
Digital Ocean. Inputs. App Spec A DigitalOcean App spec describing the app.
- Spec
App
Spec Args A DigitalOcean App spec describing the app.
- spec
App
Spec Args A DigitalOcean App spec describing the app.
- spec Property Map
A DigitalOcean App spec describing the app.
Outputs
All input properties are implicitly available as output properties. Additionally, the App resource produces the following output properties:
- Active
Deployment stringId The ID the app's currently active deployment.
- App
Urn string The uniform resource identifier for the app.
- Created
At string The date and time of when the app was created.
- Default
Ingress string The default URL to access the app.
- Id string
The provider-assigned unique ID for this managed resource.
- Live
Url string The live URL of the app.
- Updated
At string The date and time of when the app was last updated.
- Active
Deployment stringId The ID the app's currently active deployment.
- App
Urn string The uniform resource identifier for the app.
- Created
At string The date and time of when the app was created.
- Default
Ingress string The default URL to access the app.
- Id string
The provider-assigned unique ID for this managed resource.
- Live
Url string The live URL of the app.
- Updated
At string The date and time of when the app was last updated.
- active
Deployment StringId The ID the app's currently active deployment.
- app
Urn String The uniform resource identifier for the app.
- created
At String The date and time of when the app was created.
- default
Ingress String The default URL to access the app.
- id String
The provider-assigned unique ID for this managed resource.
- live
Url String The live URL of the app.
- updated
At String The date and time of when the app was last updated.
- active
Deployment stringId The ID the app's currently active deployment.
- app
Urn string The uniform resource identifier for the app.
- created
At string The date and time of when the app was created.
- default
Ingress string The default URL to access the app.
- id string
The provider-assigned unique ID for this managed resource.
- live
Url string The live URL of the app.
- updated
At string The date and time of when the app was last updated.
- active_
deployment_ strid The ID the app's currently active deployment.
- app_
urn str The uniform resource identifier for the app.
- created_
at str The date and time of when the app was created.
- default_
ingress str The default URL to access the app.
- id str
The provider-assigned unique ID for this managed resource.
- live_
url str The live URL of the app.
- updated_
at str The date and time of when the app was last updated.
- active
Deployment StringId The ID the app's currently active deployment.
- app
Urn String The uniform resource identifier for the app.
- created
At String The date and time of when the app was created.
- default
Ingress String The default URL to access the app.
- id String
The provider-assigned unique ID for this managed resource.
- live
Url String The live URL of the app.
- updated
At String The date and time of when the app was last updated.
Look up Existing App Resource
Get an existing App resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppState, opts?: CustomResourceOptions): App
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active_deployment_id: Optional[str] = None,
app_urn: Optional[str] = None,
created_at: Optional[str] = None,
default_ingress: Optional[str] = None,
live_url: Optional[str] = None,
spec: Optional[AppSpecArgs] = None,
updated_at: Optional[str] = None) -> App
func GetApp(ctx *Context, name string, id IDInput, state *AppState, opts ...ResourceOption) (*App, error)
public static App Get(string name, Input<string> id, AppState? state, CustomResourceOptions? opts = null)
public static App get(String name, Output<String> id, AppState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Active
Deployment stringId The ID the app's currently active deployment.
- App
Urn string The uniform resource identifier for the app.
- Created
At string The date and time of when the app was created.
- Default
Ingress string The default URL to access the app.
- Live
Url string The live URL of the app.
- Spec
Pulumi.
Digital Ocean. Inputs. App Spec A DigitalOcean App spec describing the app.
- Updated
At string The date and time of when the app was last updated.
- Active
Deployment stringId The ID the app's currently active deployment.
- App
Urn string The uniform resource identifier for the app.
- Created
At string The date and time of when the app was created.
- Default
Ingress string The default URL to access the app.
- Live
Url string The live URL of the app.
- Spec
App
Spec Args A DigitalOcean App spec describing the app.
- Updated
At string The date and time of when the app was last updated.
- active
Deployment StringId The ID the app's currently active deployment.
- app
Urn String The uniform resource identifier for the app.
- created
At String The date and time of when the app was created.
- default
Ingress String The default URL to access the app.
- live
Url String The live URL of the app.
- spec
App
Spec A DigitalOcean App spec describing the app.
- updated
At String The date and time of when the app was last updated.
- active
Deployment stringId The ID the app's currently active deployment.
- app
Urn string The uniform resource identifier for the app.
- created
At string The date and time of when the app was created.
- default
Ingress string The default URL to access the app.
- live
Url string The live URL of the app.
- spec
App
Spec A DigitalOcean App spec describing the app.
- updated
At string The date and time of when the app was last updated.
- active_
deployment_ strid The ID the app's currently active deployment.
- app_
urn str The uniform resource identifier for the app.
- created_
at str The date and time of when the app was created.
- default_
ingress str The default URL to access the app.
- live_
url str The live URL of the app.
- spec
App
Spec Args A DigitalOcean App spec describing the app.
- updated_
at str The date and time of when the app was last updated.
- active
Deployment StringId The ID the app's currently active deployment.
- app
Urn String The uniform resource identifier for the app.
- created
At String The date and time of when the app was created.
- default
Ingress String The default URL to access the app.
- live
Url String The live URL of the app.
- spec Property Map
A DigitalOcean App spec describing the app.
- updated
At String The date and time of when the app was last updated.
Supporting Types
AppSpec, AppSpecArgs
- Name string
The name of the component.
- Alerts
List<Pulumi.
Digital Ocean. Inputs. App Spec Alert> Describes an alert policy for the component.
- Databases
List<Pulumi.
Digital Ocean. Inputs. App Spec Database> - Domain
Names List<Pulumi.Digital Ocean. Inputs. App Spec Domain Name> Describes a domain where the application will be made available.
- Domains List<string>
This attribute has been replaced by
domain
which supports additional functionality.- Envs
List<Pulumi.
Digital Ocean. Inputs. App Spec Env> Describes an environment variable made available to an app competent.
- Functions
List<Pulumi.
Digital Ocean. Inputs. App Spec Function> - Jobs
List<Pulumi.
Digital Ocean. Inputs. App Spec Job> - Region string
The slug for the DigitalOcean data center region hosting the app.
- Services
List<Pulumi.
Digital Ocean. Inputs. App Spec Service> - Static
Sites List<Pulumi.Digital Ocean. Inputs. App Spec Static Site> - Workers
List<Pulumi.
Digital Ocean. Inputs. App Spec Worker>
- Name string
The name of the component.
- Alerts
[]App
Spec Alert Describes an alert policy for the component.
- Databases
[]App
Spec Database - Domain
Names []AppSpec Domain Name Describes a domain where the application will be made available.
- Domains []string
This attribute has been replaced by
domain
which supports additional functionality.- Envs
[]App
Spec Env Describes an environment variable made available to an app competent.
- Functions
[]App
Spec Function - Jobs
[]App
Spec Job - Region string
The slug for the DigitalOcean data center region hosting the app.
- Services
[]App
Spec Service - Static
Sites []AppSpec Static Site - Workers
[]App
Spec Worker
- name String
The name of the component.
- alerts
List<App
Spec Alert> Describes an alert policy for the component.
- databases
List<App
Spec Database> - domain
Names List<AppSpec Domain Name> Describes a domain where the application will be made available.
- domains List<String>
This attribute has been replaced by
domain
which supports additional functionality.- envs
List<App
Spec Env> Describes an environment variable made available to an app competent.
- functions
List<App
Spec Function> - jobs
List<App
Spec Job> - region String
The slug for the DigitalOcean data center region hosting the app.
- services
List<App
Spec Service> - static
Sites List<AppSpec Static Site> - workers
List<App
Spec Worker>
- name string
The name of the component.
- alerts
App
Spec Alert[] Describes an alert policy for the component.
- databases
App
Spec Database[] - domain
Names AppSpec Domain Name[] Describes a domain where the application will be made available.
- domains string[]
This attribute has been replaced by
domain
which supports additional functionality.- envs
App
Spec Env[] Describes an environment variable made available to an app competent.
- functions
App
Spec Function[] - jobs
App
Spec Job[] - region string
The slug for the DigitalOcean data center region hosting the app.
- services
App
Spec Service[] - static
Sites AppSpec Static Site[] - workers
App
Spec Worker[]
- name str
The name of the component.
- alerts
Sequence[App
Spec Alert] Describes an alert policy for the component.
- databases
Sequence[App
Spec Database] - domain_
names Sequence[AppSpec Domain Name] Describes a domain where the application will be made available.
- domains Sequence[str]
This attribute has been replaced by
domain
which supports additional functionality.- envs
Sequence[App
Spec Env] Describes an environment variable made available to an app competent.
- functions
Sequence[App
Spec Function] - jobs
Sequence[App
Spec Job] - region str
The slug for the DigitalOcean data center region hosting the app.
- services
Sequence[App
Spec Service] - static_
sites Sequence[AppSpec Static Site] - workers
Sequence[App
Spec Worker]
- name String
The name of the component.
- alerts List<Property Map>
Describes an alert policy for the component.
- databases List<Property Map>
- domain
Names List<Property Map> Describes a domain where the application will be made available.
- domains List<String>
This attribute has been replaced by
domain
which supports additional functionality.- envs List<Property Map>
Describes an environment variable made available to an app competent.
- functions List<Property Map>
- jobs List<Property Map>
- region String
The slug for the DigitalOcean data center region hosting the app.
- services List<Property Map>
- static
Sites List<Property Map> - workers List<Property Map>
AppSpecAlert, AppSpecAlertArgs
AppSpecDatabase, AppSpecDatabaseArgs
- Cluster
Name string The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned.- Db
Name string The name of the MySQL or PostgreSQL database to configure.
- Db
User string The name of the MySQL or PostgreSQL user to configure.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- Engine string
The database engine to use (
MYSQL
,PG
,REDIS
, orMONGODB
).- Name string
The name of the component.
- Production bool
Whether this is a production or dev database.
- Version string
The version of the database engine.
- Cluster
Name string The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned.- Db
Name string The name of the MySQL or PostgreSQL database to configure.
- Db
User string The name of the MySQL or PostgreSQL user to configure.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- Engine string
The database engine to use (
MYSQL
,PG
,REDIS
, orMONGODB
).- Name string
The name of the component.
- Production bool
Whether this is a production or dev database.
- Version string
The version of the database engine.
- cluster
Name String The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned.- db
Name String The name of the MySQL or PostgreSQL database to configure.
- db
User String The name of the MySQL or PostgreSQL user to configure.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- engine String
The database engine to use (
MYSQL
,PG
,REDIS
, orMONGODB
).- name String
The name of the component.
- production Boolean
Whether this is a production or dev database.
- version String
The version of the database engine.
- cluster
Name string The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned.- db
Name string The name of the MySQL or PostgreSQL database to configure.
- db
User string The name of the MySQL or PostgreSQL user to configure.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- engine string
The database engine to use (
MYSQL
,PG
,REDIS
, orMONGODB
).- name string
The name of the component.
- production boolean
Whether this is a production or dev database.
- version string
The version of the database engine.
- cluster_
name str The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned.- db_
name str The name of the MySQL or PostgreSQL database to configure.
- db_
user str The name of the MySQL or PostgreSQL user to configure.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- engine str
The database engine to use (
MYSQL
,PG
,REDIS
, orMONGODB
).- name str
The name of the component.
- production bool
Whether this is a production or dev database.
- version str
The version of the database engine.
- cluster
Name String The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned.- db
Name String The name of the MySQL or PostgreSQL database to configure.
- db
User String The name of the MySQL or PostgreSQL user to configure.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- engine String
The database engine to use (
MYSQL
,PG
,REDIS
, orMONGODB
).- name String
The name of the component.
- production Boolean
Whether this is a production or dev database.
- version String
The version of the database engine.
AppSpecDomainName, AppSpecDomainNameArgs
- Name string
The name of the component.
- Type string
The type of the environment variable,
GENERAL
orSECRET
.- Wildcard bool
A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
- Zone string
If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
- Name string
The name of the component.
- Type string
The type of the environment variable,
GENERAL
orSECRET
.- Wildcard bool
A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
- Zone string
If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
- name String
The name of the component.
- type String
The type of the environment variable,
GENERAL
orSECRET
.- wildcard Boolean
A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
- zone String
If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
- name string
The name of the component.
- type string
The type of the environment variable,
GENERAL
orSECRET
.- wildcard boolean
A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
- zone string
If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
- name str
The name of the component.
- type str
The type of the environment variable,
GENERAL
orSECRET
.- wildcard bool
A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
- zone str
If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
- name String
The name of the component.
- type String
The type of the environment variable,
GENERAL
orSECRET
.- wildcard Boolean
A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
- zone String
If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
AppSpecEnv, AppSpecEnvArgs
AppSpecFunction, AppSpecFunctionArgs
- Name string
The name of the component.
- Alerts
List<Pulumi.
Digital Ocean. Inputs. App Spec Function Alert> Describes an alert policy for the component.
- Cors
Pulumi.
Digital Ocean. Inputs. App Spec Function Cors The CORS policies of the app.
- Envs
List<Pulumi.
Digital Ocean. Inputs. App Spec Function Env> Describes an environment variable made available to an app competent.
- Git
Pulumi.
Digital Ocean. Inputs. App Spec Function Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- Github
Pulumi.
Digital Ocean. Inputs. App Spec Function Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Gitlab
Pulumi.
Digital Ocean. Inputs. App Spec Function Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Log
Destinations List<Pulumi.Digital Ocean. Inputs. App Spec Function Log Destination> Describes a log forwarding destination.
- Routes
List<Pulumi.
Digital Ocean. Inputs. App Spec Function Route> An HTTP paths that should be routed to this component.
- Source
Dir string An optional path to the working directory to use for the build.
- Name string
The name of the component.
- Alerts
[]App
Spec Function Alert Describes an alert policy for the component.
- Cors
App
Spec Function Cors The CORS policies of the app.
- Envs
[]App
Spec Function Env Describes an environment variable made available to an app competent.
- Git
App
Spec Function Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- Github
App
Spec Function Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Gitlab
App
Spec Function Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Log
Destinations []AppSpec Function Log Destination Describes a log forwarding destination.
- Routes
[]App
Spec Function Route An HTTP paths that should be routed to this component.
- Source
Dir string An optional path to the working directory to use for the build.
- name String
The name of the component.
- alerts
List<App
Spec Function Alert> Describes an alert policy for the component.
- cors
App
Spec Function Cors The CORS policies of the app.
- envs
List<App
Spec Function Env> Describes an environment variable made available to an app competent.
- git
App
Spec Function Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Function Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Function Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- log
Destinations List<AppSpec Function Log Destination> Describes a log forwarding destination.
- routes
List<App
Spec Function Route> An HTTP paths that should be routed to this component.
- source
Dir String An optional path to the working directory to use for the build.
- name string
The name of the component.
- alerts
App
Spec Function Alert[] Describes an alert policy for the component.
- cors
App
Spec Function Cors The CORS policies of the app.
- envs
App
Spec Function Env[] Describes an environment variable made available to an app competent.
- git
App
Spec Function Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Function Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Function Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- log
Destinations AppSpec Function Log Destination[] Describes a log forwarding destination.
- routes
App
Spec Function Route[] An HTTP paths that should be routed to this component.
- source
Dir string An optional path to the working directory to use for the build.
- name str
The name of the component.
- alerts
Sequence[App
Spec Function Alert] Describes an alert policy for the component.
- cors
App
Spec Function Cors The CORS policies of the app.
- envs
Sequence[App
Spec Function Env] Describes an environment variable made available to an app competent.
- git
App
Spec Function Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Function Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Function Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- log_
destinations Sequence[AppSpec Function Log Destination] Describes a log forwarding destination.
- routes
Sequence[App
Spec Function Route] An HTTP paths that should be routed to this component.
- source_
dir str An optional path to the working directory to use for the build.
- name String
The name of the component.
- alerts List<Property Map>
Describes an alert policy for the component.
- cors Property Map
The CORS policies of the app.
- envs List<Property Map>
Describes an environment variable made available to an app competent.
- git Property Map
A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github Property Map
A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab Property Map
A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- log
Destinations List<Property Map> Describes a log forwarding destination.
- routes List<Property Map>
An HTTP paths that should be routed to this component.
- source
Dir String An optional path to the working directory to use for the build.
AppSpecFunctionAlert, AppSpecFunctionAlertArgs
- Operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- Rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- Value double
The threshold for the type of the warning.
- Window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- Disabled bool
Determines whether or not the alert is disabled (default:
false
).
- Operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- Rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- Value float64
The threshold for the type of the warning.
- Window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- Disabled bool
Determines whether or not the alert is disabled (default:
false
).
- operator String
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule String
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value Double
The threshold for the type of the warning.
- window String
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled Boolean
Determines whether or not the alert is disabled (default:
false
).
- operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value number
The threshold for the type of the warning.
- window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled boolean
Determines whether or not the alert is disabled (default:
false
).
- operator str
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule str
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value float
The threshold for the type of the warning.
- window str
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled bool
Determines whether or not the alert is disabled (default:
false
).
- operator String
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule String
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value Number
The threshold for the type of the warning.
- window String
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled Boolean
Determines whether or not the alert is disabled (default:
false
).
AppSpecFunctionCors, AppSpecFunctionCorsArgs
- Allow
Credentials bool Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- Allow
Headers List<string> The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- Allow
Methods List<string> The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- Allow
Origins Pulumi.Digital Ocean. Inputs. App Spec Function Cors Allow Origins The
Access-Control-Allow-Origin
can be- Expose
Headers List<string> The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- Max
Age string An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- Allow
Credentials bool Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- Allow
Headers []string The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- Allow
Methods []string The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- Allow
Origins AppSpec Function Cors Allow Origins The
Access-Control-Allow-Origin
can be- Expose
Headers []string The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- Max
Age string An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow
Headers List<String> The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow
Methods List<String> The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow
Origins AppSpec Function Cors Allow Origins The
Access-Control-Allow-Origin
can be- expose
Headers List<String> The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max
Age String An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials boolean Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow
Headers string[] The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow
Methods string[] The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow
Origins AppSpec Function Cors Allow Origins The
Access-Control-Allow-Origin
can be- expose
Headers string[] The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max
Age string An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow_
credentials bool Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow_
headers Sequence[str] The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow_
methods Sequence[str] The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow_
origins AppSpec Function Cors Allow Origins The
Access-Control-Allow-Origin
can be- expose_
headers Sequence[str] The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max_
age str An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow
Headers List<String> The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow
Methods List<String> The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow
Origins Property Map The
Access-Control-Allow-Origin
can be- expose
Headers List<String> The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max
Age String An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
AppSpecFunctionCorsAllowOrigins, AppSpecFunctionCorsAllowOriginsArgs
- Exact string
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- Prefix string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- Regex string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- Exact string
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- Prefix string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- Regex string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact String
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact string
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact str
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix str
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex str
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact String
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
AppSpecFunctionEnv, AppSpecFunctionEnvArgs
AppSpecFunctionGit, AppSpecFunctionGitArgs
- Branch string
The name of the branch to use.
- Repo
Clone stringUrl The clone URL of the repo.
- Branch string
The name of the branch to use.
- Repo
Clone stringUrl The clone URL of the repo.
- branch String
The name of the branch to use.
- repo
Clone StringUrl The clone URL of the repo.
- branch string
The name of the branch to use.
- repo
Clone stringUrl The clone URL of the repo.
- branch str
The name of the branch to use.
- repo_
clone_ strurl The clone URL of the repo.
- branch String
The name of the branch to use.
- repo
Clone StringUrl The clone URL of the repo.
AppSpecFunctionGithub, AppSpecFunctionGithubArgs
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
- branch string
The name of the branch to use.
- deploy
On booleanPush Whether to automatically deploy new commits made to the repo.
- repo string
The name of the repo in the format
owner/repo
.
- branch str
The name of the branch to use.
- deploy_
on_ boolpush Whether to automatically deploy new commits made to the repo.
- repo str
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
AppSpecFunctionGitlab, AppSpecFunctionGitlabArgs
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
- branch string
The name of the branch to use.
- deploy
On booleanPush Whether to automatically deploy new commits made to the repo.
- repo string
The name of the repo in the format
owner/repo
.
- branch str
The name of the branch to use.
- deploy_
on_ boolpush Whether to automatically deploy new commits made to the repo.
- repo str
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
AppSpecFunctionLogDestination, AppSpecFunctionLogDestinationArgs
- Name string
The name of the component.
- Datadog
Pulumi.
Digital Ocean. Inputs. App Spec Function Log Destination Datadog Datadog configuration.
- Logtail
Pulumi.
Digital Ocean. Inputs. App Spec Function Log Destination Logtail Logtail configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. App Spec Function Log Destination Papertrail Papertrail configuration.
- Name string
The name of the component.
- Datadog
App
Spec Function Log Destination Datadog Datadog configuration.
- Logtail
App
Spec Function Log Destination Logtail Logtail configuration.
- Papertrail
App
Spec Function Log Destination Papertrail Papertrail configuration.
- name String
The name of the component.
- datadog
App
Spec Function Log Destination Datadog Datadog configuration.
- logtail
App
Spec Function Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Function Log Destination Papertrail Papertrail configuration.
- name string
The name of the component.
- datadog
App
Spec Function Log Destination Datadog Datadog configuration.
- logtail
App
Spec Function Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Function Log Destination Papertrail Papertrail configuration.
- name str
The name of the component.
- datadog
App
Spec Function Log Destination Datadog Datadog configuration.
- logtail
App
Spec Function Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Function Log Destination Papertrail Papertrail configuration.
- name String
The name of the component.
- datadog Property Map
Datadog configuration.
- logtail Property Map
Logtail configuration.
- papertrail Property Map
Papertrail configuration.
AppSpecFunctionLogDestinationDatadog, AppSpecFunctionLogDestinationDatadogArgs
AppSpecFunctionLogDestinationLogtail, AppSpecFunctionLogDestinationLogtailArgs
- Token string
Logtail token.
A
database
can contain:
- Token string
Logtail token.
A
database
can contain:
- token String
Logtail token.
A
database
can contain:
- token string
Logtail token.
A
database
can contain:
- token str
Logtail token.
A
database
can contain:
- token String
Logtail token.
A
database
can contain:
AppSpecFunctionLogDestinationPapertrail, AppSpecFunctionLogDestinationPapertrailArgs
- Endpoint string
Datadog HTTP log intake endpoint.
- Endpoint string
Datadog HTTP log intake endpoint.
- endpoint String
Datadog HTTP log intake endpoint.
- endpoint string
Datadog HTTP log intake endpoint.
- endpoint str
Datadog HTTP log intake endpoint.
- endpoint String
Datadog HTTP log intake endpoint.
AppSpecFunctionRoute, AppSpecFunctionRouteArgs
- Path string
Paths must start with
/
and must be unique within the app.- Preserve
Path boolPrefix An optional flag to preserve the path that is forwarded to the backend service.
- Path string
Paths must start with
/
and must be unique within the app.- Preserve
Path boolPrefix An optional flag to preserve the path that is forwarded to the backend service.
- path String
Paths must start with
/
and must be unique within the app.- preserve
Path BooleanPrefix An optional flag to preserve the path that is forwarded to the backend service.
- path string
Paths must start with
/
and must be unique within the app.- preserve
Path booleanPrefix An optional flag to preserve the path that is forwarded to the backend service.
- path str
Paths must start with
/
and must be unique within the app.- preserve_
path_ boolprefix An optional flag to preserve the path that is forwarded to the backend service.
- path String
Paths must start with
/
and must be unique within the app.- preserve
Path BooleanPrefix An optional flag to preserve the path that is forwarded to the backend service.
AppSpecJob, AppSpecJobArgs
- Name string
The name of the component.
- Alerts
List<Pulumi.
Digital Ocean. Inputs. App Spec Job Alert> Describes an alert policy for the component.
- Build
Command string An optional build command to run while building this component from source.
- Dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string An environment slug describing the type of this app.
- Envs
List<Pulumi.
Digital Ocean. Inputs. App Spec Job Env> Describes an environment variable made available to an app competent.
- Git
Pulumi.
Digital Ocean. Inputs. App Spec Job Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- Github
Pulumi.
Digital Ocean. Inputs. App Spec Job Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Gitlab
Pulumi.
Digital Ocean. Inputs. App Spec Job Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Image
Pulumi.
Digital Ocean. Inputs. App Spec Job Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- Instance
Count int The amount of instances that this component should be scaled to.
- Instance
Size stringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- Kind string
The type of job and when it will be run during the deployment process. It may be one of:
- Log
Destinations List<Pulumi.Digital Ocean. Inputs. App Spec Job Log Destination> Describes a log forwarding destination.
- Run
Command string An optional run command to override the component's default.
- Source
Dir string An optional path to the working directory to use for the build.
- Name string
The name of the component.
- Alerts
[]App
Spec Job Alert Describes an alert policy for the component.
- Build
Command string An optional build command to run while building this component from source.
- Dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string An environment slug describing the type of this app.
- Envs
[]App
Spec Job Env Describes an environment variable made available to an app competent.
- Git
App
Spec Job Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- Github
App
Spec Job Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Gitlab
App
Spec Job Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Image
App
Spec Job Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- Instance
Count int The amount of instances that this component should be scaled to.
- Instance
Size stringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- Kind string
The type of job and when it will be run during the deployment process. It may be one of:
- Log
Destinations []AppSpec Job Log Destination Describes a log forwarding destination.
- Run
Command string An optional run command to override the component's default.
- Source
Dir string An optional path to the working directory to use for the build.
- name String
The name of the component.
- alerts
List<App
Spec Job Alert> Describes an alert policy for the component.
- build
Command String An optional build command to run while building this component from source.
- dockerfile
Path String The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String An environment slug describing the type of this app.
- envs
List<App
Spec Job Env> Describes an environment variable made available to an app competent.
- git
App
Spec Job Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Job Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Job Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- image
App
Spec Job Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance
Count Integer The amount of instances that this component should be scaled to.
- instance
Size StringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- kind String
The type of job and when it will be run during the deployment process. It may be one of:
- log
Destinations List<AppSpec Job Log Destination> Describes a log forwarding destination.
- run
Command String An optional run command to override the component's default.
- source
Dir String An optional path to the working directory to use for the build.
- name string
The name of the component.
- alerts
App
Spec Job Alert[] Describes an alert policy for the component.
- build
Command string An optional build command to run while building this component from source.
- dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug string An environment slug describing the type of this app.
- envs
App
Spec Job Env[] Describes an environment variable made available to an app competent.
- git
App
Spec Job Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Job Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Job Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- image
App
Spec Job Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance
Count number The amount of instances that this component should be scaled to.
- instance
Size stringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- kind string
The type of job and when it will be run during the deployment process. It may be one of:
- log
Destinations AppSpec Job Log Destination[] Describes a log forwarding destination.
- run
Command string An optional run command to override the component's default.
- source
Dir string An optional path to the working directory to use for the build.
- name str
The name of the component.
- alerts
Sequence[App
Spec Job Alert] Describes an alert policy for the component.
- build_
command str An optional build command to run while building this component from source.
- dockerfile_
path str The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment_
slug str An environment slug describing the type of this app.
- envs
Sequence[App
Spec Job Env] Describes an environment variable made available to an app competent.
- git
App
Spec Job Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Job Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Job Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- image
App
Spec Job Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance_
count int The amount of instances that this component should be scaled to.
- instance_
size_ strslug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- kind str
The type of job and when it will be run during the deployment process. It may be one of:
- log_
destinations Sequence[AppSpec Job Log Destination] Describes a log forwarding destination.
- run_
command str An optional run command to override the component's default.
- source_
dir str An optional path to the working directory to use for the build.
- name String
The name of the component.
- alerts List<Property Map>
Describes an alert policy for the component.
- build
Command String An optional build command to run while building this component from source.
- dockerfile
Path String The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String An environment slug describing the type of this app.
- envs List<Property Map>
Describes an environment variable made available to an app competent.
- git Property Map
A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github Property Map
A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab Property Map
A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- image Property Map
An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance
Count Number The amount of instances that this component should be scaled to.
- instance
Size StringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- kind String
The type of job and when it will be run during the deployment process. It may be one of:
- log
Destinations List<Property Map> Describes a log forwarding destination.
- run
Command String An optional run command to override the component's default.
- source
Dir String An optional path to the working directory to use for the build.
AppSpecJobAlert, AppSpecJobAlertArgs
- Operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- Rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- Value double
The threshold for the type of the warning.
- Window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- Disabled bool
Determines whether or not the alert is disabled (default:
false
).
- Operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- Rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- Value float64
The threshold for the type of the warning.
- Window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- Disabled bool
Determines whether or not the alert is disabled (default:
false
).
- operator String
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule String
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value Double
The threshold for the type of the warning.
- window String
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled Boolean
Determines whether or not the alert is disabled (default:
false
).
- operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value number
The threshold for the type of the warning.
- window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled boolean
Determines whether or not the alert is disabled (default:
false
).
- operator str
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule str
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value float
The threshold for the type of the warning.
- window str
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled bool
Determines whether or not the alert is disabled (default:
false
).
- operator String
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule String
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value Number
The threshold for the type of the warning.
- window String
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled Boolean
Determines whether or not the alert is disabled (default:
false
).
AppSpecJobEnv, AppSpecJobEnvArgs
AppSpecJobGit, AppSpecJobGitArgs
- Branch string
The name of the branch to use.
- Repo
Clone stringUrl The clone URL of the repo.
- Branch string
The name of the branch to use.
- Repo
Clone stringUrl The clone URL of the repo.
- branch String
The name of the branch to use.
- repo
Clone StringUrl The clone URL of the repo.
- branch string
The name of the branch to use.
- repo
Clone stringUrl The clone URL of the repo.
- branch str
The name of the branch to use.
- repo_
clone_ strurl The clone URL of the repo.
- branch String
The name of the branch to use.
- repo
Clone StringUrl The clone URL of the repo.
AppSpecJobGithub, AppSpecJobGithubArgs
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
- branch string
The name of the branch to use.
- deploy
On booleanPush Whether to automatically deploy new commits made to the repo.
- repo string
The name of the repo in the format
owner/repo
.
- branch str
The name of the branch to use.
- deploy_
on_ boolpush Whether to automatically deploy new commits made to the repo.
- repo str
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
AppSpecJobGitlab, AppSpecJobGitlabArgs
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
- branch string
The name of the branch to use.
- deploy
On booleanPush Whether to automatically deploy new commits made to the repo.
- repo string
The name of the repo in the format
owner/repo
.
- branch str
The name of the branch to use.
- deploy_
on_ boolpush Whether to automatically deploy new commits made to the repo.
- repo str
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
AppSpecJobImage, AppSpecJobImageArgs
- Registry
Type string The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- Repository string
The repository name.
- Deploy
On List<Pulumi.Pushes Digital Ocean. Inputs. App Spec Job Image Deploy On Push> Whether to automatically deploy new commits made to the repo.
- Registry string
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- Tag string
The repository tag. Defaults to
latest
if not provided.
- Registry
Type string The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- Repository string
The repository name.
- Deploy
On []AppPushes Spec Job Image Deploy On Push Whether to automatically deploy new commits made to the repo.
- Registry string
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- Tag string
The repository tag. Defaults to
latest
if not provided.
- registry
Type String The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository String
The repository name.
- deploy
On List<AppPushes Spec Job Image Deploy On Push> Whether to automatically deploy new commits made to the repo.
- registry String
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag String
The repository tag. Defaults to
latest
if not provided.
- registry
Type string The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository string
The repository name.
- deploy
On AppPushes Spec Job Image Deploy On Push[] Whether to automatically deploy new commits made to the repo.
- registry string
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag string
The repository tag. Defaults to
latest
if not provided.
- registry_
type str The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository str
The repository name.
- deploy_
on_ Sequence[Apppushes Spec Job Image Deploy On Push] Whether to automatically deploy new commits made to the repo.
- registry str
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag str
The repository tag. Defaults to
latest
if not provided.
- registry
Type String The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository String
The repository name.
- deploy
On List<Property Map>Pushes Whether to automatically deploy new commits made to the repo.
- registry String
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag String
The repository tag. Defaults to
latest
if not provided.
AppSpecJobImageDeployOnPush, AppSpecJobImageDeployOnPushArgs
- Enabled bool
Whether to automatically deploy images pushed to DOCR.
- Enabled bool
Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
Whether to automatically deploy images pushed to DOCR.
- enabled boolean
Whether to automatically deploy images pushed to DOCR.
- enabled bool
Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
Whether to automatically deploy images pushed to DOCR.
AppSpecJobLogDestination, AppSpecJobLogDestinationArgs
- Name string
The name of the component.
- Datadog
Pulumi.
Digital Ocean. Inputs. App Spec Job Log Destination Datadog Datadog configuration.
- Logtail
Pulumi.
Digital Ocean. Inputs. App Spec Job Log Destination Logtail Logtail configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. App Spec Job Log Destination Papertrail Papertrail configuration.
- Name string
The name of the component.
- Datadog
App
Spec Job Log Destination Datadog Datadog configuration.
- Logtail
App
Spec Job Log Destination Logtail Logtail configuration.
- Papertrail
App
Spec Job Log Destination Papertrail Papertrail configuration.
- name String
The name of the component.
- datadog
App
Spec Job Log Destination Datadog Datadog configuration.
- logtail
App
Spec Job Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Job Log Destination Papertrail Papertrail configuration.
- name string
The name of the component.
- datadog
App
Spec Job Log Destination Datadog Datadog configuration.
- logtail
App
Spec Job Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Job Log Destination Papertrail Papertrail configuration.
- name str
The name of the component.
- datadog
App
Spec Job Log Destination Datadog Datadog configuration.
- logtail
App
Spec Job Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Job Log Destination Papertrail Papertrail configuration.
- name String
The name of the component.
- datadog Property Map
Datadog configuration.
- logtail Property Map
Logtail configuration.
- papertrail Property Map
Papertrail configuration.
AppSpecJobLogDestinationDatadog, AppSpecJobLogDestinationDatadogArgs
AppSpecJobLogDestinationLogtail, AppSpecJobLogDestinationLogtailArgs
- Token string
Logtail token.
A
database
can contain:
- Token string
Logtail token.
A
database
can contain:
- token String
Logtail token.
A
database
can contain:
- token string
Logtail token.
A
database
can contain:
- token str
Logtail token.
A
database
can contain:
- token String
Logtail token.
A
database
can contain:
AppSpecJobLogDestinationPapertrail, AppSpecJobLogDestinationPapertrailArgs
- Endpoint string
Datadog HTTP log intake endpoint.
- Endpoint string
Datadog HTTP log intake endpoint.
- endpoint String
Datadog HTTP log intake endpoint.
- endpoint string
Datadog HTTP log intake endpoint.
- endpoint str
Datadog HTTP log intake endpoint.
- endpoint String
Datadog HTTP log intake endpoint.
AppSpecService, AppSpecServiceArgs
- Name string
The name of the component.
- Alerts
List<Pulumi.
Digital Ocean. Inputs. App Spec Service Alert> Describes an alert policy for the component.
- Build
Command string An optional build command to run while building this component from source.
- Cors
Pulumi.
Digital Ocean. Inputs. App Spec Service Cors The CORS policies of the app.
- Dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string An environment slug describing the type of this app.
- Envs
List<Pulumi.
Digital Ocean. Inputs. App Spec Service Env> Describes an environment variable made available to an app competent.
- Git
Pulumi.
Digital Ocean. Inputs. App Spec Service Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- Github
Pulumi.
Digital Ocean. Inputs. App Spec Service Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Gitlab
Pulumi.
Digital Ocean. Inputs. App Spec Service Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Health
Check Pulumi.Digital Ocean. Inputs. App Spec Service Health Check A health check to determine the availability of this component.
- Http
Port int The internal port on which this service's run command will listen.
- Image
Pulumi.
Digital Ocean. Inputs. App Spec Service Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- Instance
Count int The amount of instances that this component should be scaled to.
- Instance
Size stringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- Internal
Ports List<int> A list of ports on which this service will listen for internal traffic.
- Log
Destinations List<Pulumi.Digital Ocean. Inputs. App Spec Service Log Destination> Describes a log forwarding destination.
- Routes
List<Pulumi.
Digital Ocean. Inputs. App Spec Service Route> An HTTP paths that should be routed to this component.
- Run
Command string An optional run command to override the component's default.
- Source
Dir string An optional path to the working directory to use for the build.
- Name string
The name of the component.
- Alerts
[]App
Spec Service Alert Describes an alert policy for the component.
- Build
Command string An optional build command to run while building this component from source.
- Cors
App
Spec Service Cors The CORS policies of the app.
- Dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string An environment slug describing the type of this app.
- Envs
[]App
Spec Service Env Describes an environment variable made available to an app competent.
- Git
App
Spec Service Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- Github
App
Spec Service Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Gitlab
App
Spec Service Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Health
Check AppSpec Service Health Check A health check to determine the availability of this component.
- Http
Port int The internal port on which this service's run command will listen.
- Image
App
Spec Service Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- Instance
Count int The amount of instances that this component should be scaled to.
- Instance
Size stringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- Internal
Ports []int A list of ports on which this service will listen for internal traffic.
- Log
Destinations []AppSpec Service Log Destination Describes a log forwarding destination.
- Routes
[]App
Spec Service Route An HTTP paths that should be routed to this component.
- Run
Command string An optional run command to override the component's default.
- Source
Dir string An optional path to the working directory to use for the build.
- name String
The name of the component.
- alerts
List<App
Spec Service Alert> Describes an alert policy for the component.
- build
Command String An optional build command to run while building this component from source.
- cors
App
Spec Service Cors The CORS policies of the app.
- dockerfile
Path String The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String An environment slug describing the type of this app.
- envs
List<App
Spec Service Env> Describes an environment variable made available to an app competent.
- git
App
Spec Service Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Service Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Service Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- health
Check AppSpec Service Health Check A health check to determine the availability of this component.
- http
Port Integer The internal port on which this service's run command will listen.
- image
App
Spec Service Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance
Count Integer The amount of instances that this component should be scaled to.
- instance
Size StringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- internal
Ports List<Integer> A list of ports on which this service will listen for internal traffic.
- log
Destinations List<AppSpec Service Log Destination> Describes a log forwarding destination.
- routes
List<App
Spec Service Route> An HTTP paths that should be routed to this component.
- run
Command String An optional run command to override the component's default.
- source
Dir String An optional path to the working directory to use for the build.
- name string
The name of the component.
- alerts
App
Spec Service Alert[] Describes an alert policy for the component.
- build
Command string An optional build command to run while building this component from source.
- cors
App
Spec Service Cors The CORS policies of the app.
- dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug string An environment slug describing the type of this app.
- envs
App
Spec Service Env[] Describes an environment variable made available to an app competent.
- git
App
Spec Service Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Service Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Service Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- health
Check AppSpec Service Health Check A health check to determine the availability of this component.
- http
Port number The internal port on which this service's run command will listen.
- image
App
Spec Service Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance
Count number The amount of instances that this component should be scaled to.
- instance
Size stringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- internal
Ports number[] A list of ports on which this service will listen for internal traffic.
- log
Destinations AppSpec Service Log Destination[] Describes a log forwarding destination.
- routes
App
Spec Service Route[] An HTTP paths that should be routed to this component.
- run
Command string An optional run command to override the component's default.
- source
Dir string An optional path to the working directory to use for the build.
- name str
The name of the component.
- alerts
Sequence[App
Spec Service Alert] Describes an alert policy for the component.
- build_
command str An optional build command to run while building this component from source.
- cors
App
Spec Service Cors The CORS policies of the app.
- dockerfile_
path str The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment_
slug str An environment slug describing the type of this app.
- envs
Sequence[App
Spec Service Env] Describes an environment variable made available to an app competent.
- git
App
Spec Service Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Service Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Service Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- health_
check AppSpec Service Health Check A health check to determine the availability of this component.
- http_
port int The internal port on which this service's run command will listen.
- image
App
Spec Service Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance_
count int The amount of instances that this component should be scaled to.
- instance_
size_ strslug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- internal_
ports Sequence[int] A list of ports on which this service will listen for internal traffic.
- log_
destinations Sequence[AppSpec Service Log Destination] Describes a log forwarding destination.
- routes
Sequence[App
Spec Service Route] An HTTP paths that should be routed to this component.
- run_
command str An optional run command to override the component's default.
- source_
dir str An optional path to the working directory to use for the build.
- name String
The name of the component.
- alerts List<Property Map>
Describes an alert policy for the component.
- build
Command String An optional build command to run while building this component from source.
- cors Property Map
The CORS policies of the app.
- dockerfile
Path String The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String An environment slug describing the type of this app.
- envs List<Property Map>
Describes an environment variable made available to an app competent.
- git Property Map
A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github Property Map
A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab Property Map
A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- health
Check Property Map A health check to determine the availability of this component.
- http
Port Number The internal port on which this service's run command will listen.
- image Property Map
An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance
Count Number The amount of instances that this component should be scaled to.
- instance
Size StringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- internal
Ports List<Number> A list of ports on which this service will listen for internal traffic.
- log
Destinations List<Property Map> Describes a log forwarding destination.
- routes List<Property Map>
An HTTP paths that should be routed to this component.
- run
Command String An optional run command to override the component's default.
- source
Dir String An optional path to the working directory to use for the build.
AppSpecServiceAlert, AppSpecServiceAlertArgs
- Operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- Rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- Value double
The threshold for the type of the warning.
- Window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- Disabled bool
Determines whether or not the alert is disabled (default:
false
).
- Operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- Rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- Value float64
The threshold for the type of the warning.
- Window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- Disabled bool
Determines whether or not the alert is disabled (default:
false
).
- operator String
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule String
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value Double
The threshold for the type of the warning.
- window String
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled Boolean
Determines whether or not the alert is disabled (default:
false
).
- operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value number
The threshold for the type of the warning.
- window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled boolean
Determines whether or not the alert is disabled (default:
false
).
- operator str
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule str
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value float
The threshold for the type of the warning.
- window str
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled bool
Determines whether or not the alert is disabled (default:
false
).
- operator String
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule String
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value Number
The threshold for the type of the warning.
- window String
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled Boolean
Determines whether or not the alert is disabled (default:
false
).
AppSpecServiceCors, AppSpecServiceCorsArgs
- Allow
Credentials bool Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- Allow
Headers List<string> The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- Allow
Methods List<string> The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- Allow
Origins Pulumi.Digital Ocean. Inputs. App Spec Service Cors Allow Origins The
Access-Control-Allow-Origin
can be- Expose
Headers List<string> The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- Max
Age string An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- Allow
Credentials bool Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- Allow
Headers []string The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- Allow
Methods []string The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- Allow
Origins AppSpec Service Cors Allow Origins The
Access-Control-Allow-Origin
can be- Expose
Headers []string The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- Max
Age string An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow
Headers List<String> The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow
Methods List<String> The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow
Origins AppSpec Service Cors Allow Origins The
Access-Control-Allow-Origin
can be- expose
Headers List<String> The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max
Age String An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials boolean Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow
Headers string[] The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow
Methods string[] The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow
Origins AppSpec Service Cors Allow Origins The
Access-Control-Allow-Origin
can be- expose
Headers string[] The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max
Age string An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow_
credentials bool Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow_
headers Sequence[str] The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow_
methods Sequence[str] The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow_
origins AppSpec Service Cors Allow Origins The
Access-Control-Allow-Origin
can be- expose_
headers Sequence[str] The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max_
age str An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow
Headers List<String> The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow
Methods List<String> The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow
Origins Property Map The
Access-Control-Allow-Origin
can be- expose
Headers List<String> The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max
Age String An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
AppSpecServiceCorsAllowOrigins, AppSpecServiceCorsAllowOriginsArgs
- Exact string
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- Prefix string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- Regex string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- Exact string
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- Prefix string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- Regex string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact String
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact string
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact str
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix str
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex str
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact String
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
AppSpecServiceEnv, AppSpecServiceEnvArgs
AppSpecServiceGit, AppSpecServiceGitArgs
- Branch string
The name of the branch to use.
- Repo
Clone stringUrl The clone URL of the repo.
- Branch string
The name of the branch to use.
- Repo
Clone stringUrl The clone URL of the repo.
- branch String
The name of the branch to use.
- repo
Clone StringUrl The clone URL of the repo.
- branch string
The name of the branch to use.
- repo
Clone stringUrl The clone URL of the repo.
- branch str
The name of the branch to use.
- repo_
clone_ strurl The clone URL of the repo.
- branch String
The name of the branch to use.
- repo
Clone StringUrl The clone URL of the repo.
AppSpecServiceGithub, AppSpecServiceGithubArgs
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
- branch string
The name of the branch to use.
- deploy
On booleanPush Whether to automatically deploy new commits made to the repo.
- repo string
The name of the repo in the format
owner/repo
.
- branch str
The name of the branch to use.
- deploy_
on_ boolpush Whether to automatically deploy new commits made to the repo.
- repo str
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
AppSpecServiceGitlab, AppSpecServiceGitlabArgs
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
- branch string
The name of the branch to use.
- deploy
On booleanPush Whether to automatically deploy new commits made to the repo.
- repo string
The name of the repo in the format
owner/repo
.
- branch str
The name of the branch to use.
- deploy_
on_ boolpush Whether to automatically deploy new commits made to the repo.
- repo str
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
AppSpecServiceHealthCheck, AppSpecServiceHealthCheckArgs
- Failure
Threshold int The number of failed health checks before considered unhealthy.
- Http
Path string The route path used for the HTTP health check ping.
- Initial
Delay intSeconds The number of seconds to wait before beginning health checks.
- Period
Seconds int The number of seconds to wait between health checks.
- Success
Threshold int The number of successful health checks before considered healthy.
- Timeout
Seconds int The number of seconds after which the check times out.
- Failure
Threshold int The number of failed health checks before considered unhealthy.
- Http
Path string The route path used for the HTTP health check ping.
- Initial
Delay intSeconds The number of seconds to wait before beginning health checks.
- Period
Seconds int The number of seconds to wait between health checks.
- Success
Threshold int The number of successful health checks before considered healthy.
- Timeout
Seconds int The number of seconds after which the check times out.
- failure
Threshold Integer The number of failed health checks before considered unhealthy.
- http
Path String The route path used for the HTTP health check ping.
- initial
Delay IntegerSeconds The number of seconds to wait before beginning health checks.
- period
Seconds Integer The number of seconds to wait between health checks.
- success
Threshold Integer The number of successful health checks before considered healthy.
- timeout
Seconds Integer The number of seconds after which the check times out.
- failure
Threshold number The number of failed health checks before considered unhealthy.
- http
Path string The route path used for the HTTP health check ping.
- initial
Delay numberSeconds The number of seconds to wait before beginning health checks.
- period
Seconds number The number of seconds to wait between health checks.
- success
Threshold number The number of successful health checks before considered healthy.
- timeout
Seconds number The number of seconds after which the check times out.
- failure_
threshold int The number of failed health checks before considered unhealthy.
- http_
path str The route path used for the HTTP health check ping.
- initial_
delay_ intseconds The number of seconds to wait before beginning health checks.
- period_
seconds int The number of seconds to wait between health checks.
- success_
threshold int The number of successful health checks before considered healthy.
- timeout_
seconds int The number of seconds after which the check times out.
- failure
Threshold Number The number of failed health checks before considered unhealthy.
- http
Path String The route path used for the HTTP health check ping.
- initial
Delay NumberSeconds The number of seconds to wait before beginning health checks.
- period
Seconds Number The number of seconds to wait between health checks.
- success
Threshold Number The number of successful health checks before considered healthy.
- timeout
Seconds Number The number of seconds after which the check times out.
AppSpecServiceImage, AppSpecServiceImageArgs
- Registry
Type string The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- Repository string
The repository name.
- Deploy
On List<Pulumi.Pushes Digital Ocean. Inputs. App Spec Service Image Deploy On Push> Whether to automatically deploy new commits made to the repo.
- Registry string
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- Tag string
The repository tag. Defaults to
latest
if not provided.
- Registry
Type string The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- Repository string
The repository name.
- Deploy
On []AppPushes Spec Service Image Deploy On Push Whether to automatically deploy new commits made to the repo.
- Registry string
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- Tag string
The repository tag. Defaults to
latest
if not provided.
- registry
Type String The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository String
The repository name.
- deploy
On List<AppPushes Spec Service Image Deploy On Push> Whether to automatically deploy new commits made to the repo.
- registry String
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag String
The repository tag. Defaults to
latest
if not provided.
- registry
Type string The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository string
The repository name.
- deploy
On AppPushes Spec Service Image Deploy On Push[] Whether to automatically deploy new commits made to the repo.
- registry string
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag string
The repository tag. Defaults to
latest
if not provided.
- registry_
type str The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository str
The repository name.
- deploy_
on_ Sequence[Apppushes Spec Service Image Deploy On Push] Whether to automatically deploy new commits made to the repo.
- registry str
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag str
The repository tag. Defaults to
latest
if not provided.
- registry
Type String The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository String
The repository name.
- deploy
On List<Property Map>Pushes Whether to automatically deploy new commits made to the repo.
- registry String
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag String
The repository tag. Defaults to
latest
if not provided.
AppSpecServiceImageDeployOnPush, AppSpecServiceImageDeployOnPushArgs
- Enabled bool
Whether to automatically deploy images pushed to DOCR.
- Enabled bool
Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
Whether to automatically deploy images pushed to DOCR.
- enabled boolean
Whether to automatically deploy images pushed to DOCR.
- enabled bool
Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
Whether to automatically deploy images pushed to DOCR.
AppSpecServiceLogDestination, AppSpecServiceLogDestinationArgs
- Name string
The name of the component.
- Datadog
Pulumi.
Digital Ocean. Inputs. App Spec Service Log Destination Datadog Datadog configuration.
- Logtail
Pulumi.
Digital Ocean. Inputs. App Spec Service Log Destination Logtail Logtail configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. App Spec Service Log Destination Papertrail Papertrail configuration.
- Name string
The name of the component.
- Datadog
App
Spec Service Log Destination Datadog Datadog configuration.
- Logtail
App
Spec Service Log Destination Logtail Logtail configuration.
- Papertrail
App
Spec Service Log Destination Papertrail Papertrail configuration.
- name String
The name of the component.
- datadog
App
Spec Service Log Destination Datadog Datadog configuration.
- logtail
App
Spec Service Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Service Log Destination Papertrail Papertrail configuration.
- name string
The name of the component.
- datadog
App
Spec Service Log Destination Datadog Datadog configuration.
- logtail
App
Spec Service Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Service Log Destination Papertrail Papertrail configuration.
- name str
The name of the component.
- datadog
App
Spec Service Log Destination Datadog Datadog configuration.
- logtail
App
Spec Service Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Service Log Destination Papertrail Papertrail configuration.
- name String
The name of the component.
- datadog Property Map
Datadog configuration.
- logtail Property Map
Logtail configuration.
- papertrail Property Map
Papertrail configuration.
AppSpecServiceLogDestinationDatadog, AppSpecServiceLogDestinationDatadogArgs
AppSpecServiceLogDestinationLogtail, AppSpecServiceLogDestinationLogtailArgs
- Token string
Logtail token.
A
database
can contain:
- Token string
Logtail token.
A
database
can contain:
- token String
Logtail token.
A
database
can contain:
- token string
Logtail token.
A
database
can contain:
- token str
Logtail token.
A
database
can contain:
- token String
Logtail token.
A
database
can contain:
AppSpecServiceLogDestinationPapertrail, AppSpecServiceLogDestinationPapertrailArgs
- Endpoint string
Datadog HTTP log intake endpoint.
- Endpoint string
Datadog HTTP log intake endpoint.
- endpoint String
Datadog HTTP log intake endpoint.
- endpoint string
Datadog HTTP log intake endpoint.
- endpoint str
Datadog HTTP log intake endpoint.
- endpoint String
Datadog HTTP log intake endpoint.
AppSpecServiceRoute, AppSpecServiceRouteArgs
- Path string
Paths must start with
/
and must be unique within the app.- Preserve
Path boolPrefix An optional flag to preserve the path that is forwarded to the backend service.
- Path string
Paths must start with
/
and must be unique within the app.- Preserve
Path boolPrefix An optional flag to preserve the path that is forwarded to the backend service.
- path String
Paths must start with
/
and must be unique within the app.- preserve
Path BooleanPrefix An optional flag to preserve the path that is forwarded to the backend service.
- path string
Paths must start with
/
and must be unique within the app.- preserve
Path booleanPrefix An optional flag to preserve the path that is forwarded to the backend service.
- path str
Paths must start with
/
and must be unique within the app.- preserve_
path_ boolprefix An optional flag to preserve the path that is forwarded to the backend service.
- path String
Paths must start with
/
and must be unique within the app.- preserve
Path BooleanPrefix An optional flag to preserve the path that is forwarded to the backend service.
AppSpecStaticSite, AppSpecStaticSiteArgs
- Name string
The name of the component.
- Build
Command string An optional build command to run while building this component from source.
- Catchall
Document string The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
- Cors
Pulumi.
Digital Ocean. Inputs. App Spec Static Site Cors The CORS policies of the app.
- Dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string An environment slug describing the type of this app.
- Envs
List<Pulumi.
Digital Ocean. Inputs. App Spec Static Site Env> Describes an environment variable made available to an app competent.
- Error
Document string The name of the error document to use when serving this static site.
- Git
Pulumi.
Digital Ocean. Inputs. App Spec Static Site Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- Github
Pulumi.
Digital Ocean. Inputs. App Spec Static Site Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Gitlab
Pulumi.
Digital Ocean. Inputs. App Spec Static Site Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Index
Document string The name of the index document to use when serving this static site.
- Output
Dir string An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
.- Routes
List<Pulumi.
Digital Ocean. Inputs. App Spec Static Site Route> An HTTP paths that should be routed to this component.
- Source
Dir string An optional path to the working directory to use for the build.
- Name string
The name of the component.
- Build
Command string An optional build command to run while building this component from source.
- Catchall
Document string The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
- Cors
App
Spec Static Site Cors The CORS policies of the app.
- Dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string An environment slug describing the type of this app.
- Envs
[]App
Spec Static Site Env Describes an environment variable made available to an app competent.
- Error
Document string The name of the error document to use when serving this static site.
- Git
App
Spec Static Site Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- Github
App
Spec Static Site Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Gitlab
App
Spec Static Site Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Index
Document string The name of the index document to use when serving this static site.
- Output
Dir string An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
.- Routes
[]App
Spec Static Site Route An HTTP paths that should be routed to this component.
- Source
Dir string An optional path to the working directory to use for the build.
- name String
The name of the component.
- build
Command String An optional build command to run while building this component from source.
- catchall
Document String The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
- cors
App
Spec Static Site Cors The CORS policies of the app.
- dockerfile
Path String The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String An environment slug describing the type of this app.
- envs
List<App
Spec Static Site Env> Describes an environment variable made available to an app competent.
- error
Document String The name of the error document to use when serving this static site.
- git
App
Spec Static Site Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Static Site Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Static Site Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- index
Document String The name of the index document to use when serving this static site.
- output
Dir String An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
.- routes
List<App
Spec Static Site Route> An HTTP paths that should be routed to this component.
- source
Dir String An optional path to the working directory to use for the build.
- name string
The name of the component.
- build
Command string An optional build command to run while building this component from source.
- catchall
Document string The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
- cors
App
Spec Static Site Cors The CORS policies of the app.
- dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug string An environment slug describing the type of this app.
- envs
App
Spec Static Site Env[] Describes an environment variable made available to an app competent.
- error
Document string The name of the error document to use when serving this static site.
- git
App
Spec Static Site Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Static Site Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Static Site Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- index
Document string The name of the index document to use when serving this static site.
- output
Dir string An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
.- routes
App
Spec Static Site Route[] An HTTP paths that should be routed to this component.
- source
Dir string An optional path to the working directory to use for the build.
- name str
The name of the component.
- build_
command str An optional build command to run while building this component from source.
- catchall_
document str The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
- cors
App
Spec Static Site Cors The CORS policies of the app.
- dockerfile_
path str The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment_
slug str An environment slug describing the type of this app.
- envs
Sequence[App
Spec Static Site Env] Describes an environment variable made available to an app competent.
- error_
document str The name of the error document to use when serving this static site.
- git
App
Spec Static Site Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Static Site Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Static Site Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- index_
document str The name of the index document to use when serving this static site.
- output_
dir str An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
.- routes
Sequence[App
Spec Static Site Route] An HTTP paths that should be routed to this component.
- source_
dir str An optional path to the working directory to use for the build.
- name String
The name of the component.
- build
Command String An optional build command to run while building this component from source.
- catchall
Document String The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
- cors Property Map
The CORS policies of the app.
- dockerfile
Path String The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String An environment slug describing the type of this app.
- envs List<Property Map>
Describes an environment variable made available to an app competent.
- error
Document String The name of the error document to use when serving this static site.
- git Property Map
A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github Property Map
A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab Property Map
A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- index
Document String The name of the index document to use when serving this static site.
- output
Dir String An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
.- routes List<Property Map>
An HTTP paths that should be routed to this component.
- source
Dir String An optional path to the working directory to use for the build.
AppSpecStaticSiteCors, AppSpecStaticSiteCorsArgs
- Allow
Credentials bool Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- Allow
Headers List<string> The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- Allow
Methods List<string> The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- Allow
Origins Pulumi.Digital Ocean. Inputs. App Spec Static Site Cors Allow Origins The
Access-Control-Allow-Origin
can be- Expose
Headers List<string> The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- Max
Age string An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- Allow
Credentials bool Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- Allow
Headers []string The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- Allow
Methods []string The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- Allow
Origins AppSpec Static Site Cors Allow Origins The
Access-Control-Allow-Origin
can be- Expose
Headers []string The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- Max
Age string An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow
Headers List<String> The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow
Methods List<String> The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow
Origins AppSpec Static Site Cors Allow Origins The
Access-Control-Allow-Origin
can be- expose
Headers List<String> The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max
Age String An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials boolean Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow
Headers string[] The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow
Methods string[] The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow
Origins AppSpec Static Site Cors Allow Origins The
Access-Control-Allow-Origin
can be- expose
Headers string[] The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max
Age string An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow_
credentials bool Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow_
headers Sequence[str] The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow_
methods Sequence[str] The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow_
origins AppSpec Static Site Cors Allow Origins The
Access-Control-Allow-Origin
can be- expose_
headers Sequence[str] The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max_
age str An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header.- allow
Headers List<String> The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header.- allow
Methods List<String> The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header.- allow
Origins Property Map The
Access-Control-Allow-Origin
can be- expose
Headers List<String> The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header.- max
Age String An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
AppSpecStaticSiteCorsAllowOrigins, AppSpecStaticSiteCorsAllowOriginsArgs
- Exact string
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- Prefix string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- Regex string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- Exact string
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- Prefix string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- Regex string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact String
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact string
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex string
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact str
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix str
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex str
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
- exact String
The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide.- prefix String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.- regex String
The
Access-Control-Allow-Origin
header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
AppSpecStaticSiteEnv, AppSpecStaticSiteEnvArgs
AppSpecStaticSiteGit, AppSpecStaticSiteGitArgs
- Branch string
The name of the branch to use.
- Repo
Clone stringUrl The clone URL of the repo.
- Branch string
The name of the branch to use.
- Repo
Clone stringUrl The clone URL of the repo.
- branch String
The name of the branch to use.
- repo
Clone StringUrl The clone URL of the repo.
- branch string
The name of the branch to use.
- repo
Clone stringUrl The clone URL of the repo.
- branch str
The name of the branch to use.
- repo_
clone_ strurl The clone URL of the repo.
- branch String
The name of the branch to use.
- repo
Clone StringUrl The clone URL of the repo.
AppSpecStaticSiteGithub, AppSpecStaticSiteGithubArgs
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
- branch string
The name of the branch to use.
- deploy
On booleanPush Whether to automatically deploy new commits made to the repo.
- repo string
The name of the repo in the format
owner/repo
.
- branch str
The name of the branch to use.
- deploy_
on_ boolpush Whether to automatically deploy new commits made to the repo.
- repo str
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
AppSpecStaticSiteGitlab, AppSpecStaticSiteGitlabArgs
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
- branch string
The name of the branch to use.
- deploy
On booleanPush Whether to automatically deploy new commits made to the repo.
- repo string
The name of the repo in the format
owner/repo
.
- branch str
The name of the branch to use.
- deploy_
on_ boolpush Whether to automatically deploy new commits made to the repo.
- repo str
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
AppSpecStaticSiteRoute, AppSpecStaticSiteRouteArgs
- Path string
Paths must start with
/
and must be unique within the app.- Preserve
Path boolPrefix An optional flag to preserve the path that is forwarded to the backend service.
- Path string
Paths must start with
/
and must be unique within the app.- Preserve
Path boolPrefix An optional flag to preserve the path that is forwarded to the backend service.
- path String
Paths must start with
/
and must be unique within the app.- preserve
Path BooleanPrefix An optional flag to preserve the path that is forwarded to the backend service.
- path string
Paths must start with
/
and must be unique within the app.- preserve
Path booleanPrefix An optional flag to preserve the path that is forwarded to the backend service.
- path str
Paths must start with
/
and must be unique within the app.- preserve_
path_ boolprefix An optional flag to preserve the path that is forwarded to the backend service.
- path String
Paths must start with
/
and must be unique within the app.- preserve
Path BooleanPrefix An optional flag to preserve the path that is forwarded to the backend service.
AppSpecWorker, AppSpecWorkerArgs
- Name string
The name of the component.
- Alerts
List<Pulumi.
Digital Ocean. Inputs. App Spec Worker Alert> Describes an alert policy for the component.
- Build
Command string An optional build command to run while building this component from source.
- Dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string An environment slug describing the type of this app.
- Envs
List<Pulumi.
Digital Ocean. Inputs. App Spec Worker Env> Describes an environment variable made available to an app competent.
- Git
Pulumi.
Digital Ocean. Inputs. App Spec Worker Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- Github
Pulumi.
Digital Ocean. Inputs. App Spec Worker Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Gitlab
Pulumi.
Digital Ocean. Inputs. App Spec Worker Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Image
Pulumi.
Digital Ocean. Inputs. App Spec Worker Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- Instance
Count int The amount of instances that this component should be scaled to.
- Instance
Size stringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- Log
Destinations List<Pulumi.Digital Ocean. Inputs. App Spec Worker Log Destination> Describes a log forwarding destination.
- Run
Command string An optional run command to override the component's default.
- Source
Dir string An optional path to the working directory to use for the build.
- Name string
The name of the component.
- Alerts
[]App
Spec Worker Alert Describes an alert policy for the component.
- Build
Command string An optional build command to run while building this component from source.
- Dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string An environment slug describing the type of this app.
- Envs
[]App
Spec Worker Env Describes an environment variable made available to an app competent.
- Git
App
Spec Worker Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- Github
App
Spec Worker Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Gitlab
App
Spec Worker Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- Image
App
Spec Worker Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- Instance
Count int The amount of instances that this component should be scaled to.
- Instance
Size stringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- Log
Destinations []AppSpec Worker Log Destination Describes a log forwarding destination.
- Run
Command string An optional run command to override the component's default.
- Source
Dir string An optional path to the working directory to use for the build.
- name String
The name of the component.
- alerts
List<App
Spec Worker Alert> Describes an alert policy for the component.
- build
Command String An optional build command to run while building this component from source.
- dockerfile
Path String The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String An environment slug describing the type of this app.
- envs
List<App
Spec Worker Env> Describes an environment variable made available to an app competent.
- git
App
Spec Worker Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Worker Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Worker Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- image
App
Spec Worker Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance
Count Integer The amount of instances that this component should be scaled to.
- instance
Size StringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- log
Destinations List<AppSpec Worker Log Destination> Describes a log forwarding destination.
- run
Command String An optional run command to override the component's default.
- source
Dir String An optional path to the working directory to use for the build.
- name string
The name of the component.
- alerts
App
Spec Worker Alert[] Describes an alert policy for the component.
- build
Command string An optional build command to run while building this component from source.
- dockerfile
Path string The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug string An environment slug describing the type of this app.
- envs
App
Spec Worker Env[] Describes an environment variable made available to an app competent.
- git
App
Spec Worker Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Worker Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Worker Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- image
App
Spec Worker Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance
Count number The amount of instances that this component should be scaled to.
- instance
Size stringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- log
Destinations AppSpec Worker Log Destination[] Describes a log forwarding destination.
- run
Command string An optional run command to override the component's default.
- source
Dir string An optional path to the working directory to use for the build.
- name str
The name of the component.
- alerts
Sequence[App
Spec Worker Alert] Describes an alert policy for the component.
- build_
command str An optional build command to run while building this component from source.
- dockerfile_
path str The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment_
slug str An environment slug describing the type of this app.
- envs
Sequence[App
Spec Worker Env] Describes an environment variable made available to an app competent.
- git
App
Spec Worker Git A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github
App
Spec Worker Github A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab
App
Spec Worker Gitlab A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- image
App
Spec Worker Image An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance_
count int The amount of instances that this component should be scaled to.
- instance_
size_ strslug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- log_
destinations Sequence[AppSpec Worker Log Destination] Describes a log forwarding destination.
- run_
command str An optional run command to override the component's default.
- source_
dir str An optional path to the working directory to use for the build.
- name String
The name of the component.
- alerts List<Property Map>
Describes an alert policy for the component.
- build
Command String An optional build command to run while building this component from source.
- dockerfile
Path String The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String An environment slug describing the type of this app.
- envs List<Property Map>
Describes an environment variable made available to an app competent.
- git Property Map
A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set.- github Property Map
A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- gitlab Property Map
A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set.- image Property Map
An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set.- instance
Count Number The amount of instances that this component should be scaled to.
- instance
Size StringSlug The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (
doctl apps tier instance-size list
). Default:basic-xxs
- log
Destinations List<Property Map> Describes a log forwarding destination.
- run
Command String An optional run command to override the component's default.
- source
Dir String An optional path to the working directory to use for the build.
AppSpecWorkerAlert, AppSpecWorkerAlertArgs
- Operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- Rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- Value double
The threshold for the type of the warning.
- Window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- Disabled bool
Determines whether or not the alert is disabled (default:
false
).
- Operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- Rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- Value float64
The threshold for the type of the warning.
- Window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- Disabled bool
Determines whether or not the alert is disabled (default:
false
).
- operator String
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule String
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value Double
The threshold for the type of the warning.
- window String
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled Boolean
Determines whether or not the alert is disabled (default:
false
).
- operator string
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule string
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value number
The threshold for the type of the warning.
- window string
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled boolean
Determines whether or not the alert is disabled (default:
false
).
- operator str
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule str
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value float
The threshold for the type of the warning.
- window str
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled bool
Determines whether or not the alert is disabled (default:
false
).
- operator String
The operator to use. This is either of
GREATER_THAN
orLESS_THAN
.- rule String
The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.- value Number
The threshold for the type of the warning.
- window String
The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
.- disabled Boolean
Determines whether or not the alert is disabled (default:
false
).
AppSpecWorkerEnv, AppSpecWorkerEnvArgs
AppSpecWorkerGit, AppSpecWorkerGitArgs
- Branch string
The name of the branch to use.
- Repo
Clone stringUrl The clone URL of the repo.
- Branch string
The name of the branch to use.
- Repo
Clone stringUrl The clone URL of the repo.
- branch String
The name of the branch to use.
- repo
Clone StringUrl The clone URL of the repo.
- branch string
The name of the branch to use.
- repo
Clone stringUrl The clone URL of the repo.
- branch str
The name of the branch to use.
- repo_
clone_ strurl The clone URL of the repo.
- branch String
The name of the branch to use.
- repo
Clone StringUrl The clone URL of the repo.
AppSpecWorkerGithub, AppSpecWorkerGithubArgs
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
- branch string
The name of the branch to use.
- deploy
On booleanPush Whether to automatically deploy new commits made to the repo.
- repo string
The name of the repo in the format
owner/repo
.
- branch str
The name of the branch to use.
- deploy_
on_ boolpush Whether to automatically deploy new commits made to the repo.
- repo str
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
AppSpecWorkerGitlab, AppSpecWorkerGitlabArgs
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- Branch string
The name of the branch to use.
- Deploy
On boolPush Whether to automatically deploy new commits made to the repo.
- Repo string
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
- branch string
The name of the branch to use.
- deploy
On booleanPush Whether to automatically deploy new commits made to the repo.
- repo string
The name of the repo in the format
owner/repo
.
- branch str
The name of the branch to use.
- deploy_
on_ boolpush Whether to automatically deploy new commits made to the repo.
- repo str
The name of the repo in the format
owner/repo
.
- branch String
The name of the branch to use.
- deploy
On BooleanPush Whether to automatically deploy new commits made to the repo.
- repo String
The name of the repo in the format
owner/repo
.
AppSpecWorkerImage, AppSpecWorkerImageArgs
- Registry
Type string The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- Repository string
The repository name.
- Deploy
On List<Pulumi.Pushes Digital Ocean. Inputs. App Spec Worker Image Deploy On Push> Whether to automatically deploy new commits made to the repo.
- Registry string
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- Tag string
The repository tag. Defaults to
latest
if not provided.
- Registry
Type string The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- Repository string
The repository name.
- Deploy
On []AppPushes Spec Worker Image Deploy On Push Whether to automatically deploy new commits made to the repo.
- Registry string
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- Tag string
The repository tag. Defaults to
latest
if not provided.
- registry
Type String The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository String
The repository name.
- deploy
On List<AppPushes Spec Worker Image Deploy On Push> Whether to automatically deploy new commits made to the repo.
- registry String
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag String
The repository tag. Defaults to
latest
if not provided.
- registry
Type string The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository string
The repository name.
- deploy
On AppPushes Spec Worker Image Deploy On Push[] Whether to automatically deploy new commits made to the repo.
- registry string
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag string
The repository tag. Defaults to
latest
if not provided.
- registry_
type str The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository str
The repository name.
- deploy_
on_ Sequence[Apppushes Spec Worker Image Deploy On Push] Whether to automatically deploy new commits made to the repo.
- registry str
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag str
The repository tag. Defaults to
latest
if not provided.
- registry
Type String The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
.- repository String
The repository name.
- deploy
On List<Property Map>Pushes Whether to automatically deploy new commits made to the repo.
- registry String
The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type.- tag String
The repository tag. Defaults to
latest
if not provided.
AppSpecWorkerImageDeployOnPush, AppSpecWorkerImageDeployOnPushArgs
- Enabled bool
Whether to automatically deploy images pushed to DOCR.
- Enabled bool
Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
Whether to automatically deploy images pushed to DOCR.
- enabled boolean
Whether to automatically deploy images pushed to DOCR.
- enabled bool
Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
Whether to automatically deploy images pushed to DOCR.
AppSpecWorkerLogDestination, AppSpecWorkerLogDestinationArgs
- Name string
The name of the component.
- Datadog
Pulumi.
Digital Ocean. Inputs. App Spec Worker Log Destination Datadog Datadog configuration.
- Logtail
Pulumi.
Digital Ocean. Inputs. App Spec Worker Log Destination Logtail Logtail configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. App Spec Worker Log Destination Papertrail Papertrail configuration.
- Name string
The name of the component.
- Datadog
App
Spec Worker Log Destination Datadog Datadog configuration.
- Logtail
App
Spec Worker Log Destination Logtail Logtail configuration.
- Papertrail
App
Spec Worker Log Destination Papertrail Papertrail configuration.
- name String
The name of the component.
- datadog
App
Spec Worker Log Destination Datadog Datadog configuration.
- logtail
App
Spec Worker Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Worker Log Destination Papertrail Papertrail configuration.
- name string
The name of the component.
- datadog
App
Spec Worker Log Destination Datadog Datadog configuration.
- logtail
App
Spec Worker Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Worker Log Destination Papertrail Papertrail configuration.
- name str
The name of the component.
- datadog
App
Spec Worker Log Destination Datadog Datadog configuration.
- logtail
App
Spec Worker Log Destination Logtail Logtail configuration.
- papertrail
App
Spec Worker Log Destination Papertrail Papertrail configuration.
- name String
The name of the component.
- datadog Property Map
Datadog configuration.
- logtail Property Map
Logtail configuration.
- papertrail Property Map
Papertrail configuration.
AppSpecWorkerLogDestinationDatadog, AppSpecWorkerLogDestinationDatadogArgs
AppSpecWorkerLogDestinationLogtail, AppSpecWorkerLogDestinationLogtailArgs
- Token string
Logtail token.
A
database
can contain:
- Token string
Logtail token.
A
database
can contain:
- token String
Logtail token.
A
database
can contain:
- token string
Logtail token.
A
database
can contain:
- token str
Logtail token.
A
database
can contain:
- token String
Logtail token.
A
database
can contain:
AppSpecWorkerLogDestinationPapertrail, AppSpecWorkerLogDestinationPapertrailArgs
- Endpoint string
Datadog HTTP log intake endpoint.
- Endpoint string
Datadog HTTP log intake endpoint.
- endpoint String
Datadog HTTP log intake endpoint.
- endpoint string
Datadog HTTP log intake endpoint.
- endpoint str
Datadog HTTP log intake endpoint.
- endpoint String
Datadog HTTP log intake endpoint.
Import
An app can be imported using its id
, e.g.
$ pulumi import digitalocean:index/app:App myapp fb06ad00-351f-45c8-b5eb-13523c438661
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
digitalocean
Terraform Provider.