1. Packages
  2. DigitalOcean Provider
  3. API Docs
  4. getApp
DigitalOcean v4.42.0 published on Thursday, Apr 17, 2025 by Pulumi

digitalocean.getApp

Explore with Pulumi AI

DigitalOcean v4.42.0 published on Thursday, Apr 17, 2025 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);
Copy
import pulumi
import pulumi_digitalocean as digitalocean

example = digitalocean.get_app(app_id="e665d18d-7b56-44a9-92ce-31979174d544")
pulumi.export("defaultIngress", example.default_ingress)
Copy
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
	})
}
Copy
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),
    };
});
Copy
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.defaultIngress());
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: digitalocean:getApp
      arguments:
        appId: e665d18d-7b56-44a9-92ce-31979174d544
outputs:
  defaultIngress: ${example.defaultIngress}
Copy

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>
Copy
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]
Copy
func LookupApp(ctx *Context, args *LookupAppArgs, opts ...InvokeOption) (*LookupAppResult, error)
func LookupAppOutput(ctx *Context, args *LookupAppOutputArgs, opts ...InvokeOption) LookupAppResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
public static Output<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: digitalocean:index/getApp:getApp
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AppId This property is required. 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 This property is required. string
The ID of the app to retrieve information about.
DedicatedIps []GetAppDedicatedIp
A list of dedicated egress IP addresses associated with the app.
appId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The ID of the dedicated egress IP.
Ip This property is required. string
The IP address of the dedicated egress IP.
Status This property is required. string
The status of the dedicated egress IP.
Id This property is required. string
The ID of the dedicated egress IP.
Ip This property is required. string
The IP address of the dedicated egress IP.
Status This property is required. string
The status of the dedicated egress IP.
id This property is required. String
The ID of the dedicated egress IP.
ip This property is required. String
The IP address of the dedicated egress IP.
status This property is required. String
The status of the dedicated egress IP.
id This property is required. string
The ID of the dedicated egress IP.
ip This property is required. string
The IP address of the dedicated egress IP.
status This property is required. string
The status of the dedicated egress IP.
id This property is required. str
The ID of the dedicated egress IP.
ip This property is required. str
The IP address of the dedicated egress IP.
status This property is required. str
The status of the dedicated egress IP.
id This property is required. String
The ID of the dedicated egress IP.
ip This property is required. String
The IP address of the dedicated egress IP.
status This property is required. String
The status of the dedicated egress IP.

GetAppSpec

Domain This property is required. List<Pulumi.DigitalOcean.Inputs.GetAppSpecDomain>
Domains This property is required. List<string>

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

Features This property is required. List<string>
List of features which is applied to the app
Ingress This property is required. Pulumi.DigitalOcean.Inputs.GetAppSpecIngress
Name This property is required. 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 This property is required. []GetAppSpecDomain
Domains This property is required. []string

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

Features This property is required. []string
List of features which is applied to the app
Ingress This property is required. GetAppSpecIngress
Name This property is required. 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 This property is required. List<GetAppSpecDomain>
domains This property is required. List<String>

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

features This property is required. List<String>
List of features which is applied to the app
ingress This property is required. GetAppSpecIngress
name This property is required. 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 This property is required. GetAppSpecDomain[]
domains This property is required. string[]

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

features This property is required. string[]
List of features which is applied to the app
ingress This property is required. GetAppSpecIngress
name This property is required. 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 This property is required. Sequence[GetAppSpecDomain]
domains This property is required. Sequence[str]

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

features This property is required. Sequence[str]
List of features which is applied to the app
ingress This property is required. GetAppSpecIngress
name This property is required. 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 This property is required. List<Property Map>
domains This property is required. List<String>

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

features This property is required. List<String>
List of features which is applied to the app
ingress This property is required. Property Map
name This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The name of the component.
Type This property is required. string
The type of the environment variable, GENERAL or SECRET.
Wildcard This property is required. 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 This property is required. string
The name of the component.
Type This property is required. string
The type of the environment variable, GENERAL or SECRET.
Wildcard This property is required. 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 This property is required. String
The name of the component.
type This property is required. String
The type of the environment variable, GENERAL or SECRET.
wildcard This property is required. 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 This property is required. string
The name of the component.
type This property is required. string
The type of the environment variable, GENERAL or SECRET.
wildcard This property is required. 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 This property is required. str
The name of the component.
type This property is required. str
The type of the environment variable, GENERAL or SECRET.
wildcard This property is required. 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 This property is required. String
The name of the component.
type This property is required. String
The type of the environment variable, GENERAL or SECRET.
wildcard This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The name of the component.
Routes This property is required. 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.
Bitbucket Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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 This property is required. string
The name of the component.
Routes This property is required. []GetAppSpecFunctionRoute

Deprecated: Service level routes are deprecated in favor of ingresses

Alerts []GetAppSpecFunctionAlert
Describes an alert policy for the component.
Bitbucket GetAppSpecFunctionBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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 This property is required. String
The name of the component.
routes This property is required. List<GetAppSpecFunctionRoute>

Deprecated: Service level routes are deprecated in favor of ingresses

alerts List<GetAppSpecFunctionAlert>
Describes an alert policy for the component.
bitbucket GetAppSpecFunctionBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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 This property is required. string
The name of the component.
routes This property is required. GetAppSpecFunctionRoute[]

Deprecated: Service level routes are deprecated in favor of ingresses

alerts GetAppSpecFunctionAlert[]
Describes an alert policy for the component.
bitbucket GetAppSpecFunctionBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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 This property is required. str
The name of the component.
routes This property is required. Sequence[GetAppSpecFunctionRoute]

Deprecated: Service level routes are deprecated in favor of ingresses

alerts Sequence[GetAppSpecFunctionAlert]
Describes an alert policy for the component.
bitbucket GetAppSpecFunctionBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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 This property is required. String
The name of the component.
routes This property is required. List<Property Map>

Deprecated: Service level routes are deprecated in favor of ingresses

alerts List<Property Map>
Describes an alert policy for the component.
bitbucket Property Map
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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 This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
Rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
Value This property is required. double
The threshold for the type of the warning.
Window This property is required. 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 This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
Rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
Value This property is required. float64
The threshold for the type of the warning.
Window This property is required. 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 This property is required. String
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. String
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. Double
The threshold for the type of the warning.
window This property is required. 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 This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. number
The threshold for the type of the warning.
window This property is required. 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 This property is required. str
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. str
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. float
The threshold for the type of the warning.
window This property is required. 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 This property is required. String
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. String
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. Number
The threshold for the type of the warning.
window This property is required. 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).

GetAppSpecFunctionBitbucket

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.

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The name of the component.
Datadog GetAppSpecFunctionLogDestinationDatadog
Datadog configuration.
Logtail GetAppSpecFunctionLogDestinationLogtail
Logtail configuration.
OpenSearch GetAppSpecFunctionLogDestinationOpenSearch
OpenSearch configuration.
Papertrail GetAppSpecFunctionLogDestinationPapertrail
Papertrail configuration.
name This property is required. String
The name of the component.
datadog GetAppSpecFunctionLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecFunctionLogDestinationLogtail
Logtail configuration.
openSearch GetAppSpecFunctionLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecFunctionLogDestinationPapertrail
Papertrail configuration.
name This property is required. string
The name of the component.
datadog GetAppSpecFunctionLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecFunctionLogDestinationLogtail
Logtail configuration.
openSearch GetAppSpecFunctionLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecFunctionLogDestinationPapertrail
Papertrail configuration.
name This property is required. str
The name of the component.
datadog GetAppSpecFunctionLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecFunctionLogDestinationLogtail
Logtail configuration.
open_search GetAppSpecFunctionLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecFunctionLogDestinationPapertrail
Papertrail configuration.
name This property is required. 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 This property is required. string
Datadog API key.
Endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
ApiKey This property is required. string
Datadog API key.
Endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. String
Datadog API key.
endpoint String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. string
Datadog API key.
endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
api_key This property is required. str
Datadog API key.
endpoint str
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. String
Datadog API key.
endpoint String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

GetAppSpecFunctionLogDestinationLogtail

Token This property is required. string
Logtail token.
Token This property is required. string
Logtail token.
token This property is required. String
Logtail token.
token This property is required. string
Logtail token.
token This property is required. str
Logtail token.
token This property is required. String
Logtail token.

GetAppSpecFunctionLogDestinationOpenSearch

BasicAuth This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
Endpoint This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. str
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. 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

Component This property is required. GetAppSpecIngressRuleComponent
Cors This property is required. GetAppSpecIngressRuleCors
The CORS policies of the app.
Match This property is required. GetAppSpecIngressRuleMatch
Redirect GetAppSpecIngressRuleRedirect
component This property is required. GetAppSpecIngressRuleComponent
cors This property is required. GetAppSpecIngressRuleCors
The CORS policies of the app.
match This property is required. GetAppSpecIngressRuleMatch
redirect GetAppSpecIngressRuleRedirect
component This property is required. GetAppSpecIngressRuleComponent
cors This property is required. GetAppSpecIngressRuleCors
The CORS policies of the app.
match This property is required. GetAppSpecIngressRuleMatch
redirect GetAppSpecIngressRuleRedirect
component This property is required. GetAppSpecIngressRuleComponent
cors This property is required. GetAppSpecIngressRuleCors
The CORS policies of the app.
match This property is required. GetAppSpecIngressRuleMatch
redirect GetAppSpecIngressRuleRedirect
component This property is required. Property Map
cors This property is required. Property Map
The CORS policies of the app.
match This property is required. Property Map
redirect Property Map

GetAppSpecIngressRuleComponent

Name This property is required. string
The name of the component.
PreservePathPrefix This property is required. bool
An optional flag to preserve the path that is forwarded to the backend service.
Rewrite This property is required. string
Name This property is required. string
The name of the component.
PreservePathPrefix This property is required. bool
An optional flag to preserve the path that is forwarded to the backend service.
Rewrite This property is required. string
name This property is required. String
The name of the component.
preservePathPrefix This property is required. Boolean
An optional flag to preserve the path that is forwarded to the backend service.
rewrite This property is required. String
name This property is required. string
The name of the component.
preservePathPrefix This property is required. boolean
An optional flag to preserve the path that is forwarded to the backend service.
rewrite This property is required. string
name This property is required. str
The name of the component.
preserve_path_prefix This property is required. bool
An optional flag to preserve the path that is forwarded to the backend service.
rewrite This property is required. str
name This property is required. String
The name of the component.
preservePathPrefix This property is required. Boolean
An optional flag to preserve the path that is forwarded to the backend service.
rewrite This property is required. 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 This property is required. Pulumi.DigitalOcean.Inputs.GetAppSpecIngressRuleMatchPath
Paths must start with / and must be unique within the app.
Path This property is required. GetAppSpecIngressRuleMatchPath
Paths must start with / and must be unique within the app.
path This property is required. GetAppSpecIngressRuleMatchPath
Paths must start with / and must be unique within the app.
path This property is required. GetAppSpecIngressRuleMatchPath
Paths must start with / and must be unique within the app.
path This property is required. GetAppSpecIngressRuleMatchPath
Paths must start with / and must be unique within the app.
path This property is required. Property Map
Paths must start with / and must be unique within the app.

GetAppSpecIngressRuleMatchPath

Prefix This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The name of the component.
Alerts List<Pulumi.DigitalOcean.Inputs.GetAppSpecJobAlert>
Describes an alert policy for the component.
Bitbucket Pulumi.DigitalOcean.Inputs.GetAppSpecJobBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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, bitbucket, 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.
Termination Pulumi.DigitalOcean.Inputs.GetAppSpecJobTermination
Contains a component's termination parameters.
Name This property is required. string
The name of the component.
Alerts []GetAppSpecJobAlert
Describes an alert policy for the component.
Bitbucket GetAppSpecJobBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, gitlab, or image may be set.
Image GetAppSpecJobImage
An image to use as the component's source. Only one of git, github, bitbucket, 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.
Termination GetAppSpecJobTermination
Contains a component's termination parameters.
name This property is required. String
The name of the component.
alerts List<GetAppSpecJobAlert>
Describes an alert policy for the component.
bitbucket GetAppSpecJobBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, gitlab, or image may be set.
image GetAppSpecJobImage
An image to use as the component's source. Only one of git, github, bitbucket, 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.
termination GetAppSpecJobTermination
Contains a component's termination parameters.
name This property is required. string
The name of the component.
alerts GetAppSpecJobAlert[]
Describes an alert policy for the component.
bitbucket GetAppSpecJobBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, gitlab, or image may be set.
image GetAppSpecJobImage
An image to use as the component's source. Only one of git, github, bitbucket, 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.
termination GetAppSpecJobTermination
Contains a component's termination parameters.
name This property is required. str
The name of the component.
alerts Sequence[GetAppSpecJobAlert]
Describes an alert policy for the component.
bitbucket GetAppSpecJobBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, gitlab, or image may be set.
image GetAppSpecJobImage
An image to use as the component's source. Only one of git, github, bitbucket, 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.
termination GetAppSpecJobTermination
Contains a component's termination parameters.
name This property is required. String
The name of the component.
alerts List<Property Map>
Describes an alert policy for the component.
bitbucket Property Map
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, gitlab, or image may be set.
image Property Map
An image to use as the component's source. Only one of git, github, bitbucket, 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.
termination Property Map
Contains a component's termination parameters.

GetAppSpecJobAlert

Operator This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
Rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
Value This property is required. double
The threshold for the type of the warning.
Window This property is required. 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 This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
Rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
Value This property is required. float64
The threshold for the type of the warning.
Window This property is required. 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 This property is required. String
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. String
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. Double
The threshold for the type of the warning.
window This property is required. 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 This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. number
The threshold for the type of the warning.
window This property is required. 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 This property is required. str
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. str
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. float
The threshold for the type of the warning.
window This property is required. 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 This property is required. String
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. String
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. Number
The threshold for the type of the warning.
window This property is required. 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).

GetAppSpecJobBitbucket

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.

GetAppSpecJobEnv

Type This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<Pulumi.DigitalOcean.Inputs.GetAppSpecJobImageDeployOnPush>
Whether to automatically deploy new commits made to the repo.
RegistryType This property is required. string
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
Repository This property is required. string
The repository name.
Digest string
The image digest. Cannot be specified if tag is provided.
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 This property is required. []GetAppSpecJobImageDeployOnPush
Whether to automatically deploy new commits made to the repo.
RegistryType This property is required. string
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
Repository This property is required. string
The repository name.
Digest string
The image digest. Cannot be specified if tag is provided.
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 This property is required. List<GetAppSpecJobImageDeployOnPush>
Whether to automatically deploy new commits made to the repo.
registryType This property is required. String
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. String
The repository name.
digest String
The image digest. Cannot be specified if tag is provided.
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 This property is required. GetAppSpecJobImageDeployOnPush[]
Whether to automatically deploy new commits made to the repo.
registryType This property is required. string
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. string
The repository name.
digest string
The image digest. Cannot be specified if tag is provided.
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 This property is required. Sequence[GetAppSpecJobImageDeployOnPush]
Whether to automatically deploy new commits made to the repo.
registry_type This property is required. str
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. str
The repository name.
digest str
The image digest. Cannot be specified if tag is provided.
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 This property is required. List<Property Map>
Whether to automatically deploy new commits made to the repo.
registryType This property is required. String
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. String
The repository name.
digest String
The image digest. Cannot be specified if tag is provided.
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 This property is required. string
The name of the component.
Datadog GetAppSpecJobLogDestinationDatadog
Datadog configuration.
Logtail GetAppSpecJobLogDestinationLogtail
Logtail configuration.
OpenSearch GetAppSpecJobLogDestinationOpenSearch
OpenSearch configuration.
Papertrail GetAppSpecJobLogDestinationPapertrail
Papertrail configuration.
name This property is required. String
The name of the component.
datadog GetAppSpecJobLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecJobLogDestinationLogtail
Logtail configuration.
openSearch GetAppSpecJobLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecJobLogDestinationPapertrail
Papertrail configuration.
name This property is required. string
The name of the component.
datadog GetAppSpecJobLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecJobLogDestinationLogtail
Logtail configuration.
openSearch GetAppSpecJobLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecJobLogDestinationPapertrail
Papertrail configuration.
name This property is required. str
The name of the component.
datadog GetAppSpecJobLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecJobLogDestinationLogtail
Logtail configuration.
open_search GetAppSpecJobLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecJobLogDestinationPapertrail
Papertrail configuration.
name This property is required. 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 This property is required. string
Datadog API key.
Endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
ApiKey This property is required. string
Datadog API key.
Endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. String
Datadog API key.
endpoint String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. string
Datadog API key.
endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
api_key This property is required. str
Datadog API key.
endpoint str
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. String
Datadog API key.
endpoint String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

GetAppSpecJobLogDestinationLogtail

Token This property is required. string
Logtail token.
Token This property is required. string
Logtail token.
token This property is required. String
Logtail token.
token This property is required. string
Logtail token.
token This property is required. str
Logtail token.
token This property is required. String
Logtail token.

GetAppSpecJobLogDestinationOpenSearch

BasicAuth This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
Endpoint This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. str
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

GetAppSpecJobTermination

GracePeriodSeconds int
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
GracePeriodSeconds int
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
gracePeriodSeconds Integer
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
gracePeriodSeconds number
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
grace_period_seconds int
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
gracePeriodSeconds Number
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.

GetAppSpecService

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

Deprecated: Service level routes are deprecated in favor of ingresses

RunCommand This property is required. 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.
Bitbucket Pulumi.DigitalOcean.Inputs.GetAppSpecServiceBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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, bitbucket, 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.
Termination Pulumi.DigitalOcean.Inputs.GetAppSpecServiceTermination
Contains a component's termination parameters.
HttpPort This property is required. int
The internal port on which this service's run command will listen.
InternalPorts This property is required. []int
A list of ports on which this service will listen for internal traffic.
Name This property is required. string
The name of the component.
Routes This property is required. []GetAppSpecServiceRoute

Deprecated: Service level routes are deprecated in favor of ingresses

RunCommand This property is required. 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.
Bitbucket GetAppSpecServiceBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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, bitbucket, 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.
Termination GetAppSpecServiceTermination
Contains a component's termination parameters.
httpPort This property is required. Integer
The internal port on which this service's run command will listen.
internalPorts This property is required. List<Integer>
A list of ports on which this service will listen for internal traffic.
name This property is required. String
The name of the component.
routes This property is required. List<GetAppSpecServiceRoute>

Deprecated: Service level routes are deprecated in favor of ingresses

runCommand This property is required. 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.
bitbucket GetAppSpecServiceBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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, bitbucket, 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.
termination GetAppSpecServiceTermination
Contains a component's termination parameters.
httpPort This property is required. number
The internal port on which this service's run command will listen.
internalPorts This property is required. number[]
A list of ports on which this service will listen for internal traffic.
name This property is required. string
The name of the component.
routes This property is required. GetAppSpecServiceRoute[]

Deprecated: Service level routes are deprecated in favor of ingresses

runCommand This property is required. 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.
bitbucket GetAppSpecServiceBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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, bitbucket, 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.
termination GetAppSpecServiceTermination
Contains a component's termination parameters.
http_port This property is required. int
The internal port on which this service's run command will listen.
internal_ports This property is required. Sequence[int]
A list of ports on which this service will listen for internal traffic.
name This property is required. str
The name of the component.
routes This property is required. Sequence[GetAppSpecServiceRoute]

Deprecated: Service level routes are deprecated in favor of ingresses

run_command This property is required. 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.
bitbucket GetAppSpecServiceBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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, bitbucket, 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.
termination GetAppSpecServiceTermination
Contains a component's termination parameters.
httpPort This property is required. Number
The internal port on which this service's run command will listen.
internalPorts This property is required. List<Number>
A list of ports on which this service will listen for internal traffic.
name This property is required. String
The name of the component.
routes This property is required. List<Property Map>

Deprecated: Service level routes are deprecated in favor of ingresses

runCommand This property is required. 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.
bitbucket Property Map
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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, bitbucket, 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.
termination Property Map
Contains a component's termination parameters.

GetAppSpecServiceAlert

Operator This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
Rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
Value This property is required. double
The threshold for the type of the warning.
Window This property is required. 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 This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
Rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
Value This property is required. float64
The threshold for the type of the warning.
Window This property is required. 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 This property is required. String
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. String
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. Double
The threshold for the type of the warning.
window This property is required. 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 This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. number
The threshold for the type of the warning.
window This property is required. 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 This property is required. str
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. str
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. float
The threshold for the type of the warning.
window This property is required. 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 This property is required. String
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. String
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. Number
The threshold for the type of the warning.
window This property is required. 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 This property is required. int
The maximum amount of instances for this component. Must be more than min_instance_count.
Metrics This property is required. Pulumi.DigitalOcean.Inputs.GetAppSpecServiceAutoscalingMetrics
The metrics that the component is scaled on.
MinInstanceCount This property is required. int
The minimum amount of instances for this component. Must be less than max_instance_count.
MaxInstanceCount This property is required. int
The maximum amount of instances for this component. Must be more than min_instance_count.
Metrics This property is required. GetAppSpecServiceAutoscalingMetrics
The metrics that the component is scaled on.
MinInstanceCount This property is required. int
The minimum amount of instances for this component. Must be less than max_instance_count.
maxInstanceCount This property is required. Integer
The maximum amount of instances for this component. Must be more than min_instance_count.
metrics This property is required. GetAppSpecServiceAutoscalingMetrics
The metrics that the component is scaled on.
minInstanceCount This property is required. Integer
The minimum amount of instances for this component. Must be less than max_instance_count.
maxInstanceCount This property is required. number
The maximum amount of instances for this component. Must be more than min_instance_count.
metrics This property is required. GetAppSpecServiceAutoscalingMetrics
The metrics that the component is scaled on.
minInstanceCount This property is required. number
The minimum amount of instances for this component. Must be less than max_instance_count.
max_instance_count This property is required. int
The maximum amount of instances for this component. Must be more than min_instance_count.
metrics This property is required. GetAppSpecServiceAutoscalingMetrics
The metrics that the component is scaled on.
min_instance_count This property is required. int
The minimum amount of instances for this component. Must be less than max_instance_count.
maxInstanceCount This property is required. Number
The maximum amount of instances for this component. Must be more than min_instance_count.
metrics This property is required. Property Map
The metrics that the component is scaled on.
minInstanceCount This property is required. 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 This property is required. int
The average target CPU utilization for the component.
Percent This property is required. int
The average target CPU utilization for the component.
percent This property is required. Integer
The average target CPU utilization for the component.
percent This property is required. number
The average target CPU utilization for the component.
percent This property is required. int
The average target CPU utilization for the component.
percent This property is required. Number
The average target CPU utilization for the component.

GetAppSpecServiceBitbucket

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.

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<Pulumi.DigitalOcean.Inputs.GetAppSpecServiceImageDeployOnPush>
Whether to automatically deploy new commits made to the repo.
RegistryType This property is required. string
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
Repository This property is required. string
The repository name.
Digest string
The image digest. Cannot be specified if tag is provided.
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 This property is required. []GetAppSpecServiceImageDeployOnPush
Whether to automatically deploy new commits made to the repo.
RegistryType This property is required. string
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
Repository This property is required. string
The repository name.
Digest string
The image digest. Cannot be specified if tag is provided.
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 This property is required. List<GetAppSpecServiceImageDeployOnPush>
Whether to automatically deploy new commits made to the repo.
registryType This property is required. String
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. String
The repository name.
digest String
The image digest. Cannot be specified if tag is provided.
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 This property is required. GetAppSpecServiceImageDeployOnPush[]
Whether to automatically deploy new commits made to the repo.
registryType This property is required. string
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. string
The repository name.
digest string
The image digest. Cannot be specified if tag is provided.
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 This property is required. Sequence[GetAppSpecServiceImageDeployOnPush]
Whether to automatically deploy new commits made to the repo.
registry_type This property is required. str
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. str
The repository name.
digest str
The image digest. Cannot be specified if tag is provided.
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 This property is required. List<Property Map>
Whether to automatically deploy new commits made to the repo.
registryType This property is required. String
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. String
The repository name.
digest String
The image digest. Cannot be specified if tag is provided.
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 This property is required. string
The name of the component.
Datadog GetAppSpecServiceLogDestinationDatadog
Datadog configuration.
Logtail GetAppSpecServiceLogDestinationLogtail
Logtail configuration.
OpenSearch GetAppSpecServiceLogDestinationOpenSearch
OpenSearch configuration.
Papertrail GetAppSpecServiceLogDestinationPapertrail
Papertrail configuration.
name This property is required. String
The name of the component.
datadog GetAppSpecServiceLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecServiceLogDestinationLogtail
Logtail configuration.
openSearch GetAppSpecServiceLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecServiceLogDestinationPapertrail
Papertrail configuration.
name This property is required. string
The name of the component.
datadog GetAppSpecServiceLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecServiceLogDestinationLogtail
Logtail configuration.
openSearch GetAppSpecServiceLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecServiceLogDestinationPapertrail
Papertrail configuration.
name This property is required. str
The name of the component.
datadog GetAppSpecServiceLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecServiceLogDestinationLogtail
Logtail configuration.
open_search GetAppSpecServiceLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecServiceLogDestinationPapertrail
Papertrail configuration.
name This property is required. 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 This property is required. string
Datadog API key.
Endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
ApiKey This property is required. string
Datadog API key.
Endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. String
Datadog API key.
endpoint String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. string
Datadog API key.
endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
api_key This property is required. str
Datadog API key.
endpoint str
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. String
Datadog API key.
endpoint String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

GetAppSpecServiceLogDestinationLogtail

Token This property is required. string
Logtail token.
Token This property is required. string
Logtail token.
token This property is required. String
Logtail token.
token This property is required. string
Logtail token.
token This property is required. str
Logtail token.
token This property is required. String
Logtail token.

GetAppSpecServiceLogDestinationOpenSearch

BasicAuth This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
Endpoint This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. str
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. 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.

GetAppSpecServiceTermination

DrainSeconds int
The number of seconds to wait between selecting a container instance for termination and issuing the TERM signal. Selecting a container instance for termination begins an asynchronous drain of new requests on upstream load-balancers. Default: 15 seconds, Minimum 1, Maximum 110.
GracePeriodSeconds int
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
DrainSeconds int
The number of seconds to wait between selecting a container instance for termination and issuing the TERM signal. Selecting a container instance for termination begins an asynchronous drain of new requests on upstream load-balancers. Default: 15 seconds, Minimum 1, Maximum 110.
GracePeriodSeconds int
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
drainSeconds Integer
The number of seconds to wait between selecting a container instance for termination and issuing the TERM signal. Selecting a container instance for termination begins an asynchronous drain of new requests on upstream load-balancers. Default: 15 seconds, Minimum 1, Maximum 110.
gracePeriodSeconds Integer
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
drainSeconds number
The number of seconds to wait between selecting a container instance for termination and issuing the TERM signal. Selecting a container instance for termination begins an asynchronous drain of new requests on upstream load-balancers. Default: 15 seconds, Minimum 1, Maximum 110.
gracePeriodSeconds number
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
drain_seconds int
The number of seconds to wait between selecting a container instance for termination and issuing the TERM signal. Selecting a container instance for termination begins an asynchronous drain of new requests on upstream load-balancers. Default: 15 seconds, Minimum 1, Maximum 110.
grace_period_seconds int
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
drainSeconds Number
The number of seconds to wait between selecting a container instance for termination and issuing the TERM signal. Selecting a container instance for termination begins an asynchronous drain of new requests on upstream load-balancers. Default: 15 seconds, Minimum 1, Maximum 110.
gracePeriodSeconds Number
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.

GetAppSpecStaticSite

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

Deprecated: Service level routes are deprecated in favor of ingresses

Bitbucket Pulumi.DigitalOcean.Inputs.GetAppSpecStaticSiteBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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 This property is required. string
The name of the component.
Routes This property is required. []GetAppSpecStaticSiteRoute

Deprecated: Service level routes are deprecated in favor of ingresses

Bitbucket GetAppSpecStaticSiteBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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 This property is required. String
The name of the component.
routes This property is required. List<GetAppSpecStaticSiteRoute>

Deprecated: Service level routes are deprecated in favor of ingresses

bitbucket GetAppSpecStaticSiteBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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 This property is required. string
The name of the component.
routes This property is required. GetAppSpecStaticSiteRoute[]

Deprecated: Service level routes are deprecated in favor of ingresses

bitbucket GetAppSpecStaticSiteBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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 This property is required. str
The name of the component.
routes This property is required. Sequence[GetAppSpecStaticSiteRoute]

Deprecated: Service level routes are deprecated in favor of ingresses

bitbucket GetAppSpecStaticSiteBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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 This property is required. String
The name of the component.
routes This property is required. List<Property Map>

Deprecated: Service level routes are deprecated in favor of ingresses

bitbucket Property Map
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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.

GetAppSpecStaticSiteBitbucket

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.

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The name of the component.
Alerts List<Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerAlert>
Describes an alert policy for the component.
Autoscaling Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerAutoscaling
Configuration for automatically scaling this component based on metrics.
Bitbucket Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, 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, bitbucket, 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.
Termination Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerTermination
Contains a component's termination parameters.
Name This property is required. string
The name of the component.
Alerts []GetAppSpecWorkerAlert
Describes an alert policy for the component.
Autoscaling GetAppSpecWorkerAutoscaling
Configuration for automatically scaling this component based on metrics.
Bitbucket GetAppSpecWorkerBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, gitlab, or image may be set.
Image GetAppSpecWorkerImage
An image to use as the component's source. Only one of git, github, bitbucket, 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.
Termination GetAppSpecWorkerTermination
Contains a component's termination parameters.
name This property is required. String
The name of the component.
alerts List<GetAppSpecWorkerAlert>
Describes an alert policy for the component.
autoscaling GetAppSpecWorkerAutoscaling
Configuration for automatically scaling this component based on metrics.
bitbucket GetAppSpecWorkerBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, gitlab, or image may be set.
image GetAppSpecWorkerImage
An image to use as the component's source. Only one of git, github, bitbucket, 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.
termination GetAppSpecWorkerTermination
Contains a component's termination parameters.
name This property is required. string
The name of the component.
alerts GetAppSpecWorkerAlert[]
Describes an alert policy for the component.
autoscaling GetAppSpecWorkerAutoscaling
Configuration for automatically scaling this component based on metrics.
bitbucket GetAppSpecWorkerBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, gitlab, or image may be set.
image GetAppSpecWorkerImage
An image to use as the component's source. Only one of git, github, bitbucket, 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.
termination GetAppSpecWorkerTermination
Contains a component's termination parameters.
name This property is required. str
The name of the component.
alerts Sequence[GetAppSpecWorkerAlert]
Describes an alert policy for the component.
autoscaling GetAppSpecWorkerAutoscaling
Configuration for automatically scaling this component based on metrics.
bitbucket GetAppSpecWorkerBitbucket
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, gitlab, or image may be set.
image GetAppSpecWorkerImage
An image to use as the component's source. Only one of git, github, bitbucket, 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.
termination GetAppSpecWorkerTermination
Contains a component's termination parameters.
name This property is required. String
The name of the component.
alerts List<Property Map>
Describes an alert policy for the component.
autoscaling Property Map
Configuration for automatically scaling this component based on metrics.
bitbucket Property Map
A Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set.
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, bitbucket, 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, bitbucket, gitlab, or image may be set.
image Property Map
An image to use as the component's source. Only one of git, github, bitbucket, 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.
termination Property Map
Contains a component's termination parameters.

GetAppSpecWorkerAlert

Operator This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
Rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
Value This property is required. double
The threshold for the type of the warning.
Window This property is required. 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 This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
Rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
Value This property is required. float64
The threshold for the type of the warning.
Window This property is required. 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 This property is required. String
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. String
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. Double
The threshold for the type of the warning.
window This property is required. 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 This property is required. string
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. string
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. number
The threshold for the type of the warning.
window This property is required. 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 This property is required. str
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. str
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. float
The threshold for the type of the warning.
window This property is required. 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 This property is required. String
The operator to use. This is either of GREATER_THAN or LESS_THAN.
rule This property is required. String
The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.
value This property is required. Number
The threshold for the type of the warning.
window This property is required. 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).

GetAppSpecWorkerAutoscaling

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

GetAppSpecWorkerAutoscalingMetrics

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

GetAppSpecWorkerAutoscalingMetricsCpu

Percent This property is required. int
The average target CPU utilization for the component.
Percent This property is required. int
The average target CPU utilization for the component.
percent This property is required. Integer
The average target CPU utilization for the component.
percent This property is required. number
The average target CPU utilization for the component.
percent This property is required. int
The average target CPU utilization for the component.
percent This property is required. Number
The average target CPU utilization for the component.

GetAppSpecWorkerBitbucket

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.

GetAppSpecWorkerEnv

Type This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerImageDeployOnPush>
Whether to automatically deploy new commits made to the repo.
RegistryType This property is required. string
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
Repository This property is required. string
The repository name.
Digest string
The image digest. Cannot be specified if tag is provided.
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 This property is required. []GetAppSpecWorkerImageDeployOnPush
Whether to automatically deploy new commits made to the repo.
RegistryType This property is required. string
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
Repository This property is required. string
The repository name.
Digest string
The image digest. Cannot be specified if tag is provided.
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 This property is required. List<GetAppSpecWorkerImageDeployOnPush>
Whether to automatically deploy new commits made to the repo.
registryType This property is required. String
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. String
The repository name.
digest String
The image digest. Cannot be specified if tag is provided.
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 This property is required. GetAppSpecWorkerImageDeployOnPush[]
Whether to automatically deploy new commits made to the repo.
registryType This property is required. string
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. string
The repository name.
digest string
The image digest. Cannot be specified if tag is provided.
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 This property is required. Sequence[GetAppSpecWorkerImageDeployOnPush]
Whether to automatically deploy new commits made to the repo.
registry_type This property is required. str
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. str
The repository name.
digest str
The image digest. Cannot be specified if tag is provided.
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 This property is required. List<Property Map>
Whether to automatically deploy new commits made to the repo.
registryType This property is required. String
The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.
repository This property is required. String
The repository name.
digest String
The image digest. Cannot be specified if tag is provided.
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 This property is required. string
The name of the component.
Datadog GetAppSpecWorkerLogDestinationDatadog
Datadog configuration.
Logtail GetAppSpecWorkerLogDestinationLogtail
Logtail configuration.
OpenSearch GetAppSpecWorkerLogDestinationOpenSearch
OpenSearch configuration.
Papertrail GetAppSpecWorkerLogDestinationPapertrail
Papertrail configuration.
name This property is required. String
The name of the component.
datadog GetAppSpecWorkerLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecWorkerLogDestinationLogtail
Logtail configuration.
openSearch GetAppSpecWorkerLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecWorkerLogDestinationPapertrail
Papertrail configuration.
name This property is required. string
The name of the component.
datadog GetAppSpecWorkerLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecWorkerLogDestinationLogtail
Logtail configuration.
openSearch GetAppSpecWorkerLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecWorkerLogDestinationPapertrail
Papertrail configuration.
name This property is required. str
The name of the component.
datadog GetAppSpecWorkerLogDestinationDatadog
Datadog configuration.
logtail GetAppSpecWorkerLogDestinationLogtail
Logtail configuration.
open_search GetAppSpecWorkerLogDestinationOpenSearch
OpenSearch configuration.
papertrail GetAppSpecWorkerLogDestinationPapertrail
Papertrail configuration.
name This property is required. 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 This property is required. string
Datadog API key.
Endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
ApiKey This property is required. string
Datadog API key.
Endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. String
Datadog API key.
endpoint String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. string
Datadog API key.
endpoint string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
api_key This property is required. str
Datadog API key.
endpoint str
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
apiKey This property is required. String
Datadog API key.
endpoint String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

GetAppSpecWorkerLogDestinationLogtail

Token This property is required. string
Logtail token.
Token This property is required. string
Logtail token.
token This property is required. String
Logtail token.
token This property is required. string
Logtail token.
token This property is required. str
Logtail token.
token This property is required. String
Logtail token.

GetAppSpecWorkerLogDestinationOpenSearch

BasicAuth This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
Endpoint This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. string
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. str
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
endpoint This property is required. String
OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.

GetAppSpecWorkerTermination

GracePeriodSeconds int
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
GracePeriodSeconds int
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
gracePeriodSeconds Integer
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
gracePeriodSeconds number
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
grace_period_seconds int
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
gracePeriodSeconds Number
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.

Package Details

Repository
DigitalOcean pulumi/pulumi-digitalocean
License
Apache-2.0
Notes
This Pulumi package is based on the digitalocean Terraform Provider.
DigitalOcean v4.42.0 published on Thursday, Apr 17, 2025 by Pulumi