1. Packages
  2. DigitalOcean
  3. API Docs
  4. App
DigitalOcean v4.27.0 published on Wednesday, Mar 13, 2024 by Pulumi

digitalocean.App

Explore with Pulumi AI

digitalocean logo
DigitalOcean v4.27.0 published on Wednesday, Mar 13, 2024 by Pulumi

    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: [{
            environmentSlug: "go",
            git: {
                branch: "main",
                repoCloneUrl: "https://github.com/digitalocean/sample-golang.git",
            },
            instanceCount: 1,
            instanceSizeSlug: "professional-xs",
            name: "go-service",
        }],
    }});
    
    import pulumi
    import pulumi_digitalocean as digitalocean
    
    golang_sample = digitalocean.App("golang-sample", spec=digitalocean.AppSpecArgs(
        name="golang-sample",
        region="ams",
        services=[digitalocean.AppSpecServiceArgs(
            environment_slug="go",
            git=digitalocean.AppSpecServiceGitArgs(
                branch="main",
                repo_clone_url="https://github.com/digitalocean/sample-golang.git",
            ),
            instance_count=1,
            instance_size_slug="professional-xs",
            name="go-service",
        )],
    ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := digitalocean.NewApp(ctx, "golang-sample", &digitalocean.AppArgs{
    			Spec: &digitalocean.AppSpecArgs{
    				Name:   pulumi.String("golang-sample"),
    				Region: pulumi.String("ams"),
    				Services: digitalocean.AppSpecServiceArray{
    					&digitalocean.AppSpecServiceArgs{
    						EnvironmentSlug: pulumi.String("go"),
    						Git: &digitalocean.AppSpecServiceGitArgs{
    							Branch:       pulumi.String("main"),
    							RepoCloneUrl: pulumi.String("https://github.com/digitalocean/sample-golang.git"),
    						},
    						InstanceCount:    pulumi.Int(1),
    						InstanceSizeSlug: pulumi.String("professional-xs"),
    						Name:             pulumi.String("go-service"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DigitalOcean = Pulumi.DigitalOcean;
    
    return await Deployment.RunAsync(() => 
    {
        var golang_sample = new DigitalOcean.App("golang-sample", new()
        {
            Spec = new DigitalOcean.Inputs.AppSpecArgs
            {
                Name = "golang-sample",
                Region = "ams",
                Services = new[]
                {
                    new DigitalOcean.Inputs.AppSpecServiceArgs
                    {
                        EnvironmentSlug = "go",
                        Git = new DigitalOcean.Inputs.AppSpecServiceGitArgs
                        {
                            Branch = "main",
                            RepoCloneUrl = "https://github.com/digitalocean/sample-golang.git",
                        },
                        InstanceCount = 1,
                        InstanceSizeSlug = "professional-xs",
                        Name = "go-service",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.digitalocean.App;
    import com.pulumi.digitalocean.AppArgs;
    import com.pulumi.digitalocean.inputs.AppSpecArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var golang_sample = new App("golang-sample", AppArgs.builder()        
                .spec(AppSpecArgs.builder()
                    .name("golang-sample")
                    .region("ams")
                    .services(AppSpecServiceArgs.builder()
                        .environmentSlug("go")
                        .git(AppSpecServiceGitArgs.builder()
                            .branch("main")
                            .repoCloneUrl("https://github.com/digitalocean/sample-golang.git")
                            .build())
                        .instanceCount(1)
                        .instanceSizeSlug("professional-xs")
                        .name("go-service")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      golang-sample:
        type: digitalocean:App
        properties:
          spec:
            name: golang-sample
            region: ams
            services:
              - environmentSlug: go
                git:
                  branch: main
                  repoCloneUrl: https://github.com/digitalocean/sample-golang.git
                instanceCount: 1
                instanceSizeSlug: professional-xs
                name: go-service
    

    Static Site Example

    import * as pulumi from "@pulumi/pulumi";
    import * as digitalocean from "@pulumi/digitalocean";
    
    const static_site_example = new digitalocean.App("static-site-example", {spec: {
        name: "static-site-example",
        region: "ams",
        staticSites: [{
            buildCommand: "bundle exec jekyll build -d ./public",
            git: {
                branch: "main",
                repoCloneUrl: "https://github.com/digitalocean/sample-jekyll.git",
            },
            name: "sample-jekyll",
            outputDir: "/public",
        }],
    }});
    
    import pulumi
    import pulumi_digitalocean as digitalocean
    
    static_site_example = digitalocean.App("static-site-example", spec=digitalocean.AppSpecArgs(
        name="static-site-example",
        region="ams",
        static_sites=[digitalocean.AppSpecStaticSiteArgs(
            build_command="bundle exec jekyll build -d ./public",
            git=digitalocean.AppSpecStaticSiteGitArgs(
                branch="main",
                repo_clone_url="https://github.com/digitalocean/sample-jekyll.git",
            ),
            name="sample-jekyll",
            output_dir="/public",
        )],
    ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := digitalocean.NewApp(ctx, "static-site-example", &digitalocean.AppArgs{
    			Spec: &digitalocean.AppSpecArgs{
    				Name:   pulumi.String("static-site-example"),
    				Region: pulumi.String("ams"),
    				StaticSites: digitalocean.AppSpecStaticSiteArray{
    					&digitalocean.AppSpecStaticSiteArgs{
    						BuildCommand: pulumi.String("bundle exec jekyll build -d ./public"),
    						Git: &digitalocean.AppSpecStaticSiteGitArgs{
    							Branch:       pulumi.String("main"),
    							RepoCloneUrl: pulumi.String("https://github.com/digitalocean/sample-jekyll.git"),
    						},
    						Name:      pulumi.String("sample-jekyll"),
    						OutputDir: pulumi.String("/public"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DigitalOcean = Pulumi.DigitalOcean;
    
    return await Deployment.RunAsync(() => 
    {
        var static_site_example = new DigitalOcean.App("static-site-example", new()
        {
            Spec = new DigitalOcean.Inputs.AppSpecArgs
            {
                Name = "static-site-example",
                Region = "ams",
                StaticSites = new[]
                {
                    new DigitalOcean.Inputs.AppSpecStaticSiteArgs
                    {
                        BuildCommand = "bundle exec jekyll build -d ./public",
                        Git = new DigitalOcean.Inputs.AppSpecStaticSiteGitArgs
                        {
                            Branch = "main",
                            RepoCloneUrl = "https://github.com/digitalocean/sample-jekyll.git",
                        },
                        Name = "sample-jekyll",
                        OutputDir = "/public",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.digitalocean.App;
    import com.pulumi.digitalocean.AppArgs;
    import com.pulumi.digitalocean.inputs.AppSpecArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var static_site_example = new App("static-site-example", AppArgs.builder()        
                .spec(AppSpecArgs.builder()
                    .name("static-site-example")
                    .region("ams")
                    .staticSites(AppSpecStaticSiteArgs.builder()
                        .buildCommand("bundle exec jekyll build -d ./public")
                        .git(AppSpecStaticSiteGitArgs.builder()
                            .branch("main")
                            .repoCloneUrl("https://github.com/digitalocean/sample-jekyll.git")
                            .build())
                        .name("sample-jekyll")
                        .outputDir("/public")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      static-site-example:
        type: digitalocean:App
        properties:
          spec:
            name: static-site-example
            region: ams
            staticSites:
              - buildCommand: bundle exec jekyll build -d ./public
                git:
                  branch: main
                  repoCloneUrl: https://github.com/digitalocean/sample-jekyll.git
                name: sample-jekyll
                outputDir: /public
    

    Multiple Components Example

    Coming soon!
    
    Coming soon!
    
    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()
                    .alerts(AppSpecAlertArgs.builder()
                        .rule("DEPLOYMENT_FAILED")
                        .build())
                    .databases(AppSpecDatabaseArgs.builder()
                        .engine("PG")
                        .name("starter-db")
                        .production(false)
                        .build())
                    .domains(Map.of("name", "foo.example.com"))
                    .ingress(AppSpecIngressArgs.builder()
                        .rule(                    
                            %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
                            %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                        .build())
                    .name("mono-repo-example")
                    .region("ams")
                    .services(AppSpecServiceArgs.builder()
                        .alert(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                        .environmentSlug("go")
                        .github(AppSpecServiceGithubArgs.builder()
                            .branch("main")
                            .deployOnPush(true)
                            .repo("username/repo")
                            .build())
                        .httpPort(3000)
                        .instanceCount(2)
                        .instanceSizeSlug("professional-xs")
                        .logDestination(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                        .name("api")
                        .runCommand("bin/api")
                        .sourceDir("api/")
                        .build())
                    .staticSites(AppSpecStaticSiteArgs.builder()
                        .buildCommand("npm run build")
                        .github(AppSpecStaticSiteGithubArgs.builder()
                            .branch("main")
                            .deployOnPush(true)
                            .repo("username/repo")
                            .build())
                        .name("web")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      mono-repo-example:
        type: digitalocean:App
        properties:
          spec:
            alerts:
              - rule: DEPLOYMENT_FAILED
            databases:
              - engine: PG
                name: starter-db
                production: false
            domains:
              - name: foo.example.com
            ingress:
              rule:
                - component:
                    name: api
                  match:
                    path:
                      prefix: /api
                - component:
                    name: web
                  match:
                    path:
                      prefix: /
            name: mono-repo-example
            region: ams
            services:
              - alert:
                  - operator: GREATER_THAN
                    rule: CPU_UTILIZATION
                    value: 75
                    window: TEN_MINUTES
                environmentSlug: go
                github:
                  branch: main
                  deployOnPush: true
                  repo: username/repo
                httpPort: 3000
                instanceCount: 2
                instanceSizeSlug: professional-xs
                logDestination:
                  - name: MyLogs
                    papertrail:
                      endpoint: syslog+tls://example.com:12345
                name: api
                runCommand: bin/api
                sourceDir: api/
            staticSites:
              - buildCommand: npm run build
                github:
                  branch: main
                  deployOnPush: true
                  repo: username/repo
                name: web
    

    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,
            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)
    public App(String name, AppArgs args)
    public App(String name, AppArgs args, CustomResourceOptions options)
    
    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var appResource = new DigitalOcean.App("appResource", new()
    {
        ProjectId = "string",
        Spec = new DigitalOcean.Inputs.AppSpecArgs
        {
            Name = "string",
            DomainNames = new[]
            {
                new DigitalOcean.Inputs.AppSpecDomainNameArgs
                {
                    Name = "string",
                    Type = "string",
                    Wildcard = false,
                    Zone = "string",
                },
            },
            Alerts = new[]
            {
                new DigitalOcean.Inputs.AppSpecAlertArgs
                {
                    Rule = "string",
                    Disabled = false,
                },
            },
            Envs = new[]
            {
                new DigitalOcean.Inputs.AppSpecEnvArgs
                {
                    Key = "string",
                    Scope = "string",
                    Type = "string",
                    Value = "string",
                },
            },
            Features = new[]
            {
                "string",
            },
            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",
                            },
                            Papertrail = new DigitalOcean.Inputs.AppSpecFunctionLogDestinationPapertrailArgs
                            {
                                Endpoint = "string",
                            },
                        },
                    },
                    SourceDir = "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",
                                Prefix = "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",
                        },
                    },
                },
            },
            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",
                        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",
                            },
                            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",
                    HttpPort = 0,
                    SourceDir = "string",
                    HealthCheck = new DigitalOcean.Inputs.AppSpecServiceHealthCheckArgs
                    {
                        FailureThreshold = 0,
                        HttpPath = "string",
                        InitialDelaySeconds = 0,
                        PeriodSeconds = 0,
                        Port = 0,
                        SuccessThreshold = 0,
                        TimeoutSeconds = 0,
                    },
                    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",
                    },
                    Github = new DigitalOcean.Inputs.AppSpecServiceGithubArgs
                    {
                        Branch = "string",
                        DeployOnPush = false,
                        Repo = "string",
                    },
                    Gitlab = new DigitalOcean.Inputs.AppSpecServiceGitlabArgs
                    {
                        Branch = "string",
                        DeployOnPush = false,
                        Repo = "string",
                    },
                    DockerfilePath = "string",
                    InstanceCount = 0,
                    Image = new DigitalOcean.Inputs.AppSpecServiceImageArgs
                    {
                        RegistryType = "string",
                        Repository = "string",
                        DeployOnPushes = new[]
                        {
                            new DigitalOcean.Inputs.AppSpecServiceImageDeployOnPushArgs
                            {
                                Enabled = false,
                            },
                        },
                        Registry = "string",
                        Tag = "string",
                    },
                    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",
                            },
                            Papertrail = new DigitalOcean.Inputs.AppSpecServiceLogDestinationPapertrailArgs
                            {
                                Endpoint = "string",
                            },
                        },
                    },
                    BuildCommand = "string",
                    RunCommand = "string",
                    Alerts = new[]
                    {
                        new DigitalOcean.Inputs.AppSpecServiceAlertArgs
                        {
                            Operator = "string",
                            Rule = "string",
                            Value = 0,
                            Window = "string",
                            Disabled = false,
                        },
                    },
                },
            },
            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",
                        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",
                            },
                            Papertrail = new DigitalOcean.Inputs.AppSpecWorkerLogDestinationPapertrailArgs
                            {
                                Endpoint = "string",
                            },
                        },
                    },
                    BuildCommand = "string",
                    RunCommand = "string",
                    SourceDir = "string",
                },
            },
        },
    });
    
    example, err := digitalocean.NewApp(ctx, "appResource", &digitalocean.AppArgs{
    	ProjectId: pulumi.String("string"),
    	Spec: &digitalocean.AppSpecArgs{
    		Name: pulumi.String("string"),
    		DomainNames: digitalocean.AppSpecDomainNameArray{
    			&digitalocean.AppSpecDomainNameArgs{
    				Name:     pulumi.String("string"),
    				Type:     pulumi.String("string"),
    				Wildcard: pulumi.Bool(false),
    				Zone:     pulumi.String("string"),
    			},
    		},
    		Alerts: digitalocean.AppSpecAlertArray{
    			&digitalocean.AppSpecAlertArgs{
    				Rule:     pulumi.String("string"),
    				Disabled: pulumi.Bool(false),
    			},
    		},
    		Envs: digitalocean.AppSpecEnvArray{
    			&digitalocean.AppSpecEnvArgs{
    				Key:   pulumi.String("string"),
    				Scope: pulumi.String("string"),
    				Type:  pulumi.String("string"),
    				Value: pulumi.String("string"),
    			},
    		},
    		Features: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		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"),
    						},
    						Papertrail: &digitalocean.AppSpecFunctionLogDestinationPapertrailArgs{
    							Endpoint: pulumi.String("string"),
    						},
    					},
    				},
    				SourceDir: 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"),
    							Prefix: 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"),
    					},
    				},
    			},
    		},
    		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"),
    					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"),
    						},
    						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"),
    				HttpPort:  pulumi.Int(0),
    				SourceDir: 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),
    				},
    				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"),
    				},
    				Github: &digitalocean.AppSpecServiceGithubArgs{
    					Branch:       pulumi.String("string"),
    					DeployOnPush: pulumi.Bool(false),
    					Repo:         pulumi.String("string"),
    				},
    				Gitlab: &digitalocean.AppSpecServiceGitlabArgs{
    					Branch:       pulumi.String("string"),
    					DeployOnPush: pulumi.Bool(false),
    					Repo:         pulumi.String("string"),
    				},
    				DockerfilePath: pulumi.String("string"),
    				InstanceCount:  pulumi.Int(0),
    				Image: &digitalocean.AppSpecServiceImageArgs{
    					RegistryType: pulumi.String("string"),
    					Repository:   pulumi.String("string"),
    					DeployOnPushes: digitalocean.AppSpecServiceImageDeployOnPushArray{
    						&digitalocean.AppSpecServiceImageDeployOnPushArgs{
    							Enabled: pulumi.Bool(false),
    						},
    					},
    					Registry: pulumi.String("string"),
    					Tag:      pulumi.String("string"),
    				},
    				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"),
    						},
    						Papertrail: &digitalocean.AppSpecServiceLogDestinationPapertrailArgs{
    							Endpoint: pulumi.String("string"),
    						},
    					},
    				},
    				BuildCommand: pulumi.String("string"),
    				RunCommand:   pulumi.String("string"),
    				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),
    					},
    				},
    			},
    		},
    		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"),
    					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"),
    						},
    						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()        
        .projectId("string")
        .spec(AppSpecArgs.builder()
            .name("string")
            .domainNames(AppSpecDomainNameArgs.builder()
                .name("string")
                .type("string")
                .wildcard(false)
                .zone("string")
                .build())
            .alerts(AppSpecAlertArgs.builder()
                .rule("string")
                .disabled(false)
                .build())
            .envs(AppSpecEnvArgs.builder()
                .key("string")
                .scope("string")
                .type("string")
                .value("string")
                .build())
            .features("string")
            .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())
                    .papertrail(AppSpecFunctionLogDestinationPapertrailArgs.builder()
                        .endpoint("string")
                        .build())
                    .build())
                .sourceDir("string")
                .build())
            .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")
                            .prefix("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())
            .jobs(AppSpecJobArgs.builder()
                .name("string")
                .image(AppSpecJobImageArgs.builder()
                    .registryType("string")
                    .repository("string")
                    .deployOnPushes(AppSpecJobImageDeployOnPushArgs.builder()
                        .enabled(false)
                        .build())
                    .registry("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())
                    .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")
                .httpPort(0)
                .sourceDir("string")
                .healthCheck(AppSpecServiceHealthCheckArgs.builder()
                    .failureThreshold(0)
                    .httpPath("string")
                    .initialDelaySeconds(0)
                    .periodSeconds(0)
                    .port(0)
                    .successThreshold(0)
                    .timeoutSeconds(0)
                    .build())
                .environmentSlug("string")
                .envs(AppSpecServiceEnvArgs.builder()
                    .key("string")
                    .scope("string")
                    .type("string")
                    .value("string")
                    .build())
                .git(AppSpecServiceGitArgs.builder()
                    .branch("string")
                    .repoCloneUrl("string")
                    .build())
                .github(AppSpecServiceGithubArgs.builder()
                    .branch("string")
                    .deployOnPush(false)
                    .repo("string")
                    .build())
                .gitlab(AppSpecServiceGitlabArgs.builder()
                    .branch("string")
                    .deployOnPush(false)
                    .repo("string")
                    .build())
                .dockerfilePath("string")
                .instanceCount(0)
                .image(AppSpecServiceImageArgs.builder()
                    .registryType("string")
                    .repository("string")
                    .deployOnPushes(AppSpecServiceImageDeployOnPushArgs.builder()
                        .enabled(false)
                        .build())
                    .registry("string")
                    .tag("string")
                    .build())
                .instanceSizeSlug("string")
                .internalPorts(0)
                .logDestinations(AppSpecServiceLogDestinationArgs.builder()
                    .name("string")
                    .datadog(AppSpecServiceLogDestinationDatadogArgs.builder()
                        .apiKey("string")
                        .endpoint("string")
                        .build())
                    .logtail(AppSpecServiceLogDestinationLogtailArgs.builder()
                        .token("string")
                        .build())
                    .papertrail(AppSpecServiceLogDestinationPapertrailArgs.builder()
                        .endpoint("string")
                        .build())
                    .build())
                .buildCommand("string")
                .runCommand("string")
                .alerts(AppSpecServiceAlertArgs.builder()
                    .operator("string")
                    .rule("string")
                    .value(0)
                    .window("string")
                    .disabled(false)
                    .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")
                    .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())
                    .papertrail(AppSpecWorkerLogDestinationPapertrailArgs.builder()
                        .endpoint("string")
                        .build())
                    .build())
                .buildCommand("string")
                .runCommand("string")
                .sourceDir("string")
                .build())
            .build())
        .build());
    
    app_resource = digitalocean.App("appResource",
        project_id="string",
        spec=digitalocean.AppSpecArgs(
            name="string",
            domain_names=[digitalocean.AppSpecDomainNameArgs(
                name="string",
                type="string",
                wildcard=False,
                zone="string",
            )],
            alerts=[digitalocean.AppSpecAlertArgs(
                rule="string",
                disabled=False,
            )],
            envs=[digitalocean.AppSpecEnvArgs(
                key="string",
                scope="string",
                type="string",
                value="string",
            )],
            features=["string"],
            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",
                    ),
                    papertrail=digitalocean.AppSpecFunctionLogDestinationPapertrailArgs(
                        endpoint="string",
                    ),
                )],
                source_dir="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",
                            prefix="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",
                    ),
                )],
            ),
            jobs=[digitalocean.AppSpecJobArgs(
                name="string",
                image=digitalocean.AppSpecJobImageArgs(
                    registry_type="string",
                    repository="string",
                    deploy_on_pushes=[digitalocean.AppSpecJobImageDeployOnPushArgs(
                        enabled=False,
                    )],
                    registry="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",
                    ),
                    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",
                http_port=0,
                source_dir="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,
                ),
                environment_slug="string",
                envs=[digitalocean.AppSpecServiceEnvArgs(
                    key="string",
                    scope="string",
                    type="string",
                    value="string",
                )],
                git=digitalocean.AppSpecServiceGitArgs(
                    branch="string",
                    repo_clone_url="string",
                ),
                github=digitalocean.AppSpecServiceGithubArgs(
                    branch="string",
                    deploy_on_push=False,
                    repo="string",
                ),
                gitlab=digitalocean.AppSpecServiceGitlabArgs(
                    branch="string",
                    deploy_on_push=False,
                    repo="string",
                ),
                dockerfile_path="string",
                instance_count=0,
                image=digitalocean.AppSpecServiceImageArgs(
                    registry_type="string",
                    repository="string",
                    deploy_on_pushes=[digitalocean.AppSpecServiceImageDeployOnPushArgs(
                        enabled=False,
                    )],
                    registry="string",
                    tag="string",
                ),
                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",
                    ),
                    papertrail=digitalocean.AppSpecServiceLogDestinationPapertrailArgs(
                        endpoint="string",
                    ),
                )],
                build_command="string",
                run_command="string",
                alerts=[digitalocean.AppSpecServiceAlertArgs(
                    operator="string",
                    rule="string",
                    value=0,
                    window="string",
                    disabled=False,
                )],
            )],
            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",
                    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",
                    ),
                    papertrail=digitalocean.AppSpecWorkerLogDestinationPapertrailArgs(
                        endpoint="string",
                    ),
                )],
                build_command="string",
                run_command="string",
                source_dir="string",
            )],
        ))
    
    const appResource = new digitalocean.App("appResource", {
        projectId: "string",
        spec: {
            name: "string",
            domainNames: [{
                name: "string",
                type: "string",
                wildcard: false,
                zone: "string",
            }],
            alerts: [{
                rule: "string",
                disabled: false,
            }],
            envs: [{
                key: "string",
                scope: "string",
                type: "string",
                value: "string",
            }],
            features: ["string"],
            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",
                    },
                    papertrail: {
                        endpoint: "string",
                    },
                }],
                sourceDir: "string",
            }],
            ingress: {
                rules: [{
                    component: {
                        name: "string",
                        preservePathPrefix: false,
                        rewrite: "string",
                    },
                    cors: {
                        allowCredentials: false,
                        allowHeaders: ["string"],
                        allowMethods: ["string"],
                        allowOrigins: {
                            exact: "string",
                            prefix: "string",
                            regex: "string",
                        },
                        exposeHeaders: ["string"],
                        maxAge: "string",
                    },
                    match: {
                        path: {
                            prefix: "string",
                        },
                    },
                    redirect: {
                        authority: "string",
                        port: 0,
                        redirectCode: 0,
                        scheme: "string",
                        uri: "string",
                    },
                }],
            },
            jobs: [{
                name: "string",
                image: {
                    registryType: "string",
                    repository: "string",
                    deployOnPushes: [{
                        enabled: false,
                    }],
                    registry: "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",
                    },
                    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",
                httpPort: 0,
                sourceDir: "string",
                healthCheck: {
                    failureThreshold: 0,
                    httpPath: "string",
                    initialDelaySeconds: 0,
                    periodSeconds: 0,
                    port: 0,
                    successThreshold: 0,
                    timeoutSeconds: 0,
                },
                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",
                },
                dockerfilePath: "string",
                instanceCount: 0,
                image: {
                    registryType: "string",
                    repository: "string",
                    deployOnPushes: [{
                        enabled: false,
                    }],
                    registry: "string",
                    tag: "string",
                },
                instanceSizeSlug: "string",
                internalPorts: [0],
                logDestinations: [{
                    name: "string",
                    datadog: {
                        apiKey: "string",
                        endpoint: "string",
                    },
                    logtail: {
                        token: "string",
                    },
                    papertrail: {
                        endpoint: "string",
                    },
                }],
                buildCommand: "string",
                runCommand: "string",
                alerts: [{
                    operator: "string",
                    rule: "string",
                    value: 0,
                    window: "string",
                    disabled: false,
                }],
            }],
            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",
                    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",
                    },
                    papertrail: {
                        endpoint: "string",
                    },
                }],
                buildCommand: "string",
                runCommand: "string",
                sourceDir: "string",
            }],
        },
    });
    
    type: digitalocean:App
    properties:
        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
            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
                      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
                            prefix: 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
                    registryType: string
                    repository: string
                    tag: string
                  instanceCount: 0
                  instanceSizeSlug: string
                  kind: string
                  logDestinations:
                    - datadog:
                        apiKey: string
                        endpoint: string
                      logtail:
                        token: string
                      name: 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
                  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
                    registryType: string
                    repository: string
                    tag: string
                  instanceCount: 0
                  instanceSizeSlug: string
                  internalPorts:
                    - 0
                  logDestinations:
                    - datadog:
                        apiKey: string
                        endpoint: string
                      logtail:
                        token: string
                      name: 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
                    registryType: string
                    repository: string
                    tag: string
                  instanceCount: 0
                  instanceSizeSlug: string
                  logDestinations:
                    - datadog:
                        apiKey: string
                        endpoint: string
                      logtail:
                        token: string
                      name: 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:

    ProjectId string

    The ID of the project that the app is assigned to.

    A spec can contain multiple components.

    A service can contain:

    Spec Pulumi.DigitalOcean.Inputs.AppSpec
    A DigitalOcean App spec describing the app.
    ProjectId string

    The ID of the project that the app is assigned to.

    A spec can contain multiple components.

    A service can contain:

    Spec AppSpecArgs
    A DigitalOcean App spec describing the app.
    projectId String

    The ID of the project that the app is assigned to.

    A spec can contain multiple components.

    A service can contain:

    spec AppSpec
    A DigitalOcean App spec describing the app.
    projectId string

    The ID of the project that the app is assigned to.

    A spec can contain multiple components.

    A service can contain:

    spec AppSpec
    A DigitalOcean App spec describing 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 AppSpecArgs
    A DigitalOcean App spec describing the app.
    projectId 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:

    ActiveDeploymentId string
    The ID the app's currently active deployment.
    AppUrn string
    The uniform resource identifier for the app.
    CreatedAt string
    The date and time of when the app was created.
    DefaultIngress string
    The default URL to access the app.
    Id string
    The provider-assigned unique ID for this managed resource.
    LiveUrl string
    The live URL of the app.
    UpdatedAt string
    The date and time of when the app was last updated.
    ActiveDeploymentId string
    The ID the app's currently active deployment.
    AppUrn string
    The uniform resource identifier for the app.
    CreatedAt string
    The date and time of when the app was created.
    DefaultIngress string
    The default URL to access the app.
    Id string
    The provider-assigned unique ID for this managed resource.
    LiveUrl string
    The live URL of the app.
    UpdatedAt string
    The date and time of when the app was last updated.
    activeDeploymentId String
    The ID the app's currently active deployment.
    appUrn String
    The uniform resource identifier for the app.
    createdAt String
    The date and time of when the app was created.
    defaultIngress String
    The default URL to access the app.
    id String
    The provider-assigned unique ID for this managed resource.
    liveUrl String
    The live URL of the app.
    updatedAt String
    The date and time of when the app was last updated.
    activeDeploymentId string
    The ID the app's currently active deployment.
    appUrn string
    The uniform resource identifier for the app.
    createdAt string
    The date and time of when the app was created.
    defaultIngress string
    The default URL to access the app.
    id string
    The provider-assigned unique ID for this managed resource.
    liveUrl string
    The live URL of the app.
    updatedAt string
    The date and time of when the app was last updated.
    active_deployment_id str
    The ID the app's currently active deployment.
    app_urn str
    The uniform resource identifier for the app.
    created_at str
    The date and time of when the app was created.
    default_ingress str
    The default URL to access the app.
    id str
    The provider-assigned unique ID for this managed resource.
    live_url str
    The live URL of the app.
    updated_at str
    The date and time of when the app was last updated.
    activeDeploymentId String
    The ID the app's currently active deployment.
    appUrn String
    The uniform resource identifier for the app.
    createdAt String
    The date and time of when the app was created.
    defaultIngress String
    The default URL to access the app.
    id String
    The provider-assigned unique ID for this managed resource.
    liveUrl String
    The live URL of the app.
    updatedAt String
    The date and time of when the app was last updated.

    Look up Existing App Resource

    Get an existing App resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AppState, opts?: CustomResourceOptions): App
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active_deployment_id: Optional[str] = None,
            app_urn: Optional[str] = None,
            created_at: Optional[str] = None,
            default_ingress: Optional[str] = None,
            live_url: Optional[str] = None,
            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.
    The following state arguments are supported:
    ActiveDeploymentId string
    The ID the app's currently active deployment.
    AppUrn string
    The uniform resource identifier for the app.
    CreatedAt string
    The date and time of when the app was created.
    DefaultIngress string
    The default URL to access the app.
    LiveUrl string
    The live URL of the app.
    ProjectId string

    The ID of the project that the app is assigned to.

    A spec can contain multiple components.

    A service can contain:

    Spec Pulumi.DigitalOcean.Inputs.AppSpec
    A DigitalOcean App spec describing the app.
    UpdatedAt string
    The date and time of when the app was last updated.
    ActiveDeploymentId string
    The ID the app's currently active deployment.
    AppUrn string
    The uniform resource identifier for the app.
    CreatedAt string
    The date and time of when the app was created.
    DefaultIngress string
    The default URL to access the app.
    LiveUrl string
    The live URL of the app.
    ProjectId string

    The ID of the project that the app is assigned to.

    A spec can contain multiple components.

    A service can contain:

    Spec AppSpecArgs
    A DigitalOcean App spec describing the app.
    UpdatedAt string
    The date and time of when the app was last updated.
    activeDeploymentId String
    The ID the app's currently active deployment.
    appUrn String
    The uniform resource identifier for the app.
    createdAt String
    The date and time of when the app was created.
    defaultIngress String
    The default URL to access the app.
    liveUrl String
    The live URL of the app.
    projectId String

    The ID of the project that the app is assigned to.

    A spec can contain multiple components.

    A service can contain:

    spec AppSpec
    A DigitalOcean App spec describing the app.
    updatedAt String
    The date and time of when the app was last updated.
    activeDeploymentId string
    The ID the app's currently active deployment.
    appUrn string
    The uniform resource identifier for the app.
    createdAt string
    The date and time of when the app was created.
    defaultIngress string
    The default URL to access the app.
    liveUrl string
    The live URL of the app.
    projectId string

    The ID of the project that the app is assigned to.

    A spec can contain multiple components.

    A service can contain:

    spec AppSpec
    A DigitalOcean App spec describing the app.
    updatedAt string
    The date and time of when the app was last updated.
    active_deployment_id str
    The ID the app's currently active deployment.
    app_urn str
    The uniform resource identifier for the app.
    created_at str
    The date and time of when the app was created.
    default_ingress str
    The default URL to access the app.
    live_url str
    The live URL of the app.
    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 AppSpecArgs
    A DigitalOcean App spec describing the app.
    updated_at str
    The date and time of when the app was last updated.
    activeDeploymentId String
    The ID the app's currently active deployment.
    appUrn String
    The uniform resource identifier for the app.
    createdAt String
    The date and time of when the app was created.
    defaultIngress String
    The default URL to access the app.
    liveUrl String
    The live URL of the app.
    projectId 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.
    updatedAt String
    The date and time of when the app was last updated.

    Supporting Types

    AppSpec, AppSpecArgs

    Name string
    The name of the component.
    Alerts List<Pulumi.DigitalOcean.Inputs.AppSpecAlert>
    Describes an alert policy for the component.
    Databases List<Pulumi.DigitalOcean.Inputs.AppSpecDatabase>
    DomainNames List<Pulumi.DigitalOcean.Inputs.AppSpecDomainName>
    Describes a domain where the application will be made available.
    Domains List<string>

    Deprecated: This attribute has been replaced by domain which supports additional functionality.

    Envs List<Pulumi.DigitalOcean.Inputs.AppSpecEnv>
    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.DigitalOcean.Inputs.AppSpecFunction>
    Ingress Pulumi.DigitalOcean.Inputs.AppSpecIngress
    Specification for component routing, rewrites, and redirects.
    Jobs List<Pulumi.DigitalOcean.Inputs.AppSpecJob>
    Region string
    The slug for the DigitalOcean data center region hosting the app.
    Services List<Pulumi.DigitalOcean.Inputs.AppSpecService>
    StaticSites List<Pulumi.DigitalOcean.Inputs.AppSpecStaticSite>
    Workers List<Pulumi.DigitalOcean.Inputs.AppSpecWorker>
    Name string
    The name of the component.
    Alerts []AppSpecAlert
    Describes an alert policy for the component.
    Databases []AppSpecDatabase
    DomainNames []AppSpecDomainName
    Describes a domain where the application will be made available.
    Domains []string

    Deprecated: This attribute has been replaced by domain which supports additional functionality.

    Envs []AppSpecEnv
    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 []AppSpecFunction
    Ingress AppSpecIngress
    Specification for component routing, rewrites, and redirects.
    Jobs []AppSpecJob
    Region string
    The slug for the DigitalOcean data center region hosting the app.
    Services []AppSpecService
    StaticSites []AppSpecStaticSite
    Workers []AppSpecWorker
    name String
    The name of the component.
    alerts List<AppSpecAlert>
    Describes an alert policy for the component.
    databases List<AppSpecDatabase>
    domainNames List<AppSpecDomainName>
    Describes a domain where the application will be made available.
    domains List<String>

    Deprecated: This attribute has been replaced by domain which supports additional functionality.

    envs List<AppSpecEnv>
    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<AppSpecFunction>
    ingress AppSpecIngress
    Specification for component routing, rewrites, and redirects.
    jobs List<AppSpecJob>
    region String
    The slug for the DigitalOcean data center region hosting the app.
    services List<AppSpecService>
    staticSites List<AppSpecStaticSite>
    workers List<AppSpecWorker>
    name string
    The name of the component.
    alerts AppSpecAlert[]
    Describes an alert policy for the component.
    databases AppSpecDatabase[]
    domainNames AppSpecDomainName[]
    Describes a domain where the application will be made available.
    domains string[]

    Deprecated: This attribute has been replaced by domain which supports additional functionality.

    envs AppSpecEnv[]
    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 AppSpecFunction[]
    ingress AppSpecIngress
    Specification for component routing, rewrites, and redirects.
    jobs AppSpecJob[]
    region string
    The slug for the DigitalOcean data center region hosting the app.
    services AppSpecService[]
    staticSites AppSpecStaticSite[]
    workers AppSpecWorker[]
    name str
    The name of the component.
    alerts Sequence[AppSpecAlert]
    Describes an alert policy for the component.
    databases Sequence[AppSpecDatabase]
    domain_names Sequence[AppSpecDomainName]
    Describes a domain where the application will be made available.
    domains Sequence[str]

    Deprecated: This attribute has been replaced by domain which supports additional functionality.

    envs Sequence[AppSpecEnv]
    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[AppSpecFunction]
    ingress AppSpecIngress
    Specification for component routing, rewrites, and redirects.
    jobs Sequence[AppSpecJob]
    region str
    The slug for the DigitalOcean data center region hosting the app.
    services Sequence[AppSpecService]
    static_sites Sequence[AppSpecStaticSite]
    workers Sequence[AppSpecWorker]
    name String
    The name of the component.
    alerts List<Property Map>
    Describes an alert policy for the component.
    databases List<Property Map>
    domainNames List<Property Map>
    Describes a domain where the application will be made available.
    domains List<String>

    Deprecated: This attribute has been replaced by domain which supports additional functionality.

    envs List<Property Map>
    Describes an environment variable made available to an app competent.
    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>
    staticSites List<Property Map>
    workers List<Property Map>

    AppSpecAlert, AppSpecAlertArgs

    Rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    Disabled bool
    Determines whether or not the alert is disabled (default: false).
    Rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    Disabled bool
    Determines whether or not the alert is disabled (default: false).
    rule String
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    disabled Boolean
    Determines whether or not the alert is disabled (default: false).
    rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    disabled boolean
    Determines whether or not the alert is disabled (default: false).
    rule str
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    disabled bool
    Determines whether or not the alert is disabled (default: false).
    rule String
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    disabled Boolean
    Determines whether or not the alert is disabled (default: false).

    AppSpecDatabase, AppSpecDatabaseArgs

    ClusterName 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.
    DbName string
    The name of the MySQL or PostgreSQL database to configure.
    DbUser 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, or MONGODB).
    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.
    ClusterName 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.
    DbName string
    The name of the MySQL or PostgreSQL database to configure.
    DbUser 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, or MONGODB).
    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.
    clusterName 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.
    dbName String
    The name of the MySQL or PostgreSQL database to configure.
    dbUser 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, or MONGODB).
    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.
    clusterName 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.
    dbName string
    The name of the MySQL or PostgreSQL database to configure.
    dbUser 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, or MONGODB).
    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, or MONGODB).
    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.
    clusterName 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.
    dbName String
    The name of the MySQL or PostgreSQL database to configure.
    dbUser 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, or MONGODB).
    name String
    The name of the component.
    production Boolean
    Whether this is a production or dev database.
    version String
    The version of the database engine.

    AppSpecDomainName, AppSpecDomainNameArgs

    Name string
    The name of the component.
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Wildcard bool
    A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
    Zone string
    If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
    Name string
    The name of the component.
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Wildcard bool
    A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
    Zone string
    If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
    name String
    The name of the component.
    type String
    The type of the environment variable, GENERAL or SECRET.
    wildcard Boolean
    A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
    zone String
    If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
    name string
    The name of the component.
    type string
    The type of the environment variable, GENERAL or SECRET.
    wildcard boolean
    A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
    zone string
    If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
    name str
    The name of the component.
    type str
    The type of the environment variable, GENERAL or SECRET.
    wildcard bool
    A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
    zone str
    If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
    name String
    The name of the component.
    type String
    The type of the environment variable, GENERAL or SECRET.
    wildcard Boolean
    A boolean indicating whether the domain includes all sub-domains, in addition to the given domain.
    zone String
    If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.

    AppSpecEnv, AppSpecEnvArgs

    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.
    key string
    The name of the environment variable.
    scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type string
    The type of the environment variable, GENERAL or SECRET.
    value string
    The threshold for the type of the warning.
    key str
    The name of the environment variable.
    scope str
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type str
    The type of the environment variable, GENERAL or SECRET.
    value str
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.

    AppSpecFunction, AppSpecFunctionArgs

    Name string
    The name of the component.
    Alerts List<Pulumi.DigitalOcean.Inputs.AppSpecFunctionAlert>
    Describes an alert policy for the component.
    Cors Pulumi.DigitalOcean.Inputs.AppSpecFunctionCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    Envs List<Pulumi.DigitalOcean.Inputs.AppSpecFunctionEnv>
    Describes an environment variable made available to an app competent.
    Git Pulumi.DigitalOcean.Inputs.AppSpecFunctionGit
    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 or gitlab may be set.
    Github Pulumi.DigitalOcean.Inputs.AppSpecFunctionGithub
    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, or image may be set.
    Gitlab Pulumi.DigitalOcean.Inputs.AppSpecFunctionGitlab
    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, or image may be set.
    LogDestinations List<Pulumi.DigitalOcean.Inputs.AppSpecFunctionLogDestination>
    Describes a log forwarding destination.
    Routes List<Pulumi.DigitalOcean.Inputs.AppSpecFunctionRoute>
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    SourceDir string
    An optional path to the working directory to use for the build.
    Name string
    The name of the component.
    Alerts []AppSpecFunctionAlert
    Describes an alert policy for the component.
    Cors AppSpecFunctionCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    Envs []AppSpecFunctionEnv
    Describes an environment variable made available to an app competent.
    Git AppSpecFunctionGit
    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 or gitlab may be set.
    Github AppSpecFunctionGithub
    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, or image may be set.
    Gitlab AppSpecFunctionGitlab
    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, or image may be set.
    LogDestinations []AppSpecFunctionLogDestination
    Describes a log forwarding destination.
    Routes []AppSpecFunctionRoute
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    SourceDir string
    An optional path to the working directory to use for the build.
    name String
    The name of the component.
    alerts List<AppSpecFunctionAlert>
    Describes an alert policy for the component.
    cors AppSpecFunctionCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    envs List<AppSpecFunctionEnv>
    Describes an environment variable made available to an app competent.
    git AppSpecFunctionGit
    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 or gitlab may be set.
    github AppSpecFunctionGithub
    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, or image may be set.
    gitlab AppSpecFunctionGitlab
    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, or image may be set.
    logDestinations List<AppSpecFunctionLogDestination>
    Describes a log forwarding destination.
    routes List<AppSpecFunctionRoute>
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    sourceDir String
    An optional path to the working directory to use for the build.
    name string
    The name of the component.
    alerts AppSpecFunctionAlert[]
    Describes an alert policy for the component.
    cors AppSpecFunctionCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    envs AppSpecFunctionEnv[]
    Describes an environment variable made available to an app competent.
    git AppSpecFunctionGit
    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 or gitlab may be set.
    github AppSpecFunctionGithub
    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, or image may be set.
    gitlab AppSpecFunctionGitlab
    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, or image may be set.
    logDestinations AppSpecFunctionLogDestination[]
    Describes a log forwarding destination.
    routes AppSpecFunctionRoute[]
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    sourceDir string
    An optional path to the working directory to use for the build.
    name str
    The name of the component.
    alerts Sequence[AppSpecFunctionAlert]
    Describes an alert policy for the component.
    cors AppSpecFunctionCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    envs Sequence[AppSpecFunctionEnv]
    Describes an environment variable made available to an app competent.
    git AppSpecFunctionGit
    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 or gitlab may be set.
    github AppSpecFunctionGithub
    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, or image may be set.
    gitlab AppSpecFunctionGitlab
    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, or image may be set.
    log_destinations Sequence[AppSpecFunctionLogDestination]
    Describes a log forwarding destination.
    routes Sequence[AppSpecFunctionRoute]
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    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.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    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 or gitlab 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, or image 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, or image may be set.
    logDestinations List<Property Map>
    Describes a log forwarding destination.
    routes List<Property Map>
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    sourceDir 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 or LESS_THAN.
    Rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    Rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule String
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule str
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule String
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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

    AllowCredentials 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.
    AllowHeaders List<string>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    AllowMethods List<string>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    AllowOrigins Pulumi.DigitalOcean.Inputs.AppSpecFunctionCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    ExposeHeaders List<string>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    MaxAge 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.
    AllowCredentials 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.
    AllowHeaders []string
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    AllowMethods []string
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    AllowOrigins AppSpecFunctionCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    ExposeHeaders []string
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    MaxAge 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.
    allowCredentials 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.
    allowHeaders List<String>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods List<String>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins AppSpecFunctionCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    exposeHeaders List<String>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge 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.
    allowCredentials 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.
    allowHeaders string[]
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods string[]
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins AppSpecFunctionCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    exposeHeaders string[]
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge 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 AppSpecFunctionCorsAllowOrigins
    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.
    allowCredentials 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.
    allowHeaders List<String>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods List<String>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins Property Map
    The Access-Control-Allow-Origin can be
    exposeHeaders List<String>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge String
    An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

    AppSpecFunctionCorsAllowOrigins, AppSpecFunctionCorsAllowOriginsArgs

    Exact string
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    Prefix string
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    Regex string
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    Exact string
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    Prefix string
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    Regex string
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact String
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix String
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex String
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact string
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix string
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex string
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact str
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix str
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex str
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact String
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix String
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex String
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

    AppSpecFunctionEnv, AppSpecFunctionEnvArgs

    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.
    key string
    The name of the environment variable.
    scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type string
    The type of the environment variable, GENERAL or SECRET.
    value string
    The threshold for the type of the warning.
    key str
    The name of the environment variable.
    scope str
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type str
    The type of the environment variable, GENERAL or SECRET.
    value str
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.

    AppSpecFunctionGit, AppSpecFunctionGitArgs

    Branch string
    The name of the branch to use.
    RepoCloneUrl string
    The clone URL of the repo.
    Branch string
    The name of the branch to use.
    RepoCloneUrl string
    The clone URL of the repo.
    branch String
    The name of the branch to use.
    repoCloneUrl String
    The clone URL of the repo.
    branch string
    The name of the branch to use.
    repoCloneUrl string
    The clone URL of the repo.
    branch str
    The name of the branch to use.
    repo_clone_url str
    The clone URL of the repo.
    branch String
    The name of the branch to use.
    repoCloneUrl String
    The clone URL of the repo.

    AppSpecFunctionGithub, AppSpecFunctionGithubArgs

    Branch string
    The name of the branch to use.
    DeployOnPush bool
    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.
    DeployOnPush bool
    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.
    deployOnPush Boolean
    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.
    deployOnPush boolean
    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_push bool
    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.
    deployOnPush Boolean
    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.
    DeployOnPush bool
    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.
    DeployOnPush bool
    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.
    deployOnPush Boolean
    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.
    deployOnPush boolean
    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_push bool
    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.
    deployOnPush Boolean
    Whether to automatically deploy new commits made to the repo.
    repo String
    The name of the repo in the format owner/repo.

    AppSpecFunctionLogDestination, AppSpecFunctionLogDestinationArgs

    Name string
    The name of the component.
    Datadog AppSpecFunctionLogDestinationDatadog
    Datadog configuration.
    Logtail AppSpecFunctionLogDestinationLogtail
    Logtail configuration.
    Papertrail AppSpecFunctionLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog AppSpecFunctionLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecFunctionLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecFunctionLogDestinationPapertrail
    Papertrail configuration.
    name string
    The name of the component.
    datadog AppSpecFunctionLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecFunctionLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecFunctionLogDestinationPapertrail
    Papertrail configuration.
    name str
    The name of the component.
    datadog AppSpecFunctionLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecFunctionLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecFunctionLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog Property Map
    Datadog configuration.
    logtail Property Map
    Logtail configuration.
    papertrail Property Map
    Papertrail configuration.

    AppSpecFunctionLogDestinationDatadog, AppSpecFunctionLogDestinationDatadogArgs

    ApiKey string
    Datadog API key.
    Endpoint string
    Datadog HTTP log intake endpoint.
    ApiKey string
    Datadog API key.
    Endpoint string
    Datadog HTTP log intake endpoint.
    apiKey String
    Datadog API key.
    endpoint String
    Datadog HTTP log intake endpoint.
    apiKey string
    Datadog API key.
    endpoint string
    Datadog HTTP log intake endpoint.
    api_key str
    Datadog API key.
    endpoint str
    Datadog HTTP log intake endpoint.
    apiKey String
    Datadog API key.
    endpoint String
    Datadog HTTP log intake endpoint.

    AppSpecFunctionLogDestinationLogtail, AppSpecFunctionLogDestinationLogtailArgs

    Token string

    Logtail token.

    A database can contain:

    Token string

    Logtail token.

    A database can contain:

    token String

    Logtail token.

    A database can contain:

    token string

    Logtail token.

    A database can contain:

    token str

    Logtail token.

    A database can contain:

    token String

    Logtail token.

    A database can contain:

    AppSpecFunctionLogDestinationPapertrail, AppSpecFunctionLogDestinationPapertrailArgs

    Endpoint string
    Datadog HTTP log intake endpoint.
    Endpoint string
    Datadog HTTP log intake endpoint.
    endpoint String
    Datadog HTTP log intake endpoint.
    endpoint string
    Datadog HTTP log intake endpoint.
    endpoint str
    Datadog HTTP log intake endpoint.
    endpoint String
    Datadog HTTP log intake endpoint.

    AppSpecFunctionRoute, AppSpecFunctionRouteArgs

    Path string
    Paths must start with / and must be unique within the app.
    PreservePathPrefix bool
    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.
    PreservePathPrefix bool
    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.
    preservePathPrefix Boolean
    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.
    preservePathPrefix boolean
    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_prefix bool
    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.
    preservePathPrefix Boolean
    An optional flag to preserve the path that is forwarded to the backend service.

    AppSpecIngress, AppSpecIngressArgs

    Rules List<Pulumi.DigitalOcean.Inputs.AppSpecIngressRule>
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    Rules []AppSpecIngressRule
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    rules List<AppSpecIngressRule>
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    rules AppSpecIngressRule[]
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    rules Sequence[AppSpecIngressRule]
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    rules List<Property Map>
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

    AppSpecIngressRule, AppSpecIngressRuleArgs

    Component Pulumi.DigitalOcean.Inputs.AppSpecIngressRuleComponent
    The component to route to. Only one of component or redirect may be set.
    Cors Pulumi.DigitalOcean.Inputs.AppSpecIngressRuleCors
    The CORS policies of the app.
    Match Pulumi.DigitalOcean.Inputs.AppSpecIngressRuleMatch
    The match configuration for the rule
    Redirect Pulumi.DigitalOcean.Inputs.AppSpecIngressRuleRedirect
    The redirect configuration for the rule. Only one of component or redirect may be set.
    Component AppSpecIngressRuleComponent
    The component to route to. Only one of component or redirect may be set.
    Cors AppSpecIngressRuleCors
    The CORS policies of the app.
    Match AppSpecIngressRuleMatch
    The match configuration for the rule
    Redirect AppSpecIngressRuleRedirect
    The redirect configuration for the rule. Only one of component or redirect may be set.
    component AppSpecIngressRuleComponent
    The component to route to. Only one of component or redirect may be set.
    cors AppSpecIngressRuleCors
    The CORS policies of the app.
    match AppSpecIngressRuleMatch
    The match configuration for the rule
    redirect AppSpecIngressRuleRedirect
    The redirect configuration for the rule. Only one of component or redirect may be set.
    component AppSpecIngressRuleComponent
    The component to route to. Only one of component or redirect may be set.
    cors AppSpecIngressRuleCors
    The CORS policies of the app.
    match AppSpecIngressRuleMatch
    The match configuration for the rule
    redirect AppSpecIngressRuleRedirect
    The redirect configuration for the rule. Only one of component or redirect may be set.
    component AppSpecIngressRuleComponent
    The component to route to. Only one of component or redirect may be set.
    cors AppSpecIngressRuleCors
    The CORS policies of the app.
    match AppSpecIngressRuleMatch
    The match configuration for the rule
    redirect AppSpecIngressRuleRedirect
    The redirect configuration for the rule. Only one of component or redirect may be set.
    component Property Map
    The component to route to. Only one of component or redirect 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 or redirect may be set.

    AppSpecIngressRuleComponent, AppSpecIngressRuleComponentArgs

    Name string
    The name of the component.
    PreservePathPrefix bool
    An optional flag to preserve the path that is forwarded to the backend service.
    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.
    PreservePathPrefix bool
    An optional flag to preserve the path that is forwarded to the backend service.
    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.
    preservePathPrefix Boolean
    An optional flag to preserve the path that is forwarded to the backend service.
    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.
    preservePathPrefix boolean
    An optional flag to preserve the path that is forwarded to the backend service.
    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.
    preserve_path_prefix bool
    An optional flag to preserve the path that is forwarded to the backend service.
    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.
    preservePathPrefix Boolean
    An optional flag to preserve the path that is forwarded to the backend service.
    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

    AllowCredentials 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.
    AllowHeaders List<string>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    AllowMethods List<string>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    AllowOrigins Pulumi.DigitalOcean.Inputs.AppSpecIngressRuleCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    ExposeHeaders List<string>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    MaxAge 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.
    AllowCredentials 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.
    AllowHeaders []string
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    AllowMethods []string
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    AllowOrigins AppSpecIngressRuleCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    ExposeHeaders []string
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    MaxAge 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.
    allowCredentials 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.
    allowHeaders List<String>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods List<String>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins AppSpecIngressRuleCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    exposeHeaders List<String>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge 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.
    allowCredentials 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.
    allowHeaders string[]
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods string[]
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins AppSpecIngressRuleCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    exposeHeaders string[]
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge 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 AppSpecIngressRuleCorsAllowOrigins
    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.
    allowCredentials 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.
    allowHeaders List<String>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods List<String>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins Property Map
    The Access-Control-Allow-Origin can be
    exposeHeaders List<String>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge 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.DigitalOcean.Inputs.AppSpecIngressRuleMatchPath
    Paths must start with / and must be unique within the app.
    Path AppSpecIngressRuleMatchPath
    Paths must start with / and must be unique within the app.
    path AppSpecIngressRuleMatchPath
    Paths must start with / and must be unique within the app.
    path AppSpecIngressRuleMatchPath
    Paths must start with / and must be unique within the app.
    path AppSpecIngressRuleMatchPath
    Paths must start with / and must be unique within the app.
    path Property Map
    Paths must start with / and must be unique within the app.

    AppSpecIngressRuleMatchPath, AppSpecIngressRuleMatchPathArgs

    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.
    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.
    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.
    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.
    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.
    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.

    AppSpecIngressRuleRedirect, AppSpecIngressRuleRedirectArgs

    Authority string
    The authority/host to redirect to. This can be a hostname or IP address.
    Port int
    The health check will be performed on this port instead of component's HTTP port.
    RedirectCode 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 or https
    Uri string
    An optional URI path to redirect to.
    Authority string
    The authority/host to redirect to. This can be a hostname or IP address.
    Port int
    The health check will be performed on this port instead of component's HTTP port.
    RedirectCode 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 or https
    Uri string
    An optional URI path to redirect to.
    authority String
    The authority/host to redirect to. This can be a hostname or IP address.
    port Integer
    The health check will be performed on this port instead of component's HTTP port.
    redirectCode 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 or https
    uri String
    An optional URI path to redirect to.
    authority string
    The authority/host to redirect to. This can be a hostname or IP address.
    port number
    The health check will be performed on this port instead of component's HTTP port.
    redirectCode 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 or https
    uri string
    An optional URI path to redirect to.
    authority str
    The authority/host to redirect to. This can be a hostname or IP address.
    port int
    The health check will be performed on this port instead of component's HTTP port.
    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 or https
    uri str
    An optional URI path to redirect to.
    authority String
    The authority/host to redirect to. This can be a hostname or IP address.
    port Number
    The health check will be performed on this port instead of component's HTTP port.
    redirectCode 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 or https
    uri String
    An optional URI path to redirect to.

    AppSpecJob, AppSpecJobArgs

    Name string
    The name of the component.
    Alerts List<Pulumi.DigitalOcean.Inputs.AppSpecJobAlert>
    Describes an alert policy for the component.
    BuildCommand string
    An optional build command to run while building this component from source.
    DockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    EnvironmentSlug string
    An environment slug describing the type of this app.
    Envs List<Pulumi.DigitalOcean.Inputs.AppSpecJobEnv>
    Describes an environment variable made available to an app competent.
    Git Pulumi.DigitalOcean.Inputs.AppSpecJobGit
    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 or gitlab may be set.
    Github Pulumi.DigitalOcean.Inputs.AppSpecJobGithub
    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, or image may be set.
    Gitlab Pulumi.DigitalOcean.Inputs.AppSpecJobGitlab
    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, or image may be set.
    Image Pulumi.DigitalOcean.Inputs.AppSpecJobImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    InstanceCount int
    The amount of instances that this component should be scaled to.
    InstanceSizeSlug string
    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:
    LogDestinations List<Pulumi.DigitalOcean.Inputs.AppSpecJobLogDestination>
    Describes a log forwarding destination.
    RunCommand string
    An optional run command to override the component's default.
    SourceDir string
    An optional path to the working directory to use for the build.
    Name string
    The name of the component.
    Alerts []AppSpecJobAlert
    Describes an alert policy for the component.
    BuildCommand string
    An optional build command to run while building this component from source.
    DockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    EnvironmentSlug string
    An environment slug describing the type of this app.
    Envs []AppSpecJobEnv
    Describes an environment variable made available to an app competent.
    Git AppSpecJobGit
    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 or gitlab may be set.
    Github AppSpecJobGithub
    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, or image may be set.
    Gitlab AppSpecJobGitlab
    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, or image may be set.
    Image AppSpecJobImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    InstanceCount int
    The amount of instances that this component should be scaled to.
    InstanceSizeSlug string
    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:
    LogDestinations []AppSpecJobLogDestination
    Describes a log forwarding destination.
    RunCommand string
    An optional run command to override the component's default.
    SourceDir string
    An optional path to the working directory to use for the build.
    name String
    The name of the component.
    alerts List<AppSpecJobAlert>
    Describes an alert policy for the component.
    buildCommand String
    An optional build command to run while building this component from source.
    dockerfilePath String
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug String
    An environment slug describing the type of this app.
    envs List<AppSpecJobEnv>
    Describes an environment variable made available to an app competent.
    git AppSpecJobGit
    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 or gitlab may be set.
    github AppSpecJobGithub
    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, or image may be set.
    gitlab AppSpecJobGitlab
    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, or image may be set.
    image AppSpecJobImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    instanceCount Integer
    The amount of instances that this component should be scaled to.
    instanceSizeSlug String
    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:
    logDestinations List<AppSpecJobLogDestination>
    Describes a log forwarding destination.
    runCommand String
    An optional run command to override the component's default.
    sourceDir String
    An optional path to the working directory to use for the build.
    name string
    The name of the component.
    alerts AppSpecJobAlert[]
    Describes an alert policy for the component.
    buildCommand string
    An optional build command to run while building this component from source.
    dockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug string
    An environment slug describing the type of this app.
    envs AppSpecJobEnv[]
    Describes an environment variable made available to an app competent.
    git AppSpecJobGit
    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 or gitlab may be set.
    github AppSpecJobGithub
    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, or image may be set.
    gitlab AppSpecJobGitlab
    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, or image may be set.
    image AppSpecJobImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    instanceCount number
    The amount of instances that this component should be scaled to.
    instanceSizeSlug string
    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:
    logDestinations AppSpecJobLogDestination[]
    Describes a log forwarding destination.
    runCommand string
    An optional run command to override the component's default.
    sourceDir string
    An optional path to the working directory to use for the build.
    name str
    The name of the component.
    alerts Sequence[AppSpecJobAlert]
    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[AppSpecJobEnv]
    Describes an environment variable made available to an app competent.
    git AppSpecJobGit
    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 or gitlab may be set.
    github AppSpecJobGithub
    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, or image may be set.
    gitlab AppSpecJobGitlab
    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, or image may be set.
    image AppSpecJobImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    instance_count int
    The amount of instances that this component should be scaled to.
    instance_size_slug str
    The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (doctl apps tier instance-size list). Default: basic-xxs
    kind str
    The type of job and when it will be run during the deployment process. It may be one of:
    log_destinations Sequence[AppSpecJobLogDestination]
    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.
    buildCommand String
    An optional build command to run while building this component from source.
    dockerfilePath String
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug 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 or gitlab 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, or image 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, or image may be set.
    image Property Map
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    instanceCount Number
    The amount of instances that this component should be scaled to.
    instanceSizeSlug String
    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:
    logDestinations List<Property Map>
    Describes a log forwarding destination.
    runCommand String
    An optional run command to override the component's default.
    sourceDir 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 or LESS_THAN.
    Rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    Rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule String
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule str
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule String
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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

    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.
    key string
    The name of the environment variable.
    scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type string
    The type of the environment variable, GENERAL or SECRET.
    value string
    The threshold for the type of the warning.
    key str
    The name of the environment variable.
    scope str
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type str
    The type of the environment variable, GENERAL or SECRET.
    value str
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.

    AppSpecJobGit, AppSpecJobGitArgs

    Branch string
    The name of the branch to use.
    RepoCloneUrl string
    The clone URL of the repo.
    Branch string
    The name of the branch to use.
    RepoCloneUrl string
    The clone URL of the repo.
    branch String
    The name of the branch to use.
    repoCloneUrl String
    The clone URL of the repo.
    branch string
    The name of the branch to use.
    repoCloneUrl string
    The clone URL of the repo.
    branch str
    The name of the branch to use.
    repo_clone_url str
    The clone URL of the repo.
    branch String
    The name of the branch to use.
    repoCloneUrl String
    The clone URL of the repo.

    AppSpecJobGithub, AppSpecJobGithubArgs

    Branch string
    The name of the branch to use.
    DeployOnPush bool
    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.
    DeployOnPush bool
    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.
    deployOnPush Boolean
    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.
    deployOnPush boolean
    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_push bool
    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.
    deployOnPush Boolean
    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.
    DeployOnPush bool
    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.
    DeployOnPush bool
    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.
    deployOnPush Boolean
    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.
    deployOnPush boolean
    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_push bool
    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.
    deployOnPush Boolean
    Whether to automatically deploy new commits made to the repo.
    repo String
    The name of the repo in the format owner/repo.

    AppSpecJobImage, AppSpecJobImageArgs

    RegistryType string
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    Repository string
    The repository name.
    DeployOnPushes List<Pulumi.DigitalOcean.Inputs.AppSpecJobImageDeployOnPush>
    Whether to automatically deploy new commits made to the repo.
    Registry string
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    Tag string
    The repository tag. Defaults to latest if not provided.
    RegistryType string
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    Repository string
    The repository name.
    DeployOnPushes []AppSpecJobImageDeployOnPush
    Whether to automatically deploy new commits made to the repo.
    Registry string
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    Tag string
    The repository tag. Defaults to latest if not provided.
    registryType String
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository String
    The repository name.
    deployOnPushes List<AppSpecJobImageDeployOnPush>
    Whether to automatically deploy new commits made to the repo.
    registry String
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag String
    The repository tag. Defaults to latest if not provided.
    registryType string
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository string
    The repository name.
    deployOnPushes AppSpecJobImageDeployOnPush[]
    Whether to automatically deploy new commits made to the repo.
    registry string
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag string
    The repository tag. Defaults to latest if not provided.
    registry_type str
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository str
    The repository name.
    deploy_on_pushes Sequence[AppSpecJobImageDeployOnPush]
    Whether to automatically deploy new commits made to the repo.
    registry str
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag str
    The repository tag. Defaults to latest if not provided.
    registryType String
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository String
    The repository name.
    deployOnPushes List<Property Map>
    Whether to automatically deploy new commits made to the repo.
    registry String
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag String
    The repository tag. Defaults to latest if not provided.

    AppSpecJobImageDeployOnPush, AppSpecJobImageDeployOnPushArgs

    Enabled bool
    Whether to automatically deploy images pushed to DOCR.
    Enabled bool
    Whether to automatically deploy images pushed to DOCR.
    enabled Boolean
    Whether to automatically deploy images pushed to DOCR.
    enabled boolean
    Whether to automatically deploy images pushed to DOCR.
    enabled bool
    Whether to automatically deploy images pushed to DOCR.
    enabled Boolean
    Whether to automatically deploy images pushed to DOCR.

    AppSpecJobLogDestination, AppSpecJobLogDestinationArgs

    Name string
    The name of the component.
    Datadog AppSpecJobLogDestinationDatadog
    Datadog configuration.
    Logtail AppSpecJobLogDestinationLogtail
    Logtail configuration.
    Papertrail AppSpecJobLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog AppSpecJobLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecJobLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecJobLogDestinationPapertrail
    Papertrail configuration.
    name string
    The name of the component.
    datadog AppSpecJobLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecJobLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecJobLogDestinationPapertrail
    Papertrail configuration.
    name str
    The name of the component.
    datadog AppSpecJobLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecJobLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecJobLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog Property Map
    Datadog configuration.
    logtail Property Map
    Logtail configuration.
    papertrail Property Map
    Papertrail configuration.

    AppSpecJobLogDestinationDatadog, AppSpecJobLogDestinationDatadogArgs

    ApiKey string
    Datadog API key.
    Endpoint string
    Datadog HTTP log intake endpoint.
    ApiKey string
    Datadog API key.
    Endpoint string
    Datadog HTTP log intake endpoint.
    apiKey String
    Datadog API key.
    endpoint String
    Datadog HTTP log intake endpoint.
    apiKey string
    Datadog API key.
    endpoint string
    Datadog HTTP log intake endpoint.
    api_key str
    Datadog API key.
    endpoint str
    Datadog HTTP log intake endpoint.
    apiKey String
    Datadog API key.
    endpoint String
    Datadog HTTP log intake endpoint.

    AppSpecJobLogDestinationLogtail, AppSpecJobLogDestinationLogtailArgs

    Token string

    Logtail token.

    A database can contain:

    Token string

    Logtail token.

    A database can contain:

    token String

    Logtail token.

    A database can contain:

    token string

    Logtail token.

    A database can contain:

    token str

    Logtail token.

    A database can contain:

    token String

    Logtail token.

    A database can contain:

    AppSpecJobLogDestinationPapertrail, AppSpecJobLogDestinationPapertrailArgs

    Endpoint string
    Datadog HTTP log intake endpoint.
    Endpoint string
    Datadog HTTP log intake endpoint.
    endpoint String
    Datadog HTTP log intake endpoint.
    endpoint string
    Datadog HTTP log intake endpoint.
    endpoint str
    Datadog HTTP log intake endpoint.
    endpoint String
    Datadog HTTP log intake endpoint.

    AppSpecService, AppSpecServiceArgs

    Name string
    The name of the component.
    Alerts List<Pulumi.DigitalOcean.Inputs.AppSpecServiceAlert>
    Describes an alert policy for the component.
    BuildCommand string
    An optional build command to run while building this component from source.
    Cors Pulumi.DigitalOcean.Inputs.AppSpecServiceCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    DockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    EnvironmentSlug string
    An environment slug describing the type of this app.
    Envs List<Pulumi.DigitalOcean.Inputs.AppSpecServiceEnv>
    Describes an environment variable made available to an app competent.
    Git Pulumi.DigitalOcean.Inputs.AppSpecServiceGit
    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 or gitlab may be set.
    Github Pulumi.DigitalOcean.Inputs.AppSpecServiceGithub
    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, or image may be set.
    Gitlab Pulumi.DigitalOcean.Inputs.AppSpecServiceGitlab
    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, or image may be set.
    HealthCheck Pulumi.DigitalOcean.Inputs.AppSpecServiceHealthCheck
    A health check to determine the availability of this component.
    HttpPort int
    The internal port on which this service's run command will listen.
    Image Pulumi.DigitalOcean.Inputs.AppSpecServiceImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    InstanceCount int
    The amount of instances that this component should be scaled to.
    InstanceSizeSlug string
    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
    InternalPorts List<int>
    A list of ports on which this service will listen for internal traffic.
    LogDestinations List<Pulumi.DigitalOcean.Inputs.AppSpecServiceLogDestination>
    Describes a log forwarding destination.
    Routes List<Pulumi.DigitalOcean.Inputs.AppSpecServiceRoute>
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    RunCommand string
    An optional run command to override the component's default.
    SourceDir string
    An optional path to the working directory to use for the build.
    Name string
    The name of the component.
    Alerts []AppSpecServiceAlert
    Describes an alert policy for the component.
    BuildCommand string
    An optional build command to run while building this component from source.
    Cors AppSpecServiceCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    DockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    EnvironmentSlug string
    An environment slug describing the type of this app.
    Envs []AppSpecServiceEnv
    Describes an environment variable made available to an app competent.
    Git AppSpecServiceGit
    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 or gitlab may be set.
    Github AppSpecServiceGithub
    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, or image may be set.
    Gitlab AppSpecServiceGitlab
    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, or image may be set.
    HealthCheck AppSpecServiceHealthCheck
    A health check to determine the availability of this component.
    HttpPort int
    The internal port on which this service's run command will listen.
    Image AppSpecServiceImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    InstanceCount int
    The amount of instances that this component should be scaled to.
    InstanceSizeSlug string
    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
    InternalPorts []int
    A list of ports on which this service will listen for internal traffic.
    LogDestinations []AppSpecServiceLogDestination
    Describes a log forwarding destination.
    Routes []AppSpecServiceRoute
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    RunCommand string
    An optional run command to override the component's default.
    SourceDir string
    An optional path to the working directory to use for the build.
    name String
    The name of the component.
    alerts List<AppSpecServiceAlert>
    Describes an alert policy for the component.
    buildCommand String
    An optional build command to run while building this component from source.
    cors AppSpecServiceCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    dockerfilePath String
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug String
    An environment slug describing the type of this app.
    envs List<AppSpecServiceEnv>
    Describes an environment variable made available to an app competent.
    git AppSpecServiceGit
    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 or gitlab may be set.
    github AppSpecServiceGithub
    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, or image may be set.
    gitlab AppSpecServiceGitlab
    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, or image may be set.
    healthCheck AppSpecServiceHealthCheck
    A health check to determine the availability of this component.
    httpPort Integer
    The internal port on which this service's run command will listen.
    image AppSpecServiceImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    instanceCount Integer
    The amount of instances that this component should be scaled to.
    instanceSizeSlug String
    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
    internalPorts List<Integer>
    A list of ports on which this service will listen for internal traffic.
    logDestinations List<AppSpecServiceLogDestination>
    Describes a log forwarding destination.
    routes List<AppSpecServiceRoute>
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    runCommand String
    An optional run command to override the component's default.
    sourceDir String
    An optional path to the working directory to use for the build.
    name string
    The name of the component.
    alerts AppSpecServiceAlert[]
    Describes an alert policy for the component.
    buildCommand string
    An optional build command to run while building this component from source.
    cors AppSpecServiceCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    dockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug string
    An environment slug describing the type of this app.
    envs AppSpecServiceEnv[]
    Describes an environment variable made available to an app competent.
    git AppSpecServiceGit
    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 or gitlab may be set.
    github AppSpecServiceGithub
    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, or image may be set.
    gitlab AppSpecServiceGitlab
    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, or image may be set.
    healthCheck AppSpecServiceHealthCheck
    A health check to determine the availability of this component.
    httpPort number
    The internal port on which this service's run command will listen.
    image AppSpecServiceImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    instanceCount number
    The amount of instances that this component should be scaled to.
    instanceSizeSlug string
    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
    internalPorts number[]
    A list of ports on which this service will listen for internal traffic.
    logDestinations AppSpecServiceLogDestination[]
    Describes a log forwarding destination.
    routes AppSpecServiceRoute[]
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    runCommand string
    An optional run command to override the component's default.
    sourceDir string
    An optional path to the working directory to use for the build.
    name str
    The name of the component.
    alerts Sequence[AppSpecServiceAlert]
    Describes an alert policy for the component.
    build_command str
    An optional build command to run while building this component from source.
    cors AppSpecServiceCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    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[AppSpecServiceEnv]
    Describes an environment variable made available to an app competent.
    git AppSpecServiceGit
    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 or gitlab may be set.
    github AppSpecServiceGithub
    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, or image may be set.
    gitlab AppSpecServiceGitlab
    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, or image may be set.
    health_check AppSpecServiceHealthCheck
    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 AppSpecServiceImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    instance_count int
    The amount of instances that this component should be scaled to.
    instance_size_slug str
    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[AppSpecServiceLogDestination]
    Describes a log forwarding destination.
    routes Sequence[AppSpecServiceRoute]
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    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.
    buildCommand String
    An optional build command to run while building this component from source.
    cors Property Map
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    dockerfilePath String
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug 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 or gitlab 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, or image 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, or image may be set.
    healthCheck Property Map
    A health check to determine the availability of this component.
    httpPort 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, or image may be set.
    instanceCount Number
    The amount of instances that this component should be scaled to.
    instanceSizeSlug String
    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
    internalPorts List<Number>
    A list of ports on which this service will listen for internal traffic.
    logDestinations List<Property Map>
    Describes a log forwarding destination.
    routes List<Property Map>
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    runCommand String
    An optional run command to override the component's default.
    sourceDir 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 or LESS_THAN.
    Rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    Rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule String
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule str
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule String
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    value Number
    The threshold for the type of the warning.
    window String
    The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.
    disabled Boolean
    Determines whether or not the alert is disabled (default: false).

    AppSpecServiceCors, AppSpecServiceCorsArgs

    AllowCredentials 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.
    AllowHeaders List<string>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    AllowMethods List<string>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    AllowOrigins Pulumi.DigitalOcean.Inputs.AppSpecServiceCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    ExposeHeaders List<string>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    MaxAge 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.
    AllowCredentials 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.
    AllowHeaders []string
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    AllowMethods []string
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    AllowOrigins AppSpecServiceCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    ExposeHeaders []string
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    MaxAge 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.
    allowCredentials 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.
    allowHeaders List<String>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods List<String>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins AppSpecServiceCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    exposeHeaders List<String>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge 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.
    allowCredentials 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.
    allowHeaders string[]
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods string[]
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins AppSpecServiceCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    exposeHeaders string[]
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge 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 AppSpecServiceCorsAllowOrigins
    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.
    allowCredentials 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.
    allowHeaders List<String>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods List<String>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins Property Map
    The Access-Control-Allow-Origin can be
    exposeHeaders List<String>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge String
    An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

    AppSpecServiceCorsAllowOrigins, AppSpecServiceCorsAllowOriginsArgs

    Exact string
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    Prefix string
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    Regex string
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    Exact string
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    Prefix string
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    Regex string
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact String
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix String
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex String
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact string
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix string
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex string
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact str
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix str
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex str
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact String
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix String
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex String
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

    AppSpecServiceEnv, AppSpecServiceEnvArgs

    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.
    key string
    The name of the environment variable.
    scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type string
    The type of the environment variable, GENERAL or SECRET.
    value string
    The threshold for the type of the warning.
    key str
    The name of the environment variable.
    scope str
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type str
    The type of the environment variable, GENERAL or SECRET.
    value str
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.

    AppSpecServiceGit, AppSpecServiceGitArgs

    Branch string
    The name of the branch to use.
    RepoCloneUrl string
    The clone URL of the repo.
    Branch string
    The name of the branch to use.
    RepoCloneUrl string
    The clone URL of the repo.
    branch String
    The name of the branch to use.
    repoCloneUrl String
    The clone URL of the repo.
    branch string
    The name of the branch to use.
    repoCloneUrl string
    The clone URL of the repo.
    branch str
    The name of the branch to use.
    repo_clone_url str
    The clone URL of the repo.
    branch String
    The name of the branch to use.
    repoCloneUrl String
    The clone URL of the repo.

    AppSpecServiceGithub, AppSpecServiceGithubArgs

    Branch string
    The name of the branch to use.
    DeployOnPush bool
    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.
    DeployOnPush bool
    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.
    deployOnPush Boolean
    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.
    deployOnPush boolean
    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_push bool
    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.
    deployOnPush Boolean
    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.
    DeployOnPush bool
    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.
    DeployOnPush bool
    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.
    deployOnPush Boolean
    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.
    deployOnPush boolean
    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_push bool
    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.
    deployOnPush Boolean
    Whether to automatically deploy new commits made to the repo.
    repo String
    The name of the repo in the format owner/repo.

    AppSpecServiceHealthCheck, AppSpecServiceHealthCheckArgs

    FailureThreshold int
    The number of failed health checks before considered unhealthy.
    HttpPath string
    The route path used for the HTTP health check ping.
    InitialDelaySeconds int
    The number of seconds to wait before beginning health checks.
    PeriodSeconds 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.
    SuccessThreshold int
    The number of successful health checks before considered healthy.
    TimeoutSeconds int
    The number of seconds after which the check times out.
    FailureThreshold int
    The number of failed health checks before considered unhealthy.
    HttpPath string
    The route path used for the HTTP health check ping.
    InitialDelaySeconds int
    The number of seconds to wait before beginning health checks.
    PeriodSeconds 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.
    SuccessThreshold int
    The number of successful health checks before considered healthy.
    TimeoutSeconds int
    The number of seconds after which the check times out.
    failureThreshold Integer
    The number of failed health checks before considered unhealthy.
    httpPath String
    The route path used for the HTTP health check ping.
    initialDelaySeconds Integer
    The number of seconds to wait before beginning health checks.
    periodSeconds 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.
    successThreshold Integer
    The number of successful health checks before considered healthy.
    timeoutSeconds Integer
    The number of seconds after which the check times out.
    failureThreshold number
    The number of failed health checks before considered unhealthy.
    httpPath string
    The route path used for the HTTP health check ping.
    initialDelaySeconds number
    The number of seconds to wait before beginning health checks.
    periodSeconds 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.
    successThreshold number
    The number of successful health checks before considered healthy.
    timeoutSeconds 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_seconds int
    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.
    failureThreshold Number
    The number of failed health checks before considered unhealthy.
    httpPath String
    The route path used for the HTTP health check ping.
    initialDelaySeconds Number
    The number of seconds to wait before beginning health checks.
    periodSeconds 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.
    successThreshold Number
    The number of successful health checks before considered healthy.
    timeoutSeconds Number
    The number of seconds after which the check times out.

    AppSpecServiceImage, AppSpecServiceImageArgs

    RegistryType string
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    Repository string
    The repository name.
    DeployOnPushes List<Pulumi.DigitalOcean.Inputs.AppSpecServiceImageDeployOnPush>
    Whether to automatically deploy new commits made to the repo.
    Registry string
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    Tag string
    The repository tag. Defaults to latest if not provided.
    RegistryType string
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    Repository string
    The repository name.
    DeployOnPushes []AppSpecServiceImageDeployOnPush
    Whether to automatically deploy new commits made to the repo.
    Registry string
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    Tag string
    The repository tag. Defaults to latest if not provided.
    registryType String
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository String
    The repository name.
    deployOnPushes List<AppSpecServiceImageDeployOnPush>
    Whether to automatically deploy new commits made to the repo.
    registry String
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag String
    The repository tag. Defaults to latest if not provided.
    registryType string
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository string
    The repository name.
    deployOnPushes AppSpecServiceImageDeployOnPush[]
    Whether to automatically deploy new commits made to the repo.
    registry string
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag string
    The repository tag. Defaults to latest if not provided.
    registry_type str
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository str
    The repository name.
    deploy_on_pushes Sequence[AppSpecServiceImageDeployOnPush]
    Whether to automatically deploy new commits made to the repo.
    registry str
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag str
    The repository tag. Defaults to latest if not provided.
    registryType String
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository String
    The repository name.
    deployOnPushes List<Property Map>
    Whether to automatically deploy new commits made to the repo.
    registry String
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag String
    The repository tag. Defaults to latest if not provided.

    AppSpecServiceImageDeployOnPush, AppSpecServiceImageDeployOnPushArgs

    Enabled bool
    Whether to automatically deploy images pushed to DOCR.
    Enabled bool
    Whether to automatically deploy images pushed to DOCR.
    enabled Boolean
    Whether to automatically deploy images pushed to DOCR.
    enabled boolean
    Whether to automatically deploy images pushed to DOCR.
    enabled bool
    Whether to automatically deploy images pushed to DOCR.
    enabled Boolean
    Whether to automatically deploy images pushed to DOCR.

    AppSpecServiceLogDestination, AppSpecServiceLogDestinationArgs

    Name string
    The name of the component.
    Datadog AppSpecServiceLogDestinationDatadog
    Datadog configuration.
    Logtail AppSpecServiceLogDestinationLogtail
    Logtail configuration.
    Papertrail AppSpecServiceLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog AppSpecServiceLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecServiceLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecServiceLogDestinationPapertrail
    Papertrail configuration.
    name string
    The name of the component.
    datadog AppSpecServiceLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecServiceLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecServiceLogDestinationPapertrail
    Papertrail configuration.
    name str
    The name of the component.
    datadog AppSpecServiceLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecServiceLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecServiceLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog Property Map
    Datadog configuration.
    logtail Property Map
    Logtail configuration.
    papertrail Property Map
    Papertrail configuration.

    AppSpecServiceLogDestinationDatadog, AppSpecServiceLogDestinationDatadogArgs

    ApiKey string
    Datadog API key.
    Endpoint string
    Datadog HTTP log intake endpoint.
    ApiKey string
    Datadog API key.
    Endpoint string
    Datadog HTTP log intake endpoint.
    apiKey String
    Datadog API key.
    endpoint String
    Datadog HTTP log intake endpoint.
    apiKey string
    Datadog API key.
    endpoint string
    Datadog HTTP log intake endpoint.
    api_key str
    Datadog API key.
    endpoint str
    Datadog HTTP log intake endpoint.
    apiKey String
    Datadog API key.
    endpoint String
    Datadog HTTP log intake endpoint.

    AppSpecServiceLogDestinationLogtail, AppSpecServiceLogDestinationLogtailArgs

    Token string

    Logtail token.

    A database can contain:

    Token string

    Logtail token.

    A database can contain:

    token String

    Logtail token.

    A database can contain:

    token string

    Logtail token.

    A database can contain:

    token str

    Logtail token.

    A database can contain:

    token String

    Logtail token.

    A database can contain:

    AppSpecServiceLogDestinationPapertrail, AppSpecServiceLogDestinationPapertrailArgs

    Endpoint string
    Datadog HTTP log intake endpoint.
    Endpoint string
    Datadog HTTP log intake endpoint.
    endpoint String
    Datadog HTTP log intake endpoint.
    endpoint string
    Datadog HTTP log intake endpoint.
    endpoint str
    Datadog HTTP log intake endpoint.
    endpoint String
    Datadog HTTP log intake endpoint.

    AppSpecServiceRoute, AppSpecServiceRouteArgs

    Path string
    Paths must start with / and must be unique within the app.
    PreservePathPrefix bool
    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.
    PreservePathPrefix bool
    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.
    preservePathPrefix Boolean
    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.
    preservePathPrefix boolean
    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_prefix bool
    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.
    preservePathPrefix Boolean
    An optional flag to preserve the path that is forwarded to the backend service.

    AppSpecStaticSite, AppSpecStaticSiteArgs

    Name string
    The name of the component.
    BuildCommand string
    An optional build command to run while building this component from source.
    CatchallDocument 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.DigitalOcean.Inputs.AppSpecStaticSiteCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    DockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    EnvironmentSlug string
    An environment slug describing the type of this app.
    Envs List<Pulumi.DigitalOcean.Inputs.AppSpecStaticSiteEnv>
    Describes an environment variable made available to an app competent.
    ErrorDocument string
    The name of the error document to use when serving this static site.
    Git Pulumi.DigitalOcean.Inputs.AppSpecStaticSiteGit
    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 or gitlab may be set.
    Github Pulumi.DigitalOcean.Inputs.AppSpecStaticSiteGithub
    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, or image may be set.
    Gitlab Pulumi.DigitalOcean.Inputs.AppSpecStaticSiteGitlab
    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, or image may be set.
    IndexDocument string
    The name of the index document to use when serving this static site.
    OutputDir 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.DigitalOcean.Inputs.AppSpecStaticSiteRoute>
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    SourceDir string
    An optional path to the working directory to use for the build.
    Name string
    The name of the component.
    BuildCommand string
    An optional build command to run while building this component from source.
    CatchallDocument 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 AppSpecStaticSiteCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    DockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    EnvironmentSlug string
    An environment slug describing the type of this app.
    Envs []AppSpecStaticSiteEnv
    Describes an environment variable made available to an app competent.
    ErrorDocument string
    The name of the error document to use when serving this static site.
    Git AppSpecStaticSiteGit
    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 or gitlab may be set.
    Github AppSpecStaticSiteGithub
    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, or image may be set.
    Gitlab AppSpecStaticSiteGitlab
    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, or image may be set.
    IndexDocument string
    The name of the index document to use when serving this static site.
    OutputDir 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 []AppSpecStaticSiteRoute
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    SourceDir string
    An optional path to the working directory to use for the build.
    name String
    The name of the component.
    buildCommand String
    An optional build command to run while building this component from source.
    catchallDocument 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 AppSpecStaticSiteCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    dockerfilePath String
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug String
    An environment slug describing the type of this app.
    envs List<AppSpecStaticSiteEnv>
    Describes an environment variable made available to an app competent.
    errorDocument String
    The name of the error document to use when serving this static site.
    git AppSpecStaticSiteGit
    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 or gitlab may be set.
    github AppSpecStaticSiteGithub
    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, or image may be set.
    gitlab AppSpecStaticSiteGitlab
    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, or image may be set.
    indexDocument String
    The name of the index document to use when serving this static site.
    outputDir 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<AppSpecStaticSiteRoute>
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    sourceDir String
    An optional path to the working directory to use for the build.
    name string
    The name of the component.
    buildCommand string
    An optional build command to run while building this component from source.
    catchallDocument 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 AppSpecStaticSiteCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    dockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug string
    An environment slug describing the type of this app.
    envs AppSpecStaticSiteEnv[]
    Describes an environment variable made available to an app competent.
    errorDocument string
    The name of the error document to use when serving this static site.
    git AppSpecStaticSiteGit
    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 or gitlab may be set.
    github AppSpecStaticSiteGithub
    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, or image may be set.
    gitlab AppSpecStaticSiteGitlab
    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, or image may be set.
    indexDocument string
    The name of the index document to use when serving this static site.
    outputDir 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 AppSpecStaticSiteRoute[]
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    sourceDir 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 AppSpecStaticSiteCors
    The CORS policies of the app.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    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[AppSpecStaticSiteEnv]
    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 AppSpecStaticSiteGit
    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 or gitlab may be set.
    github AppSpecStaticSiteGithub
    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, or image may be set.
    gitlab AppSpecStaticSiteGitlab
    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, or image 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[AppSpecStaticSiteRoute]
    An HTTP paths that should be routed to this component.

    Deprecated: Service level routes are deprecated in favor of ingresses

    source_dir str
    An optional path to the working directory to use for the build.
    name String
    The name of the component.
    buildCommand String
    An optional build command to run while building this component from source.
    catchallDocument 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.

    Deprecated: Service level CORS rules are deprecated in favor of ingresses

    dockerfilePath String
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug String
    An environment slug describing the type of this app.
    envs List<Property Map>
    Describes an environment variable made available to an app competent.
    errorDocument 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 or gitlab 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, or image 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, or image may be set.
    indexDocument String
    The name of the index document to use when serving this static site.
    outputDir 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.

    Deprecated: Service level routes are deprecated in favor of ingresses

    sourceDir String
    An optional path to the working directory to use for the build.

    AppSpecStaticSiteCors, AppSpecStaticSiteCorsArgs

    AllowCredentials 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.
    AllowHeaders List<string>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    AllowMethods List<string>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    AllowOrigins Pulumi.DigitalOcean.Inputs.AppSpecStaticSiteCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    ExposeHeaders List<string>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    MaxAge 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.
    AllowCredentials 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.
    AllowHeaders []string
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    AllowMethods []string
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    AllowOrigins AppSpecStaticSiteCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    ExposeHeaders []string
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    MaxAge 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.
    allowCredentials 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.
    allowHeaders List<String>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods List<String>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins AppSpecStaticSiteCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    exposeHeaders List<String>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge 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.
    allowCredentials 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.
    allowHeaders string[]
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods string[]
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins AppSpecStaticSiteCorsAllowOrigins
    The Access-Control-Allow-Origin can be
    exposeHeaders string[]
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge 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 AppSpecStaticSiteCorsAllowOrigins
    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.
    allowCredentials 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.
    allowHeaders List<String>
    The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
    allowMethods List<String>
    The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
    allowOrigins Property Map
    The Access-Control-Allow-Origin can be
    exposeHeaders List<String>
    The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.
    maxAge String
    An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

    AppSpecStaticSiteCorsAllowOrigins, AppSpecStaticSiteCorsAllowOriginsArgs

    Exact string
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    Prefix string
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    Regex string
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    Exact string
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    Prefix string
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    Regex string
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact String
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix String
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex String
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact string
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix string
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex string
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact str
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix str
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex str
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.
    exact String
    The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.
    prefix String
    The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
    regex String
    The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

    AppSpecStaticSiteEnv, AppSpecStaticSiteEnvArgs

    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.
    key string
    The name of the environment variable.
    scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type string
    The type of the environment variable, GENERAL or SECRET.
    value string
    The threshold for the type of the warning.
    key str
    The name of the environment variable.
    scope str
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type str
    The type of the environment variable, GENERAL or SECRET.
    value str
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.

    AppSpecStaticSiteGit, AppSpecStaticSiteGitArgs

    Branch string
    The name of the branch to use.
    RepoCloneUrl string
    The clone URL of the repo.
    Branch string
    The name of the branch to use.
    RepoCloneUrl string
    The clone URL of the repo.
    branch String
    The name of the branch to use.
    repoCloneUrl String
    The clone URL of the repo.
    branch string
    The name of the branch to use.
    repoCloneUrl string
    The clone URL of the repo.
    branch str
    The name of the branch to use.
    repo_clone_url str
    The clone URL of the repo.
    branch String
    The name of the branch to use.
    repoCloneUrl String
    The clone URL of the repo.

    AppSpecStaticSiteGithub, AppSpecStaticSiteGithubArgs

    Branch string
    The name of the branch to use.
    DeployOnPush bool
    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.
    DeployOnPush bool
    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.
    deployOnPush Boolean
    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.
    deployOnPush boolean
    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_push bool
    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.
    deployOnPush Boolean
    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.
    DeployOnPush bool
    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.
    DeployOnPush bool
    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.
    deployOnPush Boolean
    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.
    deployOnPush boolean
    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_push bool
    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.
    deployOnPush Boolean
    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.
    PreservePathPrefix bool
    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.
    PreservePathPrefix bool
    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.
    preservePathPrefix Boolean
    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.
    preservePathPrefix boolean
    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_prefix bool
    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.
    preservePathPrefix Boolean
    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.DigitalOcean.Inputs.AppSpecWorkerAlert>
    Describes an alert policy for the component.
    BuildCommand string
    An optional build command to run while building this component from source.
    DockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    EnvironmentSlug string
    An environment slug describing the type of this app.
    Envs List<Pulumi.DigitalOcean.Inputs.AppSpecWorkerEnv>
    Describes an environment variable made available to an app competent.
    Git Pulumi.DigitalOcean.Inputs.AppSpecWorkerGit
    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 or gitlab may be set.
    Github Pulumi.DigitalOcean.Inputs.AppSpecWorkerGithub
    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, or image may be set.
    Gitlab Pulumi.DigitalOcean.Inputs.AppSpecWorkerGitlab
    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, or image may be set.
    Image Pulumi.DigitalOcean.Inputs.AppSpecWorkerImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    InstanceCount int
    The amount of instances that this component should be scaled to.
    InstanceSizeSlug string
    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
    LogDestinations List<Pulumi.DigitalOcean.Inputs.AppSpecWorkerLogDestination>
    Describes a log forwarding destination.
    RunCommand string
    An optional run command to override the component's default.
    SourceDir string
    An optional path to the working directory to use for the build.
    Name string
    The name of the component.
    Alerts []AppSpecWorkerAlert
    Describes an alert policy for the component.
    BuildCommand string
    An optional build command to run while building this component from source.
    DockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    EnvironmentSlug string
    An environment slug describing the type of this app.
    Envs []AppSpecWorkerEnv
    Describes an environment variable made available to an app competent.
    Git AppSpecWorkerGit
    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 or gitlab may be set.
    Github AppSpecWorkerGithub
    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, or image may be set.
    Gitlab AppSpecWorkerGitlab
    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, or image may be set.
    Image AppSpecWorkerImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    InstanceCount int
    The amount of instances that this component should be scaled to.
    InstanceSizeSlug string
    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
    LogDestinations []AppSpecWorkerLogDestination
    Describes a log forwarding destination.
    RunCommand string
    An optional run command to override the component's default.
    SourceDir string
    An optional path to the working directory to use for the build.
    name String
    The name of the component.
    alerts List<AppSpecWorkerAlert>
    Describes an alert policy for the component.
    buildCommand String
    An optional build command to run while building this component from source.
    dockerfilePath String
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug String
    An environment slug describing the type of this app.
    envs List<AppSpecWorkerEnv>
    Describes an environment variable made available to an app competent.
    git AppSpecWorkerGit
    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 or gitlab may be set.
    github AppSpecWorkerGithub
    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, or image may be set.
    gitlab AppSpecWorkerGitlab
    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, or image may be set.
    image AppSpecWorkerImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    instanceCount Integer
    The amount of instances that this component should be scaled to.
    instanceSizeSlug String
    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
    logDestinations List<AppSpecWorkerLogDestination>
    Describes a log forwarding destination.
    runCommand String
    An optional run command to override the component's default.
    sourceDir String
    An optional path to the working directory to use for the build.
    name string
    The name of the component.
    alerts AppSpecWorkerAlert[]
    Describes an alert policy for the component.
    buildCommand string
    An optional build command to run while building this component from source.
    dockerfilePath string
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug string
    An environment slug describing the type of this app.
    envs AppSpecWorkerEnv[]
    Describes an environment variable made available to an app competent.
    git AppSpecWorkerGit
    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 or gitlab may be set.
    github AppSpecWorkerGithub
    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, or image may be set.
    gitlab AppSpecWorkerGitlab
    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, or image may be set.
    image AppSpecWorkerImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    instanceCount number
    The amount of instances that this component should be scaled to.
    instanceSizeSlug string
    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
    logDestinations AppSpecWorkerLogDestination[]
    Describes a log forwarding destination.
    runCommand string
    An optional run command to override the component's default.
    sourceDir string
    An optional path to the working directory to use for the build.
    name str
    The name of the component.
    alerts Sequence[AppSpecWorkerAlert]
    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[AppSpecWorkerEnv]
    Describes an environment variable made available to an app competent.
    git AppSpecWorkerGit
    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 or gitlab may be set.
    github AppSpecWorkerGithub
    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, or image may be set.
    gitlab AppSpecWorkerGitlab
    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, or image may be set.
    image AppSpecWorkerImage
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    instance_count int
    The amount of instances that this component should be scaled to.
    instance_size_slug str
    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[AppSpecWorkerLogDestination]
    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.
    buildCommand String
    An optional build command to run while building this component from source.
    dockerfilePath String
    The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
    environmentSlug 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 or gitlab 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, or image 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, or image may be set.
    image Property Map
    An image to use as the component's source. Only one of git, github, gitlab, or image may be set.
    instanceCount Number
    The amount of instances that this component should be scaled to.
    instanceSizeSlug String
    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
    logDestinations List<Property Map>
    Describes a log forwarding destination.
    runCommand String
    An optional run command to override the component's default.
    sourceDir 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 or LESS_THAN.
    Rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    Rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule String
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule string
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule str
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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 or LESS_THAN.
    rule String
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_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

    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    Key string
    The name of the environment variable.
    Scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Value string
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.
    key string
    The name of the environment variable.
    scope string
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type string
    The type of the environment variable, GENERAL or SECRET.
    value string
    The threshold for the type of the warning.
    key str
    The name of the environment variable.
    scope str
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type str
    The type of the environment variable, GENERAL or SECRET.
    value str
    The threshold for the type of the warning.
    key String
    The name of the environment variable.
    scope String
    The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).
    type String
    The type of the environment variable, GENERAL or SECRET.
    value String
    The threshold for the type of the warning.

    AppSpecWorkerGit, AppSpecWorkerGitArgs

    Branch string
    The name of the branch to use.
    RepoCloneUrl string
    The clone URL of the repo.
    Branch string
    The name of the branch to use.
    RepoCloneUrl string
    The clone URL of the repo.
    branch String
    The name of the branch to use.
    repoCloneUrl String
    The clone URL of the repo.
    branch string
    The name of the branch to use.
    repoCloneUrl string
    The clone URL of the repo.
    branch str
    The name of the branch to use.
    repo_clone_url str
    The clone URL of the repo.
    branch String
    The name of the branch to use.
    repoCloneUrl String
    The clone URL of the repo.

    AppSpecWorkerGithub, AppSpecWorkerGithubArgs

    Branch string
    The name of the branch to use.
    DeployOnPush bool
    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.
    DeployOnPush bool
    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.
    deployOnPush Boolean
    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.
    deployOnPush boolean
    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_push bool
    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.
    deployOnPush Boolean
    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.
    DeployOnPush bool
    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.
    DeployOnPush bool
    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.
    deployOnPush Boolean
    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.
    deployOnPush boolean
    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_push bool
    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.
    deployOnPush Boolean
    Whether to automatically deploy new commits made to the repo.
    repo String
    The name of the repo in the format owner/repo.

    AppSpecWorkerImage, AppSpecWorkerImageArgs

    RegistryType string
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    Repository string
    The repository name.
    DeployOnPushes List<Pulumi.DigitalOcean.Inputs.AppSpecWorkerImageDeployOnPush>
    Whether to automatically deploy new commits made to the repo.
    Registry string
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    Tag string
    The repository tag. Defaults to latest if not provided.
    RegistryType string
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    Repository string
    The repository name.
    DeployOnPushes []AppSpecWorkerImageDeployOnPush
    Whether to automatically deploy new commits made to the repo.
    Registry string
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    Tag string
    The repository tag. Defaults to latest if not provided.
    registryType String
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository String
    The repository name.
    deployOnPushes List<AppSpecWorkerImageDeployOnPush>
    Whether to automatically deploy new commits made to the repo.
    registry String
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag String
    The repository tag. Defaults to latest if not provided.
    registryType string
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository string
    The repository name.
    deployOnPushes AppSpecWorkerImageDeployOnPush[]
    Whether to automatically deploy new commits made to the repo.
    registry string
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag string
    The repository tag. Defaults to latest if not provided.
    registry_type str
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository str
    The repository name.
    deploy_on_pushes Sequence[AppSpecWorkerImageDeployOnPush]
    Whether to automatically deploy new commits made to the repo.
    registry str
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag str
    The repository tag. Defaults to latest if not provided.
    registryType String
    The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
    repository String
    The repository name.
    deployOnPushes List<Property Map>
    Whether to automatically deploy new commits made to the repo.
    registry String
    The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.
    tag String
    The repository tag. Defaults to latest if not provided.

    AppSpecWorkerImageDeployOnPush, AppSpecWorkerImageDeployOnPushArgs

    Enabled bool
    Whether to automatically deploy images pushed to DOCR.
    Enabled bool
    Whether to automatically deploy images pushed to DOCR.
    enabled Boolean
    Whether to automatically deploy images pushed to DOCR.
    enabled boolean
    Whether to automatically deploy images pushed to DOCR.
    enabled bool
    Whether to automatically deploy images pushed to DOCR.
    enabled Boolean
    Whether to automatically deploy images pushed to DOCR.

    AppSpecWorkerLogDestination, AppSpecWorkerLogDestinationArgs

    Name string
    The name of the component.
    Datadog AppSpecWorkerLogDestinationDatadog
    Datadog configuration.
    Logtail AppSpecWorkerLogDestinationLogtail
    Logtail configuration.
    Papertrail AppSpecWorkerLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog AppSpecWorkerLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecWorkerLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecWorkerLogDestinationPapertrail
    Papertrail configuration.
    name string
    The name of the component.
    datadog AppSpecWorkerLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecWorkerLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecWorkerLogDestinationPapertrail
    Papertrail configuration.
    name str
    The name of the component.
    datadog AppSpecWorkerLogDestinationDatadog
    Datadog configuration.
    logtail AppSpecWorkerLogDestinationLogtail
    Logtail configuration.
    papertrail AppSpecWorkerLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog Property Map
    Datadog configuration.
    logtail Property Map
    Logtail configuration.
    papertrail Property Map
    Papertrail configuration.

    AppSpecWorkerLogDestinationDatadog, AppSpecWorkerLogDestinationDatadogArgs

    ApiKey string
    Datadog API key.
    Endpoint string
    Datadog HTTP log intake endpoint.
    ApiKey string
    Datadog API key.
    Endpoint string
    Datadog HTTP log intake endpoint.
    apiKey String
    Datadog API key.
    endpoint String
    Datadog HTTP log intake endpoint.
    apiKey string
    Datadog API key.
    endpoint string
    Datadog HTTP log intake endpoint.
    api_key str
    Datadog API key.
    endpoint str
    Datadog HTTP log intake endpoint.
    apiKey String
    Datadog API key.
    endpoint String
    Datadog HTTP log intake endpoint.

    AppSpecWorkerLogDestinationLogtail, AppSpecWorkerLogDestinationLogtailArgs

    Token string

    Logtail token.

    A database can contain:

    Token string

    Logtail token.

    A database can contain:

    token String

    Logtail token.

    A database can contain:

    token string

    Logtail token.

    A database can contain:

    token str

    Logtail token.

    A database can contain:

    token String

    Logtail token.

    A database can contain:

    AppSpecWorkerLogDestinationPapertrail, AppSpecWorkerLogDestinationPapertrailArgs

    Endpoint string
    Datadog HTTP log intake endpoint.
    Endpoint string
    Datadog HTTP log intake endpoint.
    endpoint String
    Datadog HTTP log intake endpoint.
    endpoint string
    Datadog HTTP log intake endpoint.
    endpoint str
    Datadog HTTP log intake endpoint.
    endpoint String
    Datadog HTTP log intake endpoint.

    Import

    An app can be imported using its id, e.g.

    $ pulumi import digitalocean:index/app:App myapp fb06ad00-351f-45c8-b5eb-13523c438661
    

    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.
    digitalocean logo
    DigitalOcean v4.27.0 published on Wednesday, Mar 13, 2024 by Pulumi