digitalocean.App
Explore with Pulumi AI
Provides a DigitalOcean App resource.
Example Usage
To create an app, provide a DigitalOcean app spec specifying the app’s components.
Basic Example
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: [{
name: "go-service",
instanceCount: 1,
instanceSizeSlug: "apps-s-1vcpu-1gb",
git: {
repoCloneUrl: "https://github.com/digitalocean/sample-golang.git",
branch: "main",
},
}],
}});
import pulumi
import pulumi_digitalocean as digitalocean
golang_sample = digitalocean.App("golang-sample", spec={
"name": "golang-sample",
"region": "ams",
"services": [{
"name": "go-service",
"instance_count": 1,
"instance_size_slug": "apps-s-1vcpu-1gb",
"git": {
"repo_clone_url": "https://github.com/digitalocean/sample-golang.git",
"branch": "main",
},
}],
})
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{
Name: pulumi.String("go-service"),
InstanceCount: pulumi.Int(1),
InstanceSizeSlug: pulumi.String("apps-s-1vcpu-1gb"),
Git: &digitalocean.AppSpecServiceGitArgs{
RepoCloneUrl: pulumi.String("https://github.com/digitalocean/sample-golang.git"),
Branch: pulumi.String("main"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
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
{
Name = "go-service",
InstanceCount = 1,
InstanceSizeSlug = "apps-s-1vcpu-1gb",
Git = new DigitalOcean.Inputs.AppSpecServiceGitArgs
{
RepoCloneUrl = "https://github.com/digitalocean/sample-golang.git",
Branch = "main",
},
},
},
},
});
});
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()
.name("go-service")
.instanceCount(1)
.instanceSizeSlug("apps-s-1vcpu-1gb")
.git(AppSpecServiceGitArgs.builder()
.repoCloneUrl("https://github.com/digitalocean/sample-golang.git")
.branch("main")
.build())
.build())
.build())
.build());
}
}
resources:
golang-sample:
type: digitalocean:App
properties:
spec:
name: golang-sample
region: ams
services:
- name: go-service
instanceCount: 1
instanceSizeSlug: apps-s-1vcpu-1gb
git:
repoCloneUrl: https://github.com/digitalocean/sample-golang.git
branch: main
Static Site Example
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: [{
name: "sample-jekyll",
buildCommand: "bundle exec jekyll build -d ./public",
outputDir: "/public",
git: {
repoCloneUrl: "https://github.com/digitalocean/sample-jekyll.git",
branch: "main",
},
}],
}});
import pulumi
import pulumi_digitalocean as digitalocean
static_site_example = digitalocean.App("static-site-example", spec={
"name": "static-site-example",
"region": "ams",
"static_sites": [{
"name": "sample-jekyll",
"build_command": "bundle exec jekyll build -d ./public",
"output_dir": "/public",
"git": {
"repo_clone_url": "https://github.com/digitalocean/sample-jekyll.git",
"branch": "main",
},
}],
})
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{
Name: pulumi.String("sample-jekyll"),
BuildCommand: pulumi.String("bundle exec jekyll build -d ./public"),
OutputDir: pulumi.String("/public"),
Git: &digitalocean.AppSpecStaticSiteGitArgs{
RepoCloneUrl: pulumi.String("https://github.com/digitalocean/sample-jekyll.git"),
Branch: pulumi.String("main"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
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
{
Name = "sample-jekyll",
BuildCommand = "bundle exec jekyll build -d ./public",
OutputDir = "/public",
Git = new DigitalOcean.Inputs.AppSpecStaticSiteGitArgs
{
RepoCloneUrl = "https://github.com/digitalocean/sample-jekyll.git",
Branch = "main",
},
},
},
},
});
});
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()
.name("sample-jekyll")
.buildCommand("bundle exec jekyll build -d ./public")
.outputDir("/public")
.git(AppSpecStaticSiteGitArgs.builder()
.repoCloneUrl("https://github.com/digitalocean/sample-jekyll.git")
.branch("main")
.build())
.build())
.build())
.build());
}
}
resources:
static-site-example:
type: digitalocean:App
properties:
spec:
name: static-site-example
region: ams
staticSites:
- name: sample-jekyll
buildCommand: bundle exec jekyll build -d ./public
outputDir: /public
git:
repoCloneUrl: https://github.com/digitalocean/sample-jekyll.git
branch: main
Multiple Components Example
Coming soon!
Coming soon!
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 com.pulumi.digitalocean.inputs.AppSpecIngressArgs;
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()
.name("mono-repo-example")
.region("ams")
.domains(Map.of("name", "foo.example.com"))
.alerts(AppSpecAlertArgs.builder()
.rule("DEPLOYMENT_FAILED")
.build())
.services(AppSpecServiceArgs.builder()
.name("go-api")
.instanceCount(2)
.instanceSizeSlug("apps-s-1vcpu-1gb")
.github(AppSpecServiceGithubArgs.builder()
.branch("main")
.deployOnPush(true)
.repo("username/repo")
.build())
.sourceDir("api/")
.httpPort(3000)
.alerts(AppSpecServiceAlertArgs.builder()
.value(75)
.operator("GREATER_THAN")
.window("TEN_MINUTES")
.rule("CPU_UTILIZATION")
.build())
.logDestinations(AppSpecServiceLogDestinationArgs.builder()
.name("MyLogs")
.papertrail(AppSpecServiceLogDestinationPapertrailArgs.builder()
.endpoint("syslog+tls://example.com:12345")
.build())
.build())
.runCommand("bin/api")
.build())
.staticSites(AppSpecStaticSiteArgs.builder()
.name("web")
.buildCommand("npm run build")
.github(AppSpecStaticSiteGithubArgs.builder()
.branch("main")
.deployOnPush(true)
.repo("username/repo")
.build())
.build())
.databases(AppSpecDatabaseArgs.builder()
.name("starter-db")
.engine("PG")
.production(false)
.build())
.ingress(AppSpecIngressArgs.builder()
.rules(
AppSpecIngressRuleArgs.builder()
.component(AppSpecIngressRuleComponentArgs.builder()
.name("api")
.build())
.match(AppSpecIngressRuleMatchArgs.builder()
.path(AppSpecIngressRuleMatchPathArgs.builder()
.prefix("/api")
.build())
.build())
.build(),
AppSpecIngressRuleArgs.builder()
.component(AppSpecIngressRuleComponentArgs.builder()
.name("web")
.build())
.match(AppSpecIngressRuleMatchArgs.builder()
.path(AppSpecIngressRuleMatchPathArgs.builder()
.prefix("/")
.build())
.build())
.build())
.build())
.build())
.build());
}
}
resources:
mono-repo-example:
type: digitalocean:App
properties:
spec:
name: mono-repo-example
region: ams
domains:
- name: foo.example.com
alerts:
- rule: DEPLOYMENT_FAILED
services:
- name: go-api
instanceCount: 2
instanceSizeSlug: apps-s-1vcpu-1gb
github:
branch: main
deployOnPush: true
repo: username/repo
sourceDir: api/
httpPort: 3000
alerts:
- value: 75
operator: GREATER_THAN
window: TEN_MINUTES
rule: CPU_UTILIZATION
logDestinations:
- name: MyLogs
papertrail:
endpoint: syslog+tls://example.com:12345
runCommand: bin/api
staticSites:
- name: web
buildCommand: npm run build
github:
branch: main
deployOnPush: true
repo: username/repo
databases:
- name: starter-db
engine: PG
production: false
ingress:
rules:
- component:
name: api
match:
path:
prefix: /api
- component:
name: web
match:
path:
prefix: /
Log Destination Example with Opensearch
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: [{
name: "go-service",
instanceCount: 1,
instanceSizeSlug: "apps-s-1vcpu-1gb",
git: {
repoCloneUrl: "https://github.com/digitalocean/sample-golang.git",
branch: "main",
},
logDestinations: [{
name: "MyLogs",
openSearch: {
endpoint: "https://something:1234",
basicAuth: {
user: "user",
password: "hi",
},
},
}],
}],
}});
import pulumi
import pulumi_digitalocean as digitalocean
golang_sample = digitalocean.App("golang-sample", spec={
"name": "golang-sample",
"region": "ams",
"services": [{
"name": "go-service",
"instance_count": 1,
"instance_size_slug": "apps-s-1vcpu-1gb",
"git": {
"repo_clone_url": "https://github.com/digitalocean/sample-golang.git",
"branch": "main",
},
"log_destinations": [{
"name": "MyLogs",
"open_search": {
"endpoint": "https://something:1234",
"basic_auth": {
"user": "user",
"password": "hi",
},
},
}],
}],
})
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{
Name: pulumi.String("go-service"),
InstanceCount: pulumi.Int(1),
InstanceSizeSlug: pulumi.String("apps-s-1vcpu-1gb"),
Git: &digitalocean.AppSpecServiceGitArgs{
RepoCloneUrl: pulumi.String("https://github.com/digitalocean/sample-golang.git"),
Branch: pulumi.String("main"),
},
LogDestinations: digitalocean.AppSpecServiceLogDestinationArray{
&digitalocean.AppSpecServiceLogDestinationArgs{
Name: pulumi.String("MyLogs"),
OpenSearch: &digitalocean.AppSpecServiceLogDestinationOpenSearchArgs{
Endpoint: pulumi.String("https://something:1234"),
BasicAuth: &digitalocean.AppSpecServiceLogDestinationOpenSearchBasicAuthArgs{
User: pulumi.String("user"),
Password: pulumi.String("hi"),
},
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
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
{
Name = "go-service",
InstanceCount = 1,
InstanceSizeSlug = "apps-s-1vcpu-1gb",
Git = new DigitalOcean.Inputs.AppSpecServiceGitArgs
{
RepoCloneUrl = "https://github.com/digitalocean/sample-golang.git",
Branch = "main",
},
LogDestinations = new[]
{
new DigitalOcean.Inputs.AppSpecServiceLogDestinationArgs
{
Name = "MyLogs",
OpenSearch = new DigitalOcean.Inputs.AppSpecServiceLogDestinationOpenSearchArgs
{
Endpoint = "https://something:1234",
BasicAuth = new DigitalOcean.Inputs.AppSpecServiceLogDestinationOpenSearchBasicAuthArgs
{
User = "user",
Password = "hi",
},
},
},
},
},
},
},
});
});
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()
.name("go-service")
.instanceCount(1)
.instanceSizeSlug("apps-s-1vcpu-1gb")
.git(AppSpecServiceGitArgs.builder()
.repoCloneUrl("https://github.com/digitalocean/sample-golang.git")
.branch("main")
.build())
.logDestinations(AppSpecServiceLogDestinationArgs.builder()
.name("MyLogs")
.openSearch(AppSpecServiceLogDestinationOpenSearchArgs.builder()
.endpoint("https://something:1234")
.basicAuth(AppSpecServiceLogDestinationOpenSearchBasicAuthArgs.builder()
.user("user")
.password("hi")
.build())
.build())
.build())
.build())
.build())
.build());
}
}
resources:
golang-sample:
type: digitalocean:App
properties:
spec:
name: golang-sample
region: ams
services:
- name: go-service
instanceCount: 1
instanceSizeSlug: apps-s-1vcpu-1gb
git:
repoCloneUrl: https://github.com/digitalocean/sample-golang.git
branch: main
logDestinations:
- name: MyLogs
openSearch:
endpoint: https://something:1234
basicAuth:
user: user
password: hi
Create App Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new App(name: string, args?: AppArgs, opts?: CustomResourceOptions);
@overload
def App(resource_name: str,
args: Optional[AppArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def App(resource_name: str,
opts: Optional[ResourceOptions] = None,
dedicated_ips: Optional[Sequence[AppDedicatedIpArgs]] = None,
project_id: Optional[str] = None,
spec: Optional[AppSpecArgs] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var appResource = new DigitalOcean.App("appResource", new()
{
DedicatedIps = new[]
{
new DigitalOcean.Inputs.AppDedicatedIpArgs
{
Id = "string",
Ip = "string",
Status = "string",
},
},
ProjectId = "string",
Spec = new DigitalOcean.Inputs.AppSpecArgs
{
Name = "string",
Features = new[]
{
"string",
},
Ingress = new DigitalOcean.Inputs.AppSpecIngressArgs
{
Rules = new[]
{
new DigitalOcean.Inputs.AppSpecIngressRuleArgs
{
Component = new DigitalOcean.Inputs.AppSpecIngressRuleComponentArgs
{
Name = "string",
PreservePathPrefix = false,
Rewrite = "string",
},
Cors = new DigitalOcean.Inputs.AppSpecIngressRuleCorsArgs
{
AllowCredentials = false,
AllowHeaders = new[]
{
"string",
},
AllowMethods = new[]
{
"string",
},
AllowOrigins = new DigitalOcean.Inputs.AppSpecIngressRuleCorsAllowOriginsArgs
{
Exact = "string",
Regex = "string",
},
ExposeHeaders = new[]
{
"string",
},
MaxAge = "string",
},
Match = new DigitalOcean.Inputs.AppSpecIngressRuleMatchArgs
{
Path = new DigitalOcean.Inputs.AppSpecIngressRuleMatchPathArgs
{
Prefix = "string",
},
},
Redirect = new DigitalOcean.Inputs.AppSpecIngressRuleRedirectArgs
{
Authority = "string",
Port = 0,
RedirectCode = 0,
Scheme = "string",
Uri = "string",
},
},
},
},
Egresses = new[]
{
new DigitalOcean.Inputs.AppSpecEgressArgs
{
Type = "string",
},
},
Envs = new[]
{
new DigitalOcean.Inputs.AppSpecEnvArgs
{
Key = "string",
Scope = "string",
Type = "string",
Value = "string",
},
},
Alerts = new[]
{
new DigitalOcean.Inputs.AppSpecAlertArgs
{
Rule = "string",
Disabled = false,
},
},
Functions = new[]
{
new DigitalOcean.Inputs.AppSpecFunctionArgs
{
Name = "string",
Alerts = new[]
{
new DigitalOcean.Inputs.AppSpecFunctionAlertArgs
{
Operator = "string",
Rule = "string",
Value = 0,
Window = "string",
Disabled = false,
},
},
Envs = new[]
{
new DigitalOcean.Inputs.AppSpecFunctionEnvArgs
{
Key = "string",
Scope = "string",
Type = "string",
Value = "string",
},
},
Git = new DigitalOcean.Inputs.AppSpecFunctionGitArgs
{
Branch = "string",
RepoCloneUrl = "string",
},
Github = new DigitalOcean.Inputs.AppSpecFunctionGithubArgs
{
Branch = "string",
DeployOnPush = false,
Repo = "string",
},
Gitlab = new DigitalOcean.Inputs.AppSpecFunctionGitlabArgs
{
Branch = "string",
DeployOnPush = false,
Repo = "string",
},
LogDestinations = new[]
{
new DigitalOcean.Inputs.AppSpecFunctionLogDestinationArgs
{
Name = "string",
Datadog = new DigitalOcean.Inputs.AppSpecFunctionLogDestinationDatadogArgs
{
ApiKey = "string",
Endpoint = "string",
},
Logtail = new DigitalOcean.Inputs.AppSpecFunctionLogDestinationLogtailArgs
{
Token = "string",
},
OpenSearch = new DigitalOcean.Inputs.AppSpecFunctionLogDestinationOpenSearchArgs
{
BasicAuth = new DigitalOcean.Inputs.AppSpecFunctionLogDestinationOpenSearchBasicAuthArgs
{
Password = "string",
User = "string",
},
ClusterName = "string",
Endpoint = "string",
IndexName = "string",
},
Papertrail = new DigitalOcean.Inputs.AppSpecFunctionLogDestinationPapertrailArgs
{
Endpoint = "string",
},
},
},
SourceDir = "string",
},
},
DomainNames = new[]
{
new DigitalOcean.Inputs.AppSpecDomainNameArgs
{
Name = "string",
Type = "string",
Wildcard = false,
Zone = "string",
},
},
Jobs = new[]
{
new DigitalOcean.Inputs.AppSpecJobArgs
{
Name = "string",
Image = new DigitalOcean.Inputs.AppSpecJobImageArgs
{
RegistryType = "string",
Repository = "string",
DeployOnPushes = new[]
{
new DigitalOcean.Inputs.AppSpecJobImageDeployOnPushArgs
{
Enabled = false,
},
},
Registry = "string",
RegistryCredentials = "string",
Tag = "string",
},
InstanceCount = 0,
EnvironmentSlug = "string",
Envs = new[]
{
new DigitalOcean.Inputs.AppSpecJobEnvArgs
{
Key = "string",
Scope = "string",
Type = "string",
Value = "string",
},
},
Git = new DigitalOcean.Inputs.AppSpecJobGitArgs
{
Branch = "string",
RepoCloneUrl = "string",
},
Github = new DigitalOcean.Inputs.AppSpecJobGithubArgs
{
Branch = "string",
DeployOnPush = false,
Repo = "string",
},
DockerfilePath = "string",
Alerts = new[]
{
new DigitalOcean.Inputs.AppSpecJobAlertArgs
{
Operator = "string",
Rule = "string",
Value = 0,
Window = "string",
Disabled = false,
},
},
Gitlab = new DigitalOcean.Inputs.AppSpecJobGitlabArgs
{
Branch = "string",
DeployOnPush = false,
Repo = "string",
},
InstanceSizeSlug = "string",
Kind = "string",
LogDestinations = new[]
{
new DigitalOcean.Inputs.AppSpecJobLogDestinationArgs
{
Name = "string",
Datadog = new DigitalOcean.Inputs.AppSpecJobLogDestinationDatadogArgs
{
ApiKey = "string",
Endpoint = "string",
},
Logtail = new DigitalOcean.Inputs.AppSpecJobLogDestinationLogtailArgs
{
Token = "string",
},
OpenSearch = new DigitalOcean.Inputs.AppSpecJobLogDestinationOpenSearchArgs
{
BasicAuth = new DigitalOcean.Inputs.AppSpecJobLogDestinationOpenSearchBasicAuthArgs
{
Password = "string",
User = "string",
},
ClusterName = "string",
Endpoint = "string",
IndexName = "string",
},
Papertrail = new DigitalOcean.Inputs.AppSpecJobLogDestinationPapertrailArgs
{
Endpoint = "string",
},
},
},
BuildCommand = "string",
RunCommand = "string",
SourceDir = "string",
},
},
Databases = new[]
{
new DigitalOcean.Inputs.AppSpecDatabaseArgs
{
ClusterName = "string",
DbName = "string",
DbUser = "string",
Engine = "string",
Name = "string",
Production = false,
Version = "string",
},
},
Region = "string",
Services = new[]
{
new DigitalOcean.Inputs.AppSpecServiceArgs
{
Name = "string",
HealthCheck = new DigitalOcean.Inputs.AppSpecServiceHealthCheckArgs
{
FailureThreshold = 0,
HttpPath = "string",
InitialDelaySeconds = 0,
PeriodSeconds = 0,
Port = 0,
SuccessThreshold = 0,
TimeoutSeconds = 0,
},
DockerfilePath = "string",
EnvironmentSlug = "string",
Envs = new[]
{
new DigitalOcean.Inputs.AppSpecServiceEnvArgs
{
Key = "string",
Scope = "string",
Type = "string",
Value = "string",
},
},
Git = new DigitalOcean.Inputs.AppSpecServiceGitArgs
{
Branch = "string",
RepoCloneUrl = "string",
},
HttpPort = 0,
SourceDir = "string",
BuildCommand = "string",
Github = new DigitalOcean.Inputs.AppSpecServiceGithubArgs
{
Branch = "string",
DeployOnPush = false,
Repo = "string",
},
Image = new DigitalOcean.Inputs.AppSpecServiceImageArgs
{
RegistryType = "string",
Repository = "string",
DeployOnPushes = new[]
{
new DigitalOcean.Inputs.AppSpecServiceImageDeployOnPushArgs
{
Enabled = false,
},
},
Registry = "string",
RegistryCredentials = "string",
Tag = "string",
},
InstanceCount = 0,
InstanceSizeSlug = "string",
InternalPorts = new[]
{
0,
},
LogDestinations = new[]
{
new DigitalOcean.Inputs.AppSpecServiceLogDestinationArgs
{
Name = "string",
Datadog = new DigitalOcean.Inputs.AppSpecServiceLogDestinationDatadogArgs
{
ApiKey = "string",
Endpoint = "string",
},
Logtail = new DigitalOcean.Inputs.AppSpecServiceLogDestinationLogtailArgs
{
Token = "string",
},
OpenSearch = new DigitalOcean.Inputs.AppSpecServiceLogDestinationOpenSearchArgs
{
BasicAuth = new DigitalOcean.Inputs.AppSpecServiceLogDestinationOpenSearchBasicAuthArgs
{
Password = "string",
User = "string",
},
ClusterName = "string",
Endpoint = "string",
IndexName = "string",
},
Papertrail = new DigitalOcean.Inputs.AppSpecServiceLogDestinationPapertrailArgs
{
Endpoint = "string",
},
},
},
Autoscaling = new DigitalOcean.Inputs.AppSpecServiceAutoscalingArgs
{
MaxInstanceCount = 0,
Metrics = new DigitalOcean.Inputs.AppSpecServiceAutoscalingMetricsArgs
{
Cpu = new DigitalOcean.Inputs.AppSpecServiceAutoscalingMetricsCpuArgs
{
Percent = 0,
},
},
MinInstanceCount = 0,
},
Alerts = new[]
{
new DigitalOcean.Inputs.AppSpecServiceAlertArgs
{
Operator = "string",
Rule = "string",
Value = 0,
Window = "string",
Disabled = false,
},
},
RunCommand = "string",
Gitlab = new DigitalOcean.Inputs.AppSpecServiceGitlabArgs
{
Branch = "string",
DeployOnPush = false,
Repo = "string",
},
},
},
StaticSites = new[]
{
new DigitalOcean.Inputs.AppSpecStaticSiteArgs
{
Name = "string",
ErrorDocument = "string",
Github = new DigitalOcean.Inputs.AppSpecStaticSiteGithubArgs
{
Branch = "string",
DeployOnPush = false,
Repo = "string",
},
DockerfilePath = "string",
EnvironmentSlug = "string",
Envs = new[]
{
new DigitalOcean.Inputs.AppSpecStaticSiteEnvArgs
{
Key = "string",
Scope = "string",
Type = "string",
Value = "string",
},
},
BuildCommand = "string",
Git = new DigitalOcean.Inputs.AppSpecStaticSiteGitArgs
{
Branch = "string",
RepoCloneUrl = "string",
},
Gitlab = new DigitalOcean.Inputs.AppSpecStaticSiteGitlabArgs
{
Branch = "string",
DeployOnPush = false,
Repo = "string",
},
IndexDocument = "string",
CatchallDocument = "string",
OutputDir = "string",
SourceDir = "string",
},
},
Workers = new[]
{
new DigitalOcean.Inputs.AppSpecWorkerArgs
{
Name = "string",
Github = new DigitalOcean.Inputs.AppSpecWorkerGithubArgs
{
Branch = "string",
DeployOnPush = false,
Repo = "string",
},
Image = new DigitalOcean.Inputs.AppSpecWorkerImageArgs
{
RegistryType = "string",
Repository = "string",
DeployOnPushes = new[]
{
new DigitalOcean.Inputs.AppSpecWorkerImageDeployOnPushArgs
{
Enabled = false,
},
},
Registry = "string",
RegistryCredentials = "string",
Tag = "string",
},
EnvironmentSlug = "string",
Envs = new[]
{
new DigitalOcean.Inputs.AppSpecWorkerEnvArgs
{
Key = "string",
Scope = "string",
Type = "string",
Value = "string",
},
},
Git = new DigitalOcean.Inputs.AppSpecWorkerGitArgs
{
Branch = "string",
RepoCloneUrl = "string",
},
Alerts = new[]
{
new DigitalOcean.Inputs.AppSpecWorkerAlertArgs
{
Operator = "string",
Rule = "string",
Value = 0,
Window = "string",
Disabled = false,
},
},
Gitlab = new DigitalOcean.Inputs.AppSpecWorkerGitlabArgs
{
Branch = "string",
DeployOnPush = false,
Repo = "string",
},
DockerfilePath = "string",
InstanceCount = 0,
InstanceSizeSlug = "string",
LogDestinations = new[]
{
new DigitalOcean.Inputs.AppSpecWorkerLogDestinationArgs
{
Name = "string",
Datadog = new DigitalOcean.Inputs.AppSpecWorkerLogDestinationDatadogArgs
{
ApiKey = "string",
Endpoint = "string",
},
Logtail = new DigitalOcean.Inputs.AppSpecWorkerLogDestinationLogtailArgs
{
Token = "string",
},
OpenSearch = new DigitalOcean.Inputs.AppSpecWorkerLogDestinationOpenSearchArgs
{
BasicAuth = new DigitalOcean.Inputs.AppSpecWorkerLogDestinationOpenSearchBasicAuthArgs
{
Password = "string",
User = "string",
},
ClusterName = "string",
Endpoint = "string",
IndexName = "string",
},
Papertrail = new DigitalOcean.Inputs.AppSpecWorkerLogDestinationPapertrailArgs
{
Endpoint = "string",
},
},
},
BuildCommand = "string",
RunCommand = "string",
SourceDir = "string",
},
},
},
});
example, err := digitalocean.NewApp(ctx, "appResource", &digitalocean.AppArgs{
DedicatedIps: digitalocean.AppDedicatedIpArray{
&digitalocean.AppDedicatedIpArgs{
Id: pulumi.String("string"),
Ip: pulumi.String("string"),
Status: pulumi.String("string"),
},
},
ProjectId: pulumi.String("string"),
Spec: &digitalocean.AppSpecArgs{
Name: pulumi.String("string"),
Features: pulumi.StringArray{
pulumi.String("string"),
},
Ingress: &digitalocean.AppSpecIngressArgs{
Rules: digitalocean.AppSpecIngressRuleArray{
&digitalocean.AppSpecIngressRuleArgs{
Component: &digitalocean.AppSpecIngressRuleComponentArgs{
Name: pulumi.String("string"),
PreservePathPrefix: pulumi.Bool(false),
Rewrite: pulumi.String("string"),
},
Cors: &digitalocean.AppSpecIngressRuleCorsArgs{
AllowCredentials: pulumi.Bool(false),
AllowHeaders: pulumi.StringArray{
pulumi.String("string"),
},
AllowMethods: pulumi.StringArray{
pulumi.String("string"),
},
AllowOrigins: &digitalocean.AppSpecIngressRuleCorsAllowOriginsArgs{
Exact: pulumi.String("string"),
Regex: pulumi.String("string"),
},
ExposeHeaders: pulumi.StringArray{
pulumi.String("string"),
},
MaxAge: pulumi.String("string"),
},
Match: &digitalocean.AppSpecIngressRuleMatchArgs{
Path: &digitalocean.AppSpecIngressRuleMatchPathArgs{
Prefix: pulumi.String("string"),
},
},
Redirect: &digitalocean.AppSpecIngressRuleRedirectArgs{
Authority: pulumi.String("string"),
Port: pulumi.Int(0),
RedirectCode: pulumi.Int(0),
Scheme: pulumi.String("string"),
Uri: pulumi.String("string"),
},
},
},
},
Egresses: digitalocean.AppSpecEgressArray{
&digitalocean.AppSpecEgressArgs{
Type: pulumi.String("string"),
},
},
Envs: digitalocean.AppSpecEnvArray{
&digitalocean.AppSpecEnvArgs{
Key: pulumi.String("string"),
Scope: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Alerts: digitalocean.AppSpecAlertArray{
&digitalocean.AppSpecAlertArgs{
Rule: pulumi.String("string"),
Disabled: pulumi.Bool(false),
},
},
Functions: digitalocean.AppSpecFunctionArray{
&digitalocean.AppSpecFunctionArgs{
Name: pulumi.String("string"),
Alerts: digitalocean.AppSpecFunctionAlertArray{
&digitalocean.AppSpecFunctionAlertArgs{
Operator: pulumi.String("string"),
Rule: pulumi.String("string"),
Value: pulumi.Float64(0),
Window: pulumi.String("string"),
Disabled: pulumi.Bool(false),
},
},
Envs: digitalocean.AppSpecFunctionEnvArray{
&digitalocean.AppSpecFunctionEnvArgs{
Key: pulumi.String("string"),
Scope: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Git: &digitalocean.AppSpecFunctionGitArgs{
Branch: pulumi.String("string"),
RepoCloneUrl: pulumi.String("string"),
},
Github: &digitalocean.AppSpecFunctionGithubArgs{
Branch: pulumi.String("string"),
DeployOnPush: pulumi.Bool(false),
Repo: pulumi.String("string"),
},
Gitlab: &digitalocean.AppSpecFunctionGitlabArgs{
Branch: pulumi.String("string"),
DeployOnPush: pulumi.Bool(false),
Repo: pulumi.String("string"),
},
LogDestinations: digitalocean.AppSpecFunctionLogDestinationArray{
&digitalocean.AppSpecFunctionLogDestinationArgs{
Name: pulumi.String("string"),
Datadog: &digitalocean.AppSpecFunctionLogDestinationDatadogArgs{
ApiKey: pulumi.String("string"),
Endpoint: pulumi.String("string"),
},
Logtail: &digitalocean.AppSpecFunctionLogDestinationLogtailArgs{
Token: pulumi.String("string"),
},
OpenSearch: &digitalocean.AppSpecFunctionLogDestinationOpenSearchArgs{
BasicAuth: &digitalocean.AppSpecFunctionLogDestinationOpenSearchBasicAuthArgs{
Password: pulumi.String("string"),
User: pulumi.String("string"),
},
ClusterName: pulumi.String("string"),
Endpoint: pulumi.String("string"),
IndexName: pulumi.String("string"),
},
Papertrail: &digitalocean.AppSpecFunctionLogDestinationPapertrailArgs{
Endpoint: pulumi.String("string"),
},
},
},
SourceDir: pulumi.String("string"),
},
},
DomainNames: digitalocean.AppSpecDomainNameArray{
&digitalocean.AppSpecDomainNameArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Wildcard: pulumi.Bool(false),
Zone: pulumi.String("string"),
},
},
Jobs: digitalocean.AppSpecJobArray{
&digitalocean.AppSpecJobArgs{
Name: pulumi.String("string"),
Image: &digitalocean.AppSpecJobImageArgs{
RegistryType: pulumi.String("string"),
Repository: pulumi.String("string"),
DeployOnPushes: digitalocean.AppSpecJobImageDeployOnPushArray{
&digitalocean.AppSpecJobImageDeployOnPushArgs{
Enabled: pulumi.Bool(false),
},
},
Registry: pulumi.String("string"),
RegistryCredentials: pulumi.String("string"),
Tag: pulumi.String("string"),
},
InstanceCount: pulumi.Int(0),
EnvironmentSlug: pulumi.String("string"),
Envs: digitalocean.AppSpecJobEnvArray{
&digitalocean.AppSpecJobEnvArgs{
Key: pulumi.String("string"),
Scope: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Git: &digitalocean.AppSpecJobGitArgs{
Branch: pulumi.String("string"),
RepoCloneUrl: pulumi.String("string"),
},
Github: &digitalocean.AppSpecJobGithubArgs{
Branch: pulumi.String("string"),
DeployOnPush: pulumi.Bool(false),
Repo: pulumi.String("string"),
},
DockerfilePath: pulumi.String("string"),
Alerts: digitalocean.AppSpecJobAlertArray{
&digitalocean.AppSpecJobAlertArgs{
Operator: pulumi.String("string"),
Rule: pulumi.String("string"),
Value: pulumi.Float64(0),
Window: pulumi.String("string"),
Disabled: pulumi.Bool(false),
},
},
Gitlab: &digitalocean.AppSpecJobGitlabArgs{
Branch: pulumi.String("string"),
DeployOnPush: pulumi.Bool(false),
Repo: pulumi.String("string"),
},
InstanceSizeSlug: pulumi.String("string"),
Kind: pulumi.String("string"),
LogDestinations: digitalocean.AppSpecJobLogDestinationArray{
&digitalocean.AppSpecJobLogDestinationArgs{
Name: pulumi.String("string"),
Datadog: &digitalocean.AppSpecJobLogDestinationDatadogArgs{
ApiKey: pulumi.String("string"),
Endpoint: pulumi.String("string"),
},
Logtail: &digitalocean.AppSpecJobLogDestinationLogtailArgs{
Token: pulumi.String("string"),
},
OpenSearch: &digitalocean.AppSpecJobLogDestinationOpenSearchArgs{
BasicAuth: &digitalocean.AppSpecJobLogDestinationOpenSearchBasicAuthArgs{
Password: pulumi.String("string"),
User: pulumi.String("string"),
},
ClusterName: pulumi.String("string"),
Endpoint: pulumi.String("string"),
IndexName: pulumi.String("string"),
},
Papertrail: &digitalocean.AppSpecJobLogDestinationPapertrailArgs{
Endpoint: pulumi.String("string"),
},
},
},
BuildCommand: pulumi.String("string"),
RunCommand: pulumi.String("string"),
SourceDir: pulumi.String("string"),
},
},
Databases: digitalocean.AppSpecDatabaseArray{
&digitalocean.AppSpecDatabaseArgs{
ClusterName: pulumi.String("string"),
DbName: pulumi.String("string"),
DbUser: pulumi.String("string"),
Engine: pulumi.String("string"),
Name: pulumi.String("string"),
Production: pulumi.Bool(false),
Version: pulumi.String("string"),
},
},
Region: pulumi.String("string"),
Services: digitalocean.AppSpecServiceArray{
&digitalocean.AppSpecServiceArgs{
Name: pulumi.String("string"),
HealthCheck: &digitalocean.AppSpecServiceHealthCheckArgs{
FailureThreshold: pulumi.Int(0),
HttpPath: pulumi.String("string"),
InitialDelaySeconds: pulumi.Int(0),
PeriodSeconds: pulumi.Int(0),
Port: pulumi.Int(0),
SuccessThreshold: pulumi.Int(0),
TimeoutSeconds: pulumi.Int(0),
},
DockerfilePath: pulumi.String("string"),
EnvironmentSlug: pulumi.String("string"),
Envs: digitalocean.AppSpecServiceEnvArray{
&digitalocean.AppSpecServiceEnvArgs{
Key: pulumi.String("string"),
Scope: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Git: &digitalocean.AppSpecServiceGitArgs{
Branch: pulumi.String("string"),
RepoCloneUrl: pulumi.String("string"),
},
HttpPort: pulumi.Int(0),
SourceDir: pulumi.String("string"),
BuildCommand: pulumi.String("string"),
Github: &digitalocean.AppSpecServiceGithubArgs{
Branch: pulumi.String("string"),
DeployOnPush: pulumi.Bool(false),
Repo: pulumi.String("string"),
},
Image: &digitalocean.AppSpecServiceImageArgs{
RegistryType: pulumi.String("string"),
Repository: pulumi.String("string"),
DeployOnPushes: digitalocean.AppSpecServiceImageDeployOnPushArray{
&digitalocean.AppSpecServiceImageDeployOnPushArgs{
Enabled: pulumi.Bool(false),
},
},
Registry: pulumi.String("string"),
RegistryCredentials: pulumi.String("string"),
Tag: pulumi.String("string"),
},
InstanceCount: pulumi.Int(0),
InstanceSizeSlug: pulumi.String("string"),
InternalPorts: pulumi.IntArray{
pulumi.Int(0),
},
LogDestinations: digitalocean.AppSpecServiceLogDestinationArray{
&digitalocean.AppSpecServiceLogDestinationArgs{
Name: pulumi.String("string"),
Datadog: &digitalocean.AppSpecServiceLogDestinationDatadogArgs{
ApiKey: pulumi.String("string"),
Endpoint: pulumi.String("string"),
},
Logtail: &digitalocean.AppSpecServiceLogDestinationLogtailArgs{
Token: pulumi.String("string"),
},
OpenSearch: &digitalocean.AppSpecServiceLogDestinationOpenSearchArgs{
BasicAuth: &digitalocean.AppSpecServiceLogDestinationOpenSearchBasicAuthArgs{
Password: pulumi.String("string"),
User: pulumi.String("string"),
},
ClusterName: pulumi.String("string"),
Endpoint: pulumi.String("string"),
IndexName: pulumi.String("string"),
},
Papertrail: &digitalocean.AppSpecServiceLogDestinationPapertrailArgs{
Endpoint: pulumi.String("string"),
},
},
},
Autoscaling: &digitalocean.AppSpecServiceAutoscalingArgs{
MaxInstanceCount: pulumi.Int(0),
Metrics: &digitalocean.AppSpecServiceAutoscalingMetricsArgs{
Cpu: &digitalocean.AppSpecServiceAutoscalingMetricsCpuArgs{
Percent: pulumi.Int(0),
},
},
MinInstanceCount: pulumi.Int(0),
},
Alerts: digitalocean.AppSpecServiceAlertArray{
&digitalocean.AppSpecServiceAlertArgs{
Operator: pulumi.String("string"),
Rule: pulumi.String("string"),
Value: pulumi.Float64(0),
Window: pulumi.String("string"),
Disabled: pulumi.Bool(false),
},
},
RunCommand: pulumi.String("string"),
Gitlab: &digitalocean.AppSpecServiceGitlabArgs{
Branch: pulumi.String("string"),
DeployOnPush: pulumi.Bool(false),
Repo: pulumi.String("string"),
},
},
},
StaticSites: digitalocean.AppSpecStaticSiteArray{
&digitalocean.AppSpecStaticSiteArgs{
Name: pulumi.String("string"),
ErrorDocument: pulumi.String("string"),
Github: &digitalocean.AppSpecStaticSiteGithubArgs{
Branch: pulumi.String("string"),
DeployOnPush: pulumi.Bool(false),
Repo: pulumi.String("string"),
},
DockerfilePath: pulumi.String("string"),
EnvironmentSlug: pulumi.String("string"),
Envs: digitalocean.AppSpecStaticSiteEnvArray{
&digitalocean.AppSpecStaticSiteEnvArgs{
Key: pulumi.String("string"),
Scope: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
BuildCommand: pulumi.String("string"),
Git: &digitalocean.AppSpecStaticSiteGitArgs{
Branch: pulumi.String("string"),
RepoCloneUrl: pulumi.String("string"),
},
Gitlab: &digitalocean.AppSpecStaticSiteGitlabArgs{
Branch: pulumi.String("string"),
DeployOnPush: pulumi.Bool(false),
Repo: pulumi.String("string"),
},
IndexDocument: pulumi.String("string"),
CatchallDocument: pulumi.String("string"),
OutputDir: pulumi.String("string"),
SourceDir: pulumi.String("string"),
},
},
Workers: digitalocean.AppSpecWorkerArray{
&digitalocean.AppSpecWorkerArgs{
Name: pulumi.String("string"),
Github: &digitalocean.AppSpecWorkerGithubArgs{
Branch: pulumi.String("string"),
DeployOnPush: pulumi.Bool(false),
Repo: pulumi.String("string"),
},
Image: &digitalocean.AppSpecWorkerImageArgs{
RegistryType: pulumi.String("string"),
Repository: pulumi.String("string"),
DeployOnPushes: digitalocean.AppSpecWorkerImageDeployOnPushArray{
&digitalocean.AppSpecWorkerImageDeployOnPushArgs{
Enabled: pulumi.Bool(false),
},
},
Registry: pulumi.String("string"),
RegistryCredentials: pulumi.String("string"),
Tag: pulumi.String("string"),
},
EnvironmentSlug: pulumi.String("string"),
Envs: digitalocean.AppSpecWorkerEnvArray{
&digitalocean.AppSpecWorkerEnvArgs{
Key: pulumi.String("string"),
Scope: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Git: &digitalocean.AppSpecWorkerGitArgs{
Branch: pulumi.String("string"),
RepoCloneUrl: pulumi.String("string"),
},
Alerts: digitalocean.AppSpecWorkerAlertArray{
&digitalocean.AppSpecWorkerAlertArgs{
Operator: pulumi.String("string"),
Rule: pulumi.String("string"),
Value: pulumi.Float64(0),
Window: pulumi.String("string"),
Disabled: pulumi.Bool(false),
},
},
Gitlab: &digitalocean.AppSpecWorkerGitlabArgs{
Branch: pulumi.String("string"),
DeployOnPush: pulumi.Bool(false),
Repo: pulumi.String("string"),
},
DockerfilePath: pulumi.String("string"),
InstanceCount: pulumi.Int(0),
InstanceSizeSlug: pulumi.String("string"),
LogDestinations: digitalocean.AppSpecWorkerLogDestinationArray{
&digitalocean.AppSpecWorkerLogDestinationArgs{
Name: pulumi.String("string"),
Datadog: &digitalocean.AppSpecWorkerLogDestinationDatadogArgs{
ApiKey: pulumi.String("string"),
Endpoint: pulumi.String("string"),
},
Logtail: &digitalocean.AppSpecWorkerLogDestinationLogtailArgs{
Token: pulumi.String("string"),
},
OpenSearch: &digitalocean.AppSpecWorkerLogDestinationOpenSearchArgs{
BasicAuth: &digitalocean.AppSpecWorkerLogDestinationOpenSearchBasicAuthArgs{
Password: pulumi.String("string"),
User: pulumi.String("string"),
},
ClusterName: pulumi.String("string"),
Endpoint: pulumi.String("string"),
IndexName: pulumi.String("string"),
},
Papertrail: &digitalocean.AppSpecWorkerLogDestinationPapertrailArgs{
Endpoint: pulumi.String("string"),
},
},
},
BuildCommand: pulumi.String("string"),
RunCommand: pulumi.String("string"),
SourceDir: pulumi.String("string"),
},
},
},
})
var appResource = new App("appResource", AppArgs.builder()
.dedicatedIps(AppDedicatedIpArgs.builder()
.id("string")
.ip("string")
.status("string")
.build())
.projectId("string")
.spec(AppSpecArgs.builder()
.name("string")
.features("string")
.ingress(AppSpecIngressArgs.builder()
.rules(AppSpecIngressRuleArgs.builder()
.component(AppSpecIngressRuleComponentArgs.builder()
.name("string")
.preservePathPrefix(false)
.rewrite("string")
.build())
.cors(AppSpecIngressRuleCorsArgs.builder()
.allowCredentials(false)
.allowHeaders("string")
.allowMethods("string")
.allowOrigins(AppSpecIngressRuleCorsAllowOriginsArgs.builder()
.exact("string")
.regex("string")
.build())
.exposeHeaders("string")
.maxAge("string")
.build())
.match(AppSpecIngressRuleMatchArgs.builder()
.path(AppSpecIngressRuleMatchPathArgs.builder()
.prefix("string")
.build())
.build())
.redirect(AppSpecIngressRuleRedirectArgs.builder()
.authority("string")
.port(0)
.redirectCode(0)
.scheme("string")
.uri("string")
.build())
.build())
.build())
.egresses(AppSpecEgressArgs.builder()
.type("string")
.build())
.envs(AppSpecEnvArgs.builder()
.key("string")
.scope("string")
.type("string")
.value("string")
.build())
.alerts(AppSpecAlertArgs.builder()
.rule("string")
.disabled(false)
.build())
.functions(AppSpecFunctionArgs.builder()
.name("string")
.alerts(AppSpecFunctionAlertArgs.builder()
.operator("string")
.rule("string")
.value(0)
.window("string")
.disabled(false)
.build())
.envs(AppSpecFunctionEnvArgs.builder()
.key("string")
.scope("string")
.type("string")
.value("string")
.build())
.git(AppSpecFunctionGitArgs.builder()
.branch("string")
.repoCloneUrl("string")
.build())
.github(AppSpecFunctionGithubArgs.builder()
.branch("string")
.deployOnPush(false)
.repo("string")
.build())
.gitlab(AppSpecFunctionGitlabArgs.builder()
.branch("string")
.deployOnPush(false)
.repo("string")
.build())
.logDestinations(AppSpecFunctionLogDestinationArgs.builder()
.name("string")
.datadog(AppSpecFunctionLogDestinationDatadogArgs.builder()
.apiKey("string")
.endpoint("string")
.build())
.logtail(AppSpecFunctionLogDestinationLogtailArgs.builder()
.token("string")
.build())
.openSearch(AppSpecFunctionLogDestinationOpenSearchArgs.builder()
.basicAuth(AppSpecFunctionLogDestinationOpenSearchBasicAuthArgs.builder()
.password("string")
.user("string")
.build())
.clusterName("string")
.endpoint("string")
.indexName("string")
.build())
.papertrail(AppSpecFunctionLogDestinationPapertrailArgs.builder()
.endpoint("string")
.build())
.build())
.sourceDir("string")
.build())
.domainNames(AppSpecDomainNameArgs.builder()
.name("string")
.type("string")
.wildcard(false)
.zone("string")
.build())
.jobs(AppSpecJobArgs.builder()
.name("string")
.image(AppSpecJobImageArgs.builder()
.registryType("string")
.repository("string")
.deployOnPushes(AppSpecJobImageDeployOnPushArgs.builder()
.enabled(false)
.build())
.registry("string")
.registryCredentials("string")
.tag("string")
.build())
.instanceCount(0)
.environmentSlug("string")
.envs(AppSpecJobEnvArgs.builder()
.key("string")
.scope("string")
.type("string")
.value("string")
.build())
.git(AppSpecJobGitArgs.builder()
.branch("string")
.repoCloneUrl("string")
.build())
.github(AppSpecJobGithubArgs.builder()
.branch("string")
.deployOnPush(false)
.repo("string")
.build())
.dockerfilePath("string")
.alerts(AppSpecJobAlertArgs.builder()
.operator("string")
.rule("string")
.value(0)
.window("string")
.disabled(false)
.build())
.gitlab(AppSpecJobGitlabArgs.builder()
.branch("string")
.deployOnPush(false)
.repo("string")
.build())
.instanceSizeSlug("string")
.kind("string")
.logDestinations(AppSpecJobLogDestinationArgs.builder()
.name("string")
.datadog(AppSpecJobLogDestinationDatadogArgs.builder()
.apiKey("string")
.endpoint("string")
.build())
.logtail(AppSpecJobLogDestinationLogtailArgs.builder()
.token("string")
.build())
.openSearch(AppSpecJobLogDestinationOpenSearchArgs.builder()
.basicAuth(AppSpecJobLogDestinationOpenSearchBasicAuthArgs.builder()
.password("string")
.user("string")
.build())
.clusterName("string")
.endpoint("string")
.indexName("string")
.build())
.papertrail(AppSpecJobLogDestinationPapertrailArgs.builder()
.endpoint("string")
.build())
.build())
.buildCommand("string")
.runCommand("string")
.sourceDir("string")
.build())
.databases(AppSpecDatabaseArgs.builder()
.clusterName("string")
.dbName("string")
.dbUser("string")
.engine("string")
.name("string")
.production(false)
.version("string")
.build())
.region("string")
.services(AppSpecServiceArgs.builder()
.name("string")
.healthCheck(AppSpecServiceHealthCheckArgs.builder()
.failureThreshold(0)
.httpPath("string")
.initialDelaySeconds(0)
.periodSeconds(0)
.port(0)
.successThreshold(0)
.timeoutSeconds(0)
.build())
.dockerfilePath("string")
.environmentSlug("string")
.envs(AppSpecServiceEnvArgs.builder()
.key("string")
.scope("string")
.type("string")
.value("string")
.build())
.git(AppSpecServiceGitArgs.builder()
.branch("string")
.repoCloneUrl("string")
.build())
.httpPort(0)
.sourceDir("string")
.buildCommand("string")
.github(AppSpecServiceGithubArgs.builder()
.branch("string")
.deployOnPush(false)
.repo("string")
.build())
.image(AppSpecServiceImageArgs.builder()
.registryType("string")
.repository("string")
.deployOnPushes(AppSpecServiceImageDeployOnPushArgs.builder()
.enabled(false)
.build())
.registry("string")
.registryCredentials("string")
.tag("string")
.build())
.instanceCount(0)
.instanceSizeSlug("string")
.internalPorts(0)
.logDestinations(AppSpecServiceLogDestinationArgs.builder()
.name("string")
.datadog(AppSpecServiceLogDestinationDatadogArgs.builder()
.apiKey("string")
.endpoint("string")
.build())
.logtail(AppSpecServiceLogDestinationLogtailArgs.builder()
.token("string")
.build())
.openSearch(AppSpecServiceLogDestinationOpenSearchArgs.builder()
.basicAuth(AppSpecServiceLogDestinationOpenSearchBasicAuthArgs.builder()
.password("string")
.user("string")
.build())
.clusterName("string")
.endpoint("string")
.indexName("string")
.build())
.papertrail(AppSpecServiceLogDestinationPapertrailArgs.builder()
.endpoint("string")
.build())
.build())
.autoscaling(AppSpecServiceAutoscalingArgs.builder()
.maxInstanceCount(0)
.metrics(AppSpecServiceAutoscalingMetricsArgs.builder()
.cpu(AppSpecServiceAutoscalingMetricsCpuArgs.builder()
.percent(0)
.build())
.build())
.minInstanceCount(0)
.build())
.alerts(AppSpecServiceAlertArgs.builder()
.operator("string")
.rule("string")
.value(0)
.window("string")
.disabled(false)
.build())
.runCommand("string")
.gitlab(AppSpecServiceGitlabArgs.builder()
.branch("string")
.deployOnPush(false)
.repo("string")
.build())
.build())
.staticSites(AppSpecStaticSiteArgs.builder()
.name("string")
.errorDocument("string")
.github(AppSpecStaticSiteGithubArgs.builder()
.branch("string")
.deployOnPush(false)
.repo("string")
.build())
.dockerfilePath("string")
.environmentSlug("string")
.envs(AppSpecStaticSiteEnvArgs.builder()
.key("string")
.scope("string")
.type("string")
.value("string")
.build())
.buildCommand("string")
.git(AppSpecStaticSiteGitArgs.builder()
.branch("string")
.repoCloneUrl("string")
.build())
.gitlab(AppSpecStaticSiteGitlabArgs.builder()
.branch("string")
.deployOnPush(false)
.repo("string")
.build())
.indexDocument("string")
.catchallDocument("string")
.outputDir("string")
.sourceDir("string")
.build())
.workers(AppSpecWorkerArgs.builder()
.name("string")
.github(AppSpecWorkerGithubArgs.builder()
.branch("string")
.deployOnPush(false)
.repo("string")
.build())
.image(AppSpecWorkerImageArgs.builder()
.registryType("string")
.repository("string")
.deployOnPushes(AppSpecWorkerImageDeployOnPushArgs.builder()
.enabled(false)
.build())
.registry("string")
.registryCredentials("string")
.tag("string")
.build())
.environmentSlug("string")
.envs(AppSpecWorkerEnvArgs.builder()
.key("string")
.scope("string")
.type("string")
.value("string")
.build())
.git(AppSpecWorkerGitArgs.builder()
.branch("string")
.repoCloneUrl("string")
.build())
.alerts(AppSpecWorkerAlertArgs.builder()
.operator("string")
.rule("string")
.value(0)
.window("string")
.disabled(false)
.build())
.gitlab(AppSpecWorkerGitlabArgs.builder()
.branch("string")
.deployOnPush(false)
.repo("string")
.build())
.dockerfilePath("string")
.instanceCount(0)
.instanceSizeSlug("string")
.logDestinations(AppSpecWorkerLogDestinationArgs.builder()
.name("string")
.datadog(AppSpecWorkerLogDestinationDatadogArgs.builder()
.apiKey("string")
.endpoint("string")
.build())
.logtail(AppSpecWorkerLogDestinationLogtailArgs.builder()
.token("string")
.build())
.openSearch(AppSpecWorkerLogDestinationOpenSearchArgs.builder()
.basicAuth(AppSpecWorkerLogDestinationOpenSearchBasicAuthArgs.builder()
.password("string")
.user("string")
.build())
.clusterName("string")
.endpoint("string")
.indexName("string")
.build())
.papertrail(AppSpecWorkerLogDestinationPapertrailArgs.builder()
.endpoint("string")
.build())
.build())
.buildCommand("string")
.runCommand("string")
.sourceDir("string")
.build())
.build())
.build());
app_resource = digitalocean.App("appResource",
dedicated_ips=[digitalocean.AppDedicatedIpArgs(
id="string",
ip="string",
status="string",
)],
project_id="string",
spec=digitalocean.AppSpecArgs(
name="string",
features=["string"],
ingress=digitalocean.AppSpecIngressArgs(
rules=[digitalocean.AppSpecIngressRuleArgs(
component=digitalocean.AppSpecIngressRuleComponentArgs(
name="string",
preserve_path_prefix=False,
rewrite="string",
),
cors=digitalocean.AppSpecIngressRuleCorsArgs(
allow_credentials=False,
allow_headers=["string"],
allow_methods=["string"],
allow_origins=digitalocean.AppSpecIngressRuleCorsAllowOriginsArgs(
exact="string",
regex="string",
),
expose_headers=["string"],
max_age="string",
),
match=digitalocean.AppSpecIngressRuleMatchArgs(
path=digitalocean.AppSpecIngressRuleMatchPathArgs(
prefix="string",
),
),
redirect=digitalocean.AppSpecIngressRuleRedirectArgs(
authority="string",
port=0,
redirect_code=0,
scheme="string",
uri="string",
),
)],
),
egresses=[digitalocean.AppSpecEgressArgs(
type="string",
)],
envs=[digitalocean.AppSpecEnvArgs(
key="string",
scope="string",
type="string",
value="string",
)],
alerts=[digitalocean.AppSpecAlertArgs(
rule="string",
disabled=False,
)],
functions=[digitalocean.AppSpecFunctionArgs(
name="string",
alerts=[digitalocean.AppSpecFunctionAlertArgs(
operator="string",
rule="string",
value=0,
window="string",
disabled=False,
)],
envs=[digitalocean.AppSpecFunctionEnvArgs(
key="string",
scope="string",
type="string",
value="string",
)],
git=digitalocean.AppSpecFunctionGitArgs(
branch="string",
repo_clone_url="string",
),
github=digitalocean.AppSpecFunctionGithubArgs(
branch="string",
deploy_on_push=False,
repo="string",
),
gitlab=digitalocean.AppSpecFunctionGitlabArgs(
branch="string",
deploy_on_push=False,
repo="string",
),
log_destinations=[digitalocean.AppSpecFunctionLogDestinationArgs(
name="string",
datadog=digitalocean.AppSpecFunctionLogDestinationDatadogArgs(
api_key="string",
endpoint="string",
),
logtail=digitalocean.AppSpecFunctionLogDestinationLogtailArgs(
token="string",
),
open_search=digitalocean.AppSpecFunctionLogDestinationOpenSearchArgs(
basic_auth=digitalocean.AppSpecFunctionLogDestinationOpenSearchBasicAuthArgs(
password="string",
user="string",
),
cluster_name="string",
endpoint="string",
index_name="string",
),
papertrail=digitalocean.AppSpecFunctionLogDestinationPapertrailArgs(
endpoint="string",
),
)],
source_dir="string",
)],
domain_names=[digitalocean.AppSpecDomainNameArgs(
name="string",
type="string",
wildcard=False,
zone="string",
)],
jobs=[digitalocean.AppSpecJobArgs(
name="string",
image=digitalocean.AppSpecJobImageArgs(
registry_type="string",
repository="string",
deploy_on_pushes=[digitalocean.AppSpecJobImageDeployOnPushArgs(
enabled=False,
)],
registry="string",
registry_credentials="string",
tag="string",
),
instance_count=0,
environment_slug="string",
envs=[digitalocean.AppSpecJobEnvArgs(
key="string",
scope="string",
type="string",
value="string",
)],
git=digitalocean.AppSpecJobGitArgs(
branch="string",
repo_clone_url="string",
),
github=digitalocean.AppSpecJobGithubArgs(
branch="string",
deploy_on_push=False,
repo="string",
),
dockerfile_path="string",
alerts=[digitalocean.AppSpecJobAlertArgs(
operator="string",
rule="string",
value=0,
window="string",
disabled=False,
)],
gitlab=digitalocean.AppSpecJobGitlabArgs(
branch="string",
deploy_on_push=False,
repo="string",
),
instance_size_slug="string",
kind="string",
log_destinations=[digitalocean.AppSpecJobLogDestinationArgs(
name="string",
datadog=digitalocean.AppSpecJobLogDestinationDatadogArgs(
api_key="string",
endpoint="string",
),
logtail=digitalocean.AppSpecJobLogDestinationLogtailArgs(
token="string",
),
open_search=digitalocean.AppSpecJobLogDestinationOpenSearchArgs(
basic_auth=digitalocean.AppSpecJobLogDestinationOpenSearchBasicAuthArgs(
password="string",
user="string",
),
cluster_name="string",
endpoint="string",
index_name="string",
),
papertrail=digitalocean.AppSpecJobLogDestinationPapertrailArgs(
endpoint="string",
),
)],
build_command="string",
run_command="string",
source_dir="string",
)],
databases=[digitalocean.AppSpecDatabaseArgs(
cluster_name="string",
db_name="string",
db_user="string",
engine="string",
name="string",
production=False,
version="string",
)],
region="string",
services=[digitalocean.AppSpecServiceArgs(
name="string",
health_check=digitalocean.AppSpecServiceHealthCheckArgs(
failure_threshold=0,
http_path="string",
initial_delay_seconds=0,
period_seconds=0,
port=0,
success_threshold=0,
timeout_seconds=0,
),
dockerfile_path="string",
environment_slug="string",
envs=[digitalocean.AppSpecServiceEnvArgs(
key="string",
scope="string",
type="string",
value="string",
)],
git=digitalocean.AppSpecServiceGitArgs(
branch="string",
repo_clone_url="string",
),
http_port=0,
source_dir="string",
build_command="string",
github=digitalocean.AppSpecServiceGithubArgs(
branch="string",
deploy_on_push=False,
repo="string",
),
image=digitalocean.AppSpecServiceImageArgs(
registry_type="string",
repository="string",
deploy_on_pushes=[digitalocean.AppSpecServiceImageDeployOnPushArgs(
enabled=False,
)],
registry="string",
registry_credentials="string",
tag="string",
),
instance_count=0,
instance_size_slug="string",
internal_ports=[0],
log_destinations=[digitalocean.AppSpecServiceLogDestinationArgs(
name="string",
datadog=digitalocean.AppSpecServiceLogDestinationDatadogArgs(
api_key="string",
endpoint="string",
),
logtail=digitalocean.AppSpecServiceLogDestinationLogtailArgs(
token="string",
),
open_search=digitalocean.AppSpecServiceLogDestinationOpenSearchArgs(
basic_auth=digitalocean.AppSpecServiceLogDestinationOpenSearchBasicAuthArgs(
password="string",
user="string",
),
cluster_name="string",
endpoint="string",
index_name="string",
),
papertrail=digitalocean.AppSpecServiceLogDestinationPapertrailArgs(
endpoint="string",
),
)],
autoscaling=digitalocean.AppSpecServiceAutoscalingArgs(
max_instance_count=0,
metrics=digitalocean.AppSpecServiceAutoscalingMetricsArgs(
cpu=digitalocean.AppSpecServiceAutoscalingMetricsCpuArgs(
percent=0,
),
),
min_instance_count=0,
),
alerts=[digitalocean.AppSpecServiceAlertArgs(
operator="string",
rule="string",
value=0,
window="string",
disabled=False,
)],
run_command="string",
gitlab=digitalocean.AppSpecServiceGitlabArgs(
branch="string",
deploy_on_push=False,
repo="string",
),
)],
static_sites=[digitalocean.AppSpecStaticSiteArgs(
name="string",
error_document="string",
github=digitalocean.AppSpecStaticSiteGithubArgs(
branch="string",
deploy_on_push=False,
repo="string",
),
dockerfile_path="string",
environment_slug="string",
envs=[digitalocean.AppSpecStaticSiteEnvArgs(
key="string",
scope="string",
type="string",
value="string",
)],
build_command="string",
git=digitalocean.AppSpecStaticSiteGitArgs(
branch="string",
repo_clone_url="string",
),
gitlab=digitalocean.AppSpecStaticSiteGitlabArgs(
branch="string",
deploy_on_push=False,
repo="string",
),
index_document="string",
catchall_document="string",
output_dir="string",
source_dir="string",
)],
workers=[digitalocean.AppSpecWorkerArgs(
name="string",
github=digitalocean.AppSpecWorkerGithubArgs(
branch="string",
deploy_on_push=False,
repo="string",
),
image=digitalocean.AppSpecWorkerImageArgs(
registry_type="string",
repository="string",
deploy_on_pushes=[digitalocean.AppSpecWorkerImageDeployOnPushArgs(
enabled=False,
)],
registry="string",
registry_credentials="string",
tag="string",
),
environment_slug="string",
envs=[digitalocean.AppSpecWorkerEnvArgs(
key="string",
scope="string",
type="string",
value="string",
)],
git=digitalocean.AppSpecWorkerGitArgs(
branch="string",
repo_clone_url="string",
),
alerts=[digitalocean.AppSpecWorkerAlertArgs(
operator="string",
rule="string",
value=0,
window="string",
disabled=False,
)],
gitlab=digitalocean.AppSpecWorkerGitlabArgs(
branch="string",
deploy_on_push=False,
repo="string",
),
dockerfile_path="string",
instance_count=0,
instance_size_slug="string",
log_destinations=[digitalocean.AppSpecWorkerLogDestinationArgs(
name="string",
datadog=digitalocean.AppSpecWorkerLogDestinationDatadogArgs(
api_key="string",
endpoint="string",
),
logtail=digitalocean.AppSpecWorkerLogDestinationLogtailArgs(
token="string",
),
open_search=digitalocean.AppSpecWorkerLogDestinationOpenSearchArgs(
basic_auth=digitalocean.AppSpecWorkerLogDestinationOpenSearchBasicAuthArgs(
password="string",
user="string",
),
cluster_name="string",
endpoint="string",
index_name="string",
),
papertrail=digitalocean.AppSpecWorkerLogDestinationPapertrailArgs(
endpoint="string",
),
)],
build_command="string",
run_command="string",
source_dir="string",
)],
))
const appResource = new digitalocean.App("appResource", {
dedicatedIps: [{
id: "string",
ip: "string",
status: "string",
}],
projectId: "string",
spec: {
name: "string",
features: ["string"],
ingress: {
rules: [{
component: {
name: "string",
preservePathPrefix: false,
rewrite: "string",
},
cors: {
allowCredentials: false,
allowHeaders: ["string"],
allowMethods: ["string"],
allowOrigins: {
exact: "string",
regex: "string",
},
exposeHeaders: ["string"],
maxAge: "string",
},
match: {
path: {
prefix: "string",
},
},
redirect: {
authority: "string",
port: 0,
redirectCode: 0,
scheme: "string",
uri: "string",
},
}],
},
egresses: [{
type: "string",
}],
envs: [{
key: "string",
scope: "string",
type: "string",
value: "string",
}],
alerts: [{
rule: "string",
disabled: false,
}],
functions: [{
name: "string",
alerts: [{
operator: "string",
rule: "string",
value: 0,
window: "string",
disabled: false,
}],
envs: [{
key: "string",
scope: "string",
type: "string",
value: "string",
}],
git: {
branch: "string",
repoCloneUrl: "string",
},
github: {
branch: "string",
deployOnPush: false,
repo: "string",
},
gitlab: {
branch: "string",
deployOnPush: false,
repo: "string",
},
logDestinations: [{
name: "string",
datadog: {
apiKey: "string",
endpoint: "string",
},
logtail: {
token: "string",
},
openSearch: {
basicAuth: {
password: "string",
user: "string",
},
clusterName: "string",
endpoint: "string",
indexName: "string",
},
papertrail: {
endpoint: "string",
},
}],
sourceDir: "string",
}],
domainNames: [{
name: "string",
type: "string",
wildcard: false,
zone: "string",
}],
jobs: [{
name: "string",
image: {
registryType: "string",
repository: "string",
deployOnPushes: [{
enabled: false,
}],
registry: "string",
registryCredentials: "string",
tag: "string",
},
instanceCount: 0,
environmentSlug: "string",
envs: [{
key: "string",
scope: "string",
type: "string",
value: "string",
}],
git: {
branch: "string",
repoCloneUrl: "string",
},
github: {
branch: "string",
deployOnPush: false,
repo: "string",
},
dockerfilePath: "string",
alerts: [{
operator: "string",
rule: "string",
value: 0,
window: "string",
disabled: false,
}],
gitlab: {
branch: "string",
deployOnPush: false,
repo: "string",
},
instanceSizeSlug: "string",
kind: "string",
logDestinations: [{
name: "string",
datadog: {
apiKey: "string",
endpoint: "string",
},
logtail: {
token: "string",
},
openSearch: {
basicAuth: {
password: "string",
user: "string",
},
clusterName: "string",
endpoint: "string",
indexName: "string",
},
papertrail: {
endpoint: "string",
},
}],
buildCommand: "string",
runCommand: "string",
sourceDir: "string",
}],
databases: [{
clusterName: "string",
dbName: "string",
dbUser: "string",
engine: "string",
name: "string",
production: false,
version: "string",
}],
region: "string",
services: [{
name: "string",
healthCheck: {
failureThreshold: 0,
httpPath: "string",
initialDelaySeconds: 0,
periodSeconds: 0,
port: 0,
successThreshold: 0,
timeoutSeconds: 0,
},
dockerfilePath: "string",
environmentSlug: "string",
envs: [{
key: "string",
scope: "string",
type: "string",
value: "string",
}],
git: {
branch: "string",
repoCloneUrl: "string",
},
httpPort: 0,
sourceDir: "string",
buildCommand: "string",
github: {
branch: "string",
deployOnPush: false,
repo: "string",
},
image: {
registryType: "string",
repository: "string",
deployOnPushes: [{
enabled: false,
}],
registry: "string",
registryCredentials: "string",
tag: "string",
},
instanceCount: 0,
instanceSizeSlug: "string",
internalPorts: [0],
logDestinations: [{
name: "string",
datadog: {
apiKey: "string",
endpoint: "string",
},
logtail: {
token: "string",
},
openSearch: {
basicAuth: {
password: "string",
user: "string",
},
clusterName: "string",
endpoint: "string",
indexName: "string",
},
papertrail: {
endpoint: "string",
},
}],
autoscaling: {
maxInstanceCount: 0,
metrics: {
cpu: {
percent: 0,
},
},
minInstanceCount: 0,
},
alerts: [{
operator: "string",
rule: "string",
value: 0,
window: "string",
disabled: false,
}],
runCommand: "string",
gitlab: {
branch: "string",
deployOnPush: false,
repo: "string",
},
}],
staticSites: [{
name: "string",
errorDocument: "string",
github: {
branch: "string",
deployOnPush: false,
repo: "string",
},
dockerfilePath: "string",
environmentSlug: "string",
envs: [{
key: "string",
scope: "string",
type: "string",
value: "string",
}],
buildCommand: "string",
git: {
branch: "string",
repoCloneUrl: "string",
},
gitlab: {
branch: "string",
deployOnPush: false,
repo: "string",
},
indexDocument: "string",
catchallDocument: "string",
outputDir: "string",
sourceDir: "string",
}],
workers: [{
name: "string",
github: {
branch: "string",
deployOnPush: false,
repo: "string",
},
image: {
registryType: "string",
repository: "string",
deployOnPushes: [{
enabled: false,
}],
registry: "string",
registryCredentials: "string",
tag: "string",
},
environmentSlug: "string",
envs: [{
key: "string",
scope: "string",
type: "string",
value: "string",
}],
git: {
branch: "string",
repoCloneUrl: "string",
},
alerts: [{
operator: "string",
rule: "string",
value: 0,
window: "string",
disabled: false,
}],
gitlab: {
branch: "string",
deployOnPush: false,
repo: "string",
},
dockerfilePath: "string",
instanceCount: 0,
instanceSizeSlug: "string",
logDestinations: [{
name: "string",
datadog: {
apiKey: "string",
endpoint: "string",
},
logtail: {
token: "string",
},
openSearch: {
basicAuth: {
password: "string",
user: "string",
},
clusterName: "string",
endpoint: "string",
indexName: "string",
},
papertrail: {
endpoint: "string",
},
}],
buildCommand: "string",
runCommand: "string",
sourceDir: "string",
}],
},
});
type: digitalocean:App
properties:
dedicatedIps:
- id: string
ip: string
status: string
projectId: string
spec:
alerts:
- disabled: false
rule: string
databases:
- clusterName: string
dbName: string
dbUser: string
engine: string
name: string
production: false
version: string
domainNames:
- name: string
type: string
wildcard: false
zone: string
egresses:
- type: string
envs:
- key: string
scope: string
type: string
value: string
features:
- string
functions:
- alerts:
- disabled: false
operator: string
rule: string
value: 0
window: string
envs:
- key: string
scope: string
type: string
value: string
git:
branch: string
repoCloneUrl: string
github:
branch: string
deployOnPush: false
repo: string
gitlab:
branch: string
deployOnPush: false
repo: string
logDestinations:
- datadog:
apiKey: string
endpoint: string
logtail:
token: string
name: string
openSearch:
basicAuth:
password: string
user: string
clusterName: string
endpoint: string
indexName: string
papertrail:
endpoint: string
name: string
sourceDir: string
ingress:
rules:
- component:
name: string
preservePathPrefix: false
rewrite: string
cors:
allowCredentials: false
allowHeaders:
- string
allowMethods:
- string
allowOrigins:
exact: string
regex: string
exposeHeaders:
- string
maxAge: string
match:
path:
prefix: string
redirect:
authority: string
port: 0
redirectCode: 0
scheme: string
uri: string
jobs:
- alerts:
- disabled: false
operator: string
rule: string
value: 0
window: string
buildCommand: string
dockerfilePath: string
environmentSlug: string
envs:
- key: string
scope: string
type: string
value: string
git:
branch: string
repoCloneUrl: string
github:
branch: string
deployOnPush: false
repo: string
gitlab:
branch: string
deployOnPush: false
repo: string
image:
deployOnPushes:
- enabled: false
registry: string
registryCredentials: string
registryType: string
repository: string
tag: string
instanceCount: 0
instanceSizeSlug: string
kind: string
logDestinations:
- datadog:
apiKey: string
endpoint: string
logtail:
token: string
name: string
openSearch:
basicAuth:
password: string
user: string
clusterName: string
endpoint: string
indexName: string
papertrail:
endpoint: string
name: string
runCommand: string
sourceDir: string
name: string
region: string
services:
- alerts:
- disabled: false
operator: string
rule: string
value: 0
window: string
autoscaling:
maxInstanceCount: 0
metrics:
cpu:
percent: 0
minInstanceCount: 0
buildCommand: string
dockerfilePath: string
environmentSlug: string
envs:
- key: string
scope: string
type: string
value: string
git:
branch: string
repoCloneUrl: string
github:
branch: string
deployOnPush: false
repo: string
gitlab:
branch: string
deployOnPush: false
repo: string
healthCheck:
failureThreshold: 0
httpPath: string
initialDelaySeconds: 0
periodSeconds: 0
port: 0
successThreshold: 0
timeoutSeconds: 0
httpPort: 0
image:
deployOnPushes:
- enabled: false
registry: string
registryCredentials: string
registryType: string
repository: string
tag: string
instanceCount: 0
instanceSizeSlug: string
internalPorts:
- 0
logDestinations:
- datadog:
apiKey: string
endpoint: string
logtail:
token: string
name: string
openSearch:
basicAuth:
password: string
user: string
clusterName: string
endpoint: string
indexName: string
papertrail:
endpoint: string
name: string
runCommand: string
sourceDir: string
staticSites:
- buildCommand: string
catchallDocument: string
dockerfilePath: string
environmentSlug: string
envs:
- key: string
scope: string
type: string
value: string
errorDocument: string
git:
branch: string
repoCloneUrl: string
github:
branch: string
deployOnPush: false
repo: string
gitlab:
branch: string
deployOnPush: false
repo: string
indexDocument: string
name: string
outputDir: string
sourceDir: string
workers:
- alerts:
- disabled: false
operator: string
rule: string
value: 0
window: string
buildCommand: string
dockerfilePath: string
environmentSlug: string
envs:
- key: string
scope: string
type: string
value: string
git:
branch: string
repoCloneUrl: string
github:
branch: string
deployOnPush: false
repo: string
gitlab:
branch: string
deployOnPush: false
repo: string
image:
deployOnPushes:
- enabled: false
registry: string
registryCredentials: string
registryType: string
repository: string
tag: string
instanceCount: 0
instanceSizeSlug: string
logDestinations:
- datadog:
apiKey: string
endpoint: string
logtail:
token: string
name: string
openSearch:
basicAuth:
password: string
user: string
clusterName: string
endpoint: string
indexName: string
papertrail:
endpoint: string
name: string
runCommand: string
sourceDir: string
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:
- Dedicated
Ips List<Pulumi.Digital Ocean. Inputs. App Dedicated Ip> - The dedicated egress IP addresses associated with the app.
- Project
Id string The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- Spec
Pulumi.
Digital Ocean. Inputs. App Spec - A DigitalOcean App spec describing the app.
- Dedicated
Ips []AppDedicated Ip Args - The dedicated egress IP addresses associated with the app.
- Project
Id string The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- Spec
App
Spec Args - A DigitalOcean App spec describing the app.
- dedicated
Ips List<AppDedicated Ip> - The dedicated egress IP addresses associated with the app.
- project
Id String The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- spec
App
Spec - A DigitalOcean App spec describing the app.
- dedicated
Ips AppDedicated Ip[] - The dedicated egress IP addresses associated with the app.
- project
Id string The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- spec
App
Spec - A DigitalOcean App spec describing the app.
- dedicated_
ips Sequence[AppDedicated Ip Args] - The dedicated egress IP addresses associated with the app.
- project_
id str The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- spec
App
Spec Args - A DigitalOcean App spec describing the app.
- dedicated
Ips List<Property Map> - The dedicated egress IP addresses associated with the app.
- project
Id String The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- 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
Domain string - The live domain of the app.
- 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
Domain string - The live domain of the app.
- 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
Domain String - The live domain of the app.
- 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
Domain string - The live domain of the app.
- 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_
domain str - The live domain of the app.
- 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
Domain String - The live domain of the app.
- 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,
dedicated_ips: Optional[Sequence[AppDedicatedIpArgs]] = None,
default_ingress: Optional[str] = None,
live_domain: Optional[str] = None,
live_url: Optional[str] = None,
project_id: 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.
- Dedicated
Ips List<Pulumi.Digital Ocean. Inputs. App Dedicated Ip> - The dedicated egress IP addresses associated with the app.
- Default
Ingress string - The default URL to access the app.
- Live
Domain string - The live domain of the app.
- Live
Url string - The live URL of the app.
- Project
Id string The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- 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.
- Dedicated
Ips []AppDedicated Ip Args - The dedicated egress IP addresses associated with the app.
- Default
Ingress string - The default URL to access the app.
- Live
Domain string - The live domain of the app.
- Live
Url string - The live URL of the app.
- Project
Id string The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- 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.
- dedicated
Ips List<AppDedicated Ip> - The dedicated egress IP addresses associated with the app.
- default
Ingress String - The default URL to access the app.
- live
Domain String - The live domain of the app.
- live
Url String - The live URL of the app.
- project
Id String The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- 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.
- dedicated
Ips AppDedicated Ip[] - The dedicated egress IP addresses associated with the app.
- default
Ingress string - The default URL to access the app.
- live
Domain string - The live domain of the app.
- live
Url string - The live URL of the app.
- project
Id string The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- 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.
- dedicated_
ips Sequence[AppDedicated Ip Args] - The dedicated egress IP addresses associated with the app.
- default_
ingress str - The default URL to access the app.
- live_
domain str - The live domain of the app.
- live_
url str - The live URL of the app.
- project_
id str The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- 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.
- dedicated
Ips List<Property Map> - The dedicated egress IP addresses associated with the app.
- default
Ingress String - The default URL to access the app.
- live
Domain String - The live domain of the app.
- live
Url String - The live URL of the app.
- project
Id String The ID of the project that the app is assigned to.
A spec can contain multiple components.
A
service
can contain:- 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
AppDedicatedIp, AppDedicatedIpArgs
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>
- Egresses
List<Pulumi.
Digital Ocean. Inputs. App Spec Egress> - Specification for app egress configurations.
- Envs
List<Pulumi.
Digital Ocean. Inputs. App Spec Env> - Describes an environment variable made available to an app competent.
- Features List<string>
- A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the doctl CLI
- Functions
List<Pulumi.
Digital Ocean. Inputs. App Spec Function> - Ingress
Pulumi.
Digital Ocean. Inputs. App Spec Ingress - Specification for component routing, rewrites, and redirects.
- 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
- Egresses
[]App
Spec Egress - Specification for app egress configurations.
- Envs
[]App
Spec Env - Describes an environment variable made available to an app competent.
- Features []string
- A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the doctl CLI
- Functions
[]App
Spec Function - Ingress
App
Spec Ingress - Specification for component routing, rewrites, and redirects.
- 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>
- egresses
List<App
Spec Egress> - Specification for app egress configurations.
- envs
List<App
Spec Env> - Describes an environment variable made available to an app competent.
- features List<String>
- A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the doctl CLI
- functions
List<App
Spec Function> - ingress
App
Spec Ingress - Specification for component routing, rewrites, and redirects.
- 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[]
- egresses
App
Spec Egress[] - Specification for app egress configurations.
- envs
App
Spec Env[] - Describes an environment variable made available to an app competent.
- features string[]
- A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the doctl CLI
- functions
App
Spec Function[] - ingress
App
Spec Ingress - Specification for component routing, rewrites, and redirects.
- 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]
- egresses
Sequence[App
Spec Egress] - Specification for app egress configurations.
- envs
Sequence[App
Spec Env] - Describes an environment variable made available to an app competent.
- features Sequence[str]
- A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the doctl CLI
- functions
Sequence[App
Spec Function] - ingress
App
Spec Ingress - Specification for component routing, rewrites, and redirects.
- 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>
- egresses List<Property Map>
- Specification for app egress configurations.
- envs List<Property Map>
- Describes an environment variable made available to an app competent.
- features List<String>
- A list of the features applied to the app. The default buildpack can be overridden here. List of available buildpacks can be found using the doctl CLI
- functions List<Property Map>
- ingress Property Map
- Specification for component routing, rewrites, and redirects.
- 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
,MONGODB
,KAFKA
, orOPENSEARCH
). - 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
,MONGODB
,KAFKA
, orOPENSEARCH
). - 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
,MONGODB
,KAFKA
, orOPENSEARCH
). - 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
,MONGODB
,KAFKA
, orOPENSEARCH
). - 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
,MONGODB
,KAFKA
, orOPENSEARCH
). - 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
,MONGODB
,KAFKA
, orOPENSEARCH
). - 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 hostname for the domain.
- Type string
- The domain type, which can be one of the following:
DEFAULT
: The default .ondigitalocean.app domain assigned to this app.PRIMARY
: The primary domain for this app that is displayed as the default in the control panel, used in bindable environment variables, and any other places that reference an app's live URL. Only one domain may be set as primary.ALIAS
: A non-primary domain.
- 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 hostname for the domain.
- Type string
- The domain type, which can be one of the following:
DEFAULT
: The default .ondigitalocean.app domain assigned to this app.PRIMARY
: The primary domain for this app that is displayed as the default in the control panel, used in bindable environment variables, and any other places that reference an app's live URL. Only one domain may be set as primary.ALIAS
: A non-primary domain.
- 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 hostname for the domain.
- type String
- The domain type, which can be one of the following:
DEFAULT
: The default .ondigitalocean.app domain assigned to this app.PRIMARY
: The primary domain for this app that is displayed as the default in the control panel, used in bindable environment variables, and any other places that reference an app's live URL. Only one domain may be set as primary.ALIAS
: A non-primary domain.
- 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 hostname for the domain.
- type string
- The domain type, which can be one of the following:
DEFAULT
: The default .ondigitalocean.app domain assigned to this app.PRIMARY
: The primary domain for this app that is displayed as the default in the control panel, used in bindable environment variables, and any other places that reference an app's live URL. Only one domain may be set as primary.ALIAS
: A non-primary domain.
- 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 hostname for the domain.
- type str
- The domain type, which can be one of the following:
DEFAULT
: The default .ondigitalocean.app domain assigned to this app.PRIMARY
: The primary domain for this app that is displayed as the default in the control panel, used in bindable environment variables, and any other places that reference an app's live URL. Only one domain may be set as primary.ALIAS
: A non-primary domain.
- 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 hostname for the domain.
- type String
- The domain type, which can be one of the following:
DEFAULT
: The default .ondigitalocean.app domain assigned to this app.PRIMARY
: The primary domain for this app that is displayed as the default in the control panel, used in bindable environment variables, and any other places that reference an app's live URL. Only one domain may be set as primary.ALIAS
: A non-primary domain.
- 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.
AppSpecEgress, AppSpecEgressArgs
- Type string
- The app egress type:
AUTOASSIGN
,DEDICATED_IP
- Type string
- The app egress type:
AUTOASSIGN
,DEDICATED_IP
- type String
- The app egress type:
AUTOASSIGN
,DEDICATED_IP
- type string
- The app egress type:
AUTOASSIGN
,DEDICATED_IP
- type str
- The app egress type:
AUTOASSIGN
,DEDICATED_IP
- type String
- The app egress type:
AUTOASSIGN
,DEDICATED_IP
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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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
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
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- 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.
- Open
Search Pulumi.Digital Ocean. Inputs. App Spec Function Log Destination Open Search - OpenSearch configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. App Spec Function Log Destination Papertrail - Papertrail configuration.
- Name string
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- Datadog
App
Spec Function Log Destination Datadog - Datadog configuration.
- Logtail
App
Spec Function Log Destination Logtail - Logtail configuration.
- Open
Search AppSpec Function Log Destination Open Search - OpenSearch configuration.
- Papertrail
App
Spec Function Log Destination Papertrail - Papertrail configuration.
- name String
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Function Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Function Log Destination Logtail - Logtail configuration.
- open
Search AppSpec Function Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Function Log Destination Papertrail - Papertrail configuration.
- name string
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Function Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Function Log Destination Logtail - Logtail configuration.
- open
Search AppSpec Function Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Function Log Destination Papertrail - Papertrail configuration.
- name str
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Function Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Function Log Destination Logtail - Logtail configuration.
- open_
search AppSpec Function Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Function Log Destination Papertrail - Papertrail configuration.
- name String
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog Property Map
- Datadog configuration.
- logtail Property Map
- Logtail configuration.
- open
Search Property Map - OpenSearch configuration.
- papertrail Property Map
- Papertrail configuration.
AppSpecFunctionLogDestinationDatadog, AppSpecFunctionLogDestinationDatadogArgs
AppSpecFunctionLogDestinationLogtail, AppSpecFunctionLogDestinationLogtailArgs
- Token string
- Logtail token.
- Token string
- Logtail token.
- token String
- Logtail token.
- token string
- Logtail token.
- token str
- Logtail token.
- token String
- Logtail token.
AppSpecFunctionLogDestinationOpenSearch, AppSpecFunctionLogDestinationOpenSearchArgs
- Basic
Auth Pulumi.Digital Ocean. Inputs. App Spec Function Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - Endpoint string
- OpenSearch endpoint.
- Index
Name string - OpenSearch index name.
- Basic
Auth AppSpec Function Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - Endpoint string
- OpenSearch endpoint.
- Index
Name string - OpenSearch index name.
- basic
Auth AppSpec Function Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint String
- OpenSearch endpoint.
- index
Name String - OpenSearch index name.
- basic
Auth AppSpec Function Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint string
- OpenSearch endpoint.
- index
Name string - OpenSearch index name.
- basic_
auth AppSpec Function Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint str
- OpenSearch endpoint.
- index_
name str - OpenSearch index name.
- basic
Auth Property Map - Basic authentication details.
- 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. - endpoint String
- OpenSearch endpoint.
- index
Name String - OpenSearch index name.
AppSpecFunctionLogDestinationOpenSearchBasicAuth, AppSpecFunctionLogDestinationOpenSearchBasicAuthArgs
AppSpecFunctionLogDestinationPapertrail, AppSpecFunctionLogDestinationPapertrailArgs
- Endpoint string
- Papertrail syslog endpoint.
- Endpoint string
- Papertrail syslog endpoint.
- endpoint String
- Papertrail syslog endpoint.
- endpoint string
- Papertrail syslog endpoint.
- endpoint str
- Papertrail syslog endpoint.
- endpoint String
- Papertrail syslog 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.
AppSpecIngress, AppSpecIngressArgs
- Rules
List<Pulumi.
Digital Ocean. Inputs. App Spec Ingress Rule> - Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects.
- Rules
[]App
Spec Ingress Rule - Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects.
- rules
List<App
Spec Ingress Rule> - Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects.
- rules
App
Spec Ingress Rule[] - Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects.
- rules
Sequence[App
Spec Ingress Rule] - Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects.
- rules List<Property Map>
- Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects.
AppSpecIngressRule, AppSpecIngressRuleArgs
- Component
Pulumi.
Digital Ocean. Inputs. App Spec Ingress Rule Component - The component to route to. Only one of
component
orredirect
may be set. - Cors
Pulumi.
Digital Ocean. Inputs. App Spec Ingress Rule Cors - The CORS policies of the app.
- Match
Pulumi.
Digital Ocean. Inputs. App Spec Ingress Rule Match - The match configuration for the rule
- Redirect
Pulumi.
Digital Ocean. Inputs. App Spec Ingress Rule Redirect - The redirect configuration for the rule. Only one of
component
orredirect
may be set.
- Component
App
Spec Ingress Rule Component - The component to route to. Only one of
component
orredirect
may be set. - Cors
App
Spec Ingress Rule Cors - The CORS policies of the app.
- Match
App
Spec Ingress Rule Match - The match configuration for the rule
- Redirect
App
Spec Ingress Rule Redirect - The redirect configuration for the rule. Only one of
component
orredirect
may be set.
- component
App
Spec Ingress Rule Component - The component to route to. Only one of
component
orredirect
may be set. - cors
App
Spec Ingress Rule Cors - The CORS policies of the app.
- match
App
Spec Ingress Rule Match - The match configuration for the rule
- redirect
App
Spec Ingress Rule Redirect - The redirect configuration for the rule. Only one of
component
orredirect
may be set.
- component
App
Spec Ingress Rule Component - The component to route to. Only one of
component
orredirect
may be set. - cors
App
Spec Ingress Rule Cors - The CORS policies of the app.
- match
App
Spec Ingress Rule Match - The match configuration for the rule
- redirect
App
Spec Ingress Rule Redirect - The redirect configuration for the rule. Only one of
component
orredirect
may be set.
- component
App
Spec Ingress Rule Component - The component to route to. Only one of
component
orredirect
may be set. - cors
App
Spec Ingress Rule Cors - The CORS policies of the app.
- match
App
Spec Ingress Rule Match - The match configuration for the rule
- redirect
App
Spec Ingress Rule Redirect - The redirect configuration for the rule. Only one of
component
orredirect
may be set.
- component Property Map
- The component to route to. Only one of
component
orredirect
may be set. - cors Property Map
- The CORS policies of the app.
- match Property Map
- The match configuration for the rule
- redirect Property Map
- The redirect configuration for the rule. Only one of
component
orredirect
may be set.
AppSpecIngressRuleComponent, AppSpecIngressRuleComponentArgs
- Name string
- The name of the component to route to.
- Preserve
Path boolPrefix - An optional boolean flag to preserve the path that is forwarded to the backend service. By default, the HTTP request path will be trimmed from the left when forwarded to the component.
- Rewrite string
- An optional field that will rewrite the path of the component to be what is specified here. This is mutually exclusive with
preserve_path_prefix
.
- Name string
- The name of the component to route to.
- Preserve
Path boolPrefix - An optional boolean flag to preserve the path that is forwarded to the backend service. By default, the HTTP request path will be trimmed from the left when forwarded to the component.
- Rewrite string
- An optional field that will rewrite the path of the component to be what is specified here. This is mutually exclusive with
preserve_path_prefix
.
- name String
- The name of the component to route to.
- preserve
Path BooleanPrefix - An optional boolean flag to preserve the path that is forwarded to the backend service. By default, the HTTP request path will be trimmed from the left when forwarded to the component.
- rewrite String
- An optional field that will rewrite the path of the component to be what is specified here. This is mutually exclusive with
preserve_path_prefix
.
- name string
- The name of the component to route to.
- preserve
Path booleanPrefix - An optional boolean flag to preserve the path that is forwarded to the backend service. By default, the HTTP request path will be trimmed from the left when forwarded to the component.
- rewrite string
- An optional field that will rewrite the path of the component to be what is specified here. This is mutually exclusive with
preserve_path_prefix
.
- name str
- The name of the component to route to.
- preserve_
path_ boolprefix - An optional boolean flag to preserve the path that is forwarded to the backend service. By default, the HTTP request path will be trimmed from the left when forwarded to the component.
- rewrite str
- An optional field that will rewrite the path of the component to be what is specified here. This is mutually exclusive with
preserve_path_prefix
.
- name String
- The name of the component to route to.
- preserve
Path BooleanPrefix - An optional boolean flag to preserve the path that is forwarded to the backend service. By default, the HTTP request path will be trimmed from the left when forwarded to the component.
- rewrite String
- An optional field that will rewrite the path of the component to be what is specified here. This is mutually exclusive with
preserve_path_prefix
.
AppSpecIngressRuleCors, AppSpecIngressRuleCorsArgs
- 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 Ingress Rule 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 Ingress Rule 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 Ingress Rule 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 Ingress Rule 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 Ingress Rule 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
.
AppSpecIngressRuleCorsAllowOrigins, AppSpecIngressRuleCorsAllowOriginsArgs
- 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.
AppSpecIngressRuleMatch, AppSpecIngressRuleMatchArgs
- Path
Pulumi.
Digital Ocean. Inputs. App Spec Ingress Rule Match Path - The path to match on.
- Path
App
Spec Ingress Rule Match Path - The path to match on.
- path
App
Spec Ingress Rule Match Path - The path to match on.
- path
App
Spec Ingress Rule Match Path - The path to match on.
- path
App
Spec Ingress Rule Match Path - The path to match on.
- path Property Map
- The path to match on.
AppSpecIngressRuleMatchPath, AppSpecIngressRuleMatchPathArgs
- Prefix string
- Prefix-based match.
- Prefix string
- Prefix-based match.
- prefix String
- Prefix-based match.
- prefix string
- Prefix-based match.
- prefix str
- Prefix-based match.
- prefix String
- Prefix-based match.
AppSpecIngressRuleRedirect, AppSpecIngressRuleRedirectArgs
- string
- The authority/host to redirect to. This can be a hostname or IP address.
- Port int
- The port to redirect to.
- Redirect
Code int - The redirect code to use. Supported values are
300
,301
,302
,303
,304
,307
,308
. - Scheme string
- The scheme to redirect to. Supported values are
http
orhttps
- Uri string
- An optional URI path to redirect to.
- string
- The authority/host to redirect to. This can be a hostname or IP address.
- Port int
- The port to redirect to.
- Redirect
Code int - The redirect code to use. Supported values are
300
,301
,302
,303
,304
,307
,308
. - Scheme string
- The scheme to redirect to. Supported values are
http
orhttps
- Uri string
- An optional URI path to redirect to.
- String
- The authority/host to redirect to. This can be a hostname or IP address.
- port Integer
- The port to redirect to.
- redirect
Code Integer - The redirect code to use. Supported values are
300
,301
,302
,303
,304
,307
,308
. - scheme String
- The scheme to redirect to. Supported values are
http
orhttps
- uri String
- An optional URI path to redirect to.
- string
- The authority/host to redirect to. This can be a hostname or IP address.
- port number
- The port to redirect to.
- redirect
Code number - The redirect code to use. Supported values are
300
,301
,302
,303
,304
,307
,308
. - scheme string
- The scheme to redirect to. Supported values are
http
orhttps
- uri string
- An optional URI path to redirect to.
- str
- The authority/host to redirect to. This can be a hostname or IP address.
- port int
- The port to redirect to.
- redirect_
code int - The redirect code to use. Supported values are
300
,301
,302
,303
,304
,307
,308
. - scheme str
- The scheme to redirect to. Supported values are
http
orhttps
- uri str
- An optional URI path to redirect to.
- String
- The authority/host to redirect to. This can be a hostname or IP address.
- port Number
- The port to redirect to.
- redirect
Code Number - The redirect code to use. Supported values are
300
,301
,302
,303
,304
,307
,308
. - scheme String
- The scheme to redirect to. Supported values are
http
orhttps
- uri String
- An optional URI path to redirect to.
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:
UNSPECIFIED
: Default job type, will auto-complete to POST_DEPLOY kind.PRE_DEPLOY
: Indicates a job that runs before an app deployment.POST_DEPLOY
: Indicates a job that runs after an app deployment.FAILED_DEPLOY
: Indicates a job that runs after a component fails to deploy.
- 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:
UNSPECIFIED
: Default job type, will auto-complete to POST_DEPLOY kind.PRE_DEPLOY
: Indicates a job that runs before an app deployment.POST_DEPLOY
: Indicates a job that runs after an app deployment.FAILED_DEPLOY
: Indicates a job that runs after a component fails to deploy.
- 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:
UNSPECIFIED
: Default job type, will auto-complete to POST_DEPLOY kind.PRE_DEPLOY
: Indicates a job that runs before an app deployment.POST_DEPLOY
: Indicates a job that runs after an app deployment.FAILED_DEPLOY
: Indicates a job that runs after a component fails to deploy.
- 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:
UNSPECIFIED
: Default job type, will auto-complete to POST_DEPLOY kind.PRE_DEPLOY
: Indicates a job that runs before an app deployment.POST_DEPLOY
: Indicates a job that runs after an app deployment.FAILED_DEPLOY
: Indicates a job that runs after a component fails to deploy.
- 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:
UNSPECIFIED
: Default job type, will auto-complete to POST_DEPLOY kind.PRE_DEPLOY
: Indicates a job that runs before an app deployment.POST_DEPLOY
: Indicates a job that runs after an app deployment.FAILED_DEPLOY
: Indicates a job that runs after a component fails to deploy.
- 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:
UNSPECIFIED
: Default job type, will auto-complete to POST_DEPLOY kind.PRE_DEPLOY
: Indicates a job that runs before an app deployment.POST_DEPLOY
: Indicates a job that runs after an app deployment.FAILED_DEPLOY
: Indicates a job that runs after a component fails to deploy.
- 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> - Configures automatically deploying images pushed to DOCR.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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 - Configures automatically deploying images pushed to DOCR.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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> - Configures automatically deploying images pushed to DOCR.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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[] - Configures automatically deploying images pushed to DOCR.
- registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials string - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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] - Configures automatically deploying images pushed to DOCR.
- registry str
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry_
credentials str - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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 - Configures automatically deploying images pushed to DOCR.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- 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.
- Open
Search Pulumi.Digital Ocean. Inputs. App Spec Job Log Destination Open Search - OpenSearch configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. App Spec Job Log Destination Papertrail - Papertrail configuration.
- Name string
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- Datadog
App
Spec Job Log Destination Datadog - Datadog configuration.
- Logtail
App
Spec Job Log Destination Logtail - Logtail configuration.
- Open
Search AppSpec Job Log Destination Open Search - OpenSearch configuration.
- Papertrail
App
Spec Job Log Destination Papertrail - Papertrail configuration.
- name String
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Job Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Job Log Destination Logtail - Logtail configuration.
- open
Search AppSpec Job Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Job Log Destination Papertrail - Papertrail configuration.
- name string
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Job Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Job Log Destination Logtail - Logtail configuration.
- open
Search AppSpec Job Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Job Log Destination Papertrail - Papertrail configuration.
- name str
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Job Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Job Log Destination Logtail - Logtail configuration.
- open_
search AppSpec Job Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Job Log Destination Papertrail - Papertrail configuration.
- name String
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog Property Map
- Datadog configuration.
- logtail Property Map
- Logtail configuration.
- open
Search Property Map - OpenSearch configuration.
- papertrail Property Map
- Papertrail configuration.
AppSpecJobLogDestinationDatadog, AppSpecJobLogDestinationDatadogArgs
AppSpecJobLogDestinationLogtail, AppSpecJobLogDestinationLogtailArgs
- Token string
- Logtail token.
- Token string
- Logtail token.
- token String
- Logtail token.
- token string
- Logtail token.
- token str
- Logtail token.
- token String
- Logtail token.
AppSpecJobLogDestinationOpenSearch, AppSpecJobLogDestinationOpenSearchArgs
- Basic
Auth Pulumi.Digital Ocean. Inputs. App Spec Job Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - Endpoint string
- OpenSearch endpoint.
- Index
Name string - OpenSearch index name.
- Basic
Auth AppSpec Job Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - Endpoint string
- OpenSearch endpoint.
- Index
Name string - OpenSearch index name.
- basic
Auth AppSpec Job Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint String
- OpenSearch endpoint.
- index
Name String - OpenSearch index name.
- basic
Auth AppSpec Job Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint string
- OpenSearch endpoint.
- index
Name string - OpenSearch index name.
- basic_
auth AppSpec Job Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint str
- OpenSearch endpoint.
- index_
name str - OpenSearch index name.
- basic
Auth Property Map - Basic authentication details.
- 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. - endpoint String
- OpenSearch endpoint.
- index
Name String - OpenSearch index name.
AppSpecJobLogDestinationOpenSearchBasicAuth, AppSpecJobLogDestinationOpenSearchBasicAuthArgs
AppSpecJobLogDestinationPapertrail, AppSpecJobLogDestinationPapertrailArgs
- Endpoint string
- Papertrail syslog endpoint.
- Endpoint string
- Papertrail syslog endpoint.
- endpoint String
- Papertrail syslog endpoint.
- endpoint string
- Papertrail syslog endpoint.
- endpoint str
- Papertrail syslog endpoint.
- endpoint String
- Papertrail syslog 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.
- Autoscaling
Pulumi.
Digital Ocean. Inputs. App Spec Service Autoscaling - Configuration for automatically scaling this component based on metrics.
- 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.
- Autoscaling
App
Spec Service Autoscaling - Configuration for automatically scaling this component based on metrics.
- 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.
- autoscaling
App
Spec Service Autoscaling - Configuration for automatically scaling this component based on metrics.
- 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.
- autoscaling
App
Spec Service Autoscaling - Configuration for automatically scaling this component based on metrics.
- 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.
- autoscaling
App
Spec Service Autoscaling - Configuration for automatically scaling this component based on metrics.
- 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.
- autoscaling Property Map
- Configuration for automatically scaling this component based on metrics.
- 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
).
AppSpecServiceAutoscaling, AppSpecServiceAutoscalingArgs
- Max
Instance intCount - The maximum amount of instances for this component. Must be more than min_instance_count.
- Metrics
Pulumi.
Digital Ocean. Inputs. App Spec Service Autoscaling Metrics - The metrics that the component is scaled on.
- Min
Instance intCount - The minimum amount of instances for this component. Must be less than max_instance_count.
- Max
Instance intCount - The maximum amount of instances for this component. Must be more than min_instance_count.
- Metrics
App
Spec Service Autoscaling Metrics - The metrics that the component is scaled on.
- Min
Instance intCount - The minimum amount of instances for this component. Must be less than max_instance_count.
- max
Instance IntegerCount - The maximum amount of instances for this component. Must be more than min_instance_count.
- metrics
App
Spec Service Autoscaling Metrics - The metrics that the component is scaled on.
- min
Instance IntegerCount - The minimum amount of instances for this component. Must be less than max_instance_count.
- max
Instance numberCount - The maximum amount of instances for this component. Must be more than min_instance_count.
- metrics
App
Spec Service Autoscaling Metrics - The metrics that the component is scaled on.
- min
Instance numberCount - The minimum amount of instances for this component. Must be less than max_instance_count.
- max_
instance_ intcount - The maximum amount of instances for this component. Must be more than min_instance_count.
- metrics
App
Spec Service Autoscaling Metrics - The metrics that the component is scaled on.
- min_
instance_ intcount - The minimum amount of instances for this component. Must be less than max_instance_count.
- max
Instance NumberCount - The maximum amount of instances for this component. Must be more than min_instance_count.
- metrics Property Map
- The metrics that the component is scaled on.
- min
Instance NumberCount - The minimum amount of instances for this component. Must be less than max_instance_count.
AppSpecServiceAutoscalingMetrics, AppSpecServiceAutoscalingMetricsArgs
- Cpu
Pulumi.
Digital Ocean. Inputs. App Spec Service Autoscaling Metrics Cpu - Settings for scaling the component based on CPU utilization.
- Cpu
App
Spec Service Autoscaling Metrics Cpu - Settings for scaling the component based on CPU utilization.
- cpu
App
Spec Service Autoscaling Metrics Cpu - Settings for scaling the component based on CPU utilization.
- cpu
App
Spec Service Autoscaling Metrics Cpu - Settings for scaling the component based on CPU utilization.
- cpu
App
Spec Service Autoscaling Metrics Cpu - Settings for scaling the component based on CPU utilization.
- cpu Property Map
- Settings for scaling the component based on CPU utilization.
AppSpecServiceAutoscalingMetricsCpu, AppSpecServiceAutoscalingMetricsCpuArgs
- Percent int
The average target CPU utilization for the component.
A
static_site
can contain:
- Percent int
The average target CPU utilization for the component.
A
static_site
can contain:
- percent Integer
The average target CPU utilization for the component.
A
static_site
can contain:
- percent number
The average target CPU utilization for the component.
A
static_site
can contain:
- percent int
The average target CPU utilization for the component.
A
static_site
can contain:
- percent Number
The average target CPU utilization for the component.
A
static_site
can contain:
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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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
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.
- Port int
- The health check will be performed on this port instead of component's HTTP port.
- 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.
- Port int
- The health check will be performed on this port instead of component's HTTP port.
- 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.
- port Integer
- The health check will be performed on this port instead of component's HTTP port.
- 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.
- port number
- The health check will be performed on this port instead of component's HTTP port.
- 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.
- port int
- The health check will be performed on this port instead of component's HTTP port.
- 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.
- port Number
- The health check will be performed on this port instead of component's HTTP port.
- 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> - Configures automatically deploying images pushed to DOCR.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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 - Configures automatically deploying images pushed to DOCR.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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> - Configures automatically deploying images pushed to DOCR.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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[] - Configures automatically deploying images pushed to DOCR.
- registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials string - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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] - Configures automatically deploying images pushed to DOCR.
- registry str
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry_
credentials str - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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 - Configures automatically deploying images pushed to DOCR.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- 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.
- Open
Search Pulumi.Digital Ocean. Inputs. App Spec Service Log Destination Open Search - OpenSearch configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. App Spec Service Log Destination Papertrail - Papertrail configuration.
- Name string
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- Datadog
App
Spec Service Log Destination Datadog - Datadog configuration.
- Logtail
App
Spec Service Log Destination Logtail - Logtail configuration.
- Open
Search AppSpec Service Log Destination Open Search - OpenSearch configuration.
- Papertrail
App
Spec Service Log Destination Papertrail - Papertrail configuration.
- name String
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Service Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Service Log Destination Logtail - Logtail configuration.
- open
Search AppSpec Service Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Service Log Destination Papertrail - Papertrail configuration.
- name string
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Service Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Service Log Destination Logtail - Logtail configuration.
- open
Search AppSpec Service Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Service Log Destination Papertrail - Papertrail configuration.
- name str
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Service Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Service Log Destination Logtail - Logtail configuration.
- open_
search AppSpec Service Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Service Log Destination Papertrail - Papertrail configuration.
- name String
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog Property Map
- Datadog configuration.
- logtail Property Map
- Logtail configuration.
- open
Search Property Map - OpenSearch configuration.
- papertrail Property Map
- Papertrail configuration.
AppSpecServiceLogDestinationDatadog, AppSpecServiceLogDestinationDatadogArgs
AppSpecServiceLogDestinationLogtail, AppSpecServiceLogDestinationLogtailArgs
- Token string
- Logtail token.
- Token string
- Logtail token.
- token String
- Logtail token.
- token string
- Logtail token.
- token str
- Logtail token.
- token String
- Logtail token.
AppSpecServiceLogDestinationOpenSearch, AppSpecServiceLogDestinationOpenSearchArgs
- Basic
Auth Pulumi.Digital Ocean. Inputs. App Spec Service Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - Endpoint string
- OpenSearch endpoint.
- Index
Name string - OpenSearch index name.
- Basic
Auth AppSpec Service Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - Endpoint string
- OpenSearch endpoint.
- Index
Name string - OpenSearch index name.
- basic
Auth AppSpec Service Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint String
- OpenSearch endpoint.
- index
Name String - OpenSearch index name.
- basic
Auth AppSpec Service Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint string
- OpenSearch endpoint.
- index
Name string - OpenSearch index name.
- basic_
auth AppSpec Service Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint str
- OpenSearch endpoint.
- index_
name str - OpenSearch index name.
- basic
Auth Property Map - Basic authentication details.
- 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. - endpoint String
- OpenSearch endpoint.
- index
Name String - OpenSearch index name.
AppSpecServiceLogDestinationOpenSearchBasicAuth, AppSpecServiceLogDestinationOpenSearchBasicAuthArgs
AppSpecServiceLogDestinationPapertrail, AppSpecServiceLogDestinationPapertrailArgs
- Endpoint string
- Papertrail syslog endpoint.
- Endpoint string
- Papertrail syslog endpoint.
- endpoint String
- Papertrail syslog endpoint.
- endpoint string
- Papertrail syslog endpoint.
- endpoint str
- Papertrail syslog endpoint.
- endpoint String
- Papertrail syslog 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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 the Access-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 set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
- 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
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> - Configures automatically deploying images pushed to DOCR.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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 - Configures automatically deploying images pushed to DOCR.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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> - Configures automatically deploying images pushed to DOCR.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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[] - Configures automatically deploying images pushed to DOCR.
- registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials string - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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] - Configures automatically deploying images pushed to DOCR.
- registry str
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry_
credentials str - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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 - Configures automatically deploying images pushed to DOCR.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - The credentials required to access a private Docker Hub or GitHub registry, in the following syntax
<username>:<token>
. - 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
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- 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.
- Open
Search Pulumi.Digital Ocean. Inputs. App Spec Worker Log Destination Open Search - OpenSearch configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. App Spec Worker Log Destination Papertrail - Papertrail configuration.
- Name string
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- Datadog
App
Spec Worker Log Destination Datadog - Datadog configuration.
- Logtail
App
Spec Worker Log Destination Logtail - Logtail configuration.
- Open
Search AppSpec Worker Log Destination Open Search - OpenSearch configuration.
- Papertrail
App
Spec Worker Log Destination Papertrail - Papertrail configuration.
- name String
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Worker Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Worker Log Destination Logtail - Logtail configuration.
- open
Search AppSpec Worker Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Worker Log Destination Papertrail - Papertrail configuration.
- name string
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Worker Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Worker Log Destination Logtail - Logtail configuration.
- open
Search AppSpec Worker Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Worker Log Destination Papertrail - Papertrail configuration.
- name str
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog
App
Spec Worker Log Destination Datadog - Datadog configuration.
- logtail
App
Spec Worker Log Destination Logtail - Logtail configuration.
- open_
search AppSpec Worker Log Destination Open Search - OpenSearch configuration.
- papertrail
App
Spec Worker Log Destination Papertrail - Papertrail configuration.
- name String
- Name of the log destination. Minimum length: 2. Maximum length: 42.
- datadog Property Map
- Datadog configuration.
- logtail Property Map
- Logtail configuration.
- open
Search Property Map - OpenSearch configuration.
- papertrail Property Map
- Papertrail configuration.
AppSpecWorkerLogDestinationDatadog, AppSpecWorkerLogDestinationDatadogArgs
AppSpecWorkerLogDestinationLogtail, AppSpecWorkerLogDestinationLogtailArgs
- Token string
- Logtail token.
- Token string
- Logtail token.
- token String
- Logtail token.
- token string
- Logtail token.
- token str
- Logtail token.
- token String
- Logtail token.
AppSpecWorkerLogDestinationOpenSearch, AppSpecWorkerLogDestinationOpenSearchArgs
- Basic
Auth Pulumi.Digital Ocean. Inputs. App Spec Worker Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - Endpoint string
- OpenSearch endpoint.
- Index
Name string - OpenSearch index name.
- Basic
Auth AppSpec Worker Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - Endpoint string
- OpenSearch endpoint.
- Index
Name string - OpenSearch index name.
- basic
Auth AppSpec Worker Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint String
- OpenSearch endpoint.
- index
Name String - OpenSearch index name.
- basic
Auth AppSpec Worker Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint string
- OpenSearch endpoint.
- index
Name string - OpenSearch index name.
- basic_
auth AppSpec Worker Log Destination Open Search Basic Auth - Basic authentication details.
- 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. - endpoint str
- OpenSearch endpoint.
- index_
name str - OpenSearch index name.
- basic
Auth Property Map - Basic authentication details.
- 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. - endpoint String
- OpenSearch endpoint.
- index
Name String - OpenSearch index name.
AppSpecWorkerLogDestinationOpenSearchBasicAuth, AppSpecWorkerLogDestinationOpenSearchBasicAuthArgs
AppSpecWorkerLogDestinationPapertrail, AppSpecWorkerLogDestinationPapertrailArgs
- Endpoint string
- Papertrail syslog endpoint.
- Endpoint string
- Papertrail syslog endpoint.
- endpoint String
- Papertrail syslog endpoint.
- endpoint string
- Papertrail syslog endpoint.
- endpoint str
- Papertrail syslog endpoint.
- endpoint String
- Papertrail syslog endpoint.
Import
An app can be imported using its id
, e.g.
$ pulumi import digitalocean:index/app:App myapp fb06ad00-351f-45c8-b5eb-13523c438661
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitalocean
Terraform Provider.