1. Packages
  2. Digitalocean Provider
  3. API Docs
  4. getApp
DigitalOcean v4.33.0 published on Thursday, Sep 26, 2024 by Pulumi

digitalocean.getApp

Explore with Pulumi AI

digitalocean logo
DigitalOcean v4.33.0 published on Thursday, Sep 26, 2024 by Pulumi

    Get information on a DigitalOcean App.

    Example Usage

    Get the account:

    import * as pulumi from "@pulumi/pulumi";
    import * as digitalocean from "@pulumi/digitalocean";
    
    const example = digitalocean.getApp({
        appId: "e665d18d-7b56-44a9-92ce-31979174d544",
    });
    export const defaultIngress = example.then(example => example.defaultIngress);
    
    import pulumi
    import pulumi_digitalocean as digitalocean
    
    example = digitalocean.get_app(app_id="e665d18d-7b56-44a9-92ce-31979174d544")
    pulumi.export("defaultIngress", example.default_ingress)
    
    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 {
    		example, err := digitalocean.LookupApp(ctx, &digitalocean.LookupAppArgs{
    			AppId: "e665d18d-7b56-44a9-92ce-31979174d544",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("defaultIngress", example.DefaultIngress)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DigitalOcean = Pulumi.DigitalOcean;
    
    return await Deployment.RunAsync(() => 
    {
        var example = DigitalOcean.GetApp.Invoke(new()
        {
            AppId = "e665d18d-7b56-44a9-92ce-31979174d544",
        });
    
        return new Dictionary<string, object?>
        {
            ["defaultIngress"] = example.Apply(getAppResult => getAppResult.DefaultIngress),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.digitalocean.DigitaloceanFunctions;
    import com.pulumi.digitalocean.inputs.GetAppArgs;
    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) {
            final var example = DigitaloceanFunctions.getApp(GetAppArgs.builder()
                .appId("e665d18d-7b56-44a9-92ce-31979174d544")
                .build());
    
            ctx.export("defaultIngress", example.applyValue(getAppResult -> getAppResult.defaultIngress()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: digitalocean:getApp
          Arguments:
            appId: e665d18d-7b56-44a9-92ce-31979174d544
    outputs:
      defaultIngress: ${example.defaultIngress}
    

    Using getApp

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getApp(args: GetAppArgs, opts?: InvokeOptions): Promise<GetAppResult>
    function getAppOutput(args: GetAppOutputArgs, opts?: InvokeOptions): Output<GetAppResult>
    def get_app(app_id: Optional[str] = None,
                dedicated_ips: Optional[Sequence[GetAppDedicatedIp]] = None,
                opts: Optional[InvokeOptions] = None) -> GetAppResult
    def get_app_output(app_id: Optional[pulumi.Input[str]] = None,
                dedicated_ips: Optional[pulumi.Input[Sequence[pulumi.Input[GetAppDedicatedIpArgs]]]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetAppResult]
    func LookupApp(ctx *Context, args *LookupAppArgs, opts ...InvokeOption) (*LookupAppResult, error)
    func LookupAppOutput(ctx *Context, args *LookupAppOutputArgs, opts ...InvokeOption) LookupAppResultOutput

    > Note: This function is named LookupApp in the Go SDK.

    public static class GetApp 
    {
        public static Task<GetAppResult> InvokeAsync(GetAppArgs args, InvokeOptions? opts = null)
        public static Output<GetAppResult> Invoke(GetAppInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: digitalocean:index/getApp:getApp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AppId string
    The ID of the app to retrieve information about.
    DedicatedIps List<Pulumi.DigitalOcean.Inputs.GetAppDedicatedIp>
    A list of dedicated egress IP addresses associated with the app.
    AppId string
    The ID of the app to retrieve information about.
    DedicatedIps []GetAppDedicatedIp
    A list of dedicated egress IP addresses associated with the app.
    appId String
    The ID of the app to retrieve information about.
    dedicatedIps List<GetAppDedicatedIp>
    A list of dedicated egress IP addresses associated with the app.
    appId string
    The ID of the app to retrieve information about.
    dedicatedIps GetAppDedicatedIp[]
    A list of dedicated egress IP addresses associated with the app.
    app_id str
    The ID of the app to retrieve information about.
    dedicated_ips Sequence[GetAppDedicatedIp]
    A list of dedicated egress IP addresses associated with the app.
    appId String
    The ID of the app to retrieve information about.
    dedicatedIps List<Property Map>
    A list of dedicated egress IP addresses associated with the app.

    getApp Result

    The following output properties are available:

    ActiveDeploymentId string
    The ID the app's currently active deployment.
    AppId string
    CreatedAt string
    The date and time of when the app was created.
    DedicatedIps List<Pulumi.DigitalOcean.Outputs.GetAppDedicatedIp>
    A list of dedicated egress IP addresses associated with the app.
    DefaultIngress string
    The default URL to access the app.
    Id string
    The provider-assigned unique ID for this managed resource.
    LiveDomain string
    The live domain of the app.
    LiveUrl string
    The live URL of the app.
    ProjectId string
    The ID of the project that the app is assigned to.
    Specs List<Pulumi.DigitalOcean.Outputs.GetAppSpec>
    A DigitalOcean App spec describing the app.
    UpdatedAt string
    The date and time of when the app was last updated.
    Urn string
    The uniform resource identifier for the app.
    ActiveDeploymentId string
    The ID the app's currently active deployment.
    AppId string
    CreatedAt string
    The date and time of when the app was created.
    DedicatedIps []GetAppDedicatedIp
    A list of dedicated egress IP addresses associated with the app.
    DefaultIngress string
    The default URL to access the app.
    Id string
    The provider-assigned unique ID for this managed resource.
    LiveDomain string
    The live domain of the app.
    LiveUrl string
    The live URL of the app.
    ProjectId string
    The ID of the project that the app is assigned to.
    Specs []GetAppSpec
    A DigitalOcean App spec describing the app.
    UpdatedAt string
    The date and time of when the app was last updated.
    Urn string
    The uniform resource identifier for the app.
    activeDeploymentId String
    The ID the app's currently active deployment.
    appId String
    createdAt String
    The date and time of when the app was created.
    dedicatedIps List<GetAppDedicatedIp>
    A list of dedicated egress IP addresses associated with the app.
    defaultIngress String
    The default URL to access the app.
    id String
    The provider-assigned unique ID for this managed resource.
    liveDomain String
    The live domain of the app.
    liveUrl String
    The live URL of the app.
    projectId String
    The ID of the project that the app is assigned to.
    specs List<GetAppSpec>
    A DigitalOcean App spec describing the app.
    updatedAt String
    The date and time of when the app was last updated.
    urn String
    The uniform resource identifier for the app.
    activeDeploymentId string
    The ID the app's currently active deployment.
    appId string
    createdAt string
    The date and time of when the app was created.
    dedicatedIps GetAppDedicatedIp[]
    A list of dedicated egress IP addresses associated with the app.
    defaultIngress string
    The default URL to access the app.
    id string
    The provider-assigned unique ID for this managed resource.
    liveDomain string
    The live domain of the app.
    liveUrl string
    The live URL of the app.
    projectId string
    The ID of the project that the app is assigned to.
    specs GetAppSpec[]
    A DigitalOcean App spec describing the app.
    updatedAt string
    The date and time of when the app was last updated.
    urn string
    The uniform resource identifier for the app.
    active_deployment_id str
    The ID the app's currently active deployment.
    app_id str
    created_at str
    The date and time of when the app was created.
    dedicated_ips Sequence[GetAppDedicatedIp]
    A list of dedicated egress IP addresses associated with the app.
    default_ingress str
    The default URL to access the app.
    id str
    The provider-assigned unique ID for this managed resource.
    live_domain str
    The live domain of the app.
    live_url str
    The live URL of the app.
    project_id str
    The ID of the project that the app is assigned to.
    specs Sequence[GetAppSpec]
    A DigitalOcean App spec describing the app.
    updated_at str
    The date and time of when the app was last updated.
    urn str
    The uniform resource identifier for the app.
    activeDeploymentId String
    The ID the app's currently active deployment.
    appId String
    createdAt String
    The date and time of when the app was created.
    dedicatedIps List<Property Map>
    A list of dedicated egress IP addresses associated with the app.
    defaultIngress String
    The default URL to access the app.
    id String
    The provider-assigned unique ID for this managed resource.
    liveDomain String
    The live domain of the app.
    liveUrl String
    The live URL of the app.
    projectId String
    The ID of the project that the app is assigned to.
    specs List<Property Map>
    A DigitalOcean App spec describing the app.
    updatedAt String
    The date and time of when the app was last updated.
    urn String
    The uniform resource identifier for the app.

    Supporting Types

    GetAppDedicatedIp

    Id string
    The ID of the dedicated egress IP.
    Ip string
    The IP address of the dedicated egress IP.
    Status string
    The status of the dedicated egress IP.
    Id string
    The ID of the dedicated egress IP.
    Ip string
    The IP address of the dedicated egress IP.
    Status string
    The status of the dedicated egress IP.
    id String
    The ID of the dedicated egress IP.
    ip String
    The IP address of the dedicated egress IP.
    status String
    The status of the dedicated egress IP.
    id string
    The ID of the dedicated egress IP.
    ip string
    The IP address of the dedicated egress IP.
    status string
    The status of the dedicated egress IP.
    id str
    The ID of the dedicated egress IP.
    ip str
    The IP address of the dedicated egress IP.
    status str
    The status of the dedicated egress IP.
    id String
    The ID of the dedicated egress IP.
    ip String
    The IP address of the dedicated egress IP.
    status String
    The status of the dedicated egress IP.

    GetAppSpec

    Domain List<Pulumi.DigitalOcean.Inputs.GetAppSpecDomain>
    Domains List<string>

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

    Features List<string>
    List of features which is applied to the app
    Ingress Pulumi.DigitalOcean.Inputs.GetAppSpecIngress
    Name string
    The name of the component.
    Alerts List<Pulumi.DigitalOcean.Inputs.GetAppSpecAlert>
    Describes an alert policy for the component.
    Databases List<Pulumi.DigitalOcean.Inputs.GetAppSpecDatabase>
    Egresses List<Pulumi.DigitalOcean.Inputs.GetAppSpecEgress>
    Envs List<Pulumi.DigitalOcean.Inputs.GetAppSpecEnv>
    Describes an environment variable made available to an app competent.
    Functions List<Pulumi.DigitalOcean.Inputs.GetAppSpecFunction>
    Jobs List<Pulumi.DigitalOcean.Inputs.GetAppSpecJob>
    Region string
    The slug for the DigitalOcean data center region hosting the app
    Services List<Pulumi.DigitalOcean.Inputs.GetAppSpecService>
    StaticSites List<Pulumi.DigitalOcean.Inputs.GetAppSpecStaticSite>
    Workers List<Pulumi.DigitalOcean.Inputs.GetAppSpecWorker>
    Domain []GetAppSpecDomain
    Domains []string

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

    Features []string
    List of features which is applied to the app
    Ingress GetAppSpecIngress
    Name string
    The name of the component.
    Alerts []GetAppSpecAlert
    Describes an alert policy for the component.
    Databases []GetAppSpecDatabase
    Egresses []GetAppSpecEgress
    Envs []GetAppSpecEnv
    Describes an environment variable made available to an app competent.
    Functions []GetAppSpecFunction
    Jobs []GetAppSpecJob
    Region string
    The slug for the DigitalOcean data center region hosting the app
    Services []GetAppSpecService
    StaticSites []GetAppSpecStaticSite
    Workers []GetAppSpecWorker
    domain List<GetAppSpecDomain>
    domains List<String>

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

    features List<String>
    List of features which is applied to the app
    ingress GetAppSpecIngress
    name String
    The name of the component.
    alerts List<GetAppSpecAlert>
    Describes an alert policy for the component.
    databases List<GetAppSpecDatabase>
    egresses List<GetAppSpecEgress>
    envs List<GetAppSpecEnv>
    Describes an environment variable made available to an app competent.
    functions List<GetAppSpecFunction>
    jobs List<GetAppSpecJob>
    region String
    The slug for the DigitalOcean data center region hosting the app
    services List<GetAppSpecService>
    staticSites List<GetAppSpecStaticSite>
    workers List<GetAppSpecWorker>
    domain GetAppSpecDomain[]
    domains string[]

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

    features string[]
    List of features which is applied to the app
    ingress GetAppSpecIngress
    name string
    The name of the component.
    alerts GetAppSpecAlert[]
    Describes an alert policy for the component.
    databases GetAppSpecDatabase[]
    egresses GetAppSpecEgress[]
    envs GetAppSpecEnv[]
    Describes an environment variable made available to an app competent.
    functions GetAppSpecFunction[]
    jobs GetAppSpecJob[]
    region string
    The slug for the DigitalOcean data center region hosting the app
    services GetAppSpecService[]
    staticSites GetAppSpecStaticSite[]
    workers GetAppSpecWorker[]
    domain Sequence[GetAppSpecDomain]
    domains Sequence[str]

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

    features Sequence[str]
    List of features which is applied to the app
    ingress GetAppSpecIngress
    name str
    The name of the component.
    alerts Sequence[GetAppSpecAlert]
    Describes an alert policy for the component.
    databases Sequence[GetAppSpecDatabase]
    egresses Sequence[GetAppSpecEgress]
    envs Sequence[GetAppSpecEnv]
    Describes an environment variable made available to an app competent.
    functions Sequence[GetAppSpecFunction]
    jobs Sequence[GetAppSpecJob]
    region str
    The slug for the DigitalOcean data center region hosting the app
    services Sequence[GetAppSpecService]
    static_sites Sequence[GetAppSpecStaticSite]
    workers Sequence[GetAppSpecWorker]
    domain List<Property Map>
    domains List<String>

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

    features List<String>
    List of features which is applied to the app
    ingress Property Map
    name String
    The name of the component.
    alerts List<Property Map>
    Describes an alert policy for the component.
    databases List<Property Map>
    egresses List<Property Map>
    envs List<Property Map>
    Describes an environment variable made available to an app competent.
    functions List<Property Map>
    jobs List<Property Map>
    region String
    The slug for the DigitalOcean data center region hosting the app
    services List<Property Map>
    staticSites List<Property Map>
    workers List<Property Map>

    GetAppSpecAlert

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

    GetAppSpecDatabase

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

    GetAppSpecDomain

    Name string
    The name of the component.
    Type string
    The type of the environment variable, GENERAL or SECRET.
    Wildcard bool
    Indicates 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
    Indicates 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
    Indicates 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
    Indicates 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
    Indicates 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
    Indicates 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.

    GetAppSpecEgress

    Type string
    The type of the environment variable, GENERAL or SECRET.
    Type string
    The type of the environment variable, GENERAL or SECRET.
    type String
    The type of the environment variable, GENERAL or SECRET.
    type string
    The type of the environment variable, GENERAL or SECRET.
    type str
    The type of the environment variable, GENERAL or SECRET.
    type String
    The type of the environment variable, GENERAL or SECRET.

    GetAppSpecEnv

    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.
    type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    value string
    The threshold for the type of the warning.
    type str
    The type of the environment variable, GENERAL or SECRET.
    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).
    value str
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.

    GetAppSpecFunction

    Name string
    The name of the component.
    Routes List<Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionRoute>

    Deprecated: Service level routes are deprecated in favor of ingresses

    Alerts List<Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionAlert>
    Describes an alert policy for the component.
    Cors Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionCors
    The CORS policies of the app.

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

    Envs List<Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionEnv>
    Describes an environment variable made available to an app competent.
    Git Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionGit
    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.GetAppSpecFunctionGithub
    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.GetAppSpecFunctionGitlab
    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.GetAppSpecFunctionLogDestination>
    Describes a log forwarding destination.
    SourceDir string
    An optional path to the working directory to use for the build.
    Name string
    The name of the component.
    Routes []GetAppSpecFunctionRoute

    Deprecated: Service level routes are deprecated in favor of ingresses

    Alerts []GetAppSpecFunctionAlert
    Describes an alert policy for the component.
    Cors GetAppSpecFunctionCors
    The CORS policies of the app.

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

    Envs []GetAppSpecFunctionEnv
    Describes an environment variable made available to an app competent.
    Git GetAppSpecFunctionGit
    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 GetAppSpecFunctionGithub
    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 GetAppSpecFunctionGitlab
    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 []GetAppSpecFunctionLogDestination
    Describes a log forwarding destination.
    SourceDir string
    An optional path to the working directory to use for the build.
    name String
    The name of the component.
    routes List<GetAppSpecFunctionRoute>

    Deprecated: Service level routes are deprecated in favor of ingresses

    alerts List<GetAppSpecFunctionAlert>
    Describes an alert policy for the component.
    cors GetAppSpecFunctionCors
    The CORS policies of the app.

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

    envs List<GetAppSpecFunctionEnv>
    Describes an environment variable made available to an app competent.
    git GetAppSpecFunctionGit
    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 GetAppSpecFunctionGithub
    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 GetAppSpecFunctionGitlab
    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<GetAppSpecFunctionLogDestination>
    Describes a log forwarding destination.
    sourceDir String
    An optional path to the working directory to use for the build.
    name string
    The name of the component.
    routes GetAppSpecFunctionRoute[]

    Deprecated: Service level routes are deprecated in favor of ingresses

    alerts GetAppSpecFunctionAlert[]
    Describes an alert policy for the component.
    cors GetAppSpecFunctionCors
    The CORS policies of the app.

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

    envs GetAppSpecFunctionEnv[]
    Describes an environment variable made available to an app competent.
    git GetAppSpecFunctionGit
    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 GetAppSpecFunctionGithub
    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 GetAppSpecFunctionGitlab
    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 GetAppSpecFunctionLogDestination[]
    Describes a log forwarding destination.
    sourceDir string
    An optional path to the working directory to use for the build.
    name str
    The name of the component.
    routes Sequence[GetAppSpecFunctionRoute]

    Deprecated: Service level routes are deprecated in favor of ingresses

    alerts Sequence[GetAppSpecFunctionAlert]
    Describes an alert policy for the component.
    cors GetAppSpecFunctionCors
    The CORS policies of the app.

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

    envs Sequence[GetAppSpecFunctionEnv]
    Describes an environment variable made available to an app competent.
    git GetAppSpecFunctionGit
    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 GetAppSpecFunctionGithub
    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 GetAppSpecFunctionGitlab
    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[GetAppSpecFunctionLogDestination]
    Describes a log forwarding destination.
    source_dir str
    An optional path to the working directory to use for the build.
    name String
    The name of the component.
    routes List<Property Map>

    Deprecated: Service level routes are deprecated in favor of ingresses

    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.
    sourceDir String
    An optional path to the working directory to use for the build.

    GetAppSpecFunctionAlert

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

    GetAppSpecFunctionCors

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

    GetAppSpecFunctionCorsAllowOrigins

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    GetAppSpecFunctionEnv

    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.
    type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    value string
    The threshold for the type of the warning.
    type str
    The type of the environment variable, GENERAL or SECRET.
    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).
    value str
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.

    GetAppSpecFunctionGit

    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.

    GetAppSpecFunctionGithub

    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.

    GetAppSpecFunctionGitlab

    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.

    GetAppSpecFunctionLogDestination

    name String
    The name of the component.
    datadog Property Map
    Datadog configuration.
    logtail Property Map
    Logtail configuration.
    openSearch Property Map
    OpenSearch configuration.
    papertrail Property Map
    Papertrail configuration.

    GetAppSpecFunctionLogDestinationDatadog

    ApiKey string
    Datadog API key.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    ApiKey string
    Datadog API key.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey String
    Datadog API key.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey string
    Datadog API key.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    api_key str
    Datadog API key.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey String
    Datadog API key.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

    GetAppSpecFunctionLogDestinationLogtail

    Token string
    Logtail token.
    Token string
    Logtail token.
    token String
    Logtail token.
    token string
    Logtail token.
    token str
    Logtail token.
    token String
    Logtail token.

    GetAppSpecFunctionLogDestinationOpenSearch

    BasicAuth Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    IndexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    BasicAuth GetAppSpecFunctionLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    IndexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth GetAppSpecFunctionLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName String
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth GetAppSpecFunctionLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    basic_auth GetAppSpecFunctionLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    cluster_name str
    The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    index_name str
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth Property Map
    OpenSearch basic auth
    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.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName String
    The index name to use for the logs. If not set, the default index name is "logs".

    GetAppSpecFunctionLogDestinationOpenSearchBasicAuth

    Password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    User string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    Password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    User string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password String
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user String
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password str
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user str
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password String
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user String
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.

    GetAppSpecFunctionLogDestinationPapertrail

    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

    GetAppSpecFunctionRoute

    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.

    GetAppSpecIngress

    Rules List<Pulumi.DigitalOcean.Inputs.GetAppSpecIngressRule>
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    Rules []GetAppSpecIngressRule
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    rules List<GetAppSpecIngressRule>
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    rules GetAppSpecIngressRule[]
    The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
    rules Sequence[GetAppSpecIngressRule]
    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.

    GetAppSpecIngressRule

    GetAppSpecIngressRuleComponent

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

    GetAppSpecIngressRuleCors

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

    GetAppSpecIngressRuleCorsAllowOrigins

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    GetAppSpecIngressRuleMatch

    Path Pulumi.DigitalOcean.Inputs.GetAppSpecIngressRuleMatchPath
    Paths must start with / and must be unique within the app.
    Path GetAppSpecIngressRuleMatchPath
    Paths must start with / and must be unique within the app.
    path GetAppSpecIngressRuleMatchPath
    Paths must start with / and must be unique within the app.
    path GetAppSpecIngressRuleMatchPath
    Paths must start with / and must be unique within the app.
    path GetAppSpecIngressRuleMatchPath
    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.

    GetAppSpecIngressRuleMatchPath

    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.

    GetAppSpecIngressRuleRedirect

    Authority string
    Port int
    RedirectCode int
    Scheme string
    Uri string
    Authority string
    Port int
    RedirectCode int
    Scheme string
    Uri string
    authority String
    port Integer
    redirectCode Integer
    scheme String
    uri String
    authority string
    port number
    redirectCode number
    scheme string
    uri string
    authority String
    port Number
    redirectCode Number
    scheme String
    uri String

    GetAppSpecJob

    Name string
    The name of the component.
    Alerts List<Pulumi.DigitalOcean.Inputs.GetAppSpecJobAlert>
    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.GetAppSpecJobEnv>
    Describes an environment variable made available to an app competent.
    Git Pulumi.DigitalOcean.Inputs.GetAppSpecJobGit
    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.GetAppSpecJobGithub
    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.GetAppSpecJobGitlab
    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.GetAppSpecJobImage
    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.
    Kind string
    The type of job and when it will be run during the deployment process. It may be one of:

    • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
    • PRE_DEPLOY: Indicates a job that runs before an app deployment.
    • POST_DEPLOY: Indicates a job that runs after an app deployment.
    • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
    LogDestinations List<Pulumi.DigitalOcean.Inputs.GetAppSpecJobLogDestination>
    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 []GetAppSpecJobAlert
    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 []GetAppSpecJobEnv
    Describes an environment variable made available to an app competent.
    Git GetAppSpecJobGit
    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 GetAppSpecJobGithub
    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 GetAppSpecJobGitlab
    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 GetAppSpecJobImage
    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.
    Kind string
    The type of job and when it will be run during the deployment process. It may be one of:

    • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
    • PRE_DEPLOY: Indicates a job that runs before an app deployment.
    • POST_DEPLOY: Indicates a job that runs after an app deployment.
    • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
    LogDestinations []GetAppSpecJobLogDestination
    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<GetAppSpecJobAlert>
    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<GetAppSpecJobEnv>
    Describes an environment variable made available to an app competent.
    git GetAppSpecJobGit
    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 GetAppSpecJobGithub
    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 GetAppSpecJobGitlab
    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 GetAppSpecJobImage
    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.
    kind String
    The type of job and when it will be run during the deployment process. It may be one of:

    • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
    • PRE_DEPLOY: Indicates a job that runs before an app deployment.
    • POST_DEPLOY: Indicates a job that runs after an app deployment.
    • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
    logDestinations List<GetAppSpecJobLogDestination>
    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 GetAppSpecJobAlert[]
    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 GetAppSpecJobEnv[]
    Describes an environment variable made available to an app competent.
    git GetAppSpecJobGit
    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 GetAppSpecJobGithub
    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 GetAppSpecJobGitlab
    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 GetAppSpecJobImage
    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.
    kind string
    The type of job and when it will be run during the deployment process. It may be one of:

    • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
    • PRE_DEPLOY: Indicates a job that runs before an app deployment.
    • POST_DEPLOY: Indicates a job that runs after an app deployment.
    • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
    logDestinations GetAppSpecJobLogDestination[]
    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[GetAppSpecJobAlert]
    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[GetAppSpecJobEnv]
    Describes an environment variable made available to an app competent.
    git GetAppSpecJobGit
    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 GetAppSpecJobGithub
    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 GetAppSpecJobGitlab
    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 GetAppSpecJobImage
    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.
    kind str
    The type of job and when it will be run during the deployment process. It may be one of:

    • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
    • PRE_DEPLOY: Indicates a job that runs before an app deployment.
    • POST_DEPLOY: Indicates a job that runs after an app deployment.
    • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
    log_destinations Sequence[GetAppSpecJobLogDestination]
    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.
    kind String
    The type of job and when it will be run during the deployment process. It may be one of:

    • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
    • PRE_DEPLOY: Indicates a job that runs before an app deployment.
    • POST_DEPLOY: Indicates a job that runs after an app deployment.
    • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
    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.

    GetAppSpecJobAlert

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

    GetAppSpecJobEnv

    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.
    type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    value string
    The threshold for the type of the warning.
    type str
    The type of the environment variable, GENERAL or SECRET.
    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).
    value str
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.

    GetAppSpecJobGit

    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.

    GetAppSpecJobGithub

    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.

    GetAppSpecJobGitlab

    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.

    GetAppSpecJobImage

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

    GetAppSpecJobImageDeployOnPush

    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.

    GetAppSpecJobLogDestination

    Name string
    The name of the component.
    Datadog GetAppSpecJobLogDestinationDatadog
    Datadog configuration.
    Logtail GetAppSpecJobLogDestinationLogtail
    Logtail configuration.
    OpenSearch GetAppSpecJobLogDestinationOpenSearch
    OpenSearch configuration.
    Papertrail GetAppSpecJobLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog GetAppSpecJobLogDestinationDatadog
    Datadog configuration.
    logtail GetAppSpecJobLogDestinationLogtail
    Logtail configuration.
    openSearch GetAppSpecJobLogDestinationOpenSearch
    OpenSearch configuration.
    papertrail GetAppSpecJobLogDestinationPapertrail
    Papertrail configuration.
    name string
    The name of the component.
    datadog GetAppSpecJobLogDestinationDatadog
    Datadog configuration.
    logtail GetAppSpecJobLogDestinationLogtail
    Logtail configuration.
    openSearch GetAppSpecJobLogDestinationOpenSearch
    OpenSearch configuration.
    papertrail GetAppSpecJobLogDestinationPapertrail
    Papertrail configuration.
    name str
    The name of the component.
    datadog GetAppSpecJobLogDestinationDatadog
    Datadog configuration.
    logtail GetAppSpecJobLogDestinationLogtail
    Logtail configuration.
    open_search GetAppSpecJobLogDestinationOpenSearch
    OpenSearch configuration.
    papertrail GetAppSpecJobLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog Property Map
    Datadog configuration.
    logtail Property Map
    Logtail configuration.
    openSearch Property Map
    OpenSearch configuration.
    papertrail Property Map
    Papertrail configuration.

    GetAppSpecJobLogDestinationDatadog

    ApiKey string
    Datadog API key.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    ApiKey string
    Datadog API key.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey String
    Datadog API key.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey string
    Datadog API key.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    api_key str
    Datadog API key.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey String
    Datadog API key.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

    GetAppSpecJobLogDestinationLogtail

    Token string
    Logtail token.
    Token string
    Logtail token.
    token String
    Logtail token.
    token string
    Logtail token.
    token str
    Logtail token.
    token String
    Logtail token.

    GetAppSpecJobLogDestinationOpenSearch

    BasicAuth Pulumi.DigitalOcean.Inputs.GetAppSpecJobLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    IndexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    BasicAuth GetAppSpecJobLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    IndexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth GetAppSpecJobLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName String
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth GetAppSpecJobLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    basic_auth GetAppSpecJobLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    cluster_name str
    The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    index_name str
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth Property Map
    OpenSearch basic auth
    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.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName String
    The index name to use for the logs. If not set, the default index name is "logs".

    GetAppSpecJobLogDestinationOpenSearchBasicAuth

    Password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    User string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    Password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    User string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password String
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user String
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password str
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user str
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password String
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user String
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.

    GetAppSpecJobLogDestinationPapertrail

    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

    GetAppSpecService

    HttpPort int
    The internal port on which this service's run command will listen.
    InternalPorts List<int>
    A list of ports on which this service will listen for internal traffic.
    Name string
    The name of the component.
    Routes List<Pulumi.DigitalOcean.Inputs.GetAppSpecServiceRoute>

    Deprecated: Service level routes are deprecated in favor of ingresses

    RunCommand string
    An optional run command to override the component's default.
    Alerts List<Pulumi.DigitalOcean.Inputs.GetAppSpecServiceAlert>
    Describes an alert policy for the component.
    Autoscaling Pulumi.DigitalOcean.Inputs.GetAppSpecServiceAutoscaling
    Configuration for automatically scaling this component based on metrics.
    BuildCommand string
    An optional build command to run while building this component from source.
    Cors Pulumi.DigitalOcean.Inputs.GetAppSpecServiceCors
    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.GetAppSpecServiceEnv>
    Describes an environment variable made available to an app competent.
    Git Pulumi.DigitalOcean.Inputs.GetAppSpecServiceGit
    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.GetAppSpecServiceGithub
    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.GetAppSpecServiceGitlab
    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.GetAppSpecServiceHealthCheck
    A health check to determine the availability of this component.
    Image Pulumi.DigitalOcean.Inputs.GetAppSpecServiceImage
    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.
    LogDestinations List<Pulumi.DigitalOcean.Inputs.GetAppSpecServiceLogDestination>
    Describes a log forwarding destination.
    SourceDir string
    An optional path to the working directory to use for the build.
    HttpPort int
    The internal port on which this service's run command will listen.
    InternalPorts []int
    A list of ports on which this service will listen for internal traffic.
    Name string
    The name of the component.
    Routes []GetAppSpecServiceRoute

    Deprecated: Service level routes are deprecated in favor of ingresses

    RunCommand string
    An optional run command to override the component's default.
    Alerts []GetAppSpecServiceAlert
    Describes an alert policy for the component.
    Autoscaling GetAppSpecServiceAutoscaling
    Configuration for automatically scaling this component based on metrics.
    BuildCommand string
    An optional build command to run while building this component from source.
    Cors GetAppSpecServiceCors
    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 []GetAppSpecServiceEnv
    Describes an environment variable made available to an app competent.
    Git GetAppSpecServiceGit
    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 GetAppSpecServiceGithub
    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 GetAppSpecServiceGitlab
    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 GetAppSpecServiceHealthCheck
    A health check to determine the availability of this component.
    Image GetAppSpecServiceImage
    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.
    LogDestinations []GetAppSpecServiceLogDestination
    Describes a log forwarding destination.
    SourceDir string
    An optional path to the working directory to use for the build.
    httpPort Integer
    The internal port on which this service's run command will listen.
    internalPorts List<Integer>
    A list of ports on which this service will listen for internal traffic.
    name String
    The name of the component.
    routes List<GetAppSpecServiceRoute>

    Deprecated: Service level routes are deprecated in favor of ingresses

    runCommand String
    An optional run command to override the component's default.
    alerts List<GetAppSpecServiceAlert>
    Describes an alert policy for the component.
    autoscaling GetAppSpecServiceAutoscaling
    Configuration for automatically scaling this component based on metrics.
    buildCommand String
    An optional build command to run while building this component from source.
    cors GetAppSpecServiceCors
    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<GetAppSpecServiceEnv>
    Describes an environment variable made available to an app competent.
    git GetAppSpecServiceGit
    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 GetAppSpecServiceGithub
    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 GetAppSpecServiceGitlab
    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 GetAppSpecServiceHealthCheck
    A health check to determine the availability of this component.
    image GetAppSpecServiceImage
    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.
    logDestinations List<GetAppSpecServiceLogDestination>
    Describes a log forwarding destination.
    sourceDir String
    An optional path to the working directory to use for the build.
    httpPort number
    The internal port on which this service's run command will listen.
    internalPorts number[]
    A list of ports on which this service will listen for internal traffic.
    name string
    The name of the component.
    routes GetAppSpecServiceRoute[]

    Deprecated: Service level routes are deprecated in favor of ingresses

    runCommand string
    An optional run command to override the component's default.
    alerts GetAppSpecServiceAlert[]
    Describes an alert policy for the component.
    autoscaling GetAppSpecServiceAutoscaling
    Configuration for automatically scaling this component based on metrics.
    buildCommand string
    An optional build command to run while building this component from source.
    cors GetAppSpecServiceCors
    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 GetAppSpecServiceEnv[]
    Describes an environment variable made available to an app competent.
    git GetAppSpecServiceGit
    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 GetAppSpecServiceGithub
    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 GetAppSpecServiceGitlab
    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 GetAppSpecServiceHealthCheck
    A health check to determine the availability of this component.
    image GetAppSpecServiceImage
    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.
    logDestinations GetAppSpecServiceLogDestination[]
    Describes a log forwarding destination.
    sourceDir string
    An optional path to the working directory to use for the build.
    http_port int
    The internal port on which this service's run command will listen.
    internal_ports Sequence[int]
    A list of ports on which this service will listen for internal traffic.
    name str
    The name of the component.
    routes Sequence[GetAppSpecServiceRoute]

    Deprecated: Service level routes are deprecated in favor of ingresses

    run_command str
    An optional run command to override the component's default.
    alerts Sequence[GetAppSpecServiceAlert]
    Describes an alert policy for the component.
    autoscaling GetAppSpecServiceAutoscaling
    Configuration for automatically scaling this component based on metrics.
    build_command str
    An optional build command to run while building this component from source.
    cors GetAppSpecServiceCors
    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[GetAppSpecServiceEnv]
    Describes an environment variable made available to an app competent.
    git GetAppSpecServiceGit
    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 GetAppSpecServiceGithub
    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 GetAppSpecServiceGitlab
    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 GetAppSpecServiceHealthCheck
    A health check to determine the availability of this component.
    image GetAppSpecServiceImage
    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.
    log_destinations Sequence[GetAppSpecServiceLogDestination]
    Describes a log forwarding destination.
    source_dir str
    An optional path to the working directory to use for the build.
    httpPort Number
    The internal port on which this service's run command will listen.
    internalPorts List<Number>
    A list of ports on which this service will listen for internal traffic.
    name String
    The name of the component.
    routes List<Property Map>

    Deprecated: Service level routes are deprecated in favor of ingresses

    runCommand String
    An optional run command to override the component's default.
    alerts List<Property Map>
    Describes an alert policy for the component.
    autoscaling Property Map
    Configuration for automatically scaling this component based on metrics.
    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.
    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.
    logDestinations List<Property Map>
    Describes a log forwarding destination.
    sourceDir String
    An optional path to the working directory to use for the build.

    GetAppSpecServiceAlert

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

    GetAppSpecServiceAutoscaling

    MaxInstanceCount int
    The maximum amount of instances for this component. Must be more than min_instance_count.
    Metrics Pulumi.DigitalOcean.Inputs.GetAppSpecServiceAutoscalingMetrics
    The metrics that the component is scaled on.
    MinInstanceCount int
    The minimum amount of instances for this component. Must be less than max_instance_count.
    MaxInstanceCount int
    The maximum amount of instances for this component. Must be more than min_instance_count.
    Metrics GetAppSpecServiceAutoscalingMetrics
    The metrics that the component is scaled on.
    MinInstanceCount int
    The minimum amount of instances for this component. Must be less than max_instance_count.
    maxInstanceCount Integer
    The maximum amount of instances for this component. Must be more than min_instance_count.
    metrics GetAppSpecServiceAutoscalingMetrics
    The metrics that the component is scaled on.
    minInstanceCount Integer
    The minimum amount of instances for this component. Must be less than max_instance_count.
    maxInstanceCount number
    The maximum amount of instances for this component. Must be more than min_instance_count.
    metrics GetAppSpecServiceAutoscalingMetrics
    The metrics that the component is scaled on.
    minInstanceCount number
    The minimum amount of instances for this component. Must be less than max_instance_count.
    max_instance_count int
    The maximum amount of instances for this component. Must be more than min_instance_count.
    metrics GetAppSpecServiceAutoscalingMetrics
    The metrics that the component is scaled on.
    min_instance_count int
    The minimum amount of instances for this component. Must be less than max_instance_count.
    maxInstanceCount Number
    The maximum amount of instances for this component. Must be more than min_instance_count.
    metrics Property Map
    The metrics that the component is scaled on.
    minInstanceCount Number
    The minimum amount of instances for this component. Must be less than max_instance_count.

    GetAppSpecServiceAutoscalingMetrics

    Cpu Pulumi.DigitalOcean.Inputs.GetAppSpecServiceAutoscalingMetricsCpu
    Settings for scaling the component based on CPU utilization.
    Cpu GetAppSpecServiceAutoscalingMetricsCpu
    Settings for scaling the component based on CPU utilization.
    cpu GetAppSpecServiceAutoscalingMetricsCpu
    Settings for scaling the component based on CPU utilization.
    cpu GetAppSpecServiceAutoscalingMetricsCpu
    Settings for scaling the component based on CPU utilization.
    cpu GetAppSpecServiceAutoscalingMetricsCpu
    Settings for scaling the component based on CPU utilization.
    cpu Property Map
    Settings for scaling the component based on CPU utilization.

    GetAppSpecServiceAutoscalingMetricsCpu

    Percent int
    The average target CPU utilization for the component.
    Percent int
    The average target CPU utilization for the component.
    percent Integer
    The average target CPU utilization for the component.
    percent number
    The average target CPU utilization for the component.
    percent int
    The average target CPU utilization for the component.
    percent Number
    The average target CPU utilization for the component.

    GetAppSpecServiceCors

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

    GetAppSpecServiceCorsAllowOrigins

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    GetAppSpecServiceEnv

    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.
    type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    value string
    The threshold for the type of the warning.
    type str
    The type of the environment variable, GENERAL or SECRET.
    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).
    value str
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.

    GetAppSpecServiceGit

    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.

    GetAppSpecServiceGithub

    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.

    GetAppSpecServiceGitlab

    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.

    GetAppSpecServiceHealthCheck

    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 port on which the health check will be performed. If not set, the health check will be performed on the 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 port on which the health check will be performed. If not set, the health check will be performed on the 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 port on which the health check will be performed. If not set, the health check will be performed on the 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 port on which the health check will be performed. If not set, the health check will be performed on the 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 port on which the health check will be performed. If not set, the health check will be performed on the 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 port on which the health check will be performed. If not set, the health check will be performed on the 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.

    GetAppSpecServiceImage

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

    GetAppSpecServiceImageDeployOnPush

    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.

    GetAppSpecServiceLogDestination

    Name string
    The name of the component.
    Datadog GetAppSpecServiceLogDestinationDatadog
    Datadog configuration.
    Logtail GetAppSpecServiceLogDestinationLogtail
    Logtail configuration.
    OpenSearch GetAppSpecServiceLogDestinationOpenSearch
    OpenSearch configuration.
    Papertrail GetAppSpecServiceLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog GetAppSpecServiceLogDestinationDatadog
    Datadog configuration.
    logtail GetAppSpecServiceLogDestinationLogtail
    Logtail configuration.
    openSearch GetAppSpecServiceLogDestinationOpenSearch
    OpenSearch configuration.
    papertrail GetAppSpecServiceLogDestinationPapertrail
    Papertrail configuration.
    name string
    The name of the component.
    datadog GetAppSpecServiceLogDestinationDatadog
    Datadog configuration.
    logtail GetAppSpecServiceLogDestinationLogtail
    Logtail configuration.
    openSearch GetAppSpecServiceLogDestinationOpenSearch
    OpenSearch configuration.
    papertrail GetAppSpecServiceLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog Property Map
    Datadog configuration.
    logtail Property Map
    Logtail configuration.
    openSearch Property Map
    OpenSearch configuration.
    papertrail Property Map
    Papertrail configuration.

    GetAppSpecServiceLogDestinationDatadog

    ApiKey string
    Datadog API key.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    ApiKey string
    Datadog API key.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey String
    Datadog API key.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey string
    Datadog API key.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    api_key str
    Datadog API key.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey String
    Datadog API key.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

    GetAppSpecServiceLogDestinationLogtail

    Token string
    Logtail token.
    Token string
    Logtail token.
    token String
    Logtail token.
    token string
    Logtail token.
    token str
    Logtail token.
    token String
    Logtail token.

    GetAppSpecServiceLogDestinationOpenSearch

    BasicAuth Pulumi.DigitalOcean.Inputs.GetAppSpecServiceLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    IndexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    BasicAuth GetAppSpecServiceLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    IndexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth GetAppSpecServiceLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName String
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth GetAppSpecServiceLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    basic_auth GetAppSpecServiceLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    cluster_name str
    The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    index_name str
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth Property Map
    OpenSearch basic auth
    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.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName String
    The index name to use for the logs. If not set, the default index name is "logs".

    GetAppSpecServiceLogDestinationOpenSearchBasicAuth

    Password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    User string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    Password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    User string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password String
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user String
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password str
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user str
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password String
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user String
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.

    GetAppSpecServiceLogDestinationPapertrail

    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

    GetAppSpecServiceRoute

    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.

    GetAppSpecStaticSite

    Name string
    The name of the component.
    Routes List<Pulumi.DigitalOcean.Inputs.GetAppSpecStaticSiteRoute>

    Deprecated: Service level routes are deprecated in favor of ingresses

    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.GetAppSpecStaticSiteCors
    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.GetAppSpecStaticSiteEnv>
    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.GetAppSpecStaticSiteGit
    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.GetAppSpecStaticSiteGithub
    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.GetAppSpecStaticSiteGitlab
    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.
    SourceDir string
    An optional path to the working directory to use for the build.
    Name string
    The name of the component.
    Routes []GetAppSpecStaticSiteRoute

    Deprecated: Service level routes are deprecated in favor of ingresses

    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 GetAppSpecStaticSiteCors
    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 []GetAppSpecStaticSiteEnv
    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 GetAppSpecStaticSiteGit
    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 GetAppSpecStaticSiteGithub
    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 GetAppSpecStaticSiteGitlab
    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.
    SourceDir string
    An optional path to the working directory to use for the build.
    name String
    The name of the component.
    routes List<GetAppSpecStaticSiteRoute>

    Deprecated: Service level routes are deprecated in favor of ingresses

    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 GetAppSpecStaticSiteCors
    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<GetAppSpecStaticSiteEnv>
    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 GetAppSpecStaticSiteGit
    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 GetAppSpecStaticSiteGithub
    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 GetAppSpecStaticSiteGitlab
    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.
    sourceDir String
    An optional path to the working directory to use for the build.
    name string
    The name of the component.
    routes GetAppSpecStaticSiteRoute[]

    Deprecated: Service level routes are deprecated in favor of ingresses

    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 GetAppSpecStaticSiteCors
    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 GetAppSpecStaticSiteEnv[]
    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 GetAppSpecStaticSiteGit
    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 GetAppSpecStaticSiteGithub
    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 GetAppSpecStaticSiteGitlab
    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.
    sourceDir string
    An optional path to the working directory to use for the build.
    name str
    The name of the component.
    routes Sequence[GetAppSpecStaticSiteRoute]

    Deprecated: Service level routes are deprecated in favor of ingresses

    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 GetAppSpecStaticSiteCors
    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[GetAppSpecStaticSiteEnv]
    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 GetAppSpecStaticSiteGit
    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 GetAppSpecStaticSiteGithub
    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 GetAppSpecStaticSiteGitlab
    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.
    source_dir str
    An optional path to the working directory to use for the build.
    name String
    The name of the component.
    routes List<Property Map>

    Deprecated: Service level routes are deprecated in favor of ingresses

    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.
    sourceDir String
    An optional path to the working directory to use for the build.

    GetAppSpecStaticSiteCors

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

    GetAppSpecStaticSiteCorsAllowOrigins

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    Deprecated: Prefix-based matching has been deprecated in favor of regex-based matching.

    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.

    GetAppSpecStaticSiteEnv

    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.
    type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    value string
    The threshold for the type of the warning.
    type str
    The type of the environment variable, GENERAL or SECRET.
    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).
    value str
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.

    GetAppSpecStaticSiteGit

    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.

    GetAppSpecStaticSiteGithub

    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.

    GetAppSpecStaticSiteGitlab

    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.

    GetAppSpecStaticSiteRoute

    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.

    GetAppSpecWorker

    Name string
    The name of the component.
    Alerts List<Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerAlert>
    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.GetAppSpecWorkerEnv>
    Describes an environment variable made available to an app competent.
    Git Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerGit
    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.GetAppSpecWorkerGithub
    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.GetAppSpecWorkerGitlab
    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.GetAppSpecWorkerImage
    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.
    LogDestinations List<Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerLogDestination>
    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 []GetAppSpecWorkerAlert
    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 []GetAppSpecWorkerEnv
    Describes an environment variable made available to an app competent.
    Git GetAppSpecWorkerGit
    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 GetAppSpecWorkerGithub
    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 GetAppSpecWorkerGitlab
    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 GetAppSpecWorkerImage
    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.
    LogDestinations []GetAppSpecWorkerLogDestination
    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<GetAppSpecWorkerAlert>
    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<GetAppSpecWorkerEnv>
    Describes an environment variable made available to an app competent.
    git GetAppSpecWorkerGit
    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 GetAppSpecWorkerGithub
    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 GetAppSpecWorkerGitlab
    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 GetAppSpecWorkerImage
    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.
    logDestinations List<GetAppSpecWorkerLogDestination>
    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 GetAppSpecWorkerAlert[]
    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 GetAppSpecWorkerEnv[]
    Describes an environment variable made available to an app competent.
    git GetAppSpecWorkerGit
    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 GetAppSpecWorkerGithub
    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 GetAppSpecWorkerGitlab
    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 GetAppSpecWorkerImage
    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.
    logDestinations GetAppSpecWorkerLogDestination[]
    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[GetAppSpecWorkerAlert]
    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[GetAppSpecWorkerEnv]
    Describes an environment variable made available to an app competent.
    git GetAppSpecWorkerGit
    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 GetAppSpecWorkerGithub
    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 GetAppSpecWorkerGitlab
    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 GetAppSpecWorkerImage
    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.
    log_destinations Sequence[GetAppSpecWorkerLogDestination]
    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.
    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.

    GetAppSpecWorkerAlert

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

    GetAppSpecWorkerEnv

    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    Type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    Value string
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.
    type string
    The type of the environment variable, GENERAL or SECRET.
    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).
    value string
    The threshold for the type of the warning.
    type str
    The type of the environment variable, GENERAL or SECRET.
    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).
    value str
    The threshold for the type of the warning.
    type String
    The type of the environment variable, GENERAL or SECRET.
    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).
    value String
    The threshold for the type of the warning.

    GetAppSpecWorkerGit

    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.

    GetAppSpecWorkerGithub

    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.

    GetAppSpecWorkerGitlab

    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.

    GetAppSpecWorkerImage

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

    GetAppSpecWorkerImageDeployOnPush

    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.

    GetAppSpecWorkerLogDestination

    Name string
    The name of the component.
    Datadog GetAppSpecWorkerLogDestinationDatadog
    Datadog configuration.
    Logtail GetAppSpecWorkerLogDestinationLogtail
    Logtail configuration.
    OpenSearch GetAppSpecWorkerLogDestinationOpenSearch
    OpenSearch configuration.
    Papertrail GetAppSpecWorkerLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog GetAppSpecWorkerLogDestinationDatadog
    Datadog configuration.
    logtail GetAppSpecWorkerLogDestinationLogtail
    Logtail configuration.
    openSearch GetAppSpecWorkerLogDestinationOpenSearch
    OpenSearch configuration.
    papertrail GetAppSpecWorkerLogDestinationPapertrail
    Papertrail configuration.
    name string
    The name of the component.
    datadog GetAppSpecWorkerLogDestinationDatadog
    Datadog configuration.
    logtail GetAppSpecWorkerLogDestinationLogtail
    Logtail configuration.
    openSearch GetAppSpecWorkerLogDestinationOpenSearch
    OpenSearch configuration.
    papertrail GetAppSpecWorkerLogDestinationPapertrail
    Papertrail configuration.
    name String
    The name of the component.
    datadog Property Map
    Datadog configuration.
    logtail Property Map
    Logtail configuration.
    openSearch Property Map
    OpenSearch configuration.
    papertrail Property Map
    Papertrail configuration.

    GetAppSpecWorkerLogDestinationDatadog

    ApiKey string
    Datadog API key.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    ApiKey string
    Datadog API key.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey String
    Datadog API key.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey string
    Datadog API key.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    api_key str
    Datadog API key.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    apiKey String
    Datadog API key.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

    GetAppSpecWorkerLogDestinationLogtail

    Token string
    Logtail token.
    Token string
    Logtail token.
    token String
    Logtail token.
    token string
    Logtail token.
    token str
    Logtail token.
    token String
    Logtail token.

    GetAppSpecWorkerLogDestinationOpenSearch

    BasicAuth Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    IndexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    BasicAuth GetAppSpecWorkerLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    IndexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth GetAppSpecWorkerLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName String
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth GetAppSpecWorkerLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    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.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName string
    The index name to use for the logs. If not set, the default index name is "logs".
    basic_auth GetAppSpecWorkerLogDestinationOpenSearchBasicAuth
    OpenSearch basic auth
    cluster_name str
    The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    index_name str
    The index name to use for the logs. If not set, the default index name is "logs".
    basicAuth Property Map
    OpenSearch basic auth
    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.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    indexName String
    The index name to use for the logs. If not set, the default index name is "logs".

    GetAppSpecWorkerLogDestinationOpenSearchBasicAuth

    Password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    User string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    Password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    User string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password String
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user String
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password string
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user string
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password str
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user str
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.
    password String
    Password for user defined in User. Is required when endpoint is set. Cannot be set if using a DigitalOcean DBaaS OpenSearch cluster.
    user String
    Username to authenticate with. Only required when endpoint is set. Defaults to doadmin when cluster_name is set.

    GetAppSpecWorkerLogDestinationPapertrail

    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    Endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint string
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint str
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
    endpoint String
    OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

    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.33.0 published on Thursday, Sep 26, 2024 by Pulumi