DigitalOcean

v4.16.0 published on Wednesday, Sep 28, 2022 by Pulumi

getApp

Get information on a DigitalOcean App.

Example Usage

Get the account

using System.Collections.Generic;
using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;

return await Deployment.RunAsync(() => 
{
    var example = DigitalOcean.GetApp.Invoke(new()
    {
        AppId = "e665d18d-7b56-44a9-92ce-31979174d544",
    });

    return new Dictionary<string, object?>
    {
        ["defaultIngress"] = example.Apply(getAppResult => getAppResult.DefaultIngress),
    };
});
package 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, &GetAppArgs{
			AppId: "e665d18d-7b56-44a9-92ce-31979174d544",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("defaultIngress", example.DefaultIngress)
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.digitalocean.DigitaloceanFunctions;
import com.pulumi.digitalocean.inputs.GetAppArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = DigitaloceanFunctions.getApp(GetAppArgs.builder()
            .appId("e665d18d-7b56-44a9-92ce-31979174d544")
            .build());

        ctx.export("defaultIngress", example.applyValue(getAppResult -> getAppResult.defaultIngress()));
    }
}
import pulumi
import pulumi_digitalocean as digitalocean

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

Using getApp

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

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

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

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

The following arguments are supported:

AppId string

The ID of the app to retrieve information about.

AppId string

The ID of the app to retrieve information about.

appId String

The ID of the app to retrieve information about.

appId string

The ID of the app to retrieve information about.

app_id str

The ID of the app to retrieve information about.

appId String

The ID of the app to retrieve information about.

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.

DefaultIngress string

The default URL to access the app.

Id string

The provider-assigned unique ID for this managed resource.

LiveUrl string

The live URL of the app.

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.

DefaultIngress string

The default URL to access the app.

Id string

The provider-assigned unique ID for this managed resource.

LiveUrl string

The live URL of the app.

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.

defaultIngress String

The default URL to access the app.

id String

The provider-assigned unique ID for this managed resource.

liveUrl String

The live URL of the app.

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.

defaultIngress string

The default URL to access the app.

id string

The provider-assigned unique ID for this managed resource.

liveUrl string

The live URL of the app.

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.

default_ingress str

The default URL to access the app.

id str

The provider-assigned unique ID for this managed resource.

live_url str

The live URL of the app.

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.

defaultIngress String

The default URL to access the app.

id String

The provider-assigned unique ID for this managed resource.

liveUrl String

The live URL of the app.

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

GetAppSpec

Domains []string

Deprecated:

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

Name string

The name of the component.

Alerts []GetAppSpecAlert

Describes an alert policy for the component.

Databases []GetAppSpecDatabase
Envs []GetAppSpecEnv

Describes an environment variable made available to an app competent.

Functions []GetAppSpecFunction
Jobs []GetAppSpecJob
Region string
Services []GetAppSpecService
StaticSites []GetAppSpecStaticSite
Workers []GetAppSpecWorker
domains List<String>

Deprecated:

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

name String

The name of the component.

alerts List<GetAppSpecAlert>

Describes an alert policy for the component.

databases List<GetAppSpecDatabase>
envs List<GetAppSpecEnv>

Describes an environment variable made available to an app competent.

functions List<GetAppSpecFunction>
jobs List<GetAppSpecJob>
region String
services List<GetAppSpecService>
staticSites List<GetAppSpecStaticSite>
workers List<GetAppSpecWorker>
domains string[]

Deprecated:

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

name string

The name of the component.

alerts GetAppSpecAlert[]

Describes an alert policy for the component.

databases GetAppSpecDatabase[]
envs GetAppSpecEnv[]

Describes an environment variable made available to an app competent.

functions GetAppSpecFunction[]
jobs GetAppSpecJob[]
region string
services GetAppSpecService[]
staticSites GetAppSpecStaticSite[]
workers GetAppSpecWorker[]
domains Sequence[str]

Deprecated:

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

name str

The name of the component.

alerts Sequence[GetAppSpecAlert]

Describes an alert policy for the component.

databases Sequence[GetAppSpecDatabase]
envs Sequence[GetAppSpecEnv]

Describes an environment variable made available to an app competent.

functions Sequence[GetAppSpecFunction]
jobs Sequence[GetAppSpecJob]
region str
services Sequence[GetAppSpecService]
static_sites Sequence[GetAppSpecStaticSite]
workers Sequence[GetAppSpecWorker]
domains List<String>

Deprecated:

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

name String

The name of the component.

alerts List<Property Map>

Describes an alert policy for the component.

databases 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
services List<Property Map>
staticSites List<Property Map>
workers List<Property Map>

GetAppSpecAlert

Rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

Disabled bool

Determines whether or not the alert is disabled (default: false).

Rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

Disabled bool

Determines whether or not the alert is disabled (default: false).

rule String

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

disabled Boolean

Determines whether or not the alert is disabled (default: false).

rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

disabled boolean

Determines whether or not the alert is disabled (default: false).

rule str

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

disabled bool

Determines whether or not the alert is disabled (default: false).

rule String

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

disabled Boolean

Determines whether or not the alert is disabled (default: false).

GetAppSpecDatabase

ClusterName string

The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.

DbName string

The name of the MySQL or PostgreSQL database to configure.

DbUser string

The name of the MySQL or PostgreSQL user to configure.

Engine string

The database engine to use (MYSQL, PG, REDIS, or MONGODB).

Name string

The name of the component.

Production bool

Whether this is a production or dev database.

Version string

The version of the database engine.

ClusterName string

The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.

DbName string

The name of the MySQL or PostgreSQL database to configure.

DbUser string

The name of the MySQL or PostgreSQL user to configure.

Engine string

The database engine to use (MYSQL, PG, REDIS, or MONGODB).

Name string

The name of the component.

Production bool

Whether this is a production or dev database.

Version string

The version of the database engine.

clusterName String

The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.

dbName String

The name of the MySQL or PostgreSQL database to configure.

dbUser String

The name of the MySQL or PostgreSQL user to configure.

engine String

The database engine to use (MYSQL, PG, REDIS, or MONGODB).

name String

The name of the component.

production Boolean

Whether this is a production or dev database.

version String

The version of the database engine.

clusterName string

The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.

dbName string

The name of the MySQL or PostgreSQL database to configure.

dbUser string

The name of the MySQL or PostgreSQL user to configure.

engine string

The database engine to use (MYSQL, PG, REDIS, or MONGODB).

name string

The name of the component.

production boolean

Whether this is a production or dev database.

version string

The version of the database engine.

cluster_name str

The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.

db_name str

The name of the MySQL or PostgreSQL database to configure.

db_user str

The name of the MySQL or PostgreSQL user to configure.

engine str

The database engine to use (MYSQL, PG, REDIS, or MONGODB).

name str

The name of the component.

production bool

Whether this is a production or dev database.

version str

The version of the database engine.

clusterName String

The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if cluster_name is not set, a new cluster will be provisioned.

dbName String

The name of the MySQL or PostgreSQL database to configure.

dbUser String

The name of the MySQL or PostgreSQL user to configure.

engine String

The database engine to use (MYSQL, PG, REDIS, or MONGODB).

name String

The name of the component.

production Boolean

Whether this is a production or dev database.

version String

The version of the database engine.

GetAppSpecEnv

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

type string

The type of the environment variable, GENERAL or SECRET.

key string

The name of the environment variable.

scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value string

The threshold for the type of the warning.

type str

The type of the environment variable, GENERAL or SECRET.

key str

The name of the environment variable.

scope str

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value str

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

GetAppSpecFunction

Name string

The name of the component.

Routes List<Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionRoute>
Alerts List<Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionAlert>

Describes an alert policy for the component.

Cors Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionCors

The CORS policies of the app.

Envs List<Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionEnv>

Describes an environment variable made available to an app competent.

Git Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Github Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Gitlab Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

LogDestinations List<Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionLogDestination>

Describes a log forwarding destination.

SourceDir string

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

Name string

The name of the component.

Routes []GetAppSpecFunctionRoute
Alerts []GetAppSpecFunctionAlert

Describes an alert policy for the component.

Cors GetAppSpecFunctionCors

The CORS policies of the app.

Envs []GetAppSpecFunctionEnv

Describes an environment variable made available to an app competent.

Git GetAppSpecFunctionGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Github GetAppSpecFunctionGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Gitlab GetAppSpecFunctionGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

LogDestinations []GetAppSpecFunctionLogDestination

Describes a log forwarding destination.

SourceDir string

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

name String

The name of the component.

routes List<GetAppSpecFunctionRoute>
alerts List<GetAppSpecFunctionAlert>

Describes an alert policy for the component.

cors GetAppSpecFunctionCors

The CORS policies of the app.

envs List<GetAppSpecFunctionEnv>

Describes an environment variable made available to an app competent.

git GetAppSpecFunctionGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecFunctionGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecFunctionGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

logDestinations List<GetAppSpecFunctionLogDestination>

Describes a log forwarding destination.

sourceDir String

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

name string

The name of the component.

routes GetAppSpecFunctionRoute[]
alerts GetAppSpecFunctionAlert[]

Describes an alert policy for the component.

cors GetAppSpecFunctionCors

The CORS policies of the app.

envs GetAppSpecFunctionEnv[]

Describes an environment variable made available to an app competent.

git GetAppSpecFunctionGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecFunctionGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecFunctionGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

logDestinations GetAppSpecFunctionLogDestination[]

Describes a log forwarding destination.

sourceDir string

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

name str

The name of the component.

routes Sequence[GetAppSpecFunctionRoute]
alerts Sequence[GetAppSpecFunctionAlert]

Describes an alert policy for the component.

cors GetAppSpecFunctionCors

The CORS policies of the app.

envs Sequence[GetAppSpecFunctionEnv]

Describes an environment variable made available to an app competent.

git GetAppSpecFunctionGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecFunctionGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecFunctionGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

log_destinations Sequence[GetAppSpecFunctionLogDestination]

Describes a log forwarding destination.

source_dir str

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

name String

The name of the component.

routes List<Property Map>
alerts List<Property Map>

Describes an alert policy for the component.

cors Property Map

The CORS policies of the app.

envs List<Property Map>

Describes an environment variable made available to an app competent.

git Property Map

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github Property Map

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab Property Map

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

logDestinations List<Property Map>

Describes a log forwarding destination.

sourceDir String

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

GetAppSpecFunctionAlert

Operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

Rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

Value double

The threshold for the type of the warning.

Window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

Disabled bool

Determines whether or not the alert is disabled (default: false).

Operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

Rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

Value float64

The threshold for the type of the warning.

Window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

Disabled bool

Determines whether or not the alert is disabled (default: false).

operator String

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule String

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value Double

The threshold for the type of the warning.

window String

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled Boolean

Determines whether or not the alert is disabled (default: false).

operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value number

The threshold for the type of the warning.

window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled boolean

Determines whether or not the alert is disabled (default: false).

operator str

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule str

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value float

The threshold for the type of the warning.

window str

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled bool

Determines whether or not the alert is disabled (default: false).

operator String

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule String

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value Number

The threshold for the type of the warning.

window String

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled Boolean

Determines whether or not the alert is disabled (default: false).

GetAppSpecFunctionCors

AllowCredentials bool

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

AllowHeaders List<string>

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

AllowMethods List<string>

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

AllowOrigins Pulumi.DigitalOcean.Inputs.GetAppSpecFunctionCorsAllowOrigins

The Access-Control-Allow-Origin can be

ExposeHeaders List<string>

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

MaxAge string

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

AllowCredentials bool

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

AllowHeaders []string

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

AllowMethods []string

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

AllowOrigins GetAppSpecFunctionCorsAllowOrigins

The Access-Control-Allow-Origin can be

ExposeHeaders []string

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

MaxAge string

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

allowCredentials Boolean

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

allowHeaders List<String>

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

allowMethods List<String>

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

allowOrigins GetAppSpecFunctionCorsAllowOrigins

The Access-Control-Allow-Origin can be

exposeHeaders List<String>

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

maxAge String

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

allowCredentials boolean

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

allowHeaders string[]

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

allowMethods string[]

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

allowOrigins GetAppSpecFunctionCorsAllowOrigins

The Access-Control-Allow-Origin can be

exposeHeaders string[]

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

maxAge string

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

allow_credentials bool

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

allow_headers Sequence[str]

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

allow_methods Sequence[str]

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

allow_origins GetAppSpecFunctionCorsAllowOrigins

The Access-Control-Allow-Origin can be

expose_headers Sequence[str]

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

max_age str

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

allowCredentials Boolean

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

allowHeaders List<String>

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

allowMethods List<String>

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

allowOrigins Property Map

The Access-Control-Allow-Origin can be

exposeHeaders List<String>

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

maxAge String

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

GetAppSpecFunctionCorsAllowOrigins

Exact string

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

Prefix string

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

Regex string

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

Exact string

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

Prefix string

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

Regex string

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact String

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix String

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex String

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact string

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix string

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex string

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact str

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix str

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex str

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact String

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix String

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex String

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

GetAppSpecFunctionEnv

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

type string

The type of the environment variable, GENERAL or SECRET.

key string

The name of the environment variable.

scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value string

The threshold for the type of the warning.

type str

The type of the environment variable, GENERAL or SECRET.

key str

The name of the environment variable.

scope str

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value str

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

GetAppSpecFunctionGit

Branch string

The name of the branch to use.

RepoCloneUrl string

The clone URL of the repo.

Branch string

The name of the branch to use.

RepoCloneUrl string

The clone URL of the repo.

branch String

The name of the branch to use.

repoCloneUrl String

The clone URL of the repo.

branch string

The name of the branch to use.

repoCloneUrl string

The clone URL of the repo.

branch str

The name of the branch to use.

repo_clone_url str

The clone URL of the repo.

branch String

The name of the branch to use.

repoCloneUrl String

The clone URL of the repo.

GetAppSpecFunctionGithub

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

branch string

The name of the branch to use.

deployOnPush boolean

Whether to automatically deploy new commits made to the repo.

repo string

The name of the repo in the format owner/repo.

branch str

The name of the branch to use.

deploy_on_push bool

Whether to automatically deploy new commits made to the repo.

repo str

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

GetAppSpecFunctionGitlab

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

branch string

The name of the branch to use.

deployOnPush boolean

Whether to automatically deploy new commits made to the repo.

repo string

The name of the repo in the format owner/repo.

branch str

The name of the branch to use.

deploy_on_push bool

Whether to automatically deploy new commits made to the repo.

repo str

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

GetAppSpecFunctionLogDestination

Name string

The name of the component.

Datadog GetAppSpecFunctionLogDestinationDatadog

Datadog configuration.

Logtail GetAppSpecFunctionLogDestinationLogtail

Logtail configuration.

Papertrail GetAppSpecFunctionLogDestinationPapertrail

Papertrail configuration.

name String

The name of the component.

datadog GetAppSpecFunctionLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecFunctionLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecFunctionLogDestinationPapertrail

Papertrail configuration.

name string

The name of the component.

datadog GetAppSpecFunctionLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecFunctionLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecFunctionLogDestinationPapertrail

Papertrail configuration.

name str

The name of the component.

datadog GetAppSpecFunctionLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecFunctionLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecFunctionLogDestinationPapertrail

Papertrail configuration.

name String

The name of the component.

datadog Property Map

Datadog configuration.

logtail Property Map

Logtail configuration.

papertrail Property Map

Papertrail configuration.

GetAppSpecFunctionLogDestinationDatadog

ApiKey string

Datadog API key.

Endpoint string

Datadog HTTP log intake endpoint.

ApiKey string

Datadog API key.

Endpoint string

Datadog HTTP log intake endpoint.

apiKey String

Datadog API key.

endpoint String

Datadog HTTP log intake endpoint.

apiKey string

Datadog API key.

endpoint string

Datadog HTTP log intake endpoint.

api_key str

Datadog API key.

endpoint str

Datadog HTTP log intake endpoint.

apiKey String

Datadog API key.

endpoint String

Datadog HTTP log intake endpoint.

GetAppSpecFunctionLogDestinationLogtail

Token string

Logtail token.

Token string

Logtail token.

token String

Logtail token.

token string

Logtail token.

token str

Logtail token.

token String

Logtail token.

GetAppSpecFunctionLogDestinationPapertrail

Endpoint string

Datadog HTTP log intake endpoint.

Endpoint string

Datadog HTTP log intake endpoint.

endpoint String

Datadog HTTP log intake endpoint.

endpoint string

Datadog HTTP log intake endpoint.

endpoint str

Datadog HTTP log intake endpoint.

endpoint String

Datadog HTTP log intake endpoint.

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.

GetAppSpecJob

Name string

The name of the component.

Alerts List<Pulumi.DigitalOcean.Inputs.GetAppSpecJobAlert>

Describes an alert policy for the component.

BuildCommand string

An optional build command to run while building this component from source.

DockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

EnvironmentSlug string

An environment slug describing the type of this app.

Envs List<Pulumi.DigitalOcean.Inputs.GetAppSpecJobEnv>

Describes an environment variable made available to an app competent.

Git Pulumi.DigitalOcean.Inputs.GetAppSpecJobGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Github Pulumi.DigitalOcean.Inputs.GetAppSpecJobGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Gitlab Pulumi.DigitalOcean.Inputs.GetAppSpecJobGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Image Pulumi.DigitalOcean.Inputs.GetAppSpecJobImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

InstanceCount int

The amount of instances that this component should be scaled to.

InstanceSizeSlug string

The instance size to use for this component.

Kind string

The type of job and when it will be run during the deployment process. It may be one of:

  • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
  • PRE_DEPLOY: Indicates a job that runs before an app deployment.
  • POST_DEPLOY: Indicates a job that runs after an app deployment.
  • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
LogDestinations List<Pulumi.DigitalOcean.Inputs.GetAppSpecJobLogDestination>

Describes a log forwarding destination.

RunCommand string

An optional run command to override the component's default.

SourceDir string

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

Name string

The name of the component.

Alerts []GetAppSpecJobAlert

Describes an alert policy for the component.

BuildCommand string

An optional build command to run while building this component from source.

DockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

EnvironmentSlug string

An environment slug describing the type of this app.

Envs []GetAppSpecJobEnv

Describes an environment variable made available to an app competent.

Git GetAppSpecJobGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Github GetAppSpecJobGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Gitlab GetAppSpecJobGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Image GetAppSpecJobImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

InstanceCount int

The amount of instances that this component should be scaled to.

InstanceSizeSlug string

The instance size to use for this component.

Kind string

The type of job and when it will be run during the deployment process. It may be one of:

  • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
  • PRE_DEPLOY: Indicates a job that runs before an app deployment.
  • POST_DEPLOY: Indicates a job that runs after an app deployment.
  • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
LogDestinations []GetAppSpecJobLogDestination

Describes a log forwarding destination.

RunCommand string

An optional run command to override the component's default.

SourceDir string

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

name String

The name of the component.

alerts List<GetAppSpecJobAlert>

Describes an alert policy for the component.

buildCommand String

An optional build command to run while building this component from source.

dockerfilePath String

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug String

An environment slug describing the type of this app.

envs List<GetAppSpecJobEnv>

Describes an environment variable made available to an app competent.

git GetAppSpecJobGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecJobGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecJobGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

image GetAppSpecJobImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instanceCount Integer

The amount of instances that this component should be scaled to.

instanceSizeSlug String

The instance size to use for this component.

kind String

The type of job and when it will be run during the deployment process. It may be one of:

  • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
  • PRE_DEPLOY: Indicates a job that runs before an app deployment.
  • POST_DEPLOY: Indicates a job that runs after an app deployment.
  • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
logDestinations List<GetAppSpecJobLogDestination>

Describes a log forwarding destination.

runCommand String

An optional run command to override the component's default.

sourceDir String

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

name string

The name of the component.

alerts GetAppSpecJobAlert[]

Describes an alert policy for the component.

buildCommand string

An optional build command to run while building this component from source.

dockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug string

An environment slug describing the type of this app.

envs GetAppSpecJobEnv[]

Describes an environment variable made available to an app competent.

git GetAppSpecJobGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecJobGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecJobGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

image GetAppSpecJobImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instanceCount number

The amount of instances that this component should be scaled to.

instanceSizeSlug string

The instance size to use for this component.

kind string

The type of job and when it will be run during the deployment process. It may be one of:

  • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
  • PRE_DEPLOY: Indicates a job that runs before an app deployment.
  • POST_DEPLOY: Indicates a job that runs after an app deployment.
  • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
logDestinations GetAppSpecJobLogDestination[]

Describes a log forwarding destination.

runCommand string

An optional run command to override the component's default.

sourceDir string

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

name str

The name of the component.

alerts Sequence[GetAppSpecJobAlert]

Describes an alert policy for the component.

build_command str

An optional build command to run while building this component from source.

dockerfile_path str

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environment_slug str

An environment slug describing the type of this app.

envs Sequence[GetAppSpecJobEnv]

Describes an environment variable made available to an app competent.

git GetAppSpecJobGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecJobGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecJobGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

image GetAppSpecJobImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instance_count int

The amount of instances that this component should be scaled to.

instance_size_slug str

The instance size to use for this component.

kind str

The type of job and when it will be run during the deployment process. It may be one of:

  • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
  • PRE_DEPLOY: Indicates a job that runs before an app deployment.
  • POST_DEPLOY: Indicates a job that runs after an app deployment.
  • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
log_destinations Sequence[GetAppSpecJobLogDestination]

Describes a log forwarding destination.

run_command str

An optional run command to override the component's default.

source_dir str

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

name String

The name of the component.

alerts List<Property Map>

Describes an alert policy for the component.

buildCommand String

An optional build command to run while building this component from source.

dockerfilePath String

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug String

An environment slug describing the type of this app.

envs List<Property Map>

Describes an environment variable made available to an app competent.

git Property Map

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github Property Map

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab Property Map

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

image Property Map

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instanceCount Number

The amount of instances that this component should be scaled to.

instanceSizeSlug String

The instance size to use for this component.

kind String

The type of job and when it will be run during the deployment process. It may be one of:

  • UNSPECIFIED: Default job type, will auto-complete to POST_DEPLOY kind.
  • PRE_DEPLOY: Indicates a job that runs before an app deployment.
  • POST_DEPLOY: Indicates a job that runs after an app deployment.
  • FAILED_DEPLOY: Indicates a job that runs after a component fails to deploy.
logDestinations List<Property Map>

Describes a log forwarding destination.

runCommand String

An optional run command to override the component's default.

sourceDir String

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

GetAppSpecJobAlert

Operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

Rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

Value double

The threshold for the type of the warning.

Window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

Disabled bool

Determines whether or not the alert is disabled (default: false).

Operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

Rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

Value float64

The threshold for the type of the warning.

Window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

Disabled bool

Determines whether or not the alert is disabled (default: false).

operator String

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule String

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value Double

The threshold for the type of the warning.

window String

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled Boolean

Determines whether or not the alert is disabled (default: false).

operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value number

The threshold for the type of the warning.

window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled boolean

Determines whether or not the alert is disabled (default: false).

operator str

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule str

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value float

The threshold for the type of the warning.

window str

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled bool

Determines whether or not the alert is disabled (default: false).

operator String

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule String

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value Number

The threshold for the type of the warning.

window String

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled Boolean

Determines whether or not the alert is disabled (default: false).

GetAppSpecJobEnv

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

type string

The type of the environment variable, GENERAL or SECRET.

key string

The name of the environment variable.

scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value string

The threshold for the type of the warning.

type str

The type of the environment variable, GENERAL or SECRET.

key str

The name of the environment variable.

scope str

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value str

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

GetAppSpecJobGit

Branch string

The name of the branch to use.

RepoCloneUrl string

The clone URL of the repo.

Branch string

The name of the branch to use.

RepoCloneUrl string

The clone URL of the repo.

branch String

The name of the branch to use.

repoCloneUrl String

The clone URL of the repo.

branch string

The name of the branch to use.

repoCloneUrl string

The clone URL of the repo.

branch str

The name of the branch to use.

repo_clone_url str

The clone URL of the repo.

branch String

The name of the branch to use.

repoCloneUrl String

The clone URL of the repo.

GetAppSpecJobGithub

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

branch string

The name of the branch to use.

deployOnPush boolean

Whether to automatically deploy new commits made to the repo.

repo string

The name of the repo in the format owner/repo.

branch str

The name of the branch to use.

deploy_on_push bool

Whether to automatically deploy new commits made to the repo.

repo str

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

GetAppSpecJobGitlab

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

branch string

The name of the branch to use.

deployOnPush boolean

Whether to automatically deploy new commits made to the repo.

repo string

The name of the repo in the format owner/repo.

branch str

The name of the branch to use.

deploy_on_push bool

Whether to automatically deploy new commits made to the repo.

repo str

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

GetAppSpecJobImage

DeployOnPushes List<Pulumi.DigitalOcean.Inputs.GetAppSpecJobImageDeployOnPush>

Whether to automatically deploy new commits made to the repo.

RegistryType string

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

Repository string

The repository name.

Registry string

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

Tag string

The repository tag. Defaults to latest if not provided.

DeployOnPushes []GetAppSpecJobImageDeployOnPush

Whether to automatically deploy new commits made to the repo.

RegistryType string

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

Repository string

The repository name.

Registry string

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

Tag string

The repository tag. Defaults to latest if not provided.

deployOnPushes List<GetAppSpecJobImageDeployOnPush>

Whether to automatically deploy new commits made to the repo.

registryType String

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository String

The repository name.

registry String

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag String

The repository tag. Defaults to latest if not provided.

deployOnPushes GetAppSpecJobImageDeployOnPush[]

Whether to automatically deploy new commits made to the repo.

registryType string

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository string

The repository name.

registry string

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag string

The repository tag. Defaults to latest if not provided.

deploy_on_pushes Sequence[GetAppSpecJobImageDeployOnPush]

Whether to automatically deploy new commits made to the repo.

registry_type str

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository str

The repository name.

registry str

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag str

The repository tag. Defaults to latest if not provided.

deployOnPushes List<Property Map>

Whether to automatically deploy new commits made to the repo.

registryType String

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository String

The repository name.

registry String

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag String

The repository tag. Defaults to latest if not provided.

GetAppSpecJobImageDeployOnPush

Enabled bool

Whether to automatically deploy images pushed to DOCR.

Enabled bool

Whether to automatically deploy images pushed to DOCR.

enabled Boolean

Whether to automatically deploy images pushed to DOCR.

enabled boolean

Whether to automatically deploy images pushed to DOCR.

enabled bool

Whether to automatically deploy images pushed to DOCR.

enabled Boolean

Whether to automatically deploy images pushed to DOCR.

GetAppSpecJobLogDestination

Name string

The name of the component.

Datadog GetAppSpecJobLogDestinationDatadog

Datadog configuration.

Logtail GetAppSpecJobLogDestinationLogtail

Logtail configuration.

Papertrail GetAppSpecJobLogDestinationPapertrail

Papertrail configuration.

name String

The name of the component.

datadog GetAppSpecJobLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecJobLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecJobLogDestinationPapertrail

Papertrail configuration.

name string

The name of the component.

datadog GetAppSpecJobLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecJobLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecJobLogDestinationPapertrail

Papertrail configuration.

name str

The name of the component.

datadog GetAppSpecJobLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecJobLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecJobLogDestinationPapertrail

Papertrail configuration.

name String

The name of the component.

datadog Property Map

Datadog configuration.

logtail Property Map

Logtail configuration.

papertrail Property Map

Papertrail configuration.

GetAppSpecJobLogDestinationDatadog

ApiKey string

Datadog API key.

Endpoint string

Datadog HTTP log intake endpoint.

ApiKey string

Datadog API key.

Endpoint string

Datadog HTTP log intake endpoint.

apiKey String

Datadog API key.

endpoint String

Datadog HTTP log intake endpoint.

apiKey string

Datadog API key.

endpoint string

Datadog HTTP log intake endpoint.

api_key str

Datadog API key.

endpoint str

Datadog HTTP log intake endpoint.

apiKey String

Datadog API key.

endpoint String

Datadog HTTP log intake endpoint.

GetAppSpecJobLogDestinationLogtail

Token string

Logtail token.

Token string

Logtail token.

token String

Logtail token.

token string

Logtail token.

token str

Logtail token.

token String

Logtail token.

GetAppSpecJobLogDestinationPapertrail

Endpoint string

Datadog HTTP log intake endpoint.

Endpoint string

Datadog HTTP log intake endpoint.

endpoint String

Datadog HTTP log intake endpoint.

endpoint string

Datadog HTTP log intake endpoint.

endpoint str

Datadog HTTP log intake endpoint.

endpoint String

Datadog HTTP log intake endpoint.

GetAppSpecService

HttpPort int

The internal port on which this service's run command will listen.

Name string

The name of the component.

Routes List<Pulumi.DigitalOcean.Inputs.GetAppSpecServiceRoute>
RunCommand string

An optional run command to override the component's default.

Alerts List<Pulumi.DigitalOcean.Inputs.GetAppSpecServiceAlert>

Describes an alert policy for the component.

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.

DockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

EnvironmentSlug string

An environment slug describing the type of this app.

Envs List<Pulumi.DigitalOcean.Inputs.GetAppSpecServiceEnv>

Describes an environment variable made available to an app competent.

Git Pulumi.DigitalOcean.Inputs.GetAppSpecServiceGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Github Pulumi.DigitalOcean.Inputs.GetAppSpecServiceGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Gitlab Pulumi.DigitalOcean.Inputs.GetAppSpecServiceGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

HealthCheck Pulumi.DigitalOcean.Inputs.GetAppSpecServiceHealthCheck

A health check to determine the availability of this component.

Image Pulumi.DigitalOcean.Inputs.GetAppSpecServiceImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

InstanceCount int

The amount of instances that this component should be scaled to.

InstanceSizeSlug string

The instance size to use for this component.

InternalPorts List<int>

A list of ports on which this service will listen for internal traffic.

LogDestinations List<Pulumi.DigitalOcean.Inputs.GetAppSpecServiceLogDestination>

Describes a log forwarding destination.

SourceDir string

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

HttpPort int

The internal port on which this service's run command will listen.

Name string

The name of the component.

Routes []GetAppSpecServiceRoute
RunCommand string

An optional run command to override the component's default.

Alerts []GetAppSpecServiceAlert

Describes an alert policy for the component.

BuildCommand string

An optional build command to run while building this component from source.

Cors GetAppSpecServiceCors

The CORS policies of the app.

DockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

EnvironmentSlug string

An environment slug describing the type of this app.

Envs []GetAppSpecServiceEnv

Describes an environment variable made available to an app competent.

Git GetAppSpecServiceGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Github GetAppSpecServiceGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Gitlab GetAppSpecServiceGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

HealthCheck GetAppSpecServiceHealthCheck

A health check to determine the availability of this component.

Image GetAppSpecServiceImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

InstanceCount int

The amount of instances that this component should be scaled to.

InstanceSizeSlug string

The instance size to use for this component.

InternalPorts []int

A list of ports on which this service will listen for internal traffic.

LogDestinations []GetAppSpecServiceLogDestination

Describes a log forwarding destination.

SourceDir string

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

httpPort Integer

The internal port on which this service's run command will listen.

name String

The name of the component.

routes List<GetAppSpecServiceRoute>
runCommand String

An optional run command to override the component's default.

alerts List<GetAppSpecServiceAlert>

Describes an alert policy for the component.

buildCommand String

An optional build command to run while building this component from source.

cors GetAppSpecServiceCors

The CORS policies of the app.

dockerfilePath String

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug String

An environment slug describing the type of this app.

envs List<GetAppSpecServiceEnv>

Describes an environment variable made available to an app competent.

git GetAppSpecServiceGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecServiceGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecServiceGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

healthCheck GetAppSpecServiceHealthCheck

A health check to determine the availability of this component.

image GetAppSpecServiceImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instanceCount Integer

The amount of instances that this component should be scaled to.

instanceSizeSlug String

The instance size to use for this component.

internalPorts List<Integer>

A list of ports on which this service will listen for internal traffic.

logDestinations List<GetAppSpecServiceLogDestination>

Describes a log forwarding destination.

sourceDir String

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

httpPort number

The internal port on which this service's run command will listen.

name string

The name of the component.

routes GetAppSpecServiceRoute[]
runCommand string

An optional run command to override the component's default.

alerts GetAppSpecServiceAlert[]

Describes an alert policy for the component.

buildCommand string

An optional build command to run while building this component from source.

cors GetAppSpecServiceCors

The CORS policies of the app.

dockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug string

An environment slug describing the type of this app.

envs GetAppSpecServiceEnv[]

Describes an environment variable made available to an app competent.

git GetAppSpecServiceGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecServiceGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecServiceGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

healthCheck GetAppSpecServiceHealthCheck

A health check to determine the availability of this component.

image GetAppSpecServiceImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instanceCount number

The amount of instances that this component should be scaled to.

instanceSizeSlug string

The instance size to use for this component.

internalPorts number[]

A list of ports on which this service will listen for internal traffic.

logDestinations GetAppSpecServiceLogDestination[]

Describes a log forwarding destination.

sourceDir string

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

http_port int

The internal port on which this service's run command will listen.

name str

The name of the component.

routes Sequence[GetAppSpecServiceRoute]
run_command str

An optional run command to override the component's default.

alerts Sequence[GetAppSpecServiceAlert]

Describes an alert policy for the component.

build_command str

An optional build command to run while building this component from source.

cors GetAppSpecServiceCors

The CORS policies of the app.

dockerfile_path str

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environment_slug str

An environment slug describing the type of this app.

envs Sequence[GetAppSpecServiceEnv]

Describes an environment variable made available to an app competent.

git GetAppSpecServiceGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecServiceGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecServiceGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

health_check GetAppSpecServiceHealthCheck

A health check to determine the availability of this component.

image GetAppSpecServiceImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instance_count int

The amount of instances that this component should be scaled to.

instance_size_slug str

The instance size to use for this component.

internal_ports Sequence[int]

A list of ports on which this service will listen for internal traffic.

log_destinations Sequence[GetAppSpecServiceLogDestination]

Describes a log forwarding destination.

source_dir str

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

httpPort Number

The internal port on which this service's run command will listen.

name String

The name of the component.

routes List<Property Map>
runCommand String

An optional run command to override the component's default.

alerts List<Property Map>

Describes an alert policy for the component.

buildCommand String

An optional build command to run while building this component from source.

cors Property Map

The CORS policies of the app.

dockerfilePath String

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug String

An environment slug describing the type of this app.

envs List<Property Map>

Describes an environment variable made available to an app competent.

git Property Map

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github Property Map

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab Property Map

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

healthCheck Property Map

A health check to determine the availability of this component.

image Property Map

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instanceCount Number

The amount of instances that this component should be scaled to.

instanceSizeSlug String

The instance size to use for this component.

internalPorts List<Number>

A list of ports on which this service will listen for internal traffic.

logDestinations List<Property Map>

Describes a log forwarding destination.

sourceDir String

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

GetAppSpecServiceAlert

Operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

Rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

Value double

The threshold for the type of the warning.

Window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

Disabled bool

Determines whether or not the alert is disabled (default: false).

Operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

Rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

Value float64

The threshold for the type of the warning.

Window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

Disabled bool

Determines whether or not the alert is disabled (default: false).

operator String

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule String

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value Double

The threshold for the type of the warning.

window String

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled Boolean

Determines whether or not the alert is disabled (default: false).

operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value number

The threshold for the type of the warning.

window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled boolean

Determines whether or not the alert is disabled (default: false).

operator str

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule str

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value float

The threshold for the type of the warning.

window str

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled bool

Determines whether or not the alert is disabled (default: false).

operator String

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule String

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value Number

The threshold for the type of the warning.

window String

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled Boolean

Determines whether or not the alert is disabled (default: false).

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.

Regex string

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

Exact string

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

Prefix string

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

Regex string

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact String

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix String

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex String

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact string

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix string

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex string

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact str

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix str

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex str

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact String

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix String

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex String

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

GetAppSpecServiceEnv

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

type string

The type of the environment variable, GENERAL or SECRET.

key string

The name of the environment variable.

scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value string

The threshold for the type of the warning.

type str

The type of the environment variable, GENERAL or SECRET.

key str

The name of the environment variable.

scope str

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value str

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

GetAppSpecServiceGit

Branch string

The name of the branch to use.

RepoCloneUrl string

The clone URL of the repo.

Branch string

The name of the branch to use.

RepoCloneUrl string

The clone URL of the repo.

branch String

The name of the branch to use.

repoCloneUrl String

The clone URL of the repo.

branch string

The name of the branch to use.

repoCloneUrl string

The clone URL of the repo.

branch str

The name of the branch to use.

repo_clone_url str

The clone URL of the repo.

branch String

The name of the branch to use.

repoCloneUrl String

The clone URL of the repo.

GetAppSpecServiceGithub

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

branch string

The name of the branch to use.

deployOnPush boolean

Whether to automatically deploy new commits made to the repo.

repo string

The name of the repo in the format owner/repo.

branch str

The name of the branch to use.

deploy_on_push bool

Whether to automatically deploy new commits made to the repo.

repo str

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

GetAppSpecServiceGitlab

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

branch string

The name of the branch to use.

deployOnPush boolean

Whether to automatically deploy new commits made to the repo.

repo string

The name of the repo in the format owner/repo.

branch str

The name of the branch to use.

deploy_on_push bool

Whether to automatically deploy new commits made to the repo.

repo str

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

GetAppSpecServiceHealthCheck

FailureThreshold int

The number of failed health checks before considered unhealthy.

HttpPath string

The route path used for the HTTP health check ping.

InitialDelaySeconds int

The number of seconds to wait before beginning health checks.

PeriodSeconds int

The number of seconds to wait between health checks.

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.

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.

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.

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.

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.

successThreshold Number

The number of successful health checks before considered healthy.

timeoutSeconds Number

The number of seconds after which the check times out.

GetAppSpecServiceImage

DeployOnPushes List<Pulumi.DigitalOcean.Inputs.GetAppSpecServiceImageDeployOnPush>

Whether to automatically deploy new commits made to the repo.

RegistryType string

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

Repository string

The repository name.

Registry string

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

Tag string

The repository tag. Defaults to latest if not provided.

DeployOnPushes []GetAppSpecServiceImageDeployOnPush

Whether to automatically deploy new commits made to the repo.

RegistryType string

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

Repository string

The repository name.

Registry string

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

Tag string

The repository tag. Defaults to latest if not provided.

deployOnPushes List<GetAppSpecServiceImageDeployOnPush>

Whether to automatically deploy new commits made to the repo.

registryType String

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository String

The repository name.

registry String

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag String

The repository tag. Defaults to latest if not provided.

deployOnPushes GetAppSpecServiceImageDeployOnPush[]

Whether to automatically deploy new commits made to the repo.

registryType string

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository string

The repository name.

registry string

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag string

The repository tag. Defaults to latest if not provided.

deploy_on_pushes Sequence[GetAppSpecServiceImageDeployOnPush]

Whether to automatically deploy new commits made to the repo.

registry_type str

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository str

The repository name.

registry str

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag str

The repository tag. Defaults to latest if not provided.

deployOnPushes List<Property Map>

Whether to automatically deploy new commits made to the repo.

registryType String

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository String

The repository name.

registry String

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag String

The repository tag. Defaults to latest if not provided.

GetAppSpecServiceImageDeployOnPush

Enabled bool

Whether to automatically deploy images pushed to DOCR.

Enabled bool

Whether to automatically deploy images pushed to DOCR.

enabled Boolean

Whether to automatically deploy images pushed to DOCR.

enabled boolean

Whether to automatically deploy images pushed to DOCR.

enabled bool

Whether to automatically deploy images pushed to DOCR.

enabled Boolean

Whether to automatically deploy images pushed to DOCR.

GetAppSpecServiceLogDestination

Name string

The name of the component.

Datadog GetAppSpecServiceLogDestinationDatadog

Datadog configuration.

Logtail GetAppSpecServiceLogDestinationLogtail

Logtail configuration.

Papertrail GetAppSpecServiceLogDestinationPapertrail

Papertrail configuration.

name String

The name of the component.

datadog GetAppSpecServiceLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecServiceLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecServiceLogDestinationPapertrail

Papertrail configuration.

name string

The name of the component.

datadog GetAppSpecServiceLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecServiceLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecServiceLogDestinationPapertrail

Papertrail configuration.

name str

The name of the component.

datadog GetAppSpecServiceLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecServiceLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecServiceLogDestinationPapertrail

Papertrail configuration.

name String

The name of the component.

datadog Property Map

Datadog configuration.

logtail Property Map

Logtail configuration.

papertrail Property Map

Papertrail configuration.

GetAppSpecServiceLogDestinationDatadog

ApiKey string

Datadog API key.

Endpoint string

Datadog HTTP log intake endpoint.

ApiKey string

Datadog API key.

Endpoint string

Datadog HTTP log intake endpoint.

apiKey String

Datadog API key.

endpoint String

Datadog HTTP log intake endpoint.

apiKey string

Datadog API key.

endpoint string

Datadog HTTP log intake endpoint.

api_key str

Datadog API key.

endpoint str

Datadog HTTP log intake endpoint.

apiKey String

Datadog API key.

endpoint String

Datadog HTTP log intake endpoint.

GetAppSpecServiceLogDestinationLogtail

Token string

Logtail token.

Token string

Logtail token.

token String

Logtail token.

token string

Logtail token.

token str

Logtail token.

token String

Logtail token.

GetAppSpecServiceLogDestinationPapertrail

Endpoint string

Datadog HTTP log intake endpoint.

Endpoint string

Datadog HTTP log intake endpoint.

endpoint String

Datadog HTTP log intake endpoint.

endpoint string

Datadog HTTP log intake endpoint.

endpoint str

Datadog HTTP log intake endpoint.

endpoint String

Datadog HTTP log intake endpoint.

GetAppSpecServiceRoute

Path string

Paths must start with / and must be unique within the app.

PreservePathPrefix bool

An optional flag to preserve the path that is forwarded to the backend service.

Path string

Paths must start with / and must be unique within the app.

PreservePathPrefix bool

An optional flag to preserve the path that is forwarded to the backend service.

path String

Paths must start with / and must be unique within the app.

preservePathPrefix Boolean

An optional flag to preserve the path that is forwarded to the backend service.

path string

Paths must start with / and must be unique within the app.

preservePathPrefix boolean

An optional flag to preserve the path that is forwarded to the backend service.

path str

Paths must start with / and must be unique within the app.

preserve_path_prefix bool

An optional flag to preserve the path that is forwarded to the backend service.

path String

Paths must start with / and must be unique within the app.

preservePathPrefix Boolean

An optional flag to preserve the path that is forwarded to the backend service.

GetAppSpecStaticSite

Name string

The name of the component.

Routes List<Pulumi.DigitalOcean.Inputs.GetAppSpecStaticSiteRoute>
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.

DockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

EnvironmentSlug string

An environment slug describing the type of this app.

Envs List<Pulumi.DigitalOcean.Inputs.GetAppSpecStaticSiteEnv>

Describes an environment variable made available to an app competent.

ErrorDocument string

The name of the error document to use when serving this static site.

Git Pulumi.DigitalOcean.Inputs.GetAppSpecStaticSiteGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Github Pulumi.DigitalOcean.Inputs.GetAppSpecStaticSiteGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Gitlab Pulumi.DigitalOcean.Inputs.GetAppSpecStaticSiteGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

IndexDocument string

The name of the index document to use when serving this static site.

OutputDir string

An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: _static, dist, public.

SourceDir string

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

Name string

The name of the component.

Routes []GetAppSpecStaticSiteRoute
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.

DockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

EnvironmentSlug string

An environment slug describing the type of this app.

Envs []GetAppSpecStaticSiteEnv

Describes an environment variable made available to an app competent.

ErrorDocument string

The name of the error document to use when serving this static site.

Git GetAppSpecStaticSiteGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Github GetAppSpecStaticSiteGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Gitlab GetAppSpecStaticSiteGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

IndexDocument string

The name of the index document to use when serving this static site.

OutputDir string

An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: _static, dist, public.

SourceDir string

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

name String

The name of the component.

routes List<GetAppSpecStaticSiteRoute>
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.

dockerfilePath String

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug String

An environment slug describing the type of this app.

envs List<GetAppSpecStaticSiteEnv>

Describes an environment variable made available to an app competent.

errorDocument String

The name of the error document to use when serving this static site.

git GetAppSpecStaticSiteGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecStaticSiteGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecStaticSiteGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

indexDocument String

The name of the index document to use when serving this static site.

outputDir String

An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: _static, dist, public.

sourceDir String

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

name string

The name of the component.

routes GetAppSpecStaticSiteRoute[]
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.

dockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug string

An environment slug describing the type of this app.

envs GetAppSpecStaticSiteEnv[]

Describes an environment variable made available to an app competent.

errorDocument string

The name of the error document to use when serving this static site.

git GetAppSpecStaticSiteGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecStaticSiteGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecStaticSiteGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

indexDocument string

The name of the index document to use when serving this static site.

outputDir string

An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: _static, dist, public.

sourceDir string

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

name str

The name of the component.

routes Sequence[GetAppSpecStaticSiteRoute]
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.

dockerfile_path str

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environment_slug str

An environment slug describing the type of this app.

envs Sequence[GetAppSpecStaticSiteEnv]

Describes an environment variable made available to an app competent.

error_document str

The name of the error document to use when serving this static site.

git GetAppSpecStaticSiteGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecStaticSiteGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecStaticSiteGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

index_document str

The name of the index document to use when serving this static site.

output_dir str

An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: _static, dist, public.

source_dir str

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

name String

The name of the component.

routes List<Property Map>
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.

dockerfilePath String

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug String

An environment slug describing the type of this app.

envs List<Property Map>

Describes an environment variable made available to an app competent.

errorDocument String

The name of the error document to use when serving this static site.

git Property Map

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github Property Map

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab Property Map

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

indexDocument String

The name of the index document to use when serving this static site.

outputDir String

An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: _static, dist, public.

sourceDir String

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

GetAppSpecStaticSiteCors

AllowCredentials bool

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

AllowHeaders List<string>

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

AllowMethods List<string>

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

AllowOrigins Pulumi.DigitalOcean.Inputs.GetAppSpecStaticSiteCorsAllowOrigins

The Access-Control-Allow-Origin can be

ExposeHeaders List<string>

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

MaxAge string

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

AllowCredentials bool

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

AllowHeaders []string

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

AllowMethods []string

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

AllowOrigins GetAppSpecStaticSiteCorsAllowOrigins

The Access-Control-Allow-Origin can be

ExposeHeaders []string

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

MaxAge string

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

allowCredentials Boolean

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

allowHeaders List<String>

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

allowMethods List<String>

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

allowOrigins GetAppSpecStaticSiteCorsAllowOrigins

The Access-Control-Allow-Origin can be

exposeHeaders List<String>

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

maxAge String

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

allowCredentials boolean

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

allowHeaders string[]

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

allowMethods string[]

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

allowOrigins GetAppSpecStaticSiteCorsAllowOrigins

The Access-Control-Allow-Origin can be

exposeHeaders string[]

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

maxAge string

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

allow_credentials bool

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

allow_headers Sequence[str]

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

allow_methods Sequence[str]

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

allow_origins GetAppSpecStaticSiteCorsAllowOrigins

The Access-Control-Allow-Origin can be

expose_headers Sequence[str]

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

max_age str

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

allowCredentials Boolean

Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is include. This configures the Access-Control-Allow-Credentials header.

allowHeaders List<String>

The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.

allowMethods List<String>

The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.

allowOrigins Property Map

The Access-Control-Allow-Origin can be

exposeHeaders List<String>

The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.

maxAge String

An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example: 5h30m.

GetAppSpecStaticSiteCorsAllowOrigins

Exact string

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

Prefix string

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

Regex string

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

Exact string

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

Prefix string

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

Regex string

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact String

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix String

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex String

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact string

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix string

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex string

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact str

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix str

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex str

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

exact String

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

prefix String

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

regex String

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

GetAppSpecStaticSiteEnv

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

type string

The type of the environment variable, GENERAL or SECRET.

key string

The name of the environment variable.

scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value string

The threshold for the type of the warning.

type str

The type of the environment variable, GENERAL or SECRET.

key str

The name of the environment variable.

scope str

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value str

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

GetAppSpecStaticSiteGit

Branch string

The name of the branch to use.

RepoCloneUrl string

The clone URL of the repo.

Branch string

The name of the branch to use.

RepoCloneUrl string

The clone URL of the repo.

branch String

The name of the branch to use.

repoCloneUrl String

The clone URL of the repo.

branch string

The name of the branch to use.

repoCloneUrl string

The clone URL of the repo.

branch str

The name of the branch to use.

repo_clone_url str

The clone URL of the repo.

branch String

The name of the branch to use.

repoCloneUrl String

The clone URL of the repo.

GetAppSpecStaticSiteGithub

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

branch string

The name of the branch to use.

deployOnPush boolean

Whether to automatically deploy new commits made to the repo.

repo string

The name of the repo in the format owner/repo.

branch str

The name of the branch to use.

deploy_on_push bool

Whether to automatically deploy new commits made to the repo.

repo str

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

GetAppSpecStaticSiteGitlab

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

branch string

The name of the branch to use.

deployOnPush boolean

Whether to automatically deploy new commits made to the repo.

repo string

The name of the repo in the format owner/repo.

branch str

The name of the branch to use.

deploy_on_push bool

Whether to automatically deploy new commits made to the repo.

repo str

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

GetAppSpecStaticSiteRoute

Path string

Paths must start with / and must be unique within the app.

PreservePathPrefix bool

An optional flag to preserve the path that is forwarded to the backend service.

Path string

Paths must start with / and must be unique within the app.

PreservePathPrefix bool

An optional flag to preserve the path that is forwarded to the backend service.

path String

Paths must start with / and must be unique within the app.

preservePathPrefix Boolean

An optional flag to preserve the path that is forwarded to the backend service.

path string

Paths must start with / and must be unique within the app.

preservePathPrefix boolean

An optional flag to preserve the path that is forwarded to the backend service.

path str

Paths must start with / and must be unique within the app.

preserve_path_prefix bool

An optional flag to preserve the path that is forwarded to the backend service.

path String

Paths must start with / and must be unique within the app.

preservePathPrefix Boolean

An optional flag to preserve the path that is forwarded to the backend service.

GetAppSpecWorker

Name string

The name of the component.

Alerts List<Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerAlert>

Describes an alert policy for the component.

BuildCommand string

An optional build command to run while building this component from source.

DockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

EnvironmentSlug string

An environment slug describing the type of this app.

Envs List<Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerEnv>

Describes an environment variable made available to an app competent.

Git Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Github Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Gitlab Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Image Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

InstanceCount int

The amount of instances that this component should be scaled to.

InstanceSizeSlug string

The instance size to use for this component.

LogDestinations List<Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerLogDestination>

Describes a log forwarding destination.

RunCommand string

An optional run command to override the component's default.

SourceDir string

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

Name string

The name of the component.

Alerts []GetAppSpecWorkerAlert

Describes an alert policy for the component.

BuildCommand string

An optional build command to run while building this component from source.

DockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

EnvironmentSlug string

An environment slug describing the type of this app.

Envs []GetAppSpecWorkerEnv

Describes an environment variable made available to an app competent.

Git GetAppSpecWorkerGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Github GetAppSpecWorkerGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Gitlab GetAppSpecWorkerGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Image GetAppSpecWorkerImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

InstanceCount int

The amount of instances that this component should be scaled to.

InstanceSizeSlug string

The instance size to use for this component.

LogDestinations []GetAppSpecWorkerLogDestination

Describes a log forwarding destination.

RunCommand string

An optional run command to override the component's default.

SourceDir string

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

name String

The name of the component.

alerts List<GetAppSpecWorkerAlert>

Describes an alert policy for the component.

buildCommand String

An optional build command to run while building this component from source.

dockerfilePath String

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug String

An environment slug describing the type of this app.

envs List<GetAppSpecWorkerEnv>

Describes an environment variable made available to an app competent.

git GetAppSpecWorkerGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecWorkerGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecWorkerGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

image GetAppSpecWorkerImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instanceCount Integer

The amount of instances that this component should be scaled to.

instanceSizeSlug String

The instance size to use for this component.

logDestinations List<GetAppSpecWorkerLogDestination>

Describes a log forwarding destination.

runCommand String

An optional run command to override the component's default.

sourceDir String

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

name string

The name of the component.

alerts GetAppSpecWorkerAlert[]

Describes an alert policy for the component.

buildCommand string

An optional build command to run while building this component from source.

dockerfilePath string

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug string

An environment slug describing the type of this app.

envs GetAppSpecWorkerEnv[]

Describes an environment variable made available to an app competent.

git GetAppSpecWorkerGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecWorkerGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecWorkerGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

image GetAppSpecWorkerImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instanceCount number

The amount of instances that this component should be scaled to.

instanceSizeSlug string

The instance size to use for this component.

logDestinations GetAppSpecWorkerLogDestination[]

Describes a log forwarding destination.

runCommand string

An optional run command to override the component's default.

sourceDir string

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

name str

The name of the component.

alerts Sequence[GetAppSpecWorkerAlert]

Describes an alert policy for the component.

build_command str

An optional build command to run while building this component from source.

dockerfile_path str

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environment_slug str

An environment slug describing the type of this app.

envs Sequence[GetAppSpecWorkerEnv]

Describes an environment variable made available to an app competent.

git GetAppSpecWorkerGit

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github GetAppSpecWorkerGithub

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab GetAppSpecWorkerGitlab

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

image GetAppSpecWorkerImage

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instance_count int

The amount of instances that this component should be scaled to.

instance_size_slug str

The instance size to use for this component.

log_destinations Sequence[GetAppSpecWorkerLogDestination]

Describes a log forwarding destination.

run_command str

An optional run command to override the component's default.

source_dir str

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

name String

The name of the component.

alerts List<Property Map>

Describes an alert policy for the component.

buildCommand String

An optional build command to run while building this component from source.

dockerfilePath String

The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.

environmentSlug String

An environment slug describing the type of this app.

envs List<Property Map>

Describes an environment variable made available to an app competent.

git Property Map

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

github Property Map

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

gitlab Property Map

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

image Property Map

An image to use as the component's source. Only one of git, github, gitlab, or image may be set.

instanceCount Number

The amount of instances that this component should be scaled to.

instanceSizeSlug String

The instance size to use for this component.

logDestinations List<Property Map>

Describes a log forwarding destination.

runCommand String

An optional run command to override the component's default.

sourceDir String

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

GetAppSpecWorkerAlert

Operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

Rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

Value double

The threshold for the type of the warning.

Window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

Disabled bool

Determines whether or not the alert is disabled (default: false).

Operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

Rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

Value float64

The threshold for the type of the warning.

Window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

Disabled bool

Determines whether or not the alert is disabled (default: false).

operator String

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule String

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value Double

The threshold for the type of the warning.

window String

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled Boolean

Determines whether or not the alert is disabled (default: false).

operator string

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule string

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value number

The threshold for the type of the warning.

window string

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled boolean

Determines whether or not the alert is disabled (default: false).

operator str

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule str

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value float

The threshold for the type of the warning.

window str

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled bool

Determines whether or not the alert is disabled (default: false).

operator String

The operator to use. This is either of GREATER_THAN or LESS_THAN.

rule String

The type of the alert to configure. Component app alert policies can be: CPU_UTILIZATION, MEM_UTILIZATION, or RESTART_COUNT.

value Number

The threshold for the type of the warning.

window String

The time before alerts should be triggered. This is may be one of: FIVE_MINUTES, TEN_MINUTES, THIRTY_MINUTES, ONE_HOUR.

disabled Boolean

Determines whether or not the alert is disabled (default: false).

GetAppSpecWorkerEnv

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

Type string

The type of the environment variable, GENERAL or SECRET.

Key string

The name of the environment variable.

Scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

Value string

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

type string

The type of the environment variable, GENERAL or SECRET.

key string

The name of the environment variable.

scope string

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value string

The threshold for the type of the warning.

type str

The type of the environment variable, GENERAL or SECRET.

key str

The name of the environment variable.

scope str

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value str

The threshold for the type of the warning.

type String

The type of the environment variable, GENERAL or SECRET.

key String

The name of the environment variable.

scope String

The visibility scope of the environment variable. One of RUN_TIME, BUILD_TIME, or RUN_AND_BUILD_TIME (default).

value String

The threshold for the type of the warning.

GetAppSpecWorkerGit

Branch string

The name of the branch to use.

RepoCloneUrl string

The clone URL of the repo.

Branch string

The name of the branch to use.

RepoCloneUrl string

The clone URL of the repo.

branch String

The name of the branch to use.

repoCloneUrl String

The clone URL of the repo.

branch string

The name of the branch to use.

repoCloneUrl string

The clone URL of the repo.

branch str

The name of the branch to use.

repo_clone_url str

The clone URL of the repo.

branch String

The name of the branch to use.

repoCloneUrl String

The clone URL of the repo.

GetAppSpecWorkerGithub

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

branch string

The name of the branch to use.

deployOnPush boolean

Whether to automatically deploy new commits made to the repo.

repo string

The name of the repo in the format owner/repo.

branch str

The name of the branch to use.

deploy_on_push bool

Whether to automatically deploy new commits made to the repo.

repo str

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

GetAppSpecWorkerGitlab

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

Branch string

The name of the branch to use.

DeployOnPush bool

Whether to automatically deploy new commits made to the repo.

Repo string

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

branch string

The name of the branch to use.

deployOnPush boolean

Whether to automatically deploy new commits made to the repo.

repo string

The name of the repo in the format owner/repo.

branch str

The name of the branch to use.

deploy_on_push bool

Whether to automatically deploy new commits made to the repo.

repo str

The name of the repo in the format owner/repo.

branch String

The name of the branch to use.

deployOnPush Boolean

Whether to automatically deploy new commits made to the repo.

repo String

The name of the repo in the format owner/repo.

GetAppSpecWorkerImage

DeployOnPushes List<Pulumi.DigitalOcean.Inputs.GetAppSpecWorkerImageDeployOnPush>

Whether to automatically deploy new commits made to the repo.

RegistryType string

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

Repository string

The repository name.

Registry string

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

Tag string

The repository tag. Defaults to latest if not provided.

DeployOnPushes []GetAppSpecWorkerImageDeployOnPush

Whether to automatically deploy new commits made to the repo.

RegistryType string

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

Repository string

The repository name.

Registry string

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

Tag string

The repository tag. Defaults to latest if not provided.

deployOnPushes List<GetAppSpecWorkerImageDeployOnPush>

Whether to automatically deploy new commits made to the repo.

registryType String

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository String

The repository name.

registry String

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag String

The repository tag. Defaults to latest if not provided.

deployOnPushes GetAppSpecWorkerImageDeployOnPush[]

Whether to automatically deploy new commits made to the repo.

registryType string

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository string

The repository name.

registry string

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag string

The repository tag. Defaults to latest if not provided.

deploy_on_pushes Sequence[GetAppSpecWorkerImageDeployOnPush]

Whether to automatically deploy new commits made to the repo.

registry_type str

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository str

The repository name.

registry str

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag str

The repository tag. Defaults to latest if not provided.

deployOnPushes List<Property Map>

Whether to automatically deploy new commits made to the repo.

registryType String

The registry type. One of DOCR (DigitalOcean container registry) or DOCKER_HUB.

repository String

The repository name.

registry String

The registry name. Must be left empty for the DOCR registry type. Required for the DOCKER_HUB registry type.

tag String

The repository tag. Defaults to latest if not provided.

GetAppSpecWorkerImageDeployOnPush

Enabled bool

Whether to automatically deploy images pushed to DOCR.

Enabled bool

Whether to automatically deploy images pushed to DOCR.

enabled Boolean

Whether to automatically deploy images pushed to DOCR.

enabled boolean

Whether to automatically deploy images pushed to DOCR.

enabled bool

Whether to automatically deploy images pushed to DOCR.

enabled Boolean

Whether to automatically deploy images pushed to DOCR.

GetAppSpecWorkerLogDestination

Name string

The name of the component.

Datadog GetAppSpecWorkerLogDestinationDatadog

Datadog configuration.

Logtail GetAppSpecWorkerLogDestinationLogtail

Logtail configuration.

Papertrail GetAppSpecWorkerLogDestinationPapertrail

Papertrail configuration.

name String

The name of the component.

datadog GetAppSpecWorkerLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecWorkerLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecWorkerLogDestinationPapertrail

Papertrail configuration.

name string

The name of the component.

datadog GetAppSpecWorkerLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecWorkerLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecWorkerLogDestinationPapertrail

Papertrail configuration.

name str

The name of the component.

datadog GetAppSpecWorkerLogDestinationDatadog

Datadog configuration.

logtail GetAppSpecWorkerLogDestinationLogtail

Logtail configuration.

papertrail GetAppSpecWorkerLogDestinationPapertrail

Papertrail configuration.

name String

The name of the component.

datadog Property Map

Datadog configuration.

logtail Property Map

Logtail configuration.

papertrail Property Map

Papertrail configuration.

GetAppSpecWorkerLogDestinationDatadog

ApiKey string

Datadog API key.

Endpoint string

Datadog HTTP log intake endpoint.

ApiKey string

Datadog API key.

Endpoint string

Datadog HTTP log intake endpoint.

apiKey String

Datadog API key.

endpoint String

Datadog HTTP log intake endpoint.

apiKey string

Datadog API key.

endpoint string

Datadog HTTP log intake endpoint.

api_key str

Datadog API key.

endpoint str

Datadog HTTP log intake endpoint.

apiKey String

Datadog API key.

endpoint String

Datadog HTTP log intake endpoint.

GetAppSpecWorkerLogDestinationLogtail

Token string

Logtail token.

Token string

Logtail token.

token String

Logtail token.

token string

Logtail token.

token str

Logtail token.

token String

Logtail token.

GetAppSpecWorkerLogDestinationPapertrail

Endpoint string

Datadog HTTP log intake endpoint.

Endpoint string

Datadog HTTP log intake endpoint.

endpoint String

Datadog HTTP log intake endpoint.

endpoint string

Datadog HTTP log intake endpoint.

endpoint str

Datadog HTTP log intake endpoint.

endpoint String

Datadog HTTP log intake endpoint.

Package Details

Repository
https://github.com/pulumi/pulumi-digitalocean
License
Apache-2.0
Notes

This Pulumi package is based on the digitalocean Terraform Provider.