AppSpecStaticSiteArgs

data class AppSpecStaticSiteArgs(val bitbucket: Output<AppSpecStaticSiteBitbucketArgs>? = null, val buildCommand: Output<String>? = null, val catchallDocument: Output<String>? = null, val cors: Output<AppSpecStaticSiteCorsArgs>? = null, val dockerfilePath: Output<String>? = null, val environmentSlug: Output<String>? = null, val envs: Output<List<AppSpecStaticSiteEnvArgs>>? = null, val errorDocument: Output<String>? = null, val git: Output<AppSpecStaticSiteGitArgs>? = null, val github: Output<AppSpecStaticSiteGithubArgs>? = null, val gitlab: Output<AppSpecStaticSiteGitlabArgs>? = null, val indexDocument: Output<String>? = null, val name: Output<String>, val outputDir: Output<String>? = null, val routes: Output<List<AppSpecStaticSiteRouteArgs>>? = null, val sourceDir: Output<String>? = null) : ConvertibleToJava<AppSpecStaticSiteArgs>

Constructors

Link copied to clipboard
constructor(bitbucket: Output<AppSpecStaticSiteBitbucketArgs>? = null, buildCommand: Output<String>? = null, catchallDocument: Output<String>? = null, cors: Output<AppSpecStaticSiteCorsArgs>? = null, dockerfilePath: Output<String>? = null, environmentSlug: Output<String>? = null, envs: Output<List<AppSpecStaticSiteEnvArgs>>? = null, errorDocument: Output<String>? = null, git: Output<AppSpecStaticSiteGitArgs>? = null, github: Output<AppSpecStaticSiteGithubArgs>? = null, gitlab: Output<AppSpecStaticSiteGitlabArgs>? = null, indexDocument: Output<String>? = null, name: Output<String>, outputDir: Output<String>? = null, routes: Output<List<AppSpecStaticSiteRouteArgs>>? = null, sourceDir: Output<String>? = null)

Properties

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 buildCommand: Output<String>? = null

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

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

The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.

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

The CORS policies of the app.

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

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

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

An environment slug describing the type of this app.

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

Describes an environment variable made available to an app competent.

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

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

Link copied to clipboard
val git: Output<AppSpecStaticSiteGitArgs>? = 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<AppSpecStaticSiteGithubArgs>? = 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<AppSpecStaticSiteGitlabArgs>? = 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
val indexDocument: Output<String>? = null

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

Link copied to clipboard
val name: Output<String>

The name of the component.

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

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.

Link copied to clipboard
val routes: Output<List<AppSpecStaticSiteRouteArgs>>? = 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(): AppSpecStaticSiteArgs