DigitalOcean v4.35.0 published on Tuesday, Nov 19, 2024 by Pulumi
digitalocean.getApp
Explore with Pulumi AI
Get information on a DigitalOcean App.
Example Usage
Get the account:
import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const example = digitalocean.getApp({
appId: "e665d18d-7b56-44a9-92ce-31979174d544",
});
export const defaultIngress = example.then(example => example.defaultIngress);
import pulumi
import pulumi_digitalocean as digitalocean
example = digitalocean.get_app(app_id="e665d18d-7b56-44a9-92ce-31979174d544")
pulumi.export("defaultIngress", example.default_ingress)
package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := digitalocean.LookupApp(ctx, &digitalocean.LookupAppArgs{
AppId: "e665d18d-7b56-44a9-92ce-31979174d544",
}, nil)
if err != nil {
return err
}
ctx.Export("defaultIngress", example.DefaultIngress)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;
return await Deployment.RunAsync(() =>
{
var example = DigitalOcean.GetApp.Invoke(new()
{
AppId = "e665d18d-7b56-44a9-92ce-31979174d544",
});
return new Dictionary<string, object?>
{
["defaultIngress"] = example.Apply(getAppResult => getAppResult.DefaultIngress),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.digitalocean.DigitaloceanFunctions;
import com.pulumi.digitalocean.inputs.GetAppArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = DigitaloceanFunctions.getApp(GetAppArgs.builder()
.appId("e665d18d-7b56-44a9-92ce-31979174d544")
.build());
ctx.export("defaultIngress", example.applyValue(getAppResult -> getAppResult.defaultIngress()));
}
}
variables:
example:
fn::invoke:
Function: digitalocean:getApp
Arguments:
appId: e665d18d-7b56-44a9-92ce-31979174d544
outputs:
defaultIngress: ${example.defaultIngress}
Using getApp
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApp(args: GetAppArgs, opts?: InvokeOptions): Promise<GetAppResult>
function getAppOutput(args: GetAppOutputArgs, opts?: InvokeOptions): Output<GetAppResult>
def get_app(app_id: Optional[str] = None,
dedicated_ips: Optional[Sequence[GetAppDedicatedIp]] = None,
opts: Optional[InvokeOptions] = None) -> GetAppResult
def get_app_output(app_id: Optional[pulumi.Input[str]] = None,
dedicated_ips: Optional[pulumi.Input[Sequence[pulumi.Input[GetAppDedicatedIpArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppResult]
func LookupApp(ctx *Context, args *LookupAppArgs, opts ...InvokeOption) (*LookupAppResult, error)
func LookupAppOutput(ctx *Context, args *LookupAppOutputArgs, opts ...InvokeOption) LookupAppResultOutput
> Note: This function is named LookupApp
in the Go SDK.
public static class GetApp
{
public static Task<GetAppResult> InvokeAsync(GetAppArgs args, InvokeOptions? opts = null)
public static Output<GetAppResult> Invoke(GetAppInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: digitalocean:index/getApp:getApp
arguments:
# arguments dictionary
The following arguments are supported:
- App
Id string - The ID of the app to retrieve information about.
- Dedicated
Ips List<Pulumi.Digital Ocean. Inputs. Get App Dedicated Ip> - A list of dedicated egress IP addresses associated with the app.
- App
Id string - The ID of the app to retrieve information about.
- Dedicated
Ips []GetApp Dedicated Ip - A list of dedicated egress IP addresses associated with the app.
- app
Id String - The ID of the app to retrieve information about.
- dedicated
Ips List<GetApp Dedicated Ip> - A list of dedicated egress IP addresses associated with the app.
- app
Id string - The ID of the app to retrieve information about.
- dedicated
Ips GetApp Dedicated Ip[] - A list of dedicated egress IP addresses associated with the app.
- app_
id str - The ID of the app to retrieve information about.
- dedicated_
ips Sequence[GetApp Dedicated Ip] - A list of dedicated egress IP addresses associated with the app.
- app
Id String - The ID of the app to retrieve information about.
- dedicated
Ips List<Property Map> - A list of dedicated egress IP addresses associated with the app.
getApp Result
The following output properties are available:
- Active
Deployment stringId - The ID the app's currently active deployment.
- App
Id string - Created
At string - The date and time of when the app was created.
- Dedicated
Ips List<Pulumi.Digital Ocean. Outputs. Get App Dedicated Ip> - A list of dedicated egress IP addresses associated with the app.
- Default
Ingress string - The default URL to access the app.
- Id string
- The provider-assigned unique ID for this managed resource.
- Live
Domain string - The live domain of the app.
- Live
Url string - The live URL of the app.
- Project
Id string - The ID of the project that the app is assigned to.
- Specs
List<Pulumi.
Digital Ocean. Outputs. Get App Spec> - A DigitalOcean App spec describing the app.
- Updated
At string - The date and time of when the app was last updated.
- Urn string
- The uniform resource identifier for the app.
- Active
Deployment stringId - The ID the app's currently active deployment.
- App
Id string - Created
At string - The date and time of when the app was created.
- Dedicated
Ips []GetApp Dedicated Ip - A list of dedicated egress IP addresses associated with the app.
- Default
Ingress string - The default URL to access the app.
- Id string
- The provider-assigned unique ID for this managed resource.
- Live
Domain string - The live domain of the app.
- Live
Url string - The live URL of the app.
- Project
Id string - The ID of the project that the app is assigned to.
- Specs
[]Get
App Spec - A DigitalOcean App spec describing the app.
- Updated
At string - The date and time of when the app was last updated.
- Urn string
- The uniform resource identifier for the app.
- active
Deployment StringId - The ID the app's currently active deployment.
- app
Id String - created
At String - The date and time of when the app was created.
- dedicated
Ips List<GetApp Dedicated Ip> - A list of dedicated egress IP addresses associated with the app.
- default
Ingress String - The default URL to access the app.
- id String
- The provider-assigned unique ID for this managed resource.
- live
Domain String - The live domain of the app.
- live
Url String - The live URL of the app.
- project
Id String - The ID of the project that the app is assigned to.
- specs
List<Get
App Spec> - A DigitalOcean App spec describing the app.
- updated
At String - The date and time of when the app was last updated.
- urn String
- The uniform resource identifier for the app.
- active
Deployment stringId - The ID the app's currently active deployment.
- app
Id string - created
At string - The date and time of when the app was created.
- dedicated
Ips GetApp Dedicated Ip[] - A list of dedicated egress IP addresses associated with the app.
- default
Ingress string - The default URL to access the app.
- id string
- The provider-assigned unique ID for this managed resource.
- live
Domain string - The live domain of the app.
- live
Url string - The live URL of the app.
- project
Id string - The ID of the project that the app is assigned to.
- specs
Get
App Spec[] - A DigitalOcean App spec describing the app.
- updated
At string - The date and time of when the app was last updated.
- urn string
- The uniform resource identifier for the app.
- active_
deployment_ strid - The ID the app's currently active deployment.
- app_
id str - created_
at str - The date and time of when the app was created.
- dedicated_
ips Sequence[GetApp Dedicated Ip] - A list of dedicated egress IP addresses associated with the app.
- default_
ingress str - The default URL to access the app.
- id str
- The provider-assigned unique ID for this managed resource.
- live_
domain str - The live domain of the app.
- live_
url str - The live URL of the app.
- project_
id str - The ID of the project that the app is assigned to.
- specs
Sequence[Get
App Spec] - 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.
- active
Deployment StringId - The ID the app's currently active deployment.
- app
Id String - created
At String - The date and time of when the app was created.
- dedicated
Ips List<Property Map> - A list of dedicated egress IP addresses associated with the app.
- default
Ingress String - The default URL to access the app.
- id String
- The provider-assigned unique ID for this managed resource.
- live
Domain String - The live domain of the app.
- live
Url String - The live URL of the app.
- project
Id String - The ID of the project that the app is assigned to.
- specs List<Property Map>
- A DigitalOcean App spec describing the app.
- updated
At String - The date and time of when the app was last updated.
- urn String
- The uniform resource identifier for the app.
Supporting Types
GetAppDedicatedIp
GetAppSpec
- Domain
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Domain> - Domains List<string>
- Features List<string>
- List of features which is applied to the app
- Ingress
Pulumi.
Digital Ocean. Inputs. Get App Spec Ingress - Name string
- The name of the component.
- Alerts
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Alert> - Describes an alert policy for the component.
- Databases
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Database> - Egresses
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Egress> - Envs
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Env> - Describes an environment variable made available to an app competent.
- Functions
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Function> - Jobs
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Job> - Region string
- The slug for the DigitalOcean data center region hosting the app
- Services
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Service> - Static
Sites List<Pulumi.Digital Ocean. Inputs. Get App Spec Static Site> - Workers
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Worker>
- Domain
[]Get
App Spec Domain - Domains []string
- Features []string
- List of features which is applied to the app
- Ingress
Get
App Spec Ingress - Name string
- The name of the component.
- Alerts
[]Get
App Spec Alert - Describes an alert policy for the component.
- Databases
[]Get
App Spec Database - Egresses
[]Get
App Spec Egress - Envs
[]Get
App Spec Env - Describes an environment variable made available to an app competent.
- Functions
[]Get
App Spec Function - Jobs
[]Get
App Spec Job - Region string
- The slug for the DigitalOcean data center region hosting the app
- Services
[]Get
App Spec Service - Static
Sites []GetApp Spec Static Site - Workers
[]Get
App Spec Worker
- domain
List<Get
App Spec Domain> - domains List<String>
- features List<String>
- List of features which is applied to the app
- ingress
Get
App Spec Ingress - name String
- The name of the component.
- alerts
List<Get
App Spec Alert> - Describes an alert policy for the component.
- databases
List<Get
App Spec Database> - egresses
List<Get
App Spec Egress> - envs
List<Get
App Spec Env> - Describes an environment variable made available to an app competent.
- functions
List<Get
App Spec Function> - jobs
List<Get
App Spec Job> - region String
- The slug for the DigitalOcean data center region hosting the app
- services
List<Get
App Spec Service> - static
Sites List<GetApp Spec Static Site> - workers
List<Get
App Spec Worker>
- domain
Get
App Spec Domain[] - domains string[]
- features string[]
- List of features which is applied to the app
- ingress
Get
App Spec Ingress - name string
- The name of the component.
- alerts
Get
App Spec Alert[] - Describes an alert policy for the component.
- databases
Get
App Spec Database[] - egresses
Get
App Spec Egress[] - envs
Get
App Spec Env[] - Describes an environment variable made available to an app competent.
- functions
Get
App Spec Function[] - jobs
Get
App Spec Job[] - region string
- The slug for the DigitalOcean data center region hosting the app
- services
Get
App Spec Service[] - static
Sites GetApp Spec Static Site[] - workers
Get
App Spec Worker[]
- domain
Sequence[Get
App Spec Domain] - domains Sequence[str]
- features Sequence[str]
- List of features which is applied to the app
- ingress
Get
App Spec Ingress - name str
- The name of the component.
- alerts
Sequence[Get
App Spec Alert] - Describes an alert policy for the component.
- databases
Sequence[Get
App Spec Database] - egresses
Sequence[Get
App Spec Egress] - envs
Sequence[Get
App Spec Env] - Describes an environment variable made available to an app competent.
- functions
Sequence[Get
App Spec Function] - jobs
Sequence[Get
App Spec Job] - region str
- The slug for the DigitalOcean data center region hosting the app
- services
Sequence[Get
App Spec Service] - static_
sites Sequence[GetApp Spec Static Site] - workers
Sequence[Get
App Spec Worker]
- domain List<Property Map>
- domains List<String>
- features List<String>
- List of features which is applied to the app
- ingress Property Map
- name String
- The name of the component.
- alerts List<Property Map>
- Describes an alert policy for the component.
- databases List<Property Map>
- egresses List<Property Map>
- envs List<Property Map>
- Describes an environment variable made available to an app competent.
- functions List<Property Map>
- jobs List<Property Map>
- region String
- The slug for the DigitalOcean data center region hosting the app
- services List<Property Map>
- static
Sites List<Property Map> - workers List<Property Map>
GetAppSpecAlert
GetAppSpecDatabase
- Cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - Db
Name string - The name of the MySQL or PostgreSQL database to configure.
- Db
User string - The name of the MySQL or PostgreSQL user to configure.
- Engine string
- The database engine to use (
MYSQL
,PG
,REDIS
, orMONGODB
). - Name string
- The name of the component.
- Production bool
- Whether this is a production or dev database.
- Version string
- The version of the database engine.
- Cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - Db
Name string - The name of the MySQL or PostgreSQL database to configure.
- Db
User string - The name of the MySQL or PostgreSQL user to configure.
- Engine string
- The database engine to use (
MYSQL
,PG
,REDIS
, orMONGODB
). - Name string
- The name of the component.
- Production bool
- Whether this is a production or dev database.
- Version string
- The version of the database engine.
- cluster
Name String - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - db
Name String - The name of the MySQL or PostgreSQL database to configure.
- db
User String - The name of the MySQL or PostgreSQL user to configure.
- engine String
- The database engine to use (
MYSQL
,PG
,REDIS
, orMONGODB
). - name String
- The name of the component.
- production Boolean
- Whether this is a production or dev database.
- version String
- The version of the database engine.
- cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - db
Name string - The name of the MySQL or PostgreSQL database to configure.
- db
User string - The name of the MySQL or PostgreSQL user to configure.
- engine string
- The database engine to use (
MYSQL
,PG
,REDIS
, orMONGODB
). - 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
, orMONGODB
). - name str
- The name of the component.
- production bool
- Whether this is a production or dev database.
- version str
- The version of the database engine.
- cluster
Name String - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - db
Name String - The name of the MySQL or PostgreSQL database to configure.
- db
User String - The name of the MySQL or PostgreSQL user to configure.
- engine String
- The database engine to use (
MYSQL
,PG
,REDIS
, orMONGODB
). - name String
- The name of the component.
- production Boolean
- Whether this is a production or dev database.
- version String
- The version of the database engine.
GetAppSpecDomain
- Name string
- The name of the component.
- Type string
- The type of the environment variable,
GENERAL
orSECRET
. - Wildcard bool
- Indicates whether the domain includes all sub-domains, in addition to the given domain.
- Zone string
- If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
- Name string
- The name of the component.
- Type string
- The type of the environment variable,
GENERAL
orSECRET
. - Wildcard bool
- Indicates whether the domain includes all sub-domains, in addition to the given domain.
- Zone string
- If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
- name String
- The name of the component.
- type String
- The type of the environment variable,
GENERAL
orSECRET
. - wildcard Boolean
- Indicates whether the domain includes all sub-domains, in addition to the given domain.
- zone String
- If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
- name string
- The name of the component.
- type string
- The type of the environment variable,
GENERAL
orSECRET
. - wildcard boolean
- Indicates whether the domain includes all sub-domains, in addition to the given domain.
- zone string
- If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
- name str
- The name of the component.
- type str
- The type of the environment variable,
GENERAL
orSECRET
. - wildcard bool
- Indicates whether the domain includes all sub-domains, in addition to the given domain.
- zone str
- If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
- name String
- The name of the component.
- type String
- The type of the environment variable,
GENERAL
orSECRET
. - wildcard Boolean
- Indicates whether the domain includes all sub-domains, in addition to the given domain.
- zone String
- If the domain uses DigitalOcean DNS and you would like App Platform to automatically manage it for you, set this to the name of the domain on your account.
GetAppSpecEgress
- Type string
- The type of the environment variable,
GENERAL
orSECRET
.
- Type string
- The type of the environment variable,
GENERAL
orSECRET
.
- type String
- The type of the environment variable,
GENERAL
orSECRET
.
- type string
- The type of the environment variable,
GENERAL
orSECRET
.
- type str
- The type of the environment variable,
GENERAL
orSECRET
.
- type String
- The type of the environment variable,
GENERAL
orSECRET
.
GetAppSpecEnv
GetAppSpecFunction
- Name string
- The name of the component.
- Routes
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Function Route> - Alerts
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Function Alert> - Describes an alert policy for the component.
- Cors
Pulumi.
Digital Ocean. Inputs. Get App Spec Function Cors - The CORS policies of the app.
- Envs
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Function Env> - Describes an environment variable made available to an app competent.
- Git
Pulumi.
Digital Ocean. Inputs. Get App Spec Function Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - Github
Pulumi.
Digital Ocean. Inputs. Get App Spec Function Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Gitlab
Pulumi.
Digital Ocean. Inputs. Get App Spec Function Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Log
Destinations List<Pulumi.Digital Ocean. Inputs. Get App Spec Function Log Destination> - Describes a log forwarding destination.
- Source
Dir string - An optional path to the working directory to use for the build.
- Name string
- The name of the component.
- Routes
[]Get
App Spec Function Route - Alerts
[]Get
App Spec Function Alert - Describes an alert policy for the component.
- Cors
Get
App Spec Function Cors - The CORS policies of the app.
- Envs
[]Get
App Spec Function Env - Describes an environment variable made available to an app competent.
- Git
Get
App Spec Function Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - Github
Get
App Spec Function Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Gitlab
Get
App Spec Function Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Log
Destinations []GetApp Spec Function Log Destination - Describes a log forwarding destination.
- Source
Dir string - An optional path to the working directory to use for the build.
- name String
- The name of the component.
- routes
List<Get
App Spec Function Route> - alerts
List<Get
App Spec Function Alert> - Describes an alert policy for the component.
- cors
Get
App Spec Function Cors - The CORS policies of the app.
- envs
List<Get
App Spec Function Env> - Describes an environment variable made available to an app competent.
- git
Get
App Spec Function Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Function Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Function Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - log
Destinations List<GetApp Spec Function Log Destination> - Describes a log forwarding destination.
- source
Dir String - An optional path to the working directory to use for the build.
- name string
- The name of the component.
- routes
Get
App Spec Function Route[] - alerts
Get
App Spec Function Alert[] - Describes an alert policy for the component.
- cors
Get
App Spec Function Cors - The CORS policies of the app.
- envs
Get
App Spec Function Env[] - Describes an environment variable made available to an app competent.
- git
Get
App Spec Function Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Function Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Function Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - log
Destinations GetApp Spec Function Log Destination[] - Describes a log forwarding destination.
- source
Dir string - An optional path to the working directory to use for the build.
- name str
- The name of the component.
- routes
Sequence[Get
App Spec Function Route] - alerts
Sequence[Get
App Spec Function Alert] - Describes an alert policy for the component.
- cors
Get
App Spec Function Cors - The CORS policies of the app.
- envs
Sequence[Get
App Spec Function Env] - Describes an environment variable made available to an app competent.
- git
Get
App Spec Function Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Function Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Function Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - log_
destinations Sequence[GetApp Spec Function Log Destination] - 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
orgitlab
may be set. - github Property Map
- A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab Property Map
- A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - log
Destinations List<Property Map> - Describes a log forwarding destination.
- source
Dir 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
orLESS_THAN
. - Rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - Value double
- The threshold for the type of the warning.
- Window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - Disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- Operator string
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - Rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - Value float64
- The threshold for the type of the warning.
- Window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - Disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- operator String
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule String
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value Double
- The threshold for the type of the warning.
- window String
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled Boolean
- Determines whether or not the alert is disabled (default:
false
).
- operator string
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value number
- The threshold for the type of the warning.
- window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled boolean
- Determines whether or not the alert is disabled (default:
false
).
- operator str
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule str
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value float
- The threshold for the type of the warning.
- window str
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- operator String
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule String
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value Number
- The threshold for the type of the warning.
- window String
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled Boolean
- Determines whether or not the alert is disabled (default:
false
).
GetAppSpecFunctionCors
- Allow
Credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - Allow
Headers List<string> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - Allow
Methods List<string> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - Allow
Origins Pulumi.Digital Ocean. Inputs. Get App Spec Function Cors Allow Origins - The
Access-Control-Allow-Origin
can be - Expose
Headers List<string> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - Max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- Allow
Credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - Allow
Headers []string - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - Allow
Methods []string - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - Allow
Origins GetApp Spec Function Cors Allow Origins - The
Access-Control-Allow-Origin
can be - Expose
Headers []string - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - Max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers List<String> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods List<String> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins GetApp Spec Function Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose
Headers List<String> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age String - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers string[] - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods string[] - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins GetApp Spec Function Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose
Headers string[] - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow_
credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow_
headers Sequence[str] - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow_
methods Sequence[str] - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow_
origins GetApp Spec Function Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose_
headers Sequence[str] - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max_
age str - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers List<String> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods List<String> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins Property Map - The
Access-Control-Allow-Origin
can be - expose
Headers List<String> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age String - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
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
GetAppSpecFunctionGit
- Branch string
- The name of the branch to use.
- Repo
Clone stringUrl - The clone URL of the repo.
- Branch string
- The name of the branch to use.
- Repo
Clone stringUrl - The clone URL of the repo.
- branch String
- The name of the branch to use.
- repo
Clone StringUrl - The clone URL of the repo.
- branch string
- The name of the branch to use.
- repo
Clone stringUrl - The clone URL of the repo.
- branch str
- The name of the branch to use.
- repo_
clone_ strurl - The clone URL of the repo.
- branch String
- The name of the branch to use.
- repo
Clone StringUrl - The clone URL of the repo.
GetAppSpecFunctionGithub
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
- branch string
- The name of the branch to use.
- deploy
On booleanPush - Whether to automatically deploy new commits made to the repo.
- repo string
- The name of the repo in the format
owner/repo
.
- branch str
- The name of the branch to use.
- deploy_
on_ boolpush - Whether to automatically deploy new commits made to the repo.
- repo str
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
GetAppSpecFunctionGitlab
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
- branch string
- The name of the branch to use.
- deploy
On booleanPush - Whether to automatically deploy new commits made to the repo.
- repo string
- The name of the repo in the format
owner/repo
.
- branch str
- The name of the branch to use.
- deploy_
on_ boolpush - Whether to automatically deploy new commits made to the repo.
- repo str
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
GetAppSpecFunctionLogDestination
- Name string
- The name of the component.
- Datadog
Pulumi.
Digital Ocean. Inputs. Get App Spec Function Log Destination Datadog - Datadog configuration.
- Logtail
Pulumi.
Digital Ocean. Inputs. Get App Spec Function Log Destination Logtail - Logtail configuration.
- Open
Search Pulumi.Digital Ocean. Inputs. Get App Spec Function Log Destination Open Search - OpenSearch configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. Get App Spec Function Log Destination Papertrail - Papertrail configuration.
- Name string
- The name of the component.
- Datadog
Get
App Spec Function Log Destination Datadog - Datadog configuration.
- Logtail
Get
App Spec Function Log Destination Logtail - Logtail configuration.
- Open
Search GetApp Spec Function Log Destination Open Search - OpenSearch configuration.
- Papertrail
Get
App Spec Function Log Destination Papertrail - Papertrail configuration.
- name String
- The name of the component.
- datadog
Get
App Spec Function Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Function Log Destination Logtail - Logtail configuration.
- open
Search GetApp Spec Function Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Function Log Destination Papertrail - Papertrail configuration.
- name string
- The name of the component.
- datadog
Get
App Spec Function Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Function Log Destination Logtail - Logtail configuration.
- open
Search GetApp Spec Function Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Function Log Destination Papertrail - Papertrail configuration.
- name str
- The name of the component.
- datadog
Get
App Spec Function Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Function Log Destination Logtail - Logtail configuration.
- open_
search GetApp Spec Function Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Function Log Destination Papertrail - Papertrail configuration.
- name String
- The name of the component.
- datadog Property Map
- Datadog configuration.
- logtail Property Map
- Logtail configuration.
- open
Search Property Map - OpenSearch configuration.
- papertrail Property Map
- Papertrail configuration.
GetAppSpecFunctionLogDestinationDatadog
GetAppSpecFunctionLogDestinationLogtail
- Token string
- Logtail token.
- Token string
- Logtail token.
- token String
- Logtail token.
- token string
- Logtail token.
- token str
- Logtail token.
- token String
- Logtail token.
GetAppSpecFunctionLogDestinationOpenSearch
- Basic
Auth Pulumi.Digital Ocean. Inputs. Get App Spec Function Log Destination Open Search Basic Auth - OpenSearch basic auth
- Cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- Basic
Auth GetApp Spec Function Log Destination Open Search Basic Auth - OpenSearch basic auth
- Cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth GetApp Spec Function Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster
Name String - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name String - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth GetApp Spec Function Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- basic_
auth GetApp Spec Function Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster_
name str - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint str
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index_
name str - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth Property Map - OpenSearch basic auth
- cluster
Name String - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name String - The index name to use for the logs. If not set, the default index name is
logs
.
GetAppSpecFunctionLogDestinationOpenSearchBasicAuth
GetAppSpecFunctionLogDestinationPapertrail
- Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint str
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
GetAppSpecFunctionRoute
- Path string
- Paths must start with
/
and must be unique within the app. - Preserve
Path boolPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- Path string
- Paths must start with
/
and must be unique within the app. - Preserve
Path boolPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- path String
- Paths must start with
/
and must be unique within the app. - preserve
Path BooleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- path string
- Paths must start with
/
and must be unique within the app. - preserve
Path booleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- path str
- Paths must start with
/
and must be unique within the app. - preserve_
path_ boolprefix - An optional flag to preserve the path that is forwarded to the backend service.
- path String
- Paths must start with
/
and must be unique within the app. - preserve
Path BooleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
GetAppSpecIngress
- Rules
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Ingress Rule> - The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.
- Rules
[]Get
App Spec Ingress Rule - The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.
- rules
List<Get
App Spec Ingress Rule> - The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.
- rules
Get
App Spec Ingress Rule[] - The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.
- rules
Sequence[Get
App Spec Ingress Rule] - The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.
- rules List<Property Map>
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
.
GetAppSpecIngressRule
- component Property Map
- cors Property Map
- The CORS policies of the app.
- match Property Map
- redirect Property Map
GetAppSpecIngressRuleComponent
- Name string
- The name of the component.
- Preserve
Path boolPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- Rewrite string
- Name string
- The name of the component.
- Preserve
Path boolPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- Rewrite string
- name String
- The name of the component.
- preserve
Path BooleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- rewrite String
- name string
- The name of the component.
- preserve
Path booleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- rewrite string
- name str
- The name of the component.
- preserve_
path_ boolprefix - An optional flag to preserve the path that is forwarded to the backend service.
- rewrite str
- name String
- The name of the component.
- preserve
Path BooleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- rewrite String
GetAppSpecIngressRuleCors
- Allow
Credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - Allow
Headers List<string> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - Allow
Methods List<string> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - Allow
Origins Pulumi.Digital Ocean. Inputs. Get App Spec Ingress Rule Cors Allow Origins - The
Access-Control-Allow-Origin
can be - Expose
Headers List<string> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - Max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- Allow
Credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - Allow
Headers []string - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - Allow
Methods []string - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - Allow
Origins GetApp Spec Ingress Rule Cors Allow Origins - The
Access-Control-Allow-Origin
can be - Expose
Headers []string - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - Max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers List<String> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods List<String> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins GetApp Spec Ingress Rule Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose
Headers List<String> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age String - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers string[] - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods string[] - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins GetApp Spec Ingress Rule Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose
Headers string[] - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow_
credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow_
headers Sequence[str] - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow_
methods Sequence[str] - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow_
origins GetApp Spec Ingress Rule Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose_
headers Sequence[str] - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max_
age str - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers List<String> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods List<String> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins Property Map - The
Access-Control-Allow-Origin
can be - expose
Headers List<String> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age String - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
GetAppSpecIngressRuleCorsAllowOrigins
- Exact string
- The
Access-Control-Allow-Origin
header will be set to the client's origin only if the client's origin exactly matches the value you provide. - Prefix string
- The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide. - 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.
GetAppSpecIngressRuleMatch
- Path
Pulumi.
Digital Ocean. Inputs. Get App Spec Ingress Rule Match Path - Paths must start with
/
and must be unique within the app.
- Path
Get
App Spec Ingress Rule Match Path - Paths must start with
/
and must be unique within the app.
- path
Get
App Spec Ingress Rule Match Path - Paths must start with
/
and must be unique within the app.
- path
Get
App Spec Ingress Rule Match Path - Paths must start with
/
and must be unique within the app.
- path
Get
App Spec Ingress Rule Match Path - Paths must start with
/
and must be unique within the app.
- path Property Map
- Paths must start with
/
and must be unique within the app.
GetAppSpecIngressRuleMatchPath
- Prefix string
- The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
- Prefix string
- The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
- prefix String
- The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
- prefix string
- The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
- prefix str
- The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
- prefix String
- The
Access-Control-Allow-Origin
header will be set to the client's origin if the beginning of the client's origin matches the value you provide.
GetAppSpecIngressRuleRedirect
- string
- Port int
- Redirect
Code int - Scheme string
- Uri string
- string
- Port int
- Redirect
Code int - Scheme string
- Uri string
- String
- port Integer
- redirect
Code Integer - scheme String
- uri String
- string
- port number
- redirect
Code number - scheme string
- uri string
- str
- port int
- redirect_
code int - scheme str
- uri str
- String
- port Number
- redirect
Code Number - scheme String
- uri String
GetAppSpecJob
- Name string
- The name of the component.
- Alerts
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Job Alert> - Describes an alert policy for the component.
- Build
Command string - An optional build command to run while building this component from source.
- Dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string - An environment slug describing the type of this app.
- Envs
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Job Env> - Describes an environment variable made available to an app competent.
- Git
Pulumi.
Digital Ocean. Inputs. Get App Spec Job Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - Github
Pulumi.
Digital Ocean. Inputs. Get App Spec Job Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Gitlab
Pulumi.
Digital Ocean. Inputs. Get App Spec Job Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Image
Pulumi.
Digital Ocean. Inputs. Get App Spec Job Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - Instance
Count int - The amount of instances that this component should be scaled to.
- Instance
Size stringSlug - The instance size to use for this component.
- Kind string
- The type of job and when it will be run during the deployment process. It may be one of:
UNSPECIFIED
: Default job type, will auto-complete to POST_DEPLOY kind.PRE_DEPLOY
: Indicates a job that runs before an app deployment.POST_DEPLOY
: Indicates a job that runs after an app deployment.FAILED_DEPLOY
: Indicates a job that runs after a component fails to deploy.
- Log
Destinations List<Pulumi.Digital Ocean. Inputs. Get App Spec Job Log Destination> - Describes a log forwarding destination.
- Run
Command string - An optional run command to override the component's default.
- Source
Dir string - An optional path to the working directory to use for the build.
- Name string
- The name of the component.
- Alerts
[]Get
App Spec Job Alert - Describes an alert policy for the component.
- Build
Command string - An optional build command to run while building this component from source.
- Dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string - An environment slug describing the type of this app.
- Envs
[]Get
App Spec Job Env - Describes an environment variable made available to an app competent.
- Git
Get
App Spec Job Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - Github
Get
App Spec Job Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Gitlab
Get
App Spec Job Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Image
Get
App Spec Job Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - Instance
Count int - The amount of instances that this component should be scaled to.
- Instance
Size stringSlug - The instance size to use for this component.
- Kind string
- The type of job and when it will be run during the deployment process. It may be one of:
UNSPECIFIED
: Default job type, will auto-complete to POST_DEPLOY kind.PRE_DEPLOY
: Indicates a job that runs before an app deployment.POST_DEPLOY
: Indicates a job that runs after an app deployment.FAILED_DEPLOY
: Indicates a job that runs after a component fails to deploy.
- Log
Destinations []GetApp Spec Job Log Destination - Describes a log forwarding destination.
- Run
Command string - An optional run command to override the component's default.
- Source
Dir string - An optional path to the working directory to use for the build.
- name String
- The name of the component.
- alerts
List<Get
App Spec Job Alert> - Describes an alert policy for the component.
- build
Command String - An optional build command to run while building this component from source.
- dockerfile
Path String - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String - An environment slug describing the type of this app.
- envs
List<Get
App Spec Job Env> - Describes an environment variable made available to an app competent.
- git
Get
App Spec Job Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Job Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Job Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - image
Get
App Spec Job Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance
Count Integer - The amount of instances that this component should be scaled to.
- instance
Size StringSlug - The instance size to use for this component.
- kind String
- The type of job and when it will be run during the deployment process. It may be one of:
UNSPECIFIED
: Default job type, will auto-complete to POST_DEPLOY kind.PRE_DEPLOY
: Indicates a job that runs before an app deployment.POST_DEPLOY
: Indicates a job that runs after an app deployment.FAILED_DEPLOY
: Indicates a job that runs after a component fails to deploy.
- log
Destinations List<GetApp Spec Job Log Destination> - Describes a log forwarding destination.
- run
Command String - An optional run command to override the component's default.
- source
Dir String - An optional path to the working directory to use for the build.
- name string
- The name of the component.
- alerts
Get
App Spec Job Alert[] - Describes an alert policy for the component.
- build
Command string - An optional build command to run while building this component from source.
- dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug string - An environment slug describing the type of this app.
- envs
Get
App Spec Job Env[] - Describes an environment variable made available to an app competent.
- git
Get
App Spec Job Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Job Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Job Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - image
Get
App Spec Job Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance
Count number - The amount of instances that this component should be scaled to.
- instance
Size stringSlug - The instance size to use for this component.
- kind string
- The type of job and when it will be run during the deployment process. It may be one of:
UNSPECIFIED
: Default job type, will auto-complete to POST_DEPLOY kind.PRE_DEPLOY
: Indicates a job that runs before an app deployment.POST_DEPLOY
: Indicates a job that runs after an app deployment.FAILED_DEPLOY
: Indicates a job that runs after a component fails to deploy.
- log
Destinations GetApp Spec Job Log Destination[] - Describes a log forwarding destination.
- run
Command string - An optional run command to override the component's default.
- source
Dir string - An optional path to the working directory to use for the build.
- name str
- The name of the component.
- alerts
Sequence[Get
App Spec Job Alert] - Describes an alert policy for the component.
- build_
command str - An optional build command to run while building this component from source.
- dockerfile_
path str - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment_
slug str - An environment slug describing the type of this app.
- envs
Sequence[Get
App Spec Job Env] - Describes an environment variable made available to an app competent.
- git
Get
App Spec Job Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Job Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Job Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - image
Get
App Spec Job Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance_
count int - The amount of instances that this component should be scaled to.
- instance_
size_ strslug - The instance size to use for this component.
- 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[GetApp Spec Job Log Destination] - Describes a log forwarding destination.
- run_
command str - An optional run command to override the component's default.
- source_
dir str - An optional path to the working directory to use for the build.
- name String
- The name of the component.
- alerts List<Property Map>
- Describes an alert policy for the component.
- build
Command String - An optional build command to run while building this component from source.
- dockerfile
Path String - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String - An environment slug describing the type of this app.
- envs List<Property Map>
- Describes an environment variable made available to an app competent.
- git Property Map
- A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github Property Map
- A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab Property Map
- A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - image Property Map
- An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance
Count Number - The amount of instances that this component should be scaled to.
- instance
Size StringSlug - The instance size to use for this component.
- kind String
- The type of job and when it will be run during the deployment process. It may be one of:
UNSPECIFIED
: Default job type, will auto-complete to POST_DEPLOY kind.PRE_DEPLOY
: Indicates a job that runs before an app deployment.POST_DEPLOY
: Indicates a job that runs after an app deployment.FAILED_DEPLOY
: Indicates a job that runs after a component fails to deploy.
- log
Destinations List<Property Map> - Describes a log forwarding destination.
- run
Command String - An optional run command to override the component's default.
- source
Dir String - An optional path to the working directory to use for the build.
GetAppSpecJobAlert
- Operator string
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - Rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - Value double
- The threshold for the type of the warning.
- Window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - Disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- Operator string
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - Rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - Value float64
- The threshold for the type of the warning.
- Window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - Disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- operator String
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule String
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value Double
- The threshold for the type of the warning.
- window String
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled Boolean
- Determines whether or not the alert is disabled (default:
false
).
- operator string
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value number
- The threshold for the type of the warning.
- window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled boolean
- Determines whether or not the alert is disabled (default:
false
).
- operator str
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule str
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value float
- The threshold for the type of the warning.
- window str
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- operator String
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule String
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value Number
- The threshold for the type of the warning.
- window String
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled Boolean
- Determines whether or not the alert is disabled (default:
false
).
GetAppSpecJobEnv
GetAppSpecJobGit
- Branch string
- The name of the branch to use.
- Repo
Clone stringUrl - The clone URL of the repo.
- Branch string
- The name of the branch to use.
- Repo
Clone stringUrl - The clone URL of the repo.
- branch String
- The name of the branch to use.
- repo
Clone StringUrl - The clone URL of the repo.
- branch string
- The name of the branch to use.
- repo
Clone stringUrl - The clone URL of the repo.
- branch str
- The name of the branch to use.
- repo_
clone_ strurl - The clone URL of the repo.
- branch String
- The name of the branch to use.
- repo
Clone StringUrl - The clone URL of the repo.
GetAppSpecJobGithub
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
- branch string
- The name of the branch to use.
- deploy
On booleanPush - Whether to automatically deploy new commits made to the repo.
- repo string
- The name of the repo in the format
owner/repo
.
- branch str
- The name of the branch to use.
- deploy_
on_ boolpush - Whether to automatically deploy new commits made to the repo.
- repo str
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
GetAppSpecJobGitlab
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
- branch string
- The name of the branch to use.
- deploy
On booleanPush - Whether to automatically deploy new commits made to the repo.
- repo string
- The name of the repo in the format
owner/repo
.
- branch str
- The name of the branch to use.
- deploy_
on_ boolpush - Whether to automatically deploy new commits made to the repo.
- repo str
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
GetAppSpecJobImage
- Deploy
On List<Pulumi.Pushes Digital Ocean. Inputs. Get App Spec Job Image Deploy On Push> - Whether to automatically deploy new commits made to the repo.
- Registry
Type string - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - Repository string
- The repository name.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - Access credentials for third-party registries
- Tag string
- The repository tag. Defaults to
latest
if not provided.
- Deploy
On []GetPushes App Spec Job Image Deploy On Push - Whether to automatically deploy new commits made to the repo.
- Registry
Type string - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - Repository string
- The repository name.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - Access credentials for third-party registries
- Tag string
- The repository tag. Defaults to
latest
if not provided.
- deploy
On List<GetPushes App Spec Job Image Deploy On Push> - Whether to automatically deploy new commits made to the repo.
- registry
Type String - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository String
- The repository name.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - Access credentials for third-party registries
- tag String
- The repository tag. Defaults to
latest
if not provided.
- deploy
On GetPushes App Spec Job Image Deploy On Push[] - Whether to automatically deploy new commits made to the repo.
- registry
Type string - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository string
- The repository name.
- registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials string - Access credentials for third-party registries
- tag string
- The repository tag. Defaults to
latest
if not provided.
- deploy_
on_ Sequence[Getpushes App Spec Job Image Deploy On Push] - Whether to automatically deploy new commits made to the repo.
- registry_
type str - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository str
- The repository name.
- registry str
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry_
credentials str - Access credentials for third-party registries
- tag str
- The repository tag. Defaults to
latest
if not provided.
- deploy
On List<Property Map>Pushes - Whether to automatically deploy new commits made to the repo.
- registry
Type String - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository String
- The repository name.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - Access credentials for third-party registries
- tag String
- The repository tag. Defaults to
latest
if not provided.
GetAppSpecJobImageDeployOnPush
- Enabled bool
- Whether to automatically deploy images pushed to DOCR.
- Enabled bool
- Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
- Whether to automatically deploy images pushed to DOCR.
- enabled boolean
- Whether to automatically deploy images pushed to DOCR.
- enabled bool
- Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
- Whether to automatically deploy images pushed to DOCR.
GetAppSpecJobLogDestination
- Name string
- The name of the component.
- Datadog
Pulumi.
Digital Ocean. Inputs. Get App Spec Job Log Destination Datadog - Datadog configuration.
- Logtail
Pulumi.
Digital Ocean. Inputs. Get App Spec Job Log Destination Logtail - Logtail configuration.
- Open
Search Pulumi.Digital Ocean. Inputs. Get App Spec Job Log Destination Open Search - OpenSearch configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. Get App Spec Job Log Destination Papertrail - Papertrail configuration.
- Name string
- The name of the component.
- Datadog
Get
App Spec Job Log Destination Datadog - Datadog configuration.
- Logtail
Get
App Spec Job Log Destination Logtail - Logtail configuration.
- Open
Search GetApp Spec Job Log Destination Open Search - OpenSearch configuration.
- Papertrail
Get
App Spec Job Log Destination Papertrail - Papertrail configuration.
- name String
- The name of the component.
- datadog
Get
App Spec Job Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Job Log Destination Logtail - Logtail configuration.
- open
Search GetApp Spec Job Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Job Log Destination Papertrail - Papertrail configuration.
- name string
- The name of the component.
- datadog
Get
App Spec Job Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Job Log Destination Logtail - Logtail configuration.
- open
Search GetApp Spec Job Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Job Log Destination Papertrail - Papertrail configuration.
- name str
- The name of the component.
- datadog
Get
App Spec Job Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Job Log Destination Logtail - Logtail configuration.
- open_
search GetApp Spec Job Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Job Log Destination Papertrail - Papertrail configuration.
- name String
- The name of the component.
- datadog Property Map
- Datadog configuration.
- logtail Property Map
- Logtail configuration.
- open
Search Property Map - OpenSearch configuration.
- papertrail Property Map
- Papertrail configuration.
GetAppSpecJobLogDestinationDatadog
GetAppSpecJobLogDestinationLogtail
- Token string
- Logtail token.
- Token string
- Logtail token.
- token String
- Logtail token.
- token string
- Logtail token.
- token str
- Logtail token.
- token String
- Logtail token.
GetAppSpecJobLogDestinationOpenSearch
- Basic
Auth Pulumi.Digital Ocean. Inputs. Get App Spec Job Log Destination Open Search Basic Auth - OpenSearch basic auth
- Cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- Basic
Auth GetApp Spec Job Log Destination Open Search Basic Auth - OpenSearch basic auth
- Cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth GetApp Spec Job Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster
Name String - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name String - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth GetApp Spec Job Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- basic_
auth GetApp Spec Job Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster_
name str - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint str
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index_
name str - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth Property Map - OpenSearch basic auth
- cluster
Name String - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name String - The index name to use for the logs. If not set, the default index name is
logs
.
GetAppSpecJobLogDestinationOpenSearchBasicAuth
GetAppSpecJobLogDestinationPapertrail
- Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint str
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
GetAppSpecService
- Http
Port int - The internal port on which this service's run command will listen.
- Internal
Ports List<int> - A list of ports on which this service will listen for internal traffic.
- Name string
- The name of the component.
- Routes
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Service Route> - Run
Command string - An optional run command to override the component's default.
- Alerts
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Service Alert> - Describes an alert policy for the component.
- Autoscaling
Pulumi.
Digital Ocean. Inputs. Get App Spec Service Autoscaling - Configuration for automatically scaling this component based on metrics.
- Build
Command string - An optional build command to run while building this component from source.
- Cors
Pulumi.
Digital Ocean. Inputs. Get App Spec Service Cors - The CORS policies of the app.
- Dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string - An environment slug describing the type of this app.
- Envs
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Service Env> - Describes an environment variable made available to an app competent.
- Git
Pulumi.
Digital Ocean. Inputs. Get App Spec Service Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - Github
Pulumi.
Digital Ocean. Inputs. Get App Spec Service Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Gitlab
Pulumi.
Digital Ocean. Inputs. Get App Spec Service Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Health
Check Pulumi.Digital Ocean. Inputs. Get App Spec Service Health Check - A health check to determine the availability of this component.
- Image
Pulumi.
Digital Ocean. Inputs. Get App Spec Service Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - Instance
Count int - The amount of instances that this component should be scaled to.
- Instance
Size stringSlug - The instance size to use for this component.
- Log
Destinations List<Pulumi.Digital Ocean. Inputs. Get App Spec Service Log Destination> - Describes a log forwarding destination.
- Source
Dir string - An optional path to the working directory to use for the build.
- Http
Port int - The internal port on which this service's run command will listen.
- Internal
Ports []int - A list of ports on which this service will listen for internal traffic.
- Name string
- The name of the component.
- Routes
[]Get
App Spec Service Route - Run
Command string - An optional run command to override the component's default.
- Alerts
[]Get
App Spec Service Alert - Describes an alert policy for the component.
- Autoscaling
Get
App Spec Service Autoscaling - Configuration for automatically scaling this component based on metrics.
- Build
Command string - An optional build command to run while building this component from source.
- Cors
Get
App Spec Service Cors - The CORS policies of the app.
- Dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string - An environment slug describing the type of this app.
- Envs
[]Get
App Spec Service Env - Describes an environment variable made available to an app competent.
- Git
Get
App Spec Service Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - Github
Get
App Spec Service Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Gitlab
Get
App Spec Service Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Health
Check GetApp Spec Service Health Check - A health check to determine the availability of this component.
- Image
Get
App Spec Service Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - Instance
Count int - The amount of instances that this component should be scaled to.
- Instance
Size stringSlug - The instance size to use for this component.
- Log
Destinations []GetApp Spec Service Log Destination - Describes a log forwarding destination.
- Source
Dir string - An optional path to the working directory to use for the build.
- http
Port Integer - The internal port on which this service's run command will listen.
- internal
Ports List<Integer> - A list of ports on which this service will listen for internal traffic.
- name String
- The name of the component.
- routes
List<Get
App Spec Service Route> - run
Command String - An optional run command to override the component's default.
- alerts
List<Get
App Spec Service Alert> - Describes an alert policy for the component.
- autoscaling
Get
App Spec Service Autoscaling - Configuration for automatically scaling this component based on metrics.
- build
Command String - An optional build command to run while building this component from source.
- cors
Get
App Spec Service Cors - The CORS policies of the app.
- dockerfile
Path String - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String - An environment slug describing the type of this app.
- envs
List<Get
App Spec Service Env> - Describes an environment variable made available to an app competent.
- git
Get
App Spec Service Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Service Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Service Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - health
Check GetApp Spec Service Health Check - A health check to determine the availability of this component.
- image
Get
App Spec Service Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance
Count Integer - The amount of instances that this component should be scaled to.
- instance
Size StringSlug - The instance size to use for this component.
- log
Destinations List<GetApp Spec Service Log Destination> - Describes a log forwarding destination.
- source
Dir String - An optional path to the working directory to use for the build.
- http
Port number - The internal port on which this service's run command will listen.
- internal
Ports number[] - A list of ports on which this service will listen for internal traffic.
- name string
- The name of the component.
- routes
Get
App Spec Service Route[] - run
Command string - An optional run command to override the component's default.
- alerts
Get
App Spec Service Alert[] - Describes an alert policy for the component.
- autoscaling
Get
App Spec Service Autoscaling - Configuration for automatically scaling this component based on metrics.
- build
Command string - An optional build command to run while building this component from source.
- cors
Get
App Spec Service Cors - The CORS policies of the app.
- dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug string - An environment slug describing the type of this app.
- envs
Get
App Spec Service Env[] - Describes an environment variable made available to an app competent.
- git
Get
App Spec Service Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Service Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Service Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - health
Check GetApp Spec Service Health Check - A health check to determine the availability of this component.
- image
Get
App Spec Service Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance
Count number - The amount of instances that this component should be scaled to.
- instance
Size stringSlug - The instance size to use for this component.
- log
Destinations GetApp Spec Service Log Destination[] - Describes a log forwarding destination.
- source
Dir string - An optional path to the working directory to use for the build.
- http_
port int - The internal port on which this service's run command will listen.
- internal_
ports Sequence[int] - A list of ports on which this service will listen for internal traffic.
- name str
- The name of the component.
- routes
Sequence[Get
App Spec Service Route] - run_
command str - An optional run command to override the component's default.
- alerts
Sequence[Get
App Spec Service Alert] - Describes an alert policy for the component.
- autoscaling
Get
App Spec Service Autoscaling - Configuration for automatically scaling this component based on metrics.
- build_
command str - An optional build command to run while building this component from source.
- cors
Get
App Spec Service Cors - The CORS policies of the app.
- dockerfile_
path str - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment_
slug str - An environment slug describing the type of this app.
- envs
Sequence[Get
App Spec Service Env] - Describes an environment variable made available to an app competent.
- git
Get
App Spec Service Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Service Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Service Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - health_
check GetApp Spec Service Health Check - A health check to determine the availability of this component.
- image
Get
App Spec Service Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance_
count int - The amount of instances that this component should be scaled to.
- instance_
size_ strslug - The instance size to use for this component.
- log_
destinations Sequence[GetApp Spec Service Log Destination] - Describes a log forwarding destination.
- source_
dir str - An optional path to the working directory to use for the build.
- http
Port Number - The internal port on which this service's run command will listen.
- internal
Ports List<Number> - A list of ports on which this service will listen for internal traffic.
- name String
- The name of the component.
- routes List<Property Map>
- run
Command String - An optional run command to override the component's default.
- alerts List<Property Map>
- Describes an alert policy for the component.
- autoscaling Property Map
- Configuration for automatically scaling this component based on metrics.
- build
Command String - An optional build command to run while building this component from source.
- cors Property Map
- The CORS policies of the app.
- dockerfile
Path String - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String - An environment slug describing the type of this app.
- envs List<Property Map>
- Describes an environment variable made available to an app competent.
- git Property Map
- A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github Property Map
- A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab Property Map
- A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - health
Check Property Map - A health check to determine the availability of this component.
- image Property Map
- An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance
Count Number - The amount of instances that this component should be scaled to.
- instance
Size StringSlug - The instance size to use for this component.
- log
Destinations List<Property Map> - Describes a log forwarding destination.
- source
Dir 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
orLESS_THAN
. - Rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - Value double
- The threshold for the type of the warning.
- Window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - Disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- Operator string
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - Rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - Value float64
- The threshold for the type of the warning.
- Window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - Disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- operator String
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule String
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value Double
- The threshold for the type of the warning.
- window String
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled Boolean
- Determines whether or not the alert is disabled (default:
false
).
- operator string
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value number
- The threshold for the type of the warning.
- window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled boolean
- Determines whether or not the alert is disabled (default:
false
).
- operator str
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule str
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value float
- The threshold for the type of the warning.
- window str
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- operator String
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule String
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value Number
- The threshold for the type of the warning.
- window String
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled Boolean
- Determines whether or not the alert is disabled (default:
false
).
GetAppSpecServiceAutoscaling
- Max
Instance intCount - The maximum amount of instances for this component. Must be more than min_instance_count.
- Metrics
Pulumi.
Digital Ocean. Inputs. Get App Spec Service Autoscaling Metrics - The metrics that the component is scaled on.
- Min
Instance intCount - The minimum amount of instances for this component. Must be less than max_instance_count.
- Max
Instance intCount - The maximum amount of instances for this component. Must be more than min_instance_count.
- Metrics
Get
App Spec Service Autoscaling Metrics - The metrics that the component is scaled on.
- Min
Instance intCount - The minimum amount of instances for this component. Must be less than max_instance_count.
- max
Instance IntegerCount - The maximum amount of instances for this component. Must be more than min_instance_count.
- metrics
Get
App Spec Service Autoscaling Metrics - The metrics that the component is scaled on.
- min
Instance IntegerCount - The minimum amount of instances for this component. Must be less than max_instance_count.
- max
Instance numberCount - The maximum amount of instances for this component. Must be more than min_instance_count.
- metrics
Get
App Spec Service Autoscaling Metrics - The metrics that the component is scaled on.
- min
Instance numberCount - The minimum amount of instances for this component. Must be less than max_instance_count.
- max_
instance_ intcount - The maximum amount of instances for this component. Must be more than min_instance_count.
- metrics
Get
App Spec Service Autoscaling Metrics - The metrics that the component is scaled on.
- min_
instance_ intcount - The minimum amount of instances for this component. Must be less than max_instance_count.
- max
Instance NumberCount - The maximum amount of instances for this component. Must be more than min_instance_count.
- metrics Property Map
- The metrics that the component is scaled on.
- min
Instance NumberCount - The minimum amount of instances for this component. Must be less than max_instance_count.
GetAppSpecServiceAutoscalingMetrics
- Cpu
Pulumi.
Digital Ocean. Inputs. Get App Spec Service Autoscaling Metrics Cpu - Settings for scaling the component based on CPU utilization.
- Cpu
Get
App Spec Service Autoscaling Metrics Cpu - Settings for scaling the component based on CPU utilization.
- cpu
Get
App Spec Service Autoscaling Metrics Cpu - Settings for scaling the component based on CPU utilization.
- cpu
Get
App Spec Service Autoscaling Metrics Cpu - Settings for scaling the component based on CPU utilization.
- cpu
Get
App Spec Service Autoscaling Metrics Cpu - Settings for scaling the component based on CPU utilization.
- cpu Property Map
- Settings for scaling the component based on CPU utilization.
GetAppSpecServiceAutoscalingMetricsCpu
- Percent int
- The average target CPU utilization for the component.
- Percent int
- The average target CPU utilization for the component.
- percent Integer
- The average target CPU utilization for the component.
- percent number
- The average target CPU utilization for the component.
- percent int
- The average target CPU utilization for the component.
- percent Number
- The average target CPU utilization for the component.
GetAppSpecServiceCors
- Allow
Credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - Allow
Headers List<string> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - Allow
Methods List<string> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - Allow
Origins Pulumi.Digital Ocean. Inputs. Get App Spec Service Cors Allow Origins - The
Access-Control-Allow-Origin
can be - Expose
Headers List<string> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - Max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- Allow
Credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - Allow
Headers []string - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - Allow
Methods []string - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - Allow
Origins GetApp Spec Service Cors Allow Origins - The
Access-Control-Allow-Origin
can be - Expose
Headers []string - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - Max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers List<String> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods List<String> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins GetApp Spec Service Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose
Headers List<String> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age String - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers string[] - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods string[] - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins GetApp Spec Service Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose
Headers string[] - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow_
credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow_
headers Sequence[str] - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow_
methods Sequence[str] - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow_
origins GetApp Spec Service Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose_
headers Sequence[str] - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max_
age str - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers List<String> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods List<String> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins Property Map - The
Access-Control-Allow-Origin
can be - expose
Headers List<String> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age String - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
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
GetAppSpecServiceGit
- Branch string
- The name of the branch to use.
- Repo
Clone stringUrl - The clone URL of the repo.
- Branch string
- The name of the branch to use.
- Repo
Clone stringUrl - The clone URL of the repo.
- branch String
- The name of the branch to use.
- repo
Clone StringUrl - The clone URL of the repo.
- branch string
- The name of the branch to use.
- repo
Clone stringUrl - The clone URL of the repo.
- branch str
- The name of the branch to use.
- repo_
clone_ strurl - The clone URL of the repo.
- branch String
- The name of the branch to use.
- repo
Clone StringUrl - The clone URL of the repo.
GetAppSpecServiceGithub
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
- branch string
- The name of the branch to use.
- deploy
On booleanPush - Whether to automatically deploy new commits made to the repo.
- repo string
- The name of the repo in the format
owner/repo
.
- branch str
- The name of the branch to use.
- deploy_
on_ boolpush - Whether to automatically deploy new commits made to the repo.
- repo str
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
GetAppSpecServiceGitlab
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
- branch string
- The name of the branch to use.
- deploy
On booleanPush - Whether to automatically deploy new commits made to the repo.
- repo string
- The name of the repo in the format
owner/repo
.
- branch str
- The name of the branch to use.
- deploy_
on_ boolpush - Whether to automatically deploy new commits made to the repo.
- repo str
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
GetAppSpecServiceHealthCheck
- Failure
Threshold int - The number of failed health checks before considered unhealthy.
- Http
Path string - The route path used for the HTTP health check ping.
- Initial
Delay intSeconds - The number of seconds to wait before beginning health checks.
- Period
Seconds int - The number of seconds to wait between health checks.
- Port int
- The port on which the health check will be performed. If not set, the health check will be performed on the component's http_port.
- Success
Threshold int - The number of successful health checks before considered healthy.
- Timeout
Seconds int - The number of seconds after which the check times out.
- Failure
Threshold int - The number of failed health checks before considered unhealthy.
- Http
Path string - The route path used for the HTTP health check ping.
- Initial
Delay intSeconds - The number of seconds to wait before beginning health checks.
- Period
Seconds int - The number of seconds to wait between health checks.
- Port int
- The port on which the health check will be performed. If not set, the health check will be performed on the component's http_port.
- Success
Threshold int - The number of successful health checks before considered healthy.
- Timeout
Seconds int - The number of seconds after which the check times out.
- failure
Threshold Integer - The number of failed health checks before considered unhealthy.
- http
Path String - The route path used for the HTTP health check ping.
- initial
Delay IntegerSeconds - The number of seconds to wait before beginning health checks.
- period
Seconds Integer - The number of seconds to wait between health checks.
- port Integer
- The port on which the health check will be performed. If not set, the health check will be performed on the component's http_port.
- success
Threshold Integer - The number of successful health checks before considered healthy.
- timeout
Seconds Integer - The number of seconds after which the check times out.
- failure
Threshold number - The number of failed health checks before considered unhealthy.
- http
Path string - The route path used for the HTTP health check ping.
- initial
Delay numberSeconds - The number of seconds to wait before beginning health checks.
- period
Seconds number - The number of seconds to wait between health checks.
- port number
- The port on which the health check will be performed. If not set, the health check will be performed on the component's http_port.
- success
Threshold number - The number of successful health checks before considered healthy.
- timeout
Seconds number - The number of seconds after which the check times out.
- failure_
threshold int - The number of failed health checks before considered unhealthy.
- http_
path str - The route path used for the HTTP health check ping.
- initial_
delay_ intseconds - The number of seconds to wait before beginning health checks.
- period_
seconds int - The number of seconds to wait between health checks.
- port int
- The port on which the health check will be performed. If not set, the health check will be performed on the component's http_port.
- success_
threshold int - The number of successful health checks before considered healthy.
- timeout_
seconds int - The number of seconds after which the check times out.
- failure
Threshold Number - The number of failed health checks before considered unhealthy.
- http
Path String - The route path used for the HTTP health check ping.
- initial
Delay NumberSeconds - The number of seconds to wait before beginning health checks.
- period
Seconds Number - The number of seconds to wait between health checks.
- port Number
- The port on which the health check will be performed. If not set, the health check will be performed on the component's http_port.
- success
Threshold Number - The number of successful health checks before considered healthy.
- timeout
Seconds Number - The number of seconds after which the check times out.
GetAppSpecServiceImage
- Deploy
On List<Pulumi.Pushes Digital Ocean. Inputs. Get App Spec Service Image Deploy On Push> - Whether to automatically deploy new commits made to the repo.
- Registry
Type string - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - Repository string
- The repository name.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - Access credentials for third-party registries
- Tag string
- The repository tag. Defaults to
latest
if not provided.
- Deploy
On []GetPushes App Spec Service Image Deploy On Push - Whether to automatically deploy new commits made to the repo.
- Registry
Type string - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - Repository string
- The repository name.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - Access credentials for third-party registries
- Tag string
- The repository tag. Defaults to
latest
if not provided.
- deploy
On List<GetPushes App Spec Service Image Deploy On Push> - Whether to automatically deploy new commits made to the repo.
- registry
Type String - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository String
- The repository name.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - Access credentials for third-party registries
- tag String
- The repository tag. Defaults to
latest
if not provided.
- deploy
On GetPushes App Spec Service Image Deploy On Push[] - Whether to automatically deploy new commits made to the repo.
- registry
Type string - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository string
- The repository name.
- registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials string - Access credentials for third-party registries
- tag string
- The repository tag. Defaults to
latest
if not provided.
- deploy_
on_ Sequence[Getpushes App Spec Service Image Deploy On Push] - Whether to automatically deploy new commits made to the repo.
- registry_
type str - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository str
- The repository name.
- registry str
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry_
credentials str - Access credentials for third-party registries
- tag str
- The repository tag. Defaults to
latest
if not provided.
- deploy
On List<Property Map>Pushes - Whether to automatically deploy new commits made to the repo.
- registry
Type String - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository String
- The repository name.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - Access credentials for third-party registries
- tag String
- The repository tag. Defaults to
latest
if not provided.
GetAppSpecServiceImageDeployOnPush
- Enabled bool
- Whether to automatically deploy images pushed to DOCR.
- Enabled bool
- Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
- Whether to automatically deploy images pushed to DOCR.
- enabled boolean
- Whether to automatically deploy images pushed to DOCR.
- enabled bool
- Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
- Whether to automatically deploy images pushed to DOCR.
GetAppSpecServiceLogDestination
- Name string
- The name of the component.
- Datadog
Pulumi.
Digital Ocean. Inputs. Get App Spec Service Log Destination Datadog - Datadog configuration.
- Logtail
Pulumi.
Digital Ocean. Inputs. Get App Spec Service Log Destination Logtail - Logtail configuration.
- Open
Search Pulumi.Digital Ocean. Inputs. Get App Spec Service Log Destination Open Search - OpenSearch configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. Get App Spec Service Log Destination Papertrail - Papertrail configuration.
- Name string
- The name of the component.
- Datadog
Get
App Spec Service Log Destination Datadog - Datadog configuration.
- Logtail
Get
App Spec Service Log Destination Logtail - Logtail configuration.
- Open
Search GetApp Spec Service Log Destination Open Search - OpenSearch configuration.
- Papertrail
Get
App Spec Service Log Destination Papertrail - Papertrail configuration.
- name String
- The name of the component.
- datadog
Get
App Spec Service Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Service Log Destination Logtail - Logtail configuration.
- open
Search GetApp Spec Service Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Service Log Destination Papertrail - Papertrail configuration.
- name string
- The name of the component.
- datadog
Get
App Spec Service Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Service Log Destination Logtail - Logtail configuration.
- open
Search GetApp Spec Service Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Service Log Destination Papertrail - Papertrail configuration.
- name str
- The name of the component.
- datadog
Get
App Spec Service Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Service Log Destination Logtail - Logtail configuration.
- open_
search GetApp Spec Service Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Service Log Destination Papertrail - Papertrail configuration.
- name String
- The name of the component.
- datadog Property Map
- Datadog configuration.
- logtail Property Map
- Logtail configuration.
- open
Search Property Map - OpenSearch configuration.
- papertrail Property Map
- Papertrail configuration.
GetAppSpecServiceLogDestinationDatadog
GetAppSpecServiceLogDestinationLogtail
- Token string
- Logtail token.
- Token string
- Logtail token.
- token String
- Logtail token.
- token string
- Logtail token.
- token str
- Logtail token.
- token String
- Logtail token.
GetAppSpecServiceLogDestinationOpenSearch
- Basic
Auth Pulumi.Digital Ocean. Inputs. Get App Spec Service Log Destination Open Search Basic Auth - OpenSearch basic auth
- Cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- Basic
Auth GetApp Spec Service Log Destination Open Search Basic Auth - OpenSearch basic auth
- Cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth GetApp Spec Service Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster
Name String - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name String - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth GetApp Spec Service Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- basic_
auth GetApp Spec Service Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster_
name str - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint str
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index_
name str - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth Property Map - OpenSearch basic auth
- cluster
Name String - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name String - The index name to use for the logs. If not set, the default index name is
logs
.
GetAppSpecServiceLogDestinationOpenSearchBasicAuth
GetAppSpecServiceLogDestinationPapertrail
- Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint str
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
GetAppSpecServiceRoute
- Path string
- Paths must start with
/
and must be unique within the app. - Preserve
Path boolPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- Path string
- Paths must start with
/
and must be unique within the app. - Preserve
Path boolPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- path String
- Paths must start with
/
and must be unique within the app. - preserve
Path BooleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- path string
- Paths must start with
/
and must be unique within the app. - preserve
Path booleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- path str
- Paths must start with
/
and must be unique within the app. - preserve_
path_ boolprefix - An optional flag to preserve the path that is forwarded to the backend service.
- path String
- Paths must start with
/
and must be unique within the app. - preserve
Path BooleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
GetAppSpecStaticSite
- Name string
- The name of the component.
- Routes
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Static Site Route> - Build
Command string - An optional build command to run while building this component from source.
- Catchall
Document string - The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
- Cors
Pulumi.
Digital Ocean. Inputs. Get App Spec Static Site Cors - The CORS policies of the app.
- Dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string - An environment slug describing the type of this app.
- Envs
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Static Site Env> - Describes an environment variable made available to an app competent.
- Error
Document string - The name of the error document to use when serving this static site.
- Git
Pulumi.
Digital Ocean. Inputs. Get App Spec Static Site Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - Github
Pulumi.
Digital Ocean. Inputs. Get App Spec Static Site Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Gitlab
Pulumi.
Digital Ocean. Inputs. Get App Spec Static Site Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Index
Document string - The name of the index document to use when serving this static site.
- Output
Dir string - An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
. - Source
Dir string - An optional path to the working directory to use for the build.
- Name string
- The name of the component.
- Routes
[]Get
App Spec Static Site Route - Build
Command string - An optional build command to run while building this component from source.
- Catchall
Document string - The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
- Cors
Get
App Spec Static Site Cors - The CORS policies of the app.
- Dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string - An environment slug describing the type of this app.
- Envs
[]Get
App Spec Static Site Env - Describes an environment variable made available to an app competent.
- Error
Document string - The name of the error document to use when serving this static site.
- Git
Get
App Spec Static Site Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - Github
Get
App Spec Static Site Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Gitlab
Get
App Spec Static Site Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Index
Document string - The name of the index document to use when serving this static site.
- Output
Dir string - An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
. - Source
Dir string - An optional path to the working directory to use for the build.
- name String
- The name of the component.
- routes
List<Get
App Spec Static Site Route> - build
Command String - An optional build command to run while building this component from source.
- catchall
Document String - The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
- cors
Get
App Spec Static Site Cors - The CORS policies of the app.
- dockerfile
Path String - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String - An environment slug describing the type of this app.
- envs
List<Get
App Spec Static Site Env> - Describes an environment variable made available to an app competent.
- error
Document String - The name of the error document to use when serving this static site.
- git
Get
App Spec Static Site Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Static Site Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Static Site Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - index
Document String - The name of the index document to use when serving this static site.
- output
Dir String - An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
. - source
Dir String - An optional path to the working directory to use for the build.
- name string
- The name of the component.
- routes
Get
App Spec Static Site Route[] - build
Command string - An optional build command to run while building this component from source.
- catchall
Document string - The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
- cors
Get
App Spec Static Site Cors - The CORS policies of the app.
- dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug string - An environment slug describing the type of this app.
- envs
Get
App Spec Static Site Env[] - Describes an environment variable made available to an app competent.
- error
Document string - The name of the error document to use when serving this static site.
- git
Get
App Spec Static Site Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Static Site Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Static Site Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - index
Document string - The name of the index document to use when serving this static site.
- output
Dir string - An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
. - source
Dir string - An optional path to the working directory to use for the build.
- name str
- The name of the component.
- routes
Sequence[Get
App Spec Static Site Route] - 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
Get
App Spec Static Site Cors - The CORS policies of the app.
- dockerfile_
path str - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment_
slug str - An environment slug describing the type of this app.
- envs
Sequence[Get
App Spec Static Site Env] - Describes an environment variable made available to an app competent.
- error_
document str - The name of the error document to use when serving this static site.
- git
Get
App Spec Static Site Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Static Site Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Static Site Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - index_
document str - The name of the index document to use when serving this static site.
- output_
dir str - An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
. - 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>
- build
Command String - An optional build command to run while building this component from source.
- catchall
Document String - The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
- cors Property Map
- The CORS policies of the app.
- dockerfile
Path String - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String - An environment slug describing the type of this app.
- envs List<Property Map>
- Describes an environment variable made available to an app competent.
- error
Document String - The name of the error document to use when serving this static site.
- git Property Map
- A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github Property Map
- A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab Property Map
- A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - index
Document String - The name of the index document to use when serving this static site.
- output
Dir String - An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names:
_static
,dist
,public
. - source
Dir String - An optional path to the working directory to use for the build.
GetAppSpecStaticSiteCors
- Allow
Credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - Allow
Headers List<string> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - Allow
Methods List<string> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - Allow
Origins Pulumi.Digital Ocean. Inputs. Get App Spec Static Site Cors Allow Origins - The
Access-Control-Allow-Origin
can be - Expose
Headers List<string> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - Max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- Allow
Credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - Allow
Headers []string - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - Allow
Methods []string - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - Allow
Origins GetApp Spec Static Site Cors Allow Origins - The
Access-Control-Allow-Origin
can be - Expose
Headers []string - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - Max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers List<String> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods List<String> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins GetApp Spec Static Site Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose
Headers List<String> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age String - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers string[] - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods string[] - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins GetApp Spec Static Site Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose
Headers string[] - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age string - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow_
credentials bool - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow_
headers Sequence[str] - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow_
methods Sequence[str] - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow_
origins GetApp Spec Static Site Cors Allow Origins - The
Access-Control-Allow-Origin
can be - expose_
headers Sequence[str] - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max_
age str - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
- allow
Credentials Boolean - Whether browsers should expose the response to the client-side JavaScript code when the request's credentials mode is
include
. This configures theAccess-Control-Allow-Credentials
header. - allow
Headers List<String> - The set of allowed HTTP request headers. This configures the
Access-Control-Allow-Headers
header. - allow
Methods List<String> - The set of allowed HTTP methods. This configures the
Access-Control-Allow-Methods
header. - allow
Origins Property Map - The
Access-Control-Allow-Origin
can be - expose
Headers List<String> - The set of HTTP response headers that browsers are allowed to access. This configures the
Access-Control-Expose-Headers
header. - max
Age String - An optional duration specifying how long browsers can cache the results of a preflight request. This configures the Access-Control-Max-Age header. Example:
5h30m
.
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
GetAppSpecStaticSiteGit
- Branch string
- The name of the branch to use.
- Repo
Clone stringUrl - The clone URL of the repo.
- Branch string
- The name of the branch to use.
- Repo
Clone stringUrl - The clone URL of the repo.
- branch String
- The name of the branch to use.
- repo
Clone StringUrl - The clone URL of the repo.
- branch string
- The name of the branch to use.
- repo
Clone stringUrl - The clone URL of the repo.
- branch str
- The name of the branch to use.
- repo_
clone_ strurl - The clone URL of the repo.
- branch String
- The name of the branch to use.
- repo
Clone StringUrl - The clone URL of the repo.
GetAppSpecStaticSiteGithub
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
- branch string
- The name of the branch to use.
- deploy
On booleanPush - Whether to automatically deploy new commits made to the repo.
- repo string
- The name of the repo in the format
owner/repo
.
- branch str
- The name of the branch to use.
- deploy_
on_ boolpush - Whether to automatically deploy new commits made to the repo.
- repo str
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
GetAppSpecStaticSiteGitlab
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
- branch string
- The name of the branch to use.
- deploy
On booleanPush - Whether to automatically deploy new commits made to the repo.
- repo string
- The name of the repo in the format
owner/repo
.
- branch str
- The name of the branch to use.
- deploy_
on_ boolpush - Whether to automatically deploy new commits made to the repo.
- repo str
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
GetAppSpecStaticSiteRoute
- Path string
- Paths must start with
/
and must be unique within the app. - Preserve
Path boolPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- Path string
- Paths must start with
/
and must be unique within the app. - Preserve
Path boolPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- path String
- Paths must start with
/
and must be unique within the app. - preserve
Path BooleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- path string
- Paths must start with
/
and must be unique within the app. - preserve
Path booleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
- path str
- Paths must start with
/
and must be unique within the app. - preserve_
path_ boolprefix - An optional flag to preserve the path that is forwarded to the backend service.
- path String
- Paths must start with
/
and must be unique within the app. - preserve
Path BooleanPrefix - An optional flag to preserve the path that is forwarded to the backend service.
GetAppSpecWorker
- Name string
- The name of the component.
- Alerts
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Worker Alert> - Describes an alert policy for the component.
- Build
Command string - An optional build command to run while building this component from source.
- Dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string - An environment slug describing the type of this app.
- Envs
List<Pulumi.
Digital Ocean. Inputs. Get App Spec Worker Env> - Describes an environment variable made available to an app competent.
- Git
Pulumi.
Digital Ocean. Inputs. Get App Spec Worker Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - Github
Pulumi.
Digital Ocean. Inputs. Get App Spec Worker Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Gitlab
Pulumi.
Digital Ocean. Inputs. Get App Spec Worker Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Image
Pulumi.
Digital Ocean. Inputs. Get App Spec Worker Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - Instance
Count int - The amount of instances that this component should be scaled to.
- Instance
Size stringSlug - The instance size to use for this component.
- Log
Destinations List<Pulumi.Digital Ocean. Inputs. Get App Spec Worker Log Destination> - Describes a log forwarding destination.
- Run
Command string - An optional run command to override the component's default.
- Source
Dir string - An optional path to the working directory to use for the build.
- Name string
- The name of the component.
- Alerts
[]Get
App Spec Worker Alert - Describes an alert policy for the component.
- Build
Command string - An optional build command to run while building this component from source.
- Dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- Environment
Slug string - An environment slug describing the type of this app.
- Envs
[]Get
App Spec Worker Env - Describes an environment variable made available to an app competent.
- Git
Get
App Spec Worker Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - Github
Get
App Spec Worker Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Gitlab
Get
App Spec Worker Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - Image
Get
App Spec Worker Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - Instance
Count int - The amount of instances that this component should be scaled to.
- Instance
Size stringSlug - The instance size to use for this component.
- Log
Destinations []GetApp Spec Worker Log Destination - Describes a log forwarding destination.
- Run
Command string - An optional run command to override the component's default.
- Source
Dir string - An optional path to the working directory to use for the build.
- name String
- The name of the component.
- alerts
List<Get
App Spec Worker Alert> - Describes an alert policy for the component.
- build
Command String - An optional build command to run while building this component from source.
- dockerfile
Path String - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String - An environment slug describing the type of this app.
- envs
List<Get
App Spec Worker Env> - Describes an environment variable made available to an app competent.
- git
Get
App Spec Worker Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Worker Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Worker Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - image
Get
App Spec Worker Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance
Count Integer - The amount of instances that this component should be scaled to.
- instance
Size StringSlug - The instance size to use for this component.
- log
Destinations List<GetApp Spec Worker Log Destination> - Describes a log forwarding destination.
- run
Command String - An optional run command to override the component's default.
- source
Dir String - An optional path to the working directory to use for the build.
- name string
- The name of the component.
- alerts
Get
App Spec Worker Alert[] - Describes an alert policy for the component.
- build
Command string - An optional build command to run while building this component from source.
- dockerfile
Path string - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug string - An environment slug describing the type of this app.
- envs
Get
App Spec Worker Env[] - Describes an environment variable made available to an app competent.
- git
Get
App Spec Worker Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Worker Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Worker Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - image
Get
App Spec Worker Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance
Count number - The amount of instances that this component should be scaled to.
- instance
Size stringSlug - The instance size to use for this component.
- log
Destinations GetApp Spec Worker Log Destination[] - Describes a log forwarding destination.
- run
Command string - An optional run command to override the component's default.
- source
Dir string - An optional path to the working directory to use for the build.
- name str
- The name of the component.
- alerts
Sequence[Get
App Spec Worker Alert] - Describes an alert policy for the component.
- build_
command str - An optional build command to run while building this component from source.
- dockerfile_
path str - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment_
slug str - An environment slug describing the type of this app.
- envs
Sequence[Get
App Spec Worker Env] - Describes an environment variable made available to an app competent.
- git
Get
App Spec Worker Git - A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github
Get
App Spec Worker Github - A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab
Get
App Spec Worker Gitlab - A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - image
Get
App Spec Worker Image - An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance_
count int - The amount of instances that this component should be scaled to.
- instance_
size_ strslug - The instance size to use for this component.
- log_
destinations Sequence[GetApp Spec Worker Log Destination] - Describes a log forwarding destination.
- run_
command str - An optional run command to override the component's default.
- source_
dir str - An optional path to the working directory to use for the build.
- name String
- The name of the component.
- alerts List<Property Map>
- Describes an alert policy for the component.
- build
Command String - An optional build command to run while building this component from source.
- dockerfile
Path String - The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
- environment
Slug String - An environment slug describing the type of this app.
- envs List<Property Map>
- Describes an environment variable made available to an app competent.
- git Property Map
- A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of
git
,github
orgitlab
may be set. - github Property Map
- A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - gitlab Property Map
- A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of
git
,github
,gitlab
, orimage
may be set. - image Property Map
- An image to use as the component's source. Only one of
git
,github
,gitlab
, orimage
may be set. - instance
Count Number - The amount of instances that this component should be scaled to.
- instance
Size StringSlug - The instance size to use for this component.
- log
Destinations List<Property Map> - Describes a log forwarding destination.
- run
Command String - An optional run command to override the component's default.
- source
Dir String - An optional path to the working directory to use for the build.
GetAppSpecWorkerAlert
- Operator string
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - Rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - Value double
- The threshold for the type of the warning.
- Window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - Disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- Operator string
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - Rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - Value float64
- The threshold for the type of the warning.
- Window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - Disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- operator String
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule String
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value Double
- The threshold for the type of the warning.
- window String
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled Boolean
- Determines whether or not the alert is disabled (default:
false
).
- operator string
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule string
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value number
- The threshold for the type of the warning.
- window string
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled boolean
- Determines whether or not the alert is disabled (default:
false
).
- operator str
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule str
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value float
- The threshold for the type of the warning.
- window str
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled bool
- Determines whether or not the alert is disabled (default:
false
).
- operator String
- The operator to use. This is either of
GREATER_THAN
orLESS_THAN
. - rule String
- The type of the alert to configure. Component app alert policies can be:
CPU_UTILIZATION
,MEM_UTILIZATION
, orRESTART_COUNT
. - value Number
- The threshold for the type of the warning.
- window String
- The time before alerts should be triggered. This is may be one of:
FIVE_MINUTES
,TEN_MINUTES
,THIRTY_MINUTES
,ONE_HOUR
. - disabled Boolean
- Determines whether or not the alert is disabled (default:
false
).
GetAppSpecWorkerEnv
GetAppSpecWorkerGit
- Branch string
- The name of the branch to use.
- Repo
Clone stringUrl - The clone URL of the repo.
- Branch string
- The name of the branch to use.
- Repo
Clone stringUrl - The clone URL of the repo.
- branch String
- The name of the branch to use.
- repo
Clone StringUrl - The clone URL of the repo.
- branch string
- The name of the branch to use.
- repo
Clone stringUrl - The clone URL of the repo.
- branch str
- The name of the branch to use.
- repo_
clone_ strurl - The clone URL of the repo.
- branch String
- The name of the branch to use.
- repo
Clone StringUrl - The clone URL of the repo.
GetAppSpecWorkerGithub
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
- branch string
- The name of the branch to use.
- deploy
On booleanPush - Whether to automatically deploy new commits made to the repo.
- repo string
- The name of the repo in the format
owner/repo
.
- branch str
- The name of the branch to use.
- deploy_
on_ boolpush - Whether to automatically deploy new commits made to the repo.
- repo str
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
GetAppSpecWorkerGitlab
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- Branch string
- The name of the branch to use.
- Deploy
On boolPush - Whether to automatically deploy new commits made to the repo.
- Repo string
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
- branch string
- The name of the branch to use.
- deploy
On booleanPush - Whether to automatically deploy new commits made to the repo.
- repo string
- The name of the repo in the format
owner/repo
.
- branch str
- The name of the branch to use.
- deploy_
on_ boolpush - Whether to automatically deploy new commits made to the repo.
- repo str
- The name of the repo in the format
owner/repo
.
- branch String
- The name of the branch to use.
- deploy
On BooleanPush - Whether to automatically deploy new commits made to the repo.
- repo String
- The name of the repo in the format
owner/repo
.
GetAppSpecWorkerImage
- Deploy
On List<Pulumi.Pushes Digital Ocean. Inputs. Get App Spec Worker Image Deploy On Push> - Whether to automatically deploy new commits made to the repo.
- Registry
Type string - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - Repository string
- The repository name.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - Access credentials for third-party registries
- Tag string
- The repository tag. Defaults to
latest
if not provided.
- Deploy
On []GetPushes App Spec Worker Image Deploy On Push - Whether to automatically deploy new commits made to the repo.
- Registry
Type string - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - Repository string
- The repository name.
- Registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - Registry
Credentials string - Access credentials for third-party registries
- Tag string
- The repository tag. Defaults to
latest
if not provided.
- deploy
On List<GetPushes App Spec Worker Image Deploy On Push> - Whether to automatically deploy new commits made to the repo.
- registry
Type String - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository String
- The repository name.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - Access credentials for third-party registries
- tag String
- The repository tag. Defaults to
latest
if not provided.
- deploy
On GetPushes App Spec Worker Image Deploy On Push[] - Whether to automatically deploy new commits made to the repo.
- registry
Type string - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository string
- The repository name.
- registry string
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials string - Access credentials for third-party registries
- tag string
- The repository tag. Defaults to
latest
if not provided.
- deploy_
on_ Sequence[Getpushes App Spec Worker Image Deploy On Push] - Whether to automatically deploy new commits made to the repo.
- registry_
type str - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository str
- The repository name.
- registry str
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry_
credentials str - Access credentials for third-party registries
- tag str
- The repository tag. Defaults to
latest
if not provided.
- deploy
On List<Property Map>Pushes - Whether to automatically deploy new commits made to the repo.
- registry
Type String - The registry type. One of
DOCR
(DigitalOcean container registry) orDOCKER_HUB
. - repository String
- The repository name.
- registry String
- The registry name. Must be left empty for the
DOCR
registry type. Required for theDOCKER_HUB
registry type. - registry
Credentials String - Access credentials for third-party registries
- tag String
- The repository tag. Defaults to
latest
if not provided.
GetAppSpecWorkerImageDeployOnPush
- Enabled bool
- Whether to automatically deploy images pushed to DOCR.
- Enabled bool
- Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
- Whether to automatically deploy images pushed to DOCR.
- enabled boolean
- Whether to automatically deploy images pushed to DOCR.
- enabled bool
- Whether to automatically deploy images pushed to DOCR.
- enabled Boolean
- Whether to automatically deploy images pushed to DOCR.
GetAppSpecWorkerLogDestination
- Name string
- The name of the component.
- Datadog
Pulumi.
Digital Ocean. Inputs. Get App Spec Worker Log Destination Datadog - Datadog configuration.
- Logtail
Pulumi.
Digital Ocean. Inputs. Get App Spec Worker Log Destination Logtail - Logtail configuration.
- Open
Search Pulumi.Digital Ocean. Inputs. Get App Spec Worker Log Destination Open Search - OpenSearch configuration.
- Papertrail
Pulumi.
Digital Ocean. Inputs. Get App Spec Worker Log Destination Papertrail - Papertrail configuration.
- Name string
- The name of the component.
- Datadog
Get
App Spec Worker Log Destination Datadog - Datadog configuration.
- Logtail
Get
App Spec Worker Log Destination Logtail - Logtail configuration.
- Open
Search GetApp Spec Worker Log Destination Open Search - OpenSearch configuration.
- Papertrail
Get
App Spec Worker Log Destination Papertrail - Papertrail configuration.
- name String
- The name of the component.
- datadog
Get
App Spec Worker Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Worker Log Destination Logtail - Logtail configuration.
- open
Search GetApp Spec Worker Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Worker Log Destination Papertrail - Papertrail configuration.
- name string
- The name of the component.
- datadog
Get
App Spec Worker Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Worker Log Destination Logtail - Logtail configuration.
- open
Search GetApp Spec Worker Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Worker Log Destination Papertrail - Papertrail configuration.
- name str
- The name of the component.
- datadog
Get
App Spec Worker Log Destination Datadog - Datadog configuration.
- logtail
Get
App Spec Worker Log Destination Logtail - Logtail configuration.
- open_
search GetApp Spec Worker Log Destination Open Search - OpenSearch configuration.
- papertrail
Get
App Spec Worker Log Destination Papertrail - Papertrail configuration.
- name String
- The name of the component.
- datadog Property Map
- Datadog configuration.
- logtail Property Map
- Logtail configuration.
- open
Search Property Map - OpenSearch configuration.
- papertrail Property Map
- Papertrail configuration.
GetAppSpecWorkerLogDestinationDatadog
GetAppSpecWorkerLogDestinationLogtail
- Token string
- Logtail token.
- Token string
- Logtail token.
- token String
- Logtail token.
- token string
- Logtail token.
- token str
- Logtail token.
- token String
- Logtail token.
GetAppSpecWorkerLogDestinationOpenSearch
- Basic
Auth Pulumi.Digital Ocean. Inputs. Get App Spec Worker Log Destination Open Search Basic Auth - OpenSearch basic auth
- Cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- Basic
Auth GetApp Spec Worker Log Destination Open Search Basic Auth - OpenSearch basic auth
- Cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth GetApp Spec Worker Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster
Name String - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name String - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth GetApp Spec Worker Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster
Name string - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name string - The index name to use for the logs. If not set, the default index name is
logs
.
- basic_
auth GetApp Spec Worker Log Destination Open Search Basic Auth - OpenSearch basic auth
- cluster_
name str - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint str
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index_
name str - The index name to use for the logs. If not set, the default index name is
logs
.
- basic
Auth Property Map - OpenSearch basic auth
- cluster
Name String - The name of the underlying DigitalOcean DBaaS cluster. This is required for production databases. For dev databases, if
cluster_name
is not set, a new cluster will be provisioned. - endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- index
Name String - The index name to use for the logs. If not set, the default index name is
logs
.
GetAppSpecWorkerLogDestinationOpenSearchBasicAuth
GetAppSpecWorkerLogDestinationPapertrail
- Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- Endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint string
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint str
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
- endpoint String
- OpenSearch API Endpoint. Only HTTPS is supported. Format: https://:.
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitalocean
Terraform Provider.