PagesProjectArgs

data class PagesProjectArgs(val accountId: Output<String>? = null, val buildConfig: Output<PagesProjectBuildConfigArgs>? = null, val deploymentConfigs: Output<PagesProjectDeploymentConfigsArgs>? = null, val name: Output<String>? = null, val productionBranch: Output<String>? = null, val source: Output<PagesProjectSourceArgs>? = null) : ConvertibleToJava<PagesProjectArgs>

Provides a resource which manages Cloudflare Pages projects.

If you are using a source block configuration, you must first have a connected GitHub or GitLab account connected to Cloudflare. See the Getting Started with Pages documentation on how to link your accounts.

Import

!> It is not possible to import a pages project with secret environment variables. If you have a secret environment variable, you must remove it from your project before importing it.

$ pulumi import cloudflare:index/pagesProject:PagesProject example <account_id>/<project_name>

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, buildConfig: Output<PagesProjectBuildConfigArgs>? = null, deploymentConfigs: Output<PagesProjectDeploymentConfigsArgs>? = null, name: Output<String>? = null, productionBranch: Output<String>? = null, source: Output<PagesProjectSourceArgs>? = null)

Properties

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

The account identifier to target for the resource.

Link copied to clipboard

Configuration for the project build process. Read more about the build configuration in the developer documentation.

Link copied to clipboard

Configuration for deployments in a project.

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

Name of the project.

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

The name of the branch that is used for the production environment.

Link copied to clipboard
val source: Output<PagesProjectSourceArgs>? = null

Configuration for the project source. Read more about the source configuration in the developer documentation.

Functions

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