AppSpecFunctionArgs

data class AppSpecFunctionArgs(val alerts: Output<List<AppSpecFunctionAlertArgs>>? = null, val bitbucket: Output<AppSpecFunctionBitbucketArgs>? = null, val cors: Output<AppSpecFunctionCorsArgs>? = null, val envs: Output<List<AppSpecFunctionEnvArgs>>? = null, val git: Output<AppSpecFunctionGitArgs>? = null, val github: Output<AppSpecFunctionGithubArgs>? = null, val gitlab: Output<AppSpecFunctionGitlabArgs>? = null, val logDestinations: Output<List<AppSpecFunctionLogDestinationArgs>>? = null, val name: Output<String>, val routes: Output<List<AppSpecFunctionRouteArgs>>? = null, val sourceDir: Output<String>? = null) : ConvertibleToJava<AppSpecFunctionArgs>

Constructors

Link copied to clipboard
constructor(alerts: Output<List<AppSpecFunctionAlertArgs>>? = null, bitbucket: Output<AppSpecFunctionBitbucketArgs>? = null, cors: Output<AppSpecFunctionCorsArgs>? = null, envs: Output<List<AppSpecFunctionEnvArgs>>? = null, git: Output<AppSpecFunctionGitArgs>? = null, github: Output<AppSpecFunctionGithubArgs>? = null, gitlab: Output<AppSpecFunctionGitlabArgs>? = null, logDestinations: Output<List<AppSpecFunctionLogDestinationArgs>>? = null, name: Output<String>, routes: Output<List<AppSpecFunctionRouteArgs>>? = null, sourceDir: Output<String>? = null)

Properties

Link copied to clipboard
val alerts: Output<List<AppSpecFunctionAlertArgs>>? = null

Describes an alert policy for the component.

Link copied to clipboard

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

Link copied to clipboard
val cors: Output<AppSpecFunctionCorsArgs>? = null

The CORS policies of the app.

Link copied to clipboard
val envs: Output<List<AppSpecFunctionEnvArgs>>? = null

Describes an environment variable made available to an app competent.

Link copied to clipboard
val git: Output<AppSpecFunctionGitArgs>? = null

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

Link copied to clipboard
val github: Output<AppSpecFunctionGithubArgs>? = null

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

Link copied to clipboard
val gitlab: Output<AppSpecFunctionGitlabArgs>? = null

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

Link copied to clipboard

Describes a log forwarding destination.

Link copied to clipboard
val name: Output<String>

The name of the component.

Link copied to clipboard
val routes: Output<List<AppSpecFunctionRouteArgs>>? = null

An HTTP paths that should be routed to this component.

Link copied to clipboard
val sourceDir: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): AppSpecFunctionArgs