cloudflare.PagesProject
If you are using a
sourceblock 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.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const examplePagesProject = new cloudflare.PagesProject("example_pages_project", {
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
name: "my-pages-app",
productionBranch: "main",
buildConfig: {
buildCaching: true,
buildCommand: "npm run build",
destinationDir: "build",
rootDir: "/",
webAnalyticsTag: "cee1c73f6e4743d0b5e6bb1a0bcaabcc",
webAnalyticsToken: "021e1057c18547eca7b79f2516f06o7x",
},
deploymentConfigs: {
preview: {
aiBindings: {
AI_BINDING: {
projectId: "some-project-id",
},
},
alwaysUseLatestCompatibilityDate: false,
analyticsEngineDatasets: {
ANALYTICS_ENGINE_BINDING: {
dataset: "api_analytics",
},
},
browsers: {
BROWSER: {},
},
buildImageMajorVersion: 3,
compatibilityDate: "2025-01-01",
compatibilityFlags: ["url_standard"],
d1Databases: {
D1_BINDING: {
id: "445e2955-951a-43f8-a35b-a4d0c8138f63",
},
},
durableObjectNamespaces: {
DO_BINDING: {
namespaceId: "5eb63bbbe01eeed093cb22bb8f5acdc3",
},
},
envVars: {
foo: {
type: "plain_text",
value: "hello world",
},
},
failOpen: true,
hyperdriveBindings: {
HYPERDRIVE: {
id: "a76a99bc342644deb02c38d66082262a",
},
},
kvNamespaces: {
KV_BINDING: {
namespaceId: "5eb63bbbe01eeed093cb22bb8f5acdc3",
},
},
limits: {
cpuMs: 100,
},
mtlsCertificates: {
MTLS: {
certificateId: "d7cdd17c-916f-4cb7-aabe-585eb382ec4e",
},
},
placement: {
mode: "smart",
},
queueProducers: {
QUEUE_PRODUCER_BINDING: {
name: "some-queue",
},
},
r2Buckets: {
R2_BINDING: {
jurisdiction: "eu",
name: "some-bucket",
},
},
services: {
SERVICE_BINDING: {
entrypoint: "MyHandler",
environment: "production",
service: "example-worker",
},
},
usageModel: "standard",
vectorizeBindings: {
VECTORIZE: {
indexName: "my_index",
},
},
wranglerConfigHash: "abc123def456",
},
production: {
aiBindings: {
AI_BINDING: {
projectId: "some-project-id",
},
},
alwaysUseLatestCompatibilityDate: false,
analyticsEngineDatasets: {
ANALYTICS_ENGINE_BINDING: {
dataset: "api_analytics",
},
},
browsers: {
BROWSER: {},
},
buildImageMajorVersion: 3,
compatibilityDate: "2025-01-01",
compatibilityFlags: ["url_standard"],
d1Databases: {
D1_BINDING: {
id: "445e2955-951a-43f8-a35b-a4d0c8138f63",
},
},
durableObjectNamespaces: {
DO_BINDING: {
namespaceId: "5eb63bbbe01eeed093cb22bb8f5acdc3",
},
},
envVars: {
foo: {
type: "plain_text",
value: "hello world",
},
},
failOpen: true,
hyperdriveBindings: {
HYPERDRIVE: {
id: "a76a99bc342644deb02c38d66082262a",
},
},
kvNamespaces: {
KV_BINDING: {
namespaceId: "5eb63bbbe01eeed093cb22bb8f5acdc3",
},
},
limits: {
cpuMs: 100,
},
mtlsCertificates: {
MTLS: {
certificateId: "d7cdd17c-916f-4cb7-aabe-585eb382ec4e",
},
},
placement: {
mode: "smart",
},
queueProducers: {
QUEUE_PRODUCER_BINDING: {
name: "some-queue",
},
},
r2Buckets: {
R2_BINDING: {
jurisdiction: "eu",
name: "some-bucket",
},
},
services: {
SERVICE_BINDING: {
entrypoint: "MyHandler",
environment: "production",
service: "example-worker",
},
},
usageModel: "standard",
vectorizeBindings: {
VECTORIZE: {
indexName: "my_index",
},
},
wranglerConfigHash: "abc123def456",
},
},
source: {
config: {
deploymentsEnabled: true,
owner: "my-org",
pathExcludes: ["string"],
pathIncludes: ["string"],
prCommentsEnabled: true,
previewBranchExcludes: ["string"],
previewBranchIncludes: ["string"],
previewDeploymentSetting: "all",
productionBranch: "main",
productionDeploymentsEnabled: true,
repoName: "my-repo",
},
type: "github",
},
});
import pulumi
import pulumi_cloudflare as cloudflare
example_pages_project = cloudflare.PagesProject("example_pages_project",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
name="my-pages-app",
production_branch="main",
build_config={
"build_caching": True,
"build_command": "npm run build",
"destination_dir": "build",
"root_dir": "/",
"web_analytics_tag": "cee1c73f6e4743d0b5e6bb1a0bcaabcc",
"web_analytics_token": "021e1057c18547eca7b79f2516f06o7x",
},
deployment_configs={
"preview": {
"ai_bindings": {
"AI_BINDING": {
"project_id": "some-project-id",
},
},
"always_use_latest_compatibility_date": False,
"analytics_engine_datasets": {
"ANALYTICS_ENGINE_BINDING": {
"dataset": "api_analytics",
},
},
"browsers": {
"BROWSER": {},
},
"build_image_major_version": 3,
"compatibility_date": "2025-01-01",
"compatibility_flags": ["url_standard"],
"d1_databases": {
"D1_BINDING": {
"id": "445e2955-951a-43f8-a35b-a4d0c8138f63",
},
},
"durable_object_namespaces": {
"DO_BINDING": {
"namespace_id": "5eb63bbbe01eeed093cb22bb8f5acdc3",
},
},
"env_vars": {
"foo": {
"type": "plain_text",
"value": "hello world",
},
},
"fail_open": True,
"hyperdrive_bindings": {
"HYPERDRIVE": {
"id": "a76a99bc342644deb02c38d66082262a",
},
},
"kv_namespaces": {
"KV_BINDING": {
"namespace_id": "5eb63bbbe01eeed093cb22bb8f5acdc3",
},
},
"limits": {
"cpu_ms": 100,
},
"mtls_certificates": {
"MTLS": {
"certificate_id": "d7cdd17c-916f-4cb7-aabe-585eb382ec4e",
},
},
"placement": {
"mode": "smart",
},
"queue_producers": {
"QUEUE_PRODUCER_BINDING": {
"name": "some-queue",
},
},
"r2_buckets": {
"R2_BINDING": {
"jurisdiction": "eu",
"name": "some-bucket",
},
},
"services": {
"SERVICE_BINDING": {
"entrypoint": "MyHandler",
"environment": "production",
"service": "example-worker",
},
},
"usage_model": "standard",
"vectorize_bindings": {
"VECTORIZE": {
"index_name": "my_index",
},
},
"wrangler_config_hash": "abc123def456",
},
"production": {
"ai_bindings": {
"AI_BINDING": {
"project_id": "some-project-id",
},
},
"always_use_latest_compatibility_date": False,
"analytics_engine_datasets": {
"ANALYTICS_ENGINE_BINDING": {
"dataset": "api_analytics",
},
},
"browsers": {
"BROWSER": {},
},
"build_image_major_version": 3,
"compatibility_date": "2025-01-01",
"compatibility_flags": ["url_standard"],
"d1_databases": {
"D1_BINDING": {
"id": "445e2955-951a-43f8-a35b-a4d0c8138f63",
},
},
"durable_object_namespaces": {
"DO_BINDING": {
"namespace_id": "5eb63bbbe01eeed093cb22bb8f5acdc3",
},
},
"env_vars": {
"foo": {
"type": "plain_text",
"value": "hello world",
},
},
"fail_open": True,
"hyperdrive_bindings": {
"HYPERDRIVE": {
"id": "a76a99bc342644deb02c38d66082262a",
},
},
"kv_namespaces": {
"KV_BINDING": {
"namespace_id": "5eb63bbbe01eeed093cb22bb8f5acdc3",
},
},
"limits": {
"cpu_ms": 100,
},
"mtls_certificates": {
"MTLS": {
"certificate_id": "d7cdd17c-916f-4cb7-aabe-585eb382ec4e",
},
},
"placement": {
"mode": "smart",
},
"queue_producers": {
"QUEUE_PRODUCER_BINDING": {
"name": "some-queue",
},
},
"r2_buckets": {
"R2_BINDING": {
"jurisdiction": "eu",
"name": "some-bucket",
},
},
"services": {
"SERVICE_BINDING": {
"entrypoint": "MyHandler",
"environment": "production",
"service": "example-worker",
},
},
"usage_model": "standard",
"vectorize_bindings": {
"VECTORIZE": {
"index_name": "my_index",
},
},
"wrangler_config_hash": "abc123def456",
},
},
source={
"config": {
"deployments_enabled": True,
"owner": "my-org",
"path_excludes": ["string"],
"path_includes": ["string"],
"pr_comments_enabled": True,
"preview_branch_excludes": ["string"],
"preview_branch_includes": ["string"],
"preview_deployment_setting": "all",
"production_branch": "main",
"production_deployments_enabled": True,
"repo_name": "my-repo",
},
"type": "github",
})
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.NewPagesProject(ctx, "example_pages_project", &cloudflare.PagesProjectArgs{
AccountId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
Name: pulumi.String("my-pages-app"),
ProductionBranch: pulumi.String("main"),
BuildConfig: &cloudflare.PagesProjectBuildConfigArgs{
BuildCaching: pulumi.Bool(true),
BuildCommand: pulumi.String("npm run build"),
DestinationDir: pulumi.String("build"),
RootDir: pulumi.String("/"),
WebAnalyticsTag: pulumi.String("cee1c73f6e4743d0b5e6bb1a0bcaabcc"),
WebAnalyticsToken: pulumi.String("021e1057c18547eca7b79f2516f06o7x"),
},
DeploymentConfigs: &cloudflare.PagesProjectDeploymentConfigsArgs{
Preview: &cloudflare.PagesProjectDeploymentConfigsPreviewArgs{
AiBindings: cloudflare.PagesProjectDeploymentConfigsPreviewAiBindingsMap{
"AI_BINDING": &cloudflare.PagesProjectDeploymentConfigsPreviewAiBindingsArgs{
ProjectId: pulumi.String("some-project-id"),
},
},
AlwaysUseLatestCompatibilityDate: pulumi.Bool(false),
AnalyticsEngineDatasets: cloudflare.PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasetsMap{
"ANALYTICS_ENGINE_BINDING": &cloudflare.PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasetsArgs{
Dataset: pulumi.String("api_analytics"),
},
},
Browsers: cloudflare.PagesProjectDeploymentConfigsPreviewBrowsersMap{
"BROWSER": &cloudflare.PagesProjectDeploymentConfigsPreviewBrowsersArgs{},
},
BuildImageMajorVersion: pulumi.Int(3),
CompatibilityDate: pulumi.String("2025-01-01"),
CompatibilityFlags: pulumi.StringArray{
pulumi.String("url_standard"),
},
D1Databases: cloudflare.PagesProjectDeploymentConfigsPreviewD1DatabasesMap{
"D1_BINDING": &cloudflare.PagesProjectDeploymentConfigsPreviewD1DatabasesArgs{
Id: pulumi.String("445e2955-951a-43f8-a35b-a4d0c8138f63"),
},
},
DurableObjectNamespaces: cloudflare.PagesProjectDeploymentConfigsPreviewDurableObjectNamespacesMap{
"DO_BINDING": &cloudflare.PagesProjectDeploymentConfigsPreviewDurableObjectNamespacesArgs{
NamespaceId: pulumi.String("5eb63bbbe01eeed093cb22bb8f5acdc3"),
},
},
EnvVars: cloudflare.PagesProjectDeploymentConfigsPreviewEnvVarsMap{
"foo": &cloudflare.PagesProjectDeploymentConfigsPreviewEnvVarsArgs{
Type: pulumi.String("plain_text"),
Value: pulumi.String("hello world"),
},
},
FailOpen: pulumi.Bool(true),
HyperdriveBindings: cloudflare.PagesProjectDeploymentConfigsPreviewHyperdriveBindingsMap{
"HYPERDRIVE": &cloudflare.PagesProjectDeploymentConfigsPreviewHyperdriveBindingsArgs{
Id: pulumi.String("a76a99bc342644deb02c38d66082262a"),
},
},
KvNamespaces: cloudflare.PagesProjectDeploymentConfigsPreviewKvNamespacesMap{
"KV_BINDING": &cloudflare.PagesProjectDeploymentConfigsPreviewKvNamespacesArgs{
NamespaceId: pulumi.String("5eb63bbbe01eeed093cb22bb8f5acdc3"),
},
},
Limits: &cloudflare.PagesProjectDeploymentConfigsPreviewLimitsArgs{
CpuMs: pulumi.Int(100),
},
MtlsCertificates: cloudflare.PagesProjectDeploymentConfigsPreviewMtlsCertificatesMap{
"MTLS": &cloudflare.PagesProjectDeploymentConfigsPreviewMtlsCertificatesArgs{
CertificateId: pulumi.String("d7cdd17c-916f-4cb7-aabe-585eb382ec4e"),
},
},
Placement: &cloudflare.PagesProjectDeploymentConfigsPreviewPlacementArgs{
Mode: pulumi.String("smart"),
},
QueueProducers: cloudflare.PagesProjectDeploymentConfigsPreviewQueueProducersMap{
"QUEUE_PRODUCER_BINDING": &cloudflare.PagesProjectDeploymentConfigsPreviewQueueProducersArgs{
Name: pulumi.String("some-queue"),
},
},
R2Buckets: cloudflare.PagesProjectDeploymentConfigsPreviewR2BucketsMap{
"R2_BINDING": &cloudflare.PagesProjectDeploymentConfigsPreviewR2BucketsArgs{
Jurisdiction: pulumi.String("eu"),
Name: pulumi.String("some-bucket"),
},
},
Services: cloudflare.PagesProjectDeploymentConfigsPreviewServicesMap{
"SERVICE_BINDING": &cloudflare.PagesProjectDeploymentConfigsPreviewServicesArgs{
Entrypoint: pulumi.String("MyHandler"),
Environment: pulumi.String("production"),
Service: pulumi.String("example-worker"),
},
},
UsageModel: pulumi.String("standard"),
VectorizeBindings: cloudflare.PagesProjectDeploymentConfigsPreviewVectorizeBindingsMap{
"VECTORIZE": &cloudflare.PagesProjectDeploymentConfigsPreviewVectorizeBindingsArgs{
IndexName: pulumi.String("my_index"),
},
},
WranglerConfigHash: pulumi.String("abc123def456"),
},
Production: &cloudflare.PagesProjectDeploymentConfigsProductionArgs{
AiBindings: cloudflare.PagesProjectDeploymentConfigsProductionAiBindingsMap{
"AI_BINDING": &cloudflare.PagesProjectDeploymentConfigsProductionAiBindingsArgs{
ProjectId: pulumi.String("some-project-id"),
},
},
AlwaysUseLatestCompatibilityDate: pulumi.Bool(false),
AnalyticsEngineDatasets: cloudflare.PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasetsMap{
"ANALYTICS_ENGINE_BINDING": &cloudflare.PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasetsArgs{
Dataset: pulumi.String("api_analytics"),
},
},
Browsers: cloudflare.PagesProjectDeploymentConfigsProductionBrowsersMap{
"BROWSER": &cloudflare.PagesProjectDeploymentConfigsProductionBrowsersArgs{},
},
BuildImageMajorVersion: pulumi.Int(3),
CompatibilityDate: pulumi.String("2025-01-01"),
CompatibilityFlags: pulumi.StringArray{
pulumi.String("url_standard"),
},
D1Databases: cloudflare.PagesProjectDeploymentConfigsProductionD1DatabasesMap{
"D1_BINDING": &cloudflare.PagesProjectDeploymentConfigsProductionD1DatabasesArgs{
Id: pulumi.String("445e2955-951a-43f8-a35b-a4d0c8138f63"),
},
},
DurableObjectNamespaces: cloudflare.PagesProjectDeploymentConfigsProductionDurableObjectNamespacesMap{
"DO_BINDING": &cloudflare.PagesProjectDeploymentConfigsProductionDurableObjectNamespacesArgs{
NamespaceId: pulumi.String("5eb63bbbe01eeed093cb22bb8f5acdc3"),
},
},
EnvVars: cloudflare.PagesProjectDeploymentConfigsProductionEnvVarsMap{
"foo": &cloudflare.PagesProjectDeploymentConfigsProductionEnvVarsArgs{
Type: pulumi.String("plain_text"),
Value: pulumi.String("hello world"),
},
},
FailOpen: pulumi.Bool(true),
HyperdriveBindings: cloudflare.PagesProjectDeploymentConfigsProductionHyperdriveBindingsMap{
"HYPERDRIVE": &cloudflare.PagesProjectDeploymentConfigsProductionHyperdriveBindingsArgs{
Id: pulumi.String("a76a99bc342644deb02c38d66082262a"),
},
},
KvNamespaces: cloudflare.PagesProjectDeploymentConfigsProductionKvNamespacesMap{
"KV_BINDING": &cloudflare.PagesProjectDeploymentConfigsProductionKvNamespacesArgs{
NamespaceId: pulumi.String("5eb63bbbe01eeed093cb22bb8f5acdc3"),
},
},
Limits: &cloudflare.PagesProjectDeploymentConfigsProductionLimitsArgs{
CpuMs: pulumi.Int(100),
},
MtlsCertificates: cloudflare.PagesProjectDeploymentConfigsProductionMtlsCertificatesMap{
"MTLS": &cloudflare.PagesProjectDeploymentConfigsProductionMtlsCertificatesArgs{
CertificateId: pulumi.String("d7cdd17c-916f-4cb7-aabe-585eb382ec4e"),
},
},
Placement: &cloudflare.PagesProjectDeploymentConfigsProductionPlacementArgs{
Mode: pulumi.String("smart"),
},
QueueProducers: cloudflare.PagesProjectDeploymentConfigsProductionQueueProducersMap{
"QUEUE_PRODUCER_BINDING": &cloudflare.PagesProjectDeploymentConfigsProductionQueueProducersArgs{
Name: pulumi.String("some-queue"),
},
},
R2Buckets: cloudflare.PagesProjectDeploymentConfigsProductionR2BucketsMap{
"R2_BINDING": &cloudflare.PagesProjectDeploymentConfigsProductionR2BucketsArgs{
Jurisdiction: pulumi.String("eu"),
Name: pulumi.String("some-bucket"),
},
},
Services: cloudflare.PagesProjectDeploymentConfigsProductionServicesMap{
"SERVICE_BINDING": &cloudflare.PagesProjectDeploymentConfigsProductionServicesArgs{
Entrypoint: pulumi.String("MyHandler"),
Environment: pulumi.String("production"),
Service: pulumi.String("example-worker"),
},
},
UsageModel: pulumi.String("standard"),
VectorizeBindings: cloudflare.PagesProjectDeploymentConfigsProductionVectorizeBindingsMap{
"VECTORIZE": &cloudflare.PagesProjectDeploymentConfigsProductionVectorizeBindingsArgs{
IndexName: pulumi.String("my_index"),
},
},
WranglerConfigHash: pulumi.String("abc123def456"),
},
},
Source: &cloudflare.PagesProjectSourceArgs{
Config: &cloudflare.PagesProjectSourceConfigArgs{
DeploymentsEnabled: pulumi.Bool(true),
Owner: pulumi.String("my-org"),
PathExcludes: pulumi.StringArray{
pulumi.String("string"),
},
PathIncludes: pulumi.StringArray{
pulumi.String("string"),
},
PrCommentsEnabled: pulumi.Bool(true),
PreviewBranchExcludes: pulumi.StringArray{
pulumi.String("string"),
},
PreviewBranchIncludes: pulumi.StringArray{
pulumi.String("string"),
},
PreviewDeploymentSetting: pulumi.String("all"),
ProductionBranch: pulumi.String("main"),
ProductionDeploymentsEnabled: pulumi.Bool(true),
RepoName: pulumi.String("my-repo"),
},
Type: pulumi.String("github"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var examplePagesProject = new Cloudflare.PagesProject("example_pages_project", new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
Name = "my-pages-app",
ProductionBranch = "main",
BuildConfig = new Cloudflare.Inputs.PagesProjectBuildConfigArgs
{
BuildCaching = true,
BuildCommand = "npm run build",
DestinationDir = "build",
RootDir = "/",
WebAnalyticsTag = "cee1c73f6e4743d0b5e6bb1a0bcaabcc",
WebAnalyticsToken = "021e1057c18547eca7b79f2516f06o7x",
},
DeploymentConfigs = new Cloudflare.Inputs.PagesProjectDeploymentConfigsArgs
{
Preview = new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewArgs
{
AiBindings =
{
{ "AI_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewAiBindingsArgs
{
ProjectId = "some-project-id",
} },
},
AlwaysUseLatestCompatibilityDate = false,
AnalyticsEngineDatasets =
{
{ "ANALYTICS_ENGINE_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasetsArgs
{
Dataset = "api_analytics",
} },
},
Browsers =
{
{ "BROWSER", null },
},
BuildImageMajorVersion = 3,
CompatibilityDate = "2025-01-01",
CompatibilityFlags = new[]
{
"url_standard",
},
D1Databases =
{
{ "D1_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewD1DatabasesArgs
{
Id = "445e2955-951a-43f8-a35b-a4d0c8138f63",
} },
},
DurableObjectNamespaces =
{
{ "DO_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewDurableObjectNamespacesArgs
{
NamespaceId = "5eb63bbbe01eeed093cb22bb8f5acdc3",
} },
},
EnvVars =
{
{ "foo", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewEnvVarsArgs
{
Type = "plain_text",
Value = "hello world",
} },
},
FailOpen = true,
HyperdriveBindings =
{
{ "HYPERDRIVE", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewHyperdriveBindingsArgs
{
Id = "a76a99bc342644deb02c38d66082262a",
} },
},
KvNamespaces =
{
{ "KV_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewKvNamespacesArgs
{
NamespaceId = "5eb63bbbe01eeed093cb22bb8f5acdc3",
} },
},
Limits = new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewLimitsArgs
{
CpuMs = 100,
},
MtlsCertificates =
{
{ "MTLS", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewMtlsCertificatesArgs
{
CertificateId = "d7cdd17c-916f-4cb7-aabe-585eb382ec4e",
} },
},
Placement = new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewPlacementArgs
{
Mode = "smart",
},
QueueProducers =
{
{ "QUEUE_PRODUCER_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewQueueProducersArgs
{
Name = "some-queue",
} },
},
R2Buckets =
{
{ "R2_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewR2BucketsArgs
{
Jurisdiction = "eu",
Name = "some-bucket",
} },
},
Services =
{
{ "SERVICE_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewServicesArgs
{
Entrypoint = "MyHandler",
Environment = "production",
Service = "example-worker",
} },
},
UsageModel = "standard",
VectorizeBindings =
{
{ "VECTORIZE", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewVectorizeBindingsArgs
{
IndexName = "my_index",
} },
},
WranglerConfigHash = "abc123def456",
},
Production = new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionArgs
{
AiBindings =
{
{ "AI_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionAiBindingsArgs
{
ProjectId = "some-project-id",
} },
},
AlwaysUseLatestCompatibilityDate = false,
AnalyticsEngineDatasets =
{
{ "ANALYTICS_ENGINE_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasetsArgs
{
Dataset = "api_analytics",
} },
},
Browsers =
{
{ "BROWSER", null },
},
BuildImageMajorVersion = 3,
CompatibilityDate = "2025-01-01",
CompatibilityFlags = new[]
{
"url_standard",
},
D1Databases =
{
{ "D1_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionD1DatabasesArgs
{
Id = "445e2955-951a-43f8-a35b-a4d0c8138f63",
} },
},
DurableObjectNamespaces =
{
{ "DO_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionDurableObjectNamespacesArgs
{
NamespaceId = "5eb63bbbe01eeed093cb22bb8f5acdc3",
} },
},
EnvVars =
{
{ "foo", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionEnvVarsArgs
{
Type = "plain_text",
Value = "hello world",
} },
},
FailOpen = true,
HyperdriveBindings =
{
{ "HYPERDRIVE", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionHyperdriveBindingsArgs
{
Id = "a76a99bc342644deb02c38d66082262a",
} },
},
KvNamespaces =
{
{ "KV_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionKvNamespacesArgs
{
NamespaceId = "5eb63bbbe01eeed093cb22bb8f5acdc3",
} },
},
Limits = new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionLimitsArgs
{
CpuMs = 100,
},
MtlsCertificates =
{
{ "MTLS", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionMtlsCertificatesArgs
{
CertificateId = "d7cdd17c-916f-4cb7-aabe-585eb382ec4e",
} },
},
Placement = new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionPlacementArgs
{
Mode = "smart",
},
QueueProducers =
{
{ "QUEUE_PRODUCER_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionQueueProducersArgs
{
Name = "some-queue",
} },
},
R2Buckets =
{
{ "R2_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionR2BucketsArgs
{
Jurisdiction = "eu",
Name = "some-bucket",
} },
},
Services =
{
{ "SERVICE_BINDING", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionServicesArgs
{
Entrypoint = "MyHandler",
Environment = "production",
Service = "example-worker",
} },
},
UsageModel = "standard",
VectorizeBindings =
{
{ "VECTORIZE", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionVectorizeBindingsArgs
{
IndexName = "my_index",
} },
},
WranglerConfigHash = "abc123def456",
},
},
Source = new Cloudflare.Inputs.PagesProjectSourceArgs
{
Config = new Cloudflare.Inputs.PagesProjectSourceConfigArgs
{
DeploymentsEnabled = true,
Owner = "my-org",
PathExcludes = new[]
{
"string",
},
PathIncludes = new[]
{
"string",
},
PrCommentsEnabled = true,
PreviewBranchExcludes = new[]
{
"string",
},
PreviewBranchIncludes = new[]
{
"string",
},
PreviewDeploymentSetting = "all",
ProductionBranch = "main",
ProductionDeploymentsEnabled = true,
RepoName = "my-repo",
},
Type = "github",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.PagesProject;
import com.pulumi.cloudflare.PagesProjectArgs;
import com.pulumi.cloudflare.inputs.PagesProjectBuildConfigArgs;
import com.pulumi.cloudflare.inputs.PagesProjectDeploymentConfigsArgs;
import com.pulumi.cloudflare.inputs.PagesProjectDeploymentConfigsPreviewArgs;
import com.pulumi.cloudflare.inputs.PagesProjectDeploymentConfigsPreviewLimitsArgs;
import com.pulumi.cloudflare.inputs.PagesProjectDeploymentConfigsPreviewPlacementArgs;
import com.pulumi.cloudflare.inputs.PagesProjectDeploymentConfigsProductionArgs;
import com.pulumi.cloudflare.inputs.PagesProjectDeploymentConfigsProductionLimitsArgs;
import com.pulumi.cloudflare.inputs.PagesProjectDeploymentConfigsProductionPlacementArgs;
import com.pulumi.cloudflare.inputs.PagesProjectSourceArgs;
import com.pulumi.cloudflare.inputs.PagesProjectSourceConfigArgs;
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) {
var examplePagesProject = new PagesProject("examplePagesProject", PagesProjectArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.name("my-pages-app")
.productionBranch("main")
.buildConfig(PagesProjectBuildConfigArgs.builder()
.buildCaching(true)
.buildCommand("npm run build")
.destinationDir("build")
.rootDir("/")
.webAnalyticsTag("cee1c73f6e4743d0b5e6bb1a0bcaabcc")
.webAnalyticsToken("021e1057c18547eca7b79f2516f06o7x")
.build())
.deploymentConfigs(PagesProjectDeploymentConfigsArgs.builder()
.preview(PagesProjectDeploymentConfigsPreviewArgs.builder()
.aiBindings(Map.of("AI_BINDING", PagesProjectDeploymentConfigsPreviewAiBindingsArgs.builder()
.projectId("some-project-id")
.build()))
.alwaysUseLatestCompatibilityDate(false)
.analyticsEngineDatasets(Map.of("ANALYTICS_ENGINE_BINDING", PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasetsArgs.builder()
.dataset("api_analytics")
.build()))
.browsers(Map.of("BROWSER", PagesProjectDeploymentConfigsPreviewBrowsersArgs.builder()
.build()))
.buildImageMajorVersion(3)
.compatibilityDate("2025-01-01")
.compatibilityFlags("url_standard")
.d1Databases(Map.of("D1_BINDING", PagesProjectDeploymentConfigsPreviewD1DatabasesArgs.builder()
.id("445e2955-951a-43f8-a35b-a4d0c8138f63")
.build()))
.durableObjectNamespaces(Map.of("DO_BINDING", PagesProjectDeploymentConfigsPreviewDurableObjectNamespacesArgs.builder()
.namespaceId("5eb63bbbe01eeed093cb22bb8f5acdc3")
.build()))
.envVars(Map.of("foo", PagesProjectDeploymentConfigsPreviewEnvVarsArgs.builder()
.type("plain_text")
.value("hello world")
.build()))
.failOpen(true)
.hyperdriveBindings(Map.of("HYPERDRIVE", PagesProjectDeploymentConfigsPreviewHyperdriveBindingsArgs.builder()
.id("a76a99bc342644deb02c38d66082262a")
.build()))
.kvNamespaces(Map.of("KV_BINDING", PagesProjectDeploymentConfigsPreviewKvNamespacesArgs.builder()
.namespaceId("5eb63bbbe01eeed093cb22bb8f5acdc3")
.build()))
.limits(PagesProjectDeploymentConfigsPreviewLimitsArgs.builder()
.cpuMs(100)
.build())
.mtlsCertificates(Map.of("MTLS", PagesProjectDeploymentConfigsPreviewMtlsCertificatesArgs.builder()
.certificateId("d7cdd17c-916f-4cb7-aabe-585eb382ec4e")
.build()))
.placement(PagesProjectDeploymentConfigsPreviewPlacementArgs.builder()
.mode("smart")
.build())
.queueProducers(Map.of("QUEUE_PRODUCER_BINDING", PagesProjectDeploymentConfigsPreviewQueueProducersArgs.builder()
.name("some-queue")
.build()))
.r2Buckets(Map.of("R2_BINDING", PagesProjectDeploymentConfigsPreviewR2BucketsArgs.builder()
.jurisdiction("eu")
.name("some-bucket")
.build()))
.services(Map.of("SERVICE_BINDING", PagesProjectDeploymentConfigsPreviewServicesArgs.builder()
.entrypoint("MyHandler")
.environment("production")
.service("example-worker")
.build()))
.usageModel("standard")
.vectorizeBindings(Map.of("VECTORIZE", PagesProjectDeploymentConfigsPreviewVectorizeBindingsArgs.builder()
.indexName("my_index")
.build()))
.wranglerConfigHash("abc123def456")
.build())
.production(PagesProjectDeploymentConfigsProductionArgs.builder()
.aiBindings(Map.of("AI_BINDING", PagesProjectDeploymentConfigsProductionAiBindingsArgs.builder()
.projectId("some-project-id")
.build()))
.alwaysUseLatestCompatibilityDate(false)
.analyticsEngineDatasets(Map.of("ANALYTICS_ENGINE_BINDING", PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasetsArgs.builder()
.dataset("api_analytics")
.build()))
.browsers(Map.of("BROWSER", PagesProjectDeploymentConfigsProductionBrowsersArgs.builder()
.build()))
.buildImageMajorVersion(3)
.compatibilityDate("2025-01-01")
.compatibilityFlags("url_standard")
.d1Databases(Map.of("D1_BINDING", PagesProjectDeploymentConfigsProductionD1DatabasesArgs.builder()
.id("445e2955-951a-43f8-a35b-a4d0c8138f63")
.build()))
.durableObjectNamespaces(Map.of("DO_BINDING", PagesProjectDeploymentConfigsProductionDurableObjectNamespacesArgs.builder()
.namespaceId("5eb63bbbe01eeed093cb22bb8f5acdc3")
.build()))
.envVars(Map.of("foo", PagesProjectDeploymentConfigsProductionEnvVarsArgs.builder()
.type("plain_text")
.value("hello world")
.build()))
.failOpen(true)
.hyperdriveBindings(Map.of("HYPERDRIVE", PagesProjectDeploymentConfigsProductionHyperdriveBindingsArgs.builder()
.id("a76a99bc342644deb02c38d66082262a")
.build()))
.kvNamespaces(Map.of("KV_BINDING", PagesProjectDeploymentConfigsProductionKvNamespacesArgs.builder()
.namespaceId("5eb63bbbe01eeed093cb22bb8f5acdc3")
.build()))
.limits(PagesProjectDeploymentConfigsProductionLimitsArgs.builder()
.cpuMs(100)
.build())
.mtlsCertificates(Map.of("MTLS", PagesProjectDeploymentConfigsProductionMtlsCertificatesArgs.builder()
.certificateId("d7cdd17c-916f-4cb7-aabe-585eb382ec4e")
.build()))
.placement(PagesProjectDeploymentConfigsProductionPlacementArgs.builder()
.mode("smart")
.build())
.queueProducers(Map.of("QUEUE_PRODUCER_BINDING", PagesProjectDeploymentConfigsProductionQueueProducersArgs.builder()
.name("some-queue")
.build()))
.r2Buckets(Map.of("R2_BINDING", PagesProjectDeploymentConfigsProductionR2BucketsArgs.builder()
.jurisdiction("eu")
.name("some-bucket")
.build()))
.services(Map.of("SERVICE_BINDING", PagesProjectDeploymentConfigsProductionServicesArgs.builder()
.entrypoint("MyHandler")
.environment("production")
.service("example-worker")
.build()))
.usageModel("standard")
.vectorizeBindings(Map.of("VECTORIZE", PagesProjectDeploymentConfigsProductionVectorizeBindingsArgs.builder()
.indexName("my_index")
.build()))
.wranglerConfigHash("abc123def456")
.build())
.build())
.source(PagesProjectSourceArgs.builder()
.config(PagesProjectSourceConfigArgs.builder()
.deploymentsEnabled(true)
.owner("my-org")
.pathExcludes("string")
.pathIncludes("string")
.prCommentsEnabled(true)
.previewBranchExcludes("string")
.previewBranchIncludes("string")
.previewDeploymentSetting("all")
.productionBranch("main")
.productionDeploymentsEnabled(true)
.repoName("my-repo")
.build())
.type("github")
.build())
.build());
}
}
resources:
examplePagesProject:
type: cloudflare:PagesProject
name: example_pages_project
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
name: my-pages-app
productionBranch: main
buildConfig:
buildCaching: true
buildCommand: npm run build
destinationDir: build
rootDir: /
webAnalyticsTag: cee1c73f6e4743d0b5e6bb1a0bcaabcc
webAnalyticsToken: 021e1057c18547eca7b79f2516f06o7x
deploymentConfigs:
preview:
aiBindings:
AI_BINDING:
projectId: some-project-id
alwaysUseLatestCompatibilityDate: false
analyticsEngineDatasets:
ANALYTICS_ENGINE_BINDING:
dataset: api_analytics
browsers:
BROWSER: {}
buildImageMajorVersion: 3
compatibilityDate: 2025-01-01
compatibilityFlags:
- url_standard
d1Databases:
D1_BINDING:
id: 445e2955-951a-43f8-a35b-a4d0c8138f63
durableObjectNamespaces:
DO_BINDING:
namespaceId: 5eb63bbbe01eeed093cb22bb8f5acdc3
envVars:
foo:
type: plain_text
value: hello world
failOpen: true
hyperdriveBindings:
HYPERDRIVE:
id: a76a99bc342644deb02c38d66082262a
kvNamespaces:
KV_BINDING:
namespaceId: 5eb63bbbe01eeed093cb22bb8f5acdc3
limits:
cpuMs: 100
mtlsCertificates:
MTLS:
certificateId: d7cdd17c-916f-4cb7-aabe-585eb382ec4e
placement:
mode: smart
queueProducers:
QUEUE_PRODUCER_BINDING:
name: some-queue
r2Buckets:
R2_BINDING:
jurisdiction: eu
name: some-bucket
services:
SERVICE_BINDING:
entrypoint: MyHandler
environment: production
service: example-worker
usageModel: standard
vectorizeBindings:
VECTORIZE:
indexName: my_index
wranglerConfigHash: abc123def456
production:
aiBindings:
AI_BINDING:
projectId: some-project-id
alwaysUseLatestCompatibilityDate: false
analyticsEngineDatasets:
ANALYTICS_ENGINE_BINDING:
dataset: api_analytics
browsers:
BROWSER: {}
buildImageMajorVersion: 3
compatibilityDate: 2025-01-01
compatibilityFlags:
- url_standard
d1Databases:
D1_BINDING:
id: 445e2955-951a-43f8-a35b-a4d0c8138f63
durableObjectNamespaces:
DO_BINDING:
namespaceId: 5eb63bbbe01eeed093cb22bb8f5acdc3
envVars:
foo:
type: plain_text
value: hello world
failOpen: true
hyperdriveBindings:
HYPERDRIVE:
id: a76a99bc342644deb02c38d66082262a
kvNamespaces:
KV_BINDING:
namespaceId: 5eb63bbbe01eeed093cb22bb8f5acdc3
limits:
cpuMs: 100
mtlsCertificates:
MTLS:
certificateId: d7cdd17c-916f-4cb7-aabe-585eb382ec4e
placement:
mode: smart
queueProducers:
QUEUE_PRODUCER_BINDING:
name: some-queue
r2Buckets:
R2_BINDING:
jurisdiction: eu
name: some-bucket
services:
SERVICE_BINDING:
entrypoint: MyHandler
environment: production
service: example-worker
usageModel: standard
vectorizeBindings:
VECTORIZE:
indexName: my_index
wranglerConfigHash: abc123def456
source:
config:
deploymentsEnabled: true
owner: my-org
pathExcludes:
- string
pathIncludes:
- string
prCommentsEnabled: true
previewBranchExcludes:
- string
previewBranchIncludes:
- string
previewDeploymentSetting: all
productionBranch: main
productionDeploymentsEnabled: true
repoName: my-repo
type: github
Create PagesProject Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PagesProject(name: string, args: PagesProjectArgs, opts?: CustomResourceOptions);@overload
def PagesProject(resource_name: str,
args: PagesProjectArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PagesProject(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
name: Optional[str] = None,
production_branch: Optional[str] = None,
build_config: Optional[PagesProjectBuildConfigArgs] = None,
deployment_configs: Optional[PagesProjectDeploymentConfigsArgs] = None,
source: Optional[PagesProjectSourceArgs] = None)func NewPagesProject(ctx *Context, name string, args PagesProjectArgs, opts ...ResourceOption) (*PagesProject, error)public PagesProject(string name, PagesProjectArgs args, CustomResourceOptions? opts = null)
public PagesProject(String name, PagesProjectArgs args)
public PagesProject(String name, PagesProjectArgs args, CustomResourceOptions options)
type: cloudflare:PagesProject
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PagesProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PagesProjectArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PagesProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PagesProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PagesProjectArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var pagesProjectResource = new Cloudflare.PagesProject("pagesProjectResource", new()
{
AccountId = "string",
Name = "string",
ProductionBranch = "string",
BuildConfig = new Cloudflare.Inputs.PagesProjectBuildConfigArgs
{
BuildCaching = false,
BuildCommand = "string",
DestinationDir = "string",
RootDir = "string",
WebAnalyticsTag = "string",
WebAnalyticsToken = "string",
},
DeploymentConfigs = new Cloudflare.Inputs.PagesProjectDeploymentConfigsArgs
{
Preview = new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewArgs
{
AiBindings =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewAiBindingsArgs
{
ProjectId = "string",
} },
},
AlwaysUseLatestCompatibilityDate = false,
AnalyticsEngineDatasets =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasetsArgs
{
Dataset = "string",
} },
},
Browsers =
{
{ "string", null },
},
BuildImageMajorVersion = 0,
CompatibilityDate = "string",
CompatibilityFlags = new[]
{
"string",
},
D1Databases =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewD1DatabasesArgs
{
Id = "string",
} },
},
DurableObjectNamespaces =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewDurableObjectNamespacesArgs
{
NamespaceId = "string",
} },
},
EnvVars =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewEnvVarsArgs
{
Type = "string",
Value = "string",
} },
},
FailOpen = false,
HyperdriveBindings =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewHyperdriveBindingsArgs
{
Id = "string",
} },
},
KvNamespaces =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewKvNamespacesArgs
{
NamespaceId = "string",
} },
},
Limits = new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewLimitsArgs
{
CpuMs = 0,
},
MtlsCertificates =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewMtlsCertificatesArgs
{
CertificateId = "string",
} },
},
Placement = new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewPlacementArgs
{
Mode = "string",
},
QueueProducers =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewQueueProducersArgs
{
Name = "string",
} },
},
R2Buckets =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewR2BucketsArgs
{
Jurisdiction = "string",
Name = "string",
} },
},
Services =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewServicesArgs
{
Entrypoint = "string",
Environment = "string",
Service = "string",
} },
},
VectorizeBindings =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewVectorizeBindingsArgs
{
IndexName = "string",
} },
},
WranglerConfigHash = "string",
},
Production = new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionArgs
{
AiBindings =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionAiBindingsArgs
{
ProjectId = "string",
} },
},
AlwaysUseLatestCompatibilityDate = false,
AnalyticsEngineDatasets =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasetsArgs
{
Dataset = "string",
} },
},
Browsers =
{
{ "string", null },
},
BuildImageMajorVersion = 0,
CompatibilityDate = "string",
CompatibilityFlags = new[]
{
"string",
},
D1Databases =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionD1DatabasesArgs
{
Id = "string",
} },
},
DurableObjectNamespaces =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionDurableObjectNamespacesArgs
{
NamespaceId = "string",
} },
},
EnvVars =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionEnvVarsArgs
{
Type = "string",
Value = "string",
} },
},
FailOpen = false,
HyperdriveBindings =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionHyperdriveBindingsArgs
{
Id = "string",
} },
},
KvNamespaces =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionKvNamespacesArgs
{
NamespaceId = "string",
} },
},
Limits = new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionLimitsArgs
{
CpuMs = 0,
},
MtlsCertificates =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionMtlsCertificatesArgs
{
CertificateId = "string",
} },
},
Placement = new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionPlacementArgs
{
Mode = "string",
},
QueueProducers =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionQueueProducersArgs
{
Name = "string",
} },
},
R2Buckets =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionR2BucketsArgs
{
Jurisdiction = "string",
Name = "string",
} },
},
Services =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionServicesArgs
{
Entrypoint = "string",
Environment = "string",
Service = "string",
} },
},
VectorizeBindings =
{
{ "string", new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionVectorizeBindingsArgs
{
IndexName = "string",
} },
},
WranglerConfigHash = "string",
},
},
Source = new Cloudflare.Inputs.PagesProjectSourceArgs
{
Config = new Cloudflare.Inputs.PagesProjectSourceConfigArgs
{
Owner = "string",
PathExcludes = new[]
{
"string",
},
PathIncludes = new[]
{
"string",
},
PrCommentsEnabled = false,
PreviewBranchExcludes = new[]
{
"string",
},
PreviewBranchIncludes = new[]
{
"string",
},
PreviewDeploymentSetting = "string",
ProductionBranch = "string",
ProductionDeploymentsEnabled = false,
RepoName = "string",
},
Type = "string",
},
});
example, err := cloudflare.NewPagesProject(ctx, "pagesProjectResource", &cloudflare.PagesProjectArgs{
AccountId: pulumi.String("string"),
Name: pulumi.String("string"),
ProductionBranch: pulumi.String("string"),
BuildConfig: &cloudflare.PagesProjectBuildConfigArgs{
BuildCaching: pulumi.Bool(false),
BuildCommand: pulumi.String("string"),
DestinationDir: pulumi.String("string"),
RootDir: pulumi.String("string"),
WebAnalyticsTag: pulumi.String("string"),
WebAnalyticsToken: pulumi.String("string"),
},
DeploymentConfigs: &cloudflare.PagesProjectDeploymentConfigsArgs{
Preview: &cloudflare.PagesProjectDeploymentConfigsPreviewArgs{
AiBindings: cloudflare.PagesProjectDeploymentConfigsPreviewAiBindingsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewAiBindingsArgs{
ProjectId: pulumi.String("string"),
},
},
AlwaysUseLatestCompatibilityDate: pulumi.Bool(false),
AnalyticsEngineDatasets: cloudflare.PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasetsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasetsArgs{
Dataset: pulumi.String("string"),
},
},
Browsers: cloudflare.PagesProjectDeploymentConfigsPreviewBrowsersMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewBrowsersArgs{},
},
BuildImageMajorVersion: pulumi.Int(0),
CompatibilityDate: pulumi.String("string"),
CompatibilityFlags: pulumi.StringArray{
pulumi.String("string"),
},
D1Databases: cloudflare.PagesProjectDeploymentConfigsPreviewD1DatabasesMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewD1DatabasesArgs{
Id: pulumi.String("string"),
},
},
DurableObjectNamespaces: cloudflare.PagesProjectDeploymentConfigsPreviewDurableObjectNamespacesMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewDurableObjectNamespacesArgs{
NamespaceId: pulumi.String("string"),
},
},
EnvVars: cloudflare.PagesProjectDeploymentConfigsPreviewEnvVarsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewEnvVarsArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
FailOpen: pulumi.Bool(false),
HyperdriveBindings: cloudflare.PagesProjectDeploymentConfigsPreviewHyperdriveBindingsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewHyperdriveBindingsArgs{
Id: pulumi.String("string"),
},
},
KvNamespaces: cloudflare.PagesProjectDeploymentConfigsPreviewKvNamespacesMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewKvNamespacesArgs{
NamespaceId: pulumi.String("string"),
},
},
Limits: &cloudflare.PagesProjectDeploymentConfigsPreviewLimitsArgs{
CpuMs: pulumi.Int(0),
},
MtlsCertificates: cloudflare.PagesProjectDeploymentConfigsPreviewMtlsCertificatesMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewMtlsCertificatesArgs{
CertificateId: pulumi.String("string"),
},
},
Placement: &cloudflare.PagesProjectDeploymentConfigsPreviewPlacementArgs{
Mode: pulumi.String("string"),
},
QueueProducers: cloudflare.PagesProjectDeploymentConfigsPreviewQueueProducersMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewQueueProducersArgs{
Name: pulumi.String("string"),
},
},
R2Buckets: cloudflare.PagesProjectDeploymentConfigsPreviewR2BucketsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewR2BucketsArgs{
Jurisdiction: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
Services: cloudflare.PagesProjectDeploymentConfigsPreviewServicesMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewServicesArgs{
Entrypoint: pulumi.String("string"),
Environment: pulumi.String("string"),
Service: pulumi.String("string"),
},
},
VectorizeBindings: cloudflare.PagesProjectDeploymentConfigsPreviewVectorizeBindingsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsPreviewVectorizeBindingsArgs{
IndexName: pulumi.String("string"),
},
},
WranglerConfigHash: pulumi.String("string"),
},
Production: &cloudflare.PagesProjectDeploymentConfigsProductionArgs{
AiBindings: cloudflare.PagesProjectDeploymentConfigsProductionAiBindingsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionAiBindingsArgs{
ProjectId: pulumi.String("string"),
},
},
AlwaysUseLatestCompatibilityDate: pulumi.Bool(false),
AnalyticsEngineDatasets: cloudflare.PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasetsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasetsArgs{
Dataset: pulumi.String("string"),
},
},
Browsers: cloudflare.PagesProjectDeploymentConfigsProductionBrowsersMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionBrowsersArgs{},
},
BuildImageMajorVersion: pulumi.Int(0),
CompatibilityDate: pulumi.String("string"),
CompatibilityFlags: pulumi.StringArray{
pulumi.String("string"),
},
D1Databases: cloudflare.PagesProjectDeploymentConfigsProductionD1DatabasesMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionD1DatabasesArgs{
Id: pulumi.String("string"),
},
},
DurableObjectNamespaces: cloudflare.PagesProjectDeploymentConfigsProductionDurableObjectNamespacesMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionDurableObjectNamespacesArgs{
NamespaceId: pulumi.String("string"),
},
},
EnvVars: cloudflare.PagesProjectDeploymentConfigsProductionEnvVarsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionEnvVarsArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
FailOpen: pulumi.Bool(false),
HyperdriveBindings: cloudflare.PagesProjectDeploymentConfigsProductionHyperdriveBindingsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionHyperdriveBindingsArgs{
Id: pulumi.String("string"),
},
},
KvNamespaces: cloudflare.PagesProjectDeploymentConfigsProductionKvNamespacesMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionKvNamespacesArgs{
NamespaceId: pulumi.String("string"),
},
},
Limits: &cloudflare.PagesProjectDeploymentConfigsProductionLimitsArgs{
CpuMs: pulumi.Int(0),
},
MtlsCertificates: cloudflare.PagesProjectDeploymentConfigsProductionMtlsCertificatesMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionMtlsCertificatesArgs{
CertificateId: pulumi.String("string"),
},
},
Placement: &cloudflare.PagesProjectDeploymentConfigsProductionPlacementArgs{
Mode: pulumi.String("string"),
},
QueueProducers: cloudflare.PagesProjectDeploymentConfigsProductionQueueProducersMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionQueueProducersArgs{
Name: pulumi.String("string"),
},
},
R2Buckets: cloudflare.PagesProjectDeploymentConfigsProductionR2BucketsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionR2BucketsArgs{
Jurisdiction: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
Services: cloudflare.PagesProjectDeploymentConfigsProductionServicesMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionServicesArgs{
Entrypoint: pulumi.String("string"),
Environment: pulumi.String("string"),
Service: pulumi.String("string"),
},
},
VectorizeBindings: cloudflare.PagesProjectDeploymentConfigsProductionVectorizeBindingsMap{
"string": &cloudflare.PagesProjectDeploymentConfigsProductionVectorizeBindingsArgs{
IndexName: pulumi.String("string"),
},
},
WranglerConfigHash: pulumi.String("string"),
},
},
Source: &cloudflare.PagesProjectSourceArgs{
Config: &cloudflare.PagesProjectSourceConfigArgs{
Owner: pulumi.String("string"),
PathExcludes: pulumi.StringArray{
pulumi.String("string"),
},
PathIncludes: pulumi.StringArray{
pulumi.String("string"),
},
PrCommentsEnabled: pulumi.Bool(false),
PreviewBranchExcludes: pulumi.StringArray{
pulumi.String("string"),
},
PreviewBranchIncludes: pulumi.StringArray{
pulumi.String("string"),
},
PreviewDeploymentSetting: pulumi.String("string"),
ProductionBranch: pulumi.String("string"),
ProductionDeploymentsEnabled: pulumi.Bool(false),
RepoName: pulumi.String("string"),
},
Type: pulumi.String("string"),
},
})
var pagesProjectResource = new PagesProject("pagesProjectResource", PagesProjectArgs.builder()
.accountId("string")
.name("string")
.productionBranch("string")
.buildConfig(PagesProjectBuildConfigArgs.builder()
.buildCaching(false)
.buildCommand("string")
.destinationDir("string")
.rootDir("string")
.webAnalyticsTag("string")
.webAnalyticsToken("string")
.build())
.deploymentConfigs(PagesProjectDeploymentConfigsArgs.builder()
.preview(PagesProjectDeploymentConfigsPreviewArgs.builder()
.aiBindings(Map.of("string", PagesProjectDeploymentConfigsPreviewAiBindingsArgs.builder()
.projectId("string")
.build()))
.alwaysUseLatestCompatibilityDate(false)
.analyticsEngineDatasets(Map.of("string", PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasetsArgs.builder()
.dataset("string")
.build()))
.browsers(Map.of("string", PagesProjectDeploymentConfigsPreviewBrowsersArgs.builder()
.build()))
.buildImageMajorVersion(0)
.compatibilityDate("string")
.compatibilityFlags("string")
.d1Databases(Map.of("string", PagesProjectDeploymentConfigsPreviewD1DatabasesArgs.builder()
.id("string")
.build()))
.durableObjectNamespaces(Map.of("string", PagesProjectDeploymentConfigsPreviewDurableObjectNamespacesArgs.builder()
.namespaceId("string")
.build()))
.envVars(Map.of("string", PagesProjectDeploymentConfigsPreviewEnvVarsArgs.builder()
.type("string")
.value("string")
.build()))
.failOpen(false)
.hyperdriveBindings(Map.of("string", PagesProjectDeploymentConfigsPreviewHyperdriveBindingsArgs.builder()
.id("string")
.build()))
.kvNamespaces(Map.of("string", PagesProjectDeploymentConfigsPreviewKvNamespacesArgs.builder()
.namespaceId("string")
.build()))
.limits(PagesProjectDeploymentConfigsPreviewLimitsArgs.builder()
.cpuMs(0)
.build())
.mtlsCertificates(Map.of("string", PagesProjectDeploymentConfigsPreviewMtlsCertificatesArgs.builder()
.certificateId("string")
.build()))
.placement(PagesProjectDeploymentConfigsPreviewPlacementArgs.builder()
.mode("string")
.build())
.queueProducers(Map.of("string", PagesProjectDeploymentConfigsPreviewQueueProducersArgs.builder()
.name("string")
.build()))
.r2Buckets(Map.of("string", PagesProjectDeploymentConfigsPreviewR2BucketsArgs.builder()
.jurisdiction("string")
.name("string")
.build()))
.services(Map.of("string", PagesProjectDeploymentConfigsPreviewServicesArgs.builder()
.entrypoint("string")
.environment("string")
.service("string")
.build()))
.vectorizeBindings(Map.of("string", PagesProjectDeploymentConfigsPreviewVectorizeBindingsArgs.builder()
.indexName("string")
.build()))
.wranglerConfigHash("string")
.build())
.production(PagesProjectDeploymentConfigsProductionArgs.builder()
.aiBindings(Map.of("string", PagesProjectDeploymentConfigsProductionAiBindingsArgs.builder()
.projectId("string")
.build()))
.alwaysUseLatestCompatibilityDate(false)
.analyticsEngineDatasets(Map.of("string", PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasetsArgs.builder()
.dataset("string")
.build()))
.browsers(Map.of("string", PagesProjectDeploymentConfigsProductionBrowsersArgs.builder()
.build()))
.buildImageMajorVersion(0)
.compatibilityDate("string")
.compatibilityFlags("string")
.d1Databases(Map.of("string", PagesProjectDeploymentConfigsProductionD1DatabasesArgs.builder()
.id("string")
.build()))
.durableObjectNamespaces(Map.of("string", PagesProjectDeploymentConfigsProductionDurableObjectNamespacesArgs.builder()
.namespaceId("string")
.build()))
.envVars(Map.of("string", PagesProjectDeploymentConfigsProductionEnvVarsArgs.builder()
.type("string")
.value("string")
.build()))
.failOpen(false)
.hyperdriveBindings(Map.of("string", PagesProjectDeploymentConfigsProductionHyperdriveBindingsArgs.builder()
.id("string")
.build()))
.kvNamespaces(Map.of("string", PagesProjectDeploymentConfigsProductionKvNamespacesArgs.builder()
.namespaceId("string")
.build()))
.limits(PagesProjectDeploymentConfigsProductionLimitsArgs.builder()
.cpuMs(0)
.build())
.mtlsCertificates(Map.of("string", PagesProjectDeploymentConfigsProductionMtlsCertificatesArgs.builder()
.certificateId("string")
.build()))
.placement(PagesProjectDeploymentConfigsProductionPlacementArgs.builder()
.mode("string")
.build())
.queueProducers(Map.of("string", PagesProjectDeploymentConfigsProductionQueueProducersArgs.builder()
.name("string")
.build()))
.r2Buckets(Map.of("string", PagesProjectDeploymentConfigsProductionR2BucketsArgs.builder()
.jurisdiction("string")
.name("string")
.build()))
.services(Map.of("string", PagesProjectDeploymentConfigsProductionServicesArgs.builder()
.entrypoint("string")
.environment("string")
.service("string")
.build()))
.vectorizeBindings(Map.of("string", PagesProjectDeploymentConfigsProductionVectorizeBindingsArgs.builder()
.indexName("string")
.build()))
.wranglerConfigHash("string")
.build())
.build())
.source(PagesProjectSourceArgs.builder()
.config(PagesProjectSourceConfigArgs.builder()
.owner("string")
.pathExcludes("string")
.pathIncludes("string")
.prCommentsEnabled(false)
.previewBranchExcludes("string")
.previewBranchIncludes("string")
.previewDeploymentSetting("string")
.productionBranch("string")
.productionDeploymentsEnabled(false)
.repoName("string")
.build())
.type("string")
.build())
.build());
pages_project_resource = cloudflare.PagesProject("pagesProjectResource",
account_id="string",
name="string",
production_branch="string",
build_config={
"build_caching": False,
"build_command": "string",
"destination_dir": "string",
"root_dir": "string",
"web_analytics_tag": "string",
"web_analytics_token": "string",
},
deployment_configs={
"preview": {
"ai_bindings": {
"string": {
"project_id": "string",
},
},
"always_use_latest_compatibility_date": False,
"analytics_engine_datasets": {
"string": {
"dataset": "string",
},
},
"browsers": {
"string": {},
},
"build_image_major_version": 0,
"compatibility_date": "string",
"compatibility_flags": ["string"],
"d1_databases": {
"string": {
"id": "string",
},
},
"durable_object_namespaces": {
"string": {
"namespace_id": "string",
},
},
"env_vars": {
"string": {
"type": "string",
"value": "string",
},
},
"fail_open": False,
"hyperdrive_bindings": {
"string": {
"id": "string",
},
},
"kv_namespaces": {
"string": {
"namespace_id": "string",
},
},
"limits": {
"cpu_ms": 0,
},
"mtls_certificates": {
"string": {
"certificate_id": "string",
},
},
"placement": {
"mode": "string",
},
"queue_producers": {
"string": {
"name": "string",
},
},
"r2_buckets": {
"string": {
"jurisdiction": "string",
"name": "string",
},
},
"services": {
"string": {
"entrypoint": "string",
"environment": "string",
"service": "string",
},
},
"vectorize_bindings": {
"string": {
"index_name": "string",
},
},
"wrangler_config_hash": "string",
},
"production": {
"ai_bindings": {
"string": {
"project_id": "string",
},
},
"always_use_latest_compatibility_date": False,
"analytics_engine_datasets": {
"string": {
"dataset": "string",
},
},
"browsers": {
"string": {},
},
"build_image_major_version": 0,
"compatibility_date": "string",
"compatibility_flags": ["string"],
"d1_databases": {
"string": {
"id": "string",
},
},
"durable_object_namespaces": {
"string": {
"namespace_id": "string",
},
},
"env_vars": {
"string": {
"type": "string",
"value": "string",
},
},
"fail_open": False,
"hyperdrive_bindings": {
"string": {
"id": "string",
},
},
"kv_namespaces": {
"string": {
"namespace_id": "string",
},
},
"limits": {
"cpu_ms": 0,
},
"mtls_certificates": {
"string": {
"certificate_id": "string",
},
},
"placement": {
"mode": "string",
},
"queue_producers": {
"string": {
"name": "string",
},
},
"r2_buckets": {
"string": {
"jurisdiction": "string",
"name": "string",
},
},
"services": {
"string": {
"entrypoint": "string",
"environment": "string",
"service": "string",
},
},
"vectorize_bindings": {
"string": {
"index_name": "string",
},
},
"wrangler_config_hash": "string",
},
},
source={
"config": {
"owner": "string",
"path_excludes": ["string"],
"path_includes": ["string"],
"pr_comments_enabled": False,
"preview_branch_excludes": ["string"],
"preview_branch_includes": ["string"],
"preview_deployment_setting": "string",
"production_branch": "string",
"production_deployments_enabled": False,
"repo_name": "string",
},
"type": "string",
})
const pagesProjectResource = new cloudflare.PagesProject("pagesProjectResource", {
accountId: "string",
name: "string",
productionBranch: "string",
buildConfig: {
buildCaching: false,
buildCommand: "string",
destinationDir: "string",
rootDir: "string",
webAnalyticsTag: "string",
webAnalyticsToken: "string",
},
deploymentConfigs: {
preview: {
aiBindings: {
string: {
projectId: "string",
},
},
alwaysUseLatestCompatibilityDate: false,
analyticsEngineDatasets: {
string: {
dataset: "string",
},
},
browsers: {
string: {},
},
buildImageMajorVersion: 0,
compatibilityDate: "string",
compatibilityFlags: ["string"],
d1Databases: {
string: {
id: "string",
},
},
durableObjectNamespaces: {
string: {
namespaceId: "string",
},
},
envVars: {
string: {
type: "string",
value: "string",
},
},
failOpen: false,
hyperdriveBindings: {
string: {
id: "string",
},
},
kvNamespaces: {
string: {
namespaceId: "string",
},
},
limits: {
cpuMs: 0,
},
mtlsCertificates: {
string: {
certificateId: "string",
},
},
placement: {
mode: "string",
},
queueProducers: {
string: {
name: "string",
},
},
r2Buckets: {
string: {
jurisdiction: "string",
name: "string",
},
},
services: {
string: {
entrypoint: "string",
environment: "string",
service: "string",
},
},
vectorizeBindings: {
string: {
indexName: "string",
},
},
wranglerConfigHash: "string",
},
production: {
aiBindings: {
string: {
projectId: "string",
},
},
alwaysUseLatestCompatibilityDate: false,
analyticsEngineDatasets: {
string: {
dataset: "string",
},
},
browsers: {
string: {},
},
buildImageMajorVersion: 0,
compatibilityDate: "string",
compatibilityFlags: ["string"],
d1Databases: {
string: {
id: "string",
},
},
durableObjectNamespaces: {
string: {
namespaceId: "string",
},
},
envVars: {
string: {
type: "string",
value: "string",
},
},
failOpen: false,
hyperdriveBindings: {
string: {
id: "string",
},
},
kvNamespaces: {
string: {
namespaceId: "string",
},
},
limits: {
cpuMs: 0,
},
mtlsCertificates: {
string: {
certificateId: "string",
},
},
placement: {
mode: "string",
},
queueProducers: {
string: {
name: "string",
},
},
r2Buckets: {
string: {
jurisdiction: "string",
name: "string",
},
},
services: {
string: {
entrypoint: "string",
environment: "string",
service: "string",
},
},
vectorizeBindings: {
string: {
indexName: "string",
},
},
wranglerConfigHash: "string",
},
},
source: {
config: {
owner: "string",
pathExcludes: ["string"],
pathIncludes: ["string"],
prCommentsEnabled: false,
previewBranchExcludes: ["string"],
previewBranchIncludes: ["string"],
previewDeploymentSetting: "string",
productionBranch: "string",
productionDeploymentsEnabled: false,
repoName: "string",
},
type: "string",
},
});
type: cloudflare:PagesProject
properties:
accountId: string
buildConfig:
buildCaching: false
buildCommand: string
destinationDir: string
rootDir: string
webAnalyticsTag: string
webAnalyticsToken: string
deploymentConfigs:
preview:
aiBindings:
string:
projectId: string
alwaysUseLatestCompatibilityDate: false
analyticsEngineDatasets:
string:
dataset: string
browsers:
string: {}
buildImageMajorVersion: 0
compatibilityDate: string
compatibilityFlags:
- string
d1Databases:
string:
id: string
durableObjectNamespaces:
string:
namespaceId: string
envVars:
string:
type: string
value: string
failOpen: false
hyperdriveBindings:
string:
id: string
kvNamespaces:
string:
namespaceId: string
limits:
cpuMs: 0
mtlsCertificates:
string:
certificateId: string
placement:
mode: string
queueProducers:
string:
name: string
r2Buckets:
string:
jurisdiction: string
name: string
services:
string:
entrypoint: string
environment: string
service: string
vectorizeBindings:
string:
indexName: string
wranglerConfigHash: string
production:
aiBindings:
string:
projectId: string
alwaysUseLatestCompatibilityDate: false
analyticsEngineDatasets:
string:
dataset: string
browsers:
string: {}
buildImageMajorVersion: 0
compatibilityDate: string
compatibilityFlags:
- string
d1Databases:
string:
id: string
durableObjectNamespaces:
string:
namespaceId: string
envVars:
string:
type: string
value: string
failOpen: false
hyperdriveBindings:
string:
id: string
kvNamespaces:
string:
namespaceId: string
limits:
cpuMs: 0
mtlsCertificates:
string:
certificateId: string
placement:
mode: string
queueProducers:
string:
name: string
r2Buckets:
string:
jurisdiction: string
name: string
services:
string:
entrypoint: string
environment: string
service: string
vectorizeBindings:
string:
indexName: string
wranglerConfigHash: string
name: string
productionBranch: string
source:
config:
owner: string
pathExcludes:
- string
pathIncludes:
- string
prCommentsEnabled: false
previewBranchExcludes:
- string
previewBranchIncludes:
- string
previewDeploymentSetting: string
productionBranch: string
productionDeploymentsEnabled: false
repoName: string
type: string
PagesProject Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PagesProject resource accepts the following input properties:
- Account
Id string - Identifier
- Name string
- Name of the project.
- Production
Branch string - Production branch of the project. Used to identify production deployments.
- Build
Config PagesProject Build Config - Configs for the project build process.
- Deployment
Configs PagesProject Deployment Configs - Configs for deployments in a project.
- Source
Pages
Project Source
- Account
Id string - Identifier
- Name string
- Name of the project.
- Production
Branch string - Production branch of the project. Used to identify production deployments.
- Build
Config PagesProject Build Config Args - Configs for the project build process.
- Deployment
Configs PagesProject Deployment Configs Args - Configs for deployments in a project.
- Source
Pages
Project Source Args
- account
Id String - Identifier
- name String
- Name of the project.
- production
Branch String - Production branch of the project. Used to identify production deployments.
- build
Config PagesProject Build Config - Configs for the project build process.
- deployment
Configs PagesProject Deployment Configs - Configs for deployments in a project.
- source
Pages
Project Source
- account
Id string - Identifier
- name string
- Name of the project.
- production
Branch string - Production branch of the project. Used to identify production deployments.
- build
Config PagesProject Build Config - Configs for the project build process.
- deployment
Configs PagesProject Deployment Configs - Configs for deployments in a project.
- source
Pages
Project Source
- account_
id str - Identifier
- name str
- Name of the project.
- production_
branch str - Production branch of the project. Used to identify production deployments.
- build_
config PagesProject Build Config Args - Configs for the project build process.
- deployment_
configs PagesProject Deployment Configs Args - Configs for deployments in a project.
- source
Pages
Project Source Args
- account
Id String - Identifier
- name String
- Name of the project.
- production
Branch String - Production branch of the project. Used to identify production deployments.
- build
Config Property Map - Configs for the project build process.
- deployment
Configs Property Map - Configs for deployments in a project.
- source Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the PagesProject resource produces the following output properties:
- Canonical
Deployment PagesProject Canonical Deployment - Most recent production deployment of the project.
- Created
On string - When the project was created.
- Domains List<string>
- A list of associated custom domains for the project.
- Framework string
- Framework the project is using.
- Framework
Version string - Version of the framework the project is using.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Deployment PagesProject Latest Deployment - Most recent deployment of the project.
- Preview
Script stringName - Name of the preview script.
- Production
Script stringName - Name of the production script.
- Subdomain string
- The Cloudflare subdomain associated with the project.
- Uses
Functions bool - Whether the project uses functions.
- Canonical
Deployment PagesProject Canonical Deployment - Most recent production deployment of the project.
- Created
On string - When the project was created.
- Domains []string
- A list of associated custom domains for the project.
- Framework string
- Framework the project is using.
- Framework
Version string - Version of the framework the project is using.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Deployment PagesProject Latest Deployment - Most recent deployment of the project.
- Preview
Script stringName - Name of the preview script.
- Production
Script stringName - Name of the production script.
- Subdomain string
- The Cloudflare subdomain associated with the project.
- Uses
Functions bool - Whether the project uses functions.
- canonical
Deployment PagesProject Canonical Deployment - Most recent production deployment of the project.
- created
On String - When the project was created.
- domains List<String>
- A list of associated custom domains for the project.
- framework String
- Framework the project is using.
- framework
Version String - Version of the framework the project is using.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Deployment PagesProject Latest Deployment - Most recent deployment of the project.
- preview
Script StringName - Name of the preview script.
- production
Script StringName - Name of the production script.
- subdomain String
- The Cloudflare subdomain associated with the project.
- uses
Functions Boolean - Whether the project uses functions.
- canonical
Deployment PagesProject Canonical Deployment - Most recent production deployment of the project.
- created
On string - When the project was created.
- domains string[]
- A list of associated custom domains for the project.
- framework string
- Framework the project is using.
- framework
Version string - Version of the framework the project is using.
- id string
- The provider-assigned unique ID for this managed resource.
- latest
Deployment PagesProject Latest Deployment - Most recent deployment of the project.
- preview
Script stringName - Name of the preview script.
- production
Script stringName - Name of the production script.
- subdomain string
- The Cloudflare subdomain associated with the project.
- uses
Functions boolean - Whether the project uses functions.
- canonical_
deployment PagesProject Canonical Deployment - Most recent production deployment of the project.
- created_
on str - When the project was created.
- domains Sequence[str]
- A list of associated custom domains for the project.
- framework str
- Framework the project is using.
- framework_
version str - Version of the framework the project is using.
- id str
- The provider-assigned unique ID for this managed resource.
- latest_
deployment PagesProject Latest Deployment - Most recent deployment of the project.
- preview_
script_ strname - Name of the preview script.
- production_
script_ strname - Name of the production script.
- subdomain str
- The Cloudflare subdomain associated with the project.
- uses_
functions bool - Whether the project uses functions.
- canonical
Deployment Property Map - Most recent production deployment of the project.
- created
On String - When the project was created.
- domains List<String>
- A list of associated custom domains for the project.
- framework String
- Framework the project is using.
- framework
Version String - Version of the framework the project is using.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Deployment Property Map - Most recent deployment of the project.
- preview
Script StringName - Name of the preview script.
- production
Script StringName - Name of the production script.
- subdomain String
- The Cloudflare subdomain associated with the project.
- uses
Functions Boolean - Whether the project uses functions.
Look up Existing PagesProject Resource
Get an existing PagesProject resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PagesProjectState, opts?: CustomResourceOptions): PagesProject@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
build_config: Optional[PagesProjectBuildConfigArgs] = None,
canonical_deployment: Optional[PagesProjectCanonicalDeploymentArgs] = None,
created_on: Optional[str] = None,
deployment_configs: Optional[PagesProjectDeploymentConfigsArgs] = None,
domains: Optional[Sequence[str]] = None,
framework: Optional[str] = None,
framework_version: Optional[str] = None,
latest_deployment: Optional[PagesProjectLatestDeploymentArgs] = None,
name: Optional[str] = None,
preview_script_name: Optional[str] = None,
production_branch: Optional[str] = None,
production_script_name: Optional[str] = None,
source: Optional[PagesProjectSourceArgs] = None,
subdomain: Optional[str] = None,
uses_functions: Optional[bool] = None) -> PagesProjectfunc GetPagesProject(ctx *Context, name string, id IDInput, state *PagesProjectState, opts ...ResourceOption) (*PagesProject, error)public static PagesProject Get(string name, Input<string> id, PagesProjectState? state, CustomResourceOptions? opts = null)public static PagesProject get(String name, Output<String> id, PagesProjectState state, CustomResourceOptions options)resources: _: type: cloudflare:PagesProject get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Identifier
- Build
Config PagesProject Build Config - Configs for the project build process.
- Canonical
Deployment PagesProject Canonical Deployment - Most recent production deployment of the project.
- Created
On string - When the project was created.
- Deployment
Configs PagesProject Deployment Configs - Configs for deployments in a project.
- Domains List<string>
- A list of associated custom domains for the project.
- Framework string
- Framework the project is using.
- Framework
Version string - Version of the framework the project is using.
- Latest
Deployment PagesProject Latest Deployment - Most recent deployment of the project.
- Name string
- Name of the project.
- Preview
Script stringName - Name of the preview script.
- Production
Branch string - Production branch of the project. Used to identify production deployments.
- Production
Script stringName - Name of the production script.
- Source
Pages
Project Source - Subdomain string
- The Cloudflare subdomain associated with the project.
- Uses
Functions bool - Whether the project uses functions.
- Account
Id string - Identifier
- Build
Config PagesProject Build Config Args - Configs for the project build process.
- Canonical
Deployment PagesProject Canonical Deployment Args - Most recent production deployment of the project.
- Created
On string - When the project was created.
- Deployment
Configs PagesProject Deployment Configs Args - Configs for deployments in a project.
- Domains []string
- A list of associated custom domains for the project.
- Framework string
- Framework the project is using.
- Framework
Version string - Version of the framework the project is using.
- Latest
Deployment PagesProject Latest Deployment Args - Most recent deployment of the project.
- Name string
- Name of the project.
- Preview
Script stringName - Name of the preview script.
- Production
Branch string - Production branch of the project. Used to identify production deployments.
- Production
Script stringName - Name of the production script.
- Source
Pages
Project Source Args - Subdomain string
- The Cloudflare subdomain associated with the project.
- Uses
Functions bool - Whether the project uses functions.
- account
Id String - Identifier
- build
Config PagesProject Build Config - Configs for the project build process.
- canonical
Deployment PagesProject Canonical Deployment - Most recent production deployment of the project.
- created
On String - When the project was created.
- deployment
Configs PagesProject Deployment Configs - Configs for deployments in a project.
- domains List<String>
- A list of associated custom domains for the project.
- framework String
- Framework the project is using.
- framework
Version String - Version of the framework the project is using.
- latest
Deployment PagesProject Latest Deployment - Most recent deployment of the project.
- name String
- Name of the project.
- preview
Script StringName - Name of the preview script.
- production
Branch String - Production branch of the project. Used to identify production deployments.
- production
Script StringName - Name of the production script.
- source
Pages
Project Source - subdomain String
- The Cloudflare subdomain associated with the project.
- uses
Functions Boolean - Whether the project uses functions.
- account
Id string - Identifier
- build
Config PagesProject Build Config - Configs for the project build process.
- canonical
Deployment PagesProject Canonical Deployment - Most recent production deployment of the project.
- created
On string - When the project was created.
- deployment
Configs PagesProject Deployment Configs - Configs for deployments in a project.
- domains string[]
- A list of associated custom domains for the project.
- framework string
- Framework the project is using.
- framework
Version string - Version of the framework the project is using.
- latest
Deployment PagesProject Latest Deployment - Most recent deployment of the project.
- name string
- Name of the project.
- preview
Script stringName - Name of the preview script.
- production
Branch string - Production branch of the project. Used to identify production deployments.
- production
Script stringName - Name of the production script.
- source
Pages
Project Source - subdomain string
- The Cloudflare subdomain associated with the project.
- uses
Functions boolean - Whether the project uses functions.
- account_
id str - Identifier
- build_
config PagesProject Build Config Args - Configs for the project build process.
- canonical_
deployment PagesProject Canonical Deployment Args - Most recent production deployment of the project.
- created_
on str - When the project was created.
- deployment_
configs PagesProject Deployment Configs Args - Configs for deployments in a project.
- domains Sequence[str]
- A list of associated custom domains for the project.
- framework str
- Framework the project is using.
- framework_
version str - Version of the framework the project is using.
- latest_
deployment PagesProject Latest Deployment Args - Most recent deployment of the project.
- name str
- Name of the project.
- preview_
script_ strname - Name of the preview script.
- production_
branch str - Production branch of the project. Used to identify production deployments.
- production_
script_ strname - Name of the production script.
- source
Pages
Project Source Args - subdomain str
- The Cloudflare subdomain associated with the project.
- uses_
functions bool - Whether the project uses functions.
- account
Id String - Identifier
- build
Config Property Map - Configs for the project build process.
- canonical
Deployment Property Map - Most recent production deployment of the project.
- created
On String - When the project was created.
- deployment
Configs Property Map - Configs for deployments in a project.
- domains List<String>
- A list of associated custom domains for the project.
- framework String
- Framework the project is using.
- framework
Version String - Version of the framework the project is using.
- latest
Deployment Property Map - Most recent deployment of the project.
- name String
- Name of the project.
- preview
Script StringName - Name of the preview script.
- production
Branch String - Production branch of the project. Used to identify production deployments.
- production
Script StringName - Name of the production script.
- source Property Map
- subdomain String
- The Cloudflare subdomain associated with the project.
- uses
Functions Boolean - Whether the project uses functions.
Supporting Types
PagesProjectBuildConfig, PagesProjectBuildConfigArgs
- Build
Caching bool - Enable build caching for the project.
- Build
Command string - Command used to build project.
- Destination
Dir string - Output directory of the build.
- Root
Dir string - Directory to run the command.
- Web
Analytics stringTag - The classifying tag for analytics.
- Web
Analytics stringToken - The auth token for analytics.
- Build
Caching bool - Enable build caching for the project.
- Build
Command string - Command used to build project.
- Destination
Dir string - Output directory of the build.
- Root
Dir string - Directory to run the command.
- Web
Analytics stringTag - The classifying tag for analytics.
- Web
Analytics stringToken - The auth token for analytics.
- build
Caching Boolean - Enable build caching for the project.
- build
Command String - Command used to build project.
- destination
Dir String - Output directory of the build.
- root
Dir String - Directory to run the command.
- web
Analytics StringTag - The classifying tag for analytics.
- web
Analytics StringToken - The auth token for analytics.
- build
Caching boolean - Enable build caching for the project.
- build
Command string - Command used to build project.
- destination
Dir string - Output directory of the build.
- root
Dir string - Directory to run the command.
- web
Analytics stringTag - The classifying tag for analytics.
- web
Analytics stringToken - The auth token for analytics.
- build_
caching bool - Enable build caching for the project.
- build_
command str - Command used to build project.
- destination_
dir str - Output directory of the build.
- root_
dir str - Directory to run the command.
- web_
analytics_ strtag - The classifying tag for analytics.
- web_
analytics_ strtoken - The auth token for analytics.
- build
Caching Boolean - Enable build caching for the project.
- build
Command String - Command used to build project.
- destination
Dir String - Output directory of the build.
- root
Dir String - Directory to run the command.
- web
Analytics StringTag - The classifying tag for analytics.
- web
Analytics StringToken - The auth token for analytics.
PagesProjectCanonicalDeployment, PagesProjectCanonicalDeploymentArgs
- Aliases List<string>
- A list of alias URLs pointing to this deployment.
- Build
Config PagesProject Canonical Deployment Build Config - Configs for the project build process.
- Created
On string - When the deployment was created.
- Deployment
Trigger PagesProject Canonical Deployment Deployment Trigger - Info about what caused the deployment.
- Env
Vars Dictionary<string, PagesProject Canonical Deployment Env Vars> - Environment variables used for builds and Pages Functions.
- Environment string
- Type of deploy. Available values: "preview", "production".
- Id string
- Id of the deployment.
- Is
Skipped bool - If the deployment has been skipped.
- Latest
Stage PagesProject Canonical Deployment Latest Stage - The status of the deployment.
- Modified
On string - When the deployment was last modified.
- Project
Id string - Id of the project.
- Project
Name string - Name of the project.
- Short
Id string - Short Id (8 character) of the deployment.
- Source
Pages
Project Canonical Deployment Source - Stages
List<Pages
Project Canonical Deployment Stage> - List of past stages.
- Url string
- The live URL to view this deployment.
- Aliases []string
- A list of alias URLs pointing to this deployment.
- Build
Config PagesProject Canonical Deployment Build Config - Configs for the project build process.
- Created
On string - When the deployment was created.
- Deployment
Trigger PagesProject Canonical Deployment Deployment Trigger - Info about what caused the deployment.
- Env
Vars map[string]PagesProject Canonical Deployment Env Vars - Environment variables used for builds and Pages Functions.
- Environment string
- Type of deploy. Available values: "preview", "production".
- Id string
- Id of the deployment.
- Is
Skipped bool - If the deployment has been skipped.
- Latest
Stage PagesProject Canonical Deployment Latest Stage - The status of the deployment.
- Modified
On string - When the deployment was last modified.
- Project
Id string - Id of the project.
- Project
Name string - Name of the project.
- Short
Id string - Short Id (8 character) of the deployment.
- Source
Pages
Project Canonical Deployment Source - Stages
[]Pages
Project Canonical Deployment Stage - List of past stages.
- Url string
- The live URL to view this deployment.
- aliases List<String>
- A list of alias URLs pointing to this deployment.
- build
Config PagesProject Canonical Deployment Build Config - Configs for the project build process.
- created
On String - When the deployment was created.
- deployment
Trigger PagesProject Canonical Deployment Deployment Trigger - Info about what caused the deployment.
- env
Vars Map<String,PagesProject Canonical Deployment Env Vars> - Environment variables used for builds and Pages Functions.
- environment String
- Type of deploy. Available values: "preview", "production".
- id String
- Id of the deployment.
- is
Skipped Boolean - If the deployment has been skipped.
- latest
Stage PagesProject Canonical Deployment Latest Stage - The status of the deployment.
- modified
On String - When the deployment was last modified.
- project
Id String - Id of the project.
- project
Name String - Name of the project.
- short
Id String - Short Id (8 character) of the deployment.
- source
Pages
Project Canonical Deployment Source - stages
List<Pages
Project Canonical Deployment Stage> - List of past stages.
- url String
- The live URL to view this deployment.
- aliases string[]
- A list of alias URLs pointing to this deployment.
- build
Config PagesProject Canonical Deployment Build Config - Configs for the project build process.
- created
On string - When the deployment was created.
- deployment
Trigger PagesProject Canonical Deployment Deployment Trigger - Info about what caused the deployment.
- env
Vars {[key: string]: PagesProject Canonical Deployment Env Vars} - Environment variables used for builds and Pages Functions.
- environment string
- Type of deploy. Available values: "preview", "production".
- id string
- Id of the deployment.
- is
Skipped boolean - If the deployment has been skipped.
- latest
Stage PagesProject Canonical Deployment Latest Stage - The status of the deployment.
- modified
On string - When the deployment was last modified.
- project
Id string - Id of the project.
- project
Name string - Name of the project.
- short
Id string - Short Id (8 character) of the deployment.
- source
Pages
Project Canonical Deployment Source - stages
Pages
Project Canonical Deployment Stage[] - List of past stages.
- url string
- The live URL to view this deployment.
- aliases Sequence[str]
- A list of alias URLs pointing to this deployment.
- build_
config PagesProject Canonical Deployment Build Config - Configs for the project build process.
- created_
on str - When the deployment was created.
- deployment_
trigger PagesProject Canonical Deployment Deployment Trigger - Info about what caused the deployment.
- env_
vars Mapping[str, PagesProject Canonical Deployment Env Vars] - Environment variables used for builds and Pages Functions.
- environment str
- Type of deploy. Available values: "preview", "production".
- id str
- Id of the deployment.
- is_
skipped bool - If the deployment has been skipped.
- latest_
stage PagesProject Canonical Deployment Latest Stage - The status of the deployment.
- modified_
on str - When the deployment was last modified.
- project_
id str - Id of the project.
- project_
name str - Name of the project.
- short_
id str - Short Id (8 character) of the deployment.
- source
Pages
Project Canonical Deployment Source - stages
Sequence[Pages
Project Canonical Deployment Stage] - List of past stages.
- url str
- The live URL to view this deployment.
- aliases List<String>
- A list of alias URLs pointing to this deployment.
- build
Config Property Map - Configs for the project build process.
- created
On String - When the deployment was created.
- deployment
Trigger Property Map - Info about what caused the deployment.
- env
Vars Map<Property Map> - Environment variables used for builds and Pages Functions.
- environment String
- Type of deploy. Available values: "preview", "production".
- id String
- Id of the deployment.
- is
Skipped Boolean - If the deployment has been skipped.
- latest
Stage Property Map - The status of the deployment.
- modified
On String - When the deployment was last modified.
- project
Id String - Id of the project.
- project
Name String - Name of the project.
- short
Id String - Short Id (8 character) of the deployment.
- source Property Map
- stages List<Property Map>
- List of past stages.
- url String
- The live URL to view this deployment.
PagesProjectCanonicalDeploymentBuildConfig, PagesProjectCanonicalDeploymentBuildConfigArgs
- Build
Caching bool - Enable build caching for the project.
- Build
Command string - Command used to build project.
- Destination
Dir string - Output directory of the build.
- Root
Dir string - Directory to run the command.
- Web
Analytics stringTag - The classifying tag for analytics.
- Web
Analytics stringToken - The auth token for analytics.
- Build
Caching bool - Enable build caching for the project.
- Build
Command string - Command used to build project.
- Destination
Dir string - Output directory of the build.
- Root
Dir string - Directory to run the command.
- Web
Analytics stringTag - The classifying tag for analytics.
- Web
Analytics stringToken - The auth token for analytics.
- build
Caching Boolean - Enable build caching for the project.
- build
Command String - Command used to build project.
- destination
Dir String - Output directory of the build.
- root
Dir String - Directory to run the command.
- web
Analytics StringTag - The classifying tag for analytics.
- web
Analytics StringToken - The auth token for analytics.
- build
Caching boolean - Enable build caching for the project.
- build
Command string - Command used to build project.
- destination
Dir string - Output directory of the build.
- root
Dir string - Directory to run the command.
- web
Analytics stringTag - The classifying tag for analytics.
- web
Analytics stringToken - The auth token for analytics.
- build_
caching bool - Enable build caching for the project.
- build_
command str - Command used to build project.
- destination_
dir str - Output directory of the build.
- root_
dir str - Directory to run the command.
- web_
analytics_ strtag - The classifying tag for analytics.
- web_
analytics_ strtoken - The auth token for analytics.
- build
Caching Boolean - Enable build caching for the project.
- build
Command String - Command used to build project.
- destination
Dir String - Output directory of the build.
- root
Dir String - Directory to run the command.
- web
Analytics StringTag - The classifying tag for analytics.
- web
Analytics StringToken - The auth token for analytics.
PagesProjectCanonicalDeploymentDeploymentTrigger, PagesProjectCanonicalDeploymentDeploymentTriggerArgs
- Metadata
Pages
Project Canonical Deployment Deployment Trigger Metadata - Additional info about the trigger.
- Type string
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- Metadata
Pages
Project Canonical Deployment Deployment Trigger Metadata - Additional info about the trigger.
- Type string
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata
Pages
Project Canonical Deployment Deployment Trigger Metadata - Additional info about the trigger.
- type String
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata
Pages
Project Canonical Deployment Deployment Trigger Metadata - Additional info about the trigger.
- type string
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata
Pages
Project Canonical Deployment Deployment Trigger Metadata - Additional info about the trigger.
- type str
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata Property Map
- Additional info about the trigger.
- type String
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
PagesProjectCanonicalDeploymentDeploymentTriggerMetadata, PagesProjectCanonicalDeploymentDeploymentTriggerMetadataArgs
- Branch string
- Where the trigger happened.
- Commit
Hash string - Hash of the deployment trigger commit.
- Commit
Message string - Message of the deployment trigger commit.
- Branch string
- Where the trigger happened.
- Commit
Hash string - Hash of the deployment trigger commit.
- Commit
Message string - Message of the deployment trigger commit.
- branch String
- Where the trigger happened.
- commit
Hash String - Hash of the deployment trigger commit.
- commit
Message String - Message of the deployment trigger commit.
- branch string
- Where the trigger happened.
- commit
Hash string - Hash of the deployment trigger commit.
- commit
Message string - Message of the deployment trigger commit.
- branch str
- Where the trigger happened.
- commit_
hash str - Hash of the deployment trigger commit.
- commit_
message str - Message of the deployment trigger commit.
- branch String
- Where the trigger happened.
- commit
Hash String - Hash of the deployment trigger commit.
- commit
Message String - Message of the deployment trigger commit.
PagesProjectCanonicalDeploymentEnvVars, PagesProjectCanonicalDeploymentEnvVarsArgs
PagesProjectCanonicalDeploymentLatestStage, PagesProjectCanonicalDeploymentLatestStageArgs
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On string - When the stage ended.
- name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On string - When the stage started.
- status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended_
on str - When the stage ended.
- name str
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started_
on str - When the stage started.
- status str
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
PagesProjectCanonicalDeploymentSource, PagesProjectCanonicalDeploymentSourceArgs
- Config
Pages
Project Canonical Deployment Source Config - Type string
- The source control management provider. Available values: "github", "gitlab".
- Config
Pages
Project Canonical Deployment Source Config - Type string
- The source control management provider. Available values: "github", "gitlab".
- config
Pages
Project Canonical Deployment Source Config - type String
- The source control management provider. Available values: "github", "gitlab".
- config
Pages
Project Canonical Deployment Source Config - type string
- The source control management provider. Available values: "github", "gitlab".
- config
Pages
Project Canonical Deployment Source Config - type str
- The source control management provider. Available values: "github", "gitlab".
- config Property Map
- type String
- The source control management provider. Available values: "github", "gitlab".
PagesProjectCanonicalDeploymentSourceConfig, PagesProjectCanonicalDeploymentSourceConfigArgs
- Deployments
Enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- Owner string
- The owner of the repository.
- Path
Excludes List<string> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - Path
Includes List<string> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - Pr
Comments boolEnabled - Whether to enable PR comments.
- Preview
Branch List<string>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Branch List<string>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- Production
Branch string - The production branch of the repository.
- Production
Deployments boolEnabled - Whether to trigger a production deployment on commits to the production branch.
- Repo
Name string - The name of the repository.
- Deployments
Enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- Owner string
- The owner of the repository.
- Path
Excludes []string - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - Path
Includes []string - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - Pr
Comments boolEnabled - Whether to enable PR comments.
- Preview
Branch []stringExcludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Branch []stringIncludes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- Production
Branch string - The production branch of the repository.
- Production
Deployments boolEnabled - Whether to trigger a production deployment on commits to the production branch.
- Repo
Name string - The name of the repository.
- deployments
Enabled Boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner String
- The owner of the repository.
- path
Excludes List<String> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes List<String> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments BooleanEnabled - Whether to enable PR comments.
- preview
Branch List<String>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch List<String>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment StringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch String - The production branch of the repository.
- production
Deployments BooleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name String - The name of the repository.
- deployments
Enabled boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner string
- The owner of the repository.
- path
Excludes string[] - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes string[] - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments booleanEnabled - Whether to enable PR comments.
- preview
Branch string[]Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch string[]Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch string - The production branch of the repository.
- production
Deployments booleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name string - The name of the repository.
- deployments_
enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner str
- The owner of the repository.
- path_
excludes Sequence[str] - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path_
includes Sequence[str] - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr_
comments_ boolenabled - Whether to enable PR comments.
- preview_
branch_ Sequence[str]excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview_
branch_ Sequence[str]includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview_
deployment_ strsetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production_
branch str - The production branch of the repository.
- production_
deployments_ boolenabled - Whether to trigger a production deployment on commits to the production branch.
- repo_
name str - The name of the repository.
- deployments
Enabled Boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner String
- The owner of the repository.
- path
Excludes List<String> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes List<String> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments BooleanEnabled - Whether to enable PR comments.
- preview
Branch List<String>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch List<String>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment StringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch String - The production branch of the repository.
- production
Deployments BooleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name String - The name of the repository.
PagesProjectCanonicalDeploymentStage, PagesProjectCanonicalDeploymentStageArgs
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On string - When the stage ended.
- name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On string - When the stage started.
- status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended_
on str - When the stage ended.
- name str
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started_
on str - When the stage started.
- status str
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
PagesProjectDeploymentConfigs, PagesProjectDeploymentConfigsArgs
- Preview
Pages
Project Deployment Configs Preview - Configs for preview deploys.
- Production
Pages
Project Deployment Configs Production - Configs for production deploys.
- Preview
Pages
Project Deployment Configs Preview - Configs for preview deploys.
- Production
Pages
Project Deployment Configs Production - Configs for production deploys.
- preview
Pages
Project Deployment Configs Preview - Configs for preview deploys.
- production
Pages
Project Deployment Configs Production - Configs for production deploys.
- preview
Pages
Project Deployment Configs Preview - Configs for preview deploys.
- production
Pages
Project Deployment Configs Production - Configs for production deploys.
- preview
Pages
Project Deployment Configs Preview - Configs for preview deploys.
- production
Pages
Project Deployment Configs Production - Configs for production deploys.
- preview Property Map
- Configs for preview deploys.
- production Property Map
- Configs for production deploys.
PagesProjectDeploymentConfigsPreview, PagesProjectDeploymentConfigsPreviewArgs
- Ai
Bindings Dictionary<string, PagesProject Deployment Configs Preview Ai Bindings> - Constellation bindings used for Pages Functions.
- Always
Use boolLatest Compatibility Date - Whether to always use the latest compatibility date for Pages Functions.
- Analytics
Engine Dictionary<string, PagesDatasets Project Deployment Configs Preview Analytics Engine Datasets> - Analytics Engine bindings used for Pages Functions.
- Browsers
Dictionary<string, Pages
Project Deployment Configs Preview Browsers> - Browser bindings used for Pages Functions.
- Build
Image intMajor Version - The major version of the build image to use for Pages Functions.
- Compatibility
Date string - Compatibility date used for Pages Functions.
- Compatibility
Flags List<string> - Compatibility flags used for Pages Functions.
- D1Databases
Dictionary<string, Pages
Project Deployment Configs Preview D1Databases> - D1 databases used for Pages Functions.
- Durable
Object Dictionary<string, PagesNamespaces Project Deployment Configs Preview Durable Object Namespaces> - Durable Object namespaces used for Pages Functions.
- Env
Vars Dictionary<string, PagesProject Deployment Configs Preview Env Vars> - Environment variables used for builds and Pages Functions.
- Fail
Open bool - Whether to fail open when the deployment config cannot be applied.
- Hyperdrive
Bindings Dictionary<string, PagesProject Deployment Configs Preview Hyperdrive Bindings> - Hyperdrive bindings used for Pages Functions.
- Kv
Namespaces Dictionary<string, PagesProject Deployment Configs Preview Kv Namespaces> - KV namespaces used for Pages Functions.
- Limits
Pages
Project Deployment Configs Preview Limits - Limits for Pages Functions.
- Mtls
Certificates Dictionary<string, PagesProject Deployment Configs Preview Mtls Certificates> - mTLS bindings used for Pages Functions.
- Placement
Pages
Project Deployment Configs Preview Placement - Placement setting used for Pages Functions.
- Queue
Producers Dictionary<string, PagesProject Deployment Configs Preview Queue Producers> - Queue Producer bindings used for Pages Functions.
- R2Buckets
Dictionary<string, Pages
Project Deployment Configs Preview R2Buckets> - R2 buckets used for Pages Functions.
- Services
Dictionary<string, Pages
Project Deployment Configs Preview Services> - Services used for Pages Functions.
- Usage
Model string - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- Vectorize
Bindings Dictionary<string, PagesProject Deployment Configs Preview Vectorize Bindings> - Vectorize bindings used for Pages Functions.
- Wrangler
Config stringHash - Hash of the Wrangler configuration used for the deployment.
- Ai
Bindings map[string]PagesProject Deployment Configs Preview Ai Bindings - Constellation bindings used for Pages Functions.
- Always
Use boolLatest Compatibility Date - Whether to always use the latest compatibility date for Pages Functions.
- Analytics
Engine map[string]PagesDatasets Project Deployment Configs Preview Analytics Engine Datasets - Analytics Engine bindings used for Pages Functions.
- Browsers
map[string]Pages
Project Deployment Configs Preview Browsers - Browser bindings used for Pages Functions.
- Build
Image intMajor Version - The major version of the build image to use for Pages Functions.
- Compatibility
Date string - Compatibility date used for Pages Functions.
- Compatibility
Flags []string - Compatibility flags used for Pages Functions.
- D1Databases
map[string]Pages
Project Deployment Configs Preview D1Databases - D1 databases used for Pages Functions.
- Durable
Object map[string]PagesNamespaces Project Deployment Configs Preview Durable Object Namespaces - Durable Object namespaces used for Pages Functions.
- Env
Vars map[string]PagesProject Deployment Configs Preview Env Vars - Environment variables used for builds and Pages Functions.
- Fail
Open bool - Whether to fail open when the deployment config cannot be applied.
- Hyperdrive
Bindings map[string]PagesProject Deployment Configs Preview Hyperdrive Bindings - Hyperdrive bindings used for Pages Functions.
- Kv
Namespaces map[string]PagesProject Deployment Configs Preview Kv Namespaces - KV namespaces used for Pages Functions.
- Limits
Pages
Project Deployment Configs Preview Limits - Limits for Pages Functions.
- Mtls
Certificates map[string]PagesProject Deployment Configs Preview Mtls Certificates - mTLS bindings used for Pages Functions.
- Placement
Pages
Project Deployment Configs Preview Placement - Placement setting used for Pages Functions.
- Queue
Producers map[string]PagesProject Deployment Configs Preview Queue Producers - Queue Producer bindings used for Pages Functions.
- R2Buckets
map[string]Pages
Project Deployment Configs Preview R2Buckets - R2 buckets used for Pages Functions.
- Services
map[string]Pages
Project Deployment Configs Preview Services - Services used for Pages Functions.
- Usage
Model string - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- Vectorize
Bindings map[string]PagesProject Deployment Configs Preview Vectorize Bindings - Vectorize bindings used for Pages Functions.
- Wrangler
Config stringHash - Hash of the Wrangler configuration used for the deployment.
- ai
Bindings Map<String,PagesProject Deployment Configs Preview Ai Bindings> - Constellation bindings used for Pages Functions.
- always
Use BooleanLatest Compatibility Date - Whether to always use the latest compatibility date for Pages Functions.
- analytics
Engine Map<String,PagesDatasets Project Deployment Configs Preview Analytics Engine Datasets> - Analytics Engine bindings used for Pages Functions.
- browsers
Map<String,Pages
Project Deployment Configs Preview Browsers> - Browser bindings used for Pages Functions.
- build
Image IntegerMajor Version - The major version of the build image to use for Pages Functions.
- compatibility
Date String - Compatibility date used for Pages Functions.
- compatibility
Flags List<String> - Compatibility flags used for Pages Functions.
- d1Databases
Map<String,Pages
Project Deployment Configs Preview D1Databases> - D1 databases used for Pages Functions.
- durable
Object Map<String,PagesNamespaces Project Deployment Configs Preview Durable Object Namespaces> - Durable Object namespaces used for Pages Functions.
- env
Vars Map<String,PagesProject Deployment Configs Preview Env Vars> - Environment variables used for builds and Pages Functions.
- fail
Open Boolean - Whether to fail open when the deployment config cannot be applied.
- hyperdrive
Bindings Map<String,PagesProject Deployment Configs Preview Hyperdrive Bindings> - Hyperdrive bindings used for Pages Functions.
- kv
Namespaces Map<String,PagesProject Deployment Configs Preview Kv Namespaces> - KV namespaces used for Pages Functions.
- limits
Pages
Project Deployment Configs Preview Limits - Limits for Pages Functions.
- mtls
Certificates Map<String,PagesProject Deployment Configs Preview Mtls Certificates> - mTLS bindings used for Pages Functions.
- placement
Pages
Project Deployment Configs Preview Placement - Placement setting used for Pages Functions.
- queue
Producers Map<String,PagesProject Deployment Configs Preview Queue Producers> - Queue Producer bindings used for Pages Functions.
- r2Buckets
Map<String,Pages
Project Deployment Configs Preview R2Buckets> - R2 buckets used for Pages Functions.
- services
Map<String,Pages
Project Deployment Configs Preview Services> - Services used for Pages Functions.
- usage
Model String - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- vectorize
Bindings Map<String,PagesProject Deployment Configs Preview Vectorize Bindings> - Vectorize bindings used for Pages Functions.
- wrangler
Config StringHash - Hash of the Wrangler configuration used for the deployment.
- ai
Bindings {[key: string]: PagesProject Deployment Configs Preview Ai Bindings} - Constellation bindings used for Pages Functions.
- always
Use booleanLatest Compatibility Date - Whether to always use the latest compatibility date for Pages Functions.
- analytics
Engine {[key: string]: PagesDatasets Project Deployment Configs Preview Analytics Engine Datasets} - Analytics Engine bindings used for Pages Functions.
- browsers
{[key: string]: Pages
Project Deployment Configs Preview Browsers} - Browser bindings used for Pages Functions.
- build
Image numberMajor Version - The major version of the build image to use for Pages Functions.
- compatibility
Date string - Compatibility date used for Pages Functions.
- compatibility
Flags string[] - Compatibility flags used for Pages Functions.
- d1Databases
{[key: string]: Pages
Project Deployment Configs Preview D1Databases} - D1 databases used for Pages Functions.
- durable
Object {[key: string]: PagesNamespaces Project Deployment Configs Preview Durable Object Namespaces} - Durable Object namespaces used for Pages Functions.
- env
Vars {[key: string]: PagesProject Deployment Configs Preview Env Vars} - Environment variables used for builds and Pages Functions.
- fail
Open boolean - Whether to fail open when the deployment config cannot be applied.
- hyperdrive
Bindings {[key: string]: PagesProject Deployment Configs Preview Hyperdrive Bindings} - Hyperdrive bindings used for Pages Functions.
- kv
Namespaces {[key: string]: PagesProject Deployment Configs Preview Kv Namespaces} - KV namespaces used for Pages Functions.
- limits
Pages
Project Deployment Configs Preview Limits - Limits for Pages Functions.
- mtls
Certificates {[key: string]: PagesProject Deployment Configs Preview Mtls Certificates} - mTLS bindings used for Pages Functions.
- placement
Pages
Project Deployment Configs Preview Placement - Placement setting used for Pages Functions.
- queue
Producers {[key: string]: PagesProject Deployment Configs Preview Queue Producers} - Queue Producer bindings used for Pages Functions.
- r2Buckets
{[key: string]: Pages
Project Deployment Configs Preview R2Buckets} - R2 buckets used for Pages Functions.
- services
{[key: string]: Pages
Project Deployment Configs Preview Services} - Services used for Pages Functions.
- usage
Model string - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- vectorize
Bindings {[key: string]: PagesProject Deployment Configs Preview Vectorize Bindings} - Vectorize bindings used for Pages Functions.
- wrangler
Config stringHash - Hash of the Wrangler configuration used for the deployment.
- ai_
bindings Mapping[str, PagesProject Deployment Configs Preview Ai Bindings] - Constellation bindings used for Pages Functions.
- always_
use_ boollatest_ compatibility_ date - Whether to always use the latest compatibility date for Pages Functions.
- analytics_
engine_ Mapping[str, Pagesdatasets Project Deployment Configs Preview Analytics Engine Datasets] - Analytics Engine bindings used for Pages Functions.
- browsers
Mapping[str, Pages
Project Deployment Configs Preview Browsers] - Browser bindings used for Pages Functions.
- build_
image_ intmajor_ version - The major version of the build image to use for Pages Functions.
- compatibility_
date str - Compatibility date used for Pages Functions.
- compatibility_
flags Sequence[str] - Compatibility flags used for Pages Functions.
- d1_
databases Mapping[str, PagesProject Deployment Configs Preview D1Databases] - D1 databases used for Pages Functions.
- durable_
object_ Mapping[str, Pagesnamespaces Project Deployment Configs Preview Durable Object Namespaces] - Durable Object namespaces used for Pages Functions.
- env_
vars Mapping[str, PagesProject Deployment Configs Preview Env Vars] - Environment variables used for builds and Pages Functions.
- fail_
open bool - Whether to fail open when the deployment config cannot be applied.
- hyperdrive_
bindings Mapping[str, PagesProject Deployment Configs Preview Hyperdrive Bindings] - Hyperdrive bindings used for Pages Functions.
- kv_
namespaces Mapping[str, PagesProject Deployment Configs Preview Kv Namespaces] - KV namespaces used for Pages Functions.
- limits
Pages
Project Deployment Configs Preview Limits - Limits for Pages Functions.
- mtls_
certificates Mapping[str, PagesProject Deployment Configs Preview Mtls Certificates] - mTLS bindings used for Pages Functions.
- placement
Pages
Project Deployment Configs Preview Placement - Placement setting used for Pages Functions.
- queue_
producers Mapping[str, PagesProject Deployment Configs Preview Queue Producers] - Queue Producer bindings used for Pages Functions.
- r2_
buckets Mapping[str, PagesProject Deployment Configs Preview R2Buckets] - R2 buckets used for Pages Functions.
- services
Mapping[str, Pages
Project Deployment Configs Preview Services] - Services used for Pages Functions.
- usage_
model str - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- vectorize_
bindings Mapping[str, PagesProject Deployment Configs Preview Vectorize Bindings] - Vectorize bindings used for Pages Functions.
- wrangler_
config_ strhash - Hash of the Wrangler configuration used for the deployment.
- ai
Bindings Map<Property Map> - Constellation bindings used for Pages Functions.
- always
Use BooleanLatest Compatibility Date - Whether to always use the latest compatibility date for Pages Functions.
- analytics
Engine Map<Property Map>Datasets - Analytics Engine bindings used for Pages Functions.
- browsers Map<Property Map>
- Browser bindings used for Pages Functions.
- build
Image NumberMajor Version - The major version of the build image to use for Pages Functions.
- compatibility
Date String - Compatibility date used for Pages Functions.
- compatibility
Flags List<String> - Compatibility flags used for Pages Functions.
- d1Databases Map<Property Map>
- D1 databases used for Pages Functions.
- durable
Object Map<Property Map>Namespaces - Durable Object namespaces used for Pages Functions.
- env
Vars Map<Property Map> - Environment variables used for builds and Pages Functions.
- fail
Open Boolean - Whether to fail open when the deployment config cannot be applied.
- hyperdrive
Bindings Map<Property Map> - Hyperdrive bindings used for Pages Functions.
- kv
Namespaces Map<Property Map> - KV namespaces used for Pages Functions.
- limits Property Map
- Limits for Pages Functions.
- mtls
Certificates Map<Property Map> - mTLS bindings used for Pages Functions.
- placement Property Map
- Placement setting used for Pages Functions.
- queue
Producers Map<Property Map> - Queue Producer bindings used for Pages Functions.
- r2Buckets Map<Property Map>
- R2 buckets used for Pages Functions.
- services Map<Property Map>
- Services used for Pages Functions.
- usage
Model String - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- vectorize
Bindings Map<Property Map> - Vectorize bindings used for Pages Functions.
- wrangler
Config StringHash - Hash of the Wrangler configuration used for the deployment.
PagesProjectDeploymentConfigsPreviewAiBindings, PagesProjectDeploymentConfigsPreviewAiBindingsArgs
- Project
Id string
- Project
Id string
- project
Id String
- project
Id string
- project_
id str
- project
Id String
PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasets, PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasetsArgs
- Dataset string
- Name of the dataset.
- Dataset string
- Name of the dataset.
- dataset String
- Name of the dataset.
- dataset string
- Name of the dataset.
- dataset str
- Name of the dataset.
- dataset String
- Name of the dataset.
PagesProjectDeploymentConfigsPreviewD1Databases, PagesProjectDeploymentConfigsPreviewD1DatabasesArgs
- Id string
- UUID of the D1 database.
- Id string
- UUID of the D1 database.
- id String
- UUID of the D1 database.
- id string
- UUID of the D1 database.
- id str
- UUID of the D1 database.
- id String
- UUID of the D1 database.
PagesProjectDeploymentConfigsPreviewDurableObjectNamespaces, PagesProjectDeploymentConfigsPreviewDurableObjectNamespacesArgs
- Namespace
Id string - ID of the Durable Object namespace.
- Namespace
Id string - ID of the Durable Object namespace.
- namespace
Id String - ID of the Durable Object namespace.
- namespace
Id string - ID of the Durable Object namespace.
- namespace_
id str - ID of the Durable Object namespace.
- namespace
Id String - ID of the Durable Object namespace.
PagesProjectDeploymentConfigsPreviewEnvVars, PagesProjectDeploymentConfigsPreviewEnvVarsArgs
PagesProjectDeploymentConfigsPreviewHyperdriveBindings, PagesProjectDeploymentConfigsPreviewHyperdriveBindingsArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
PagesProjectDeploymentConfigsPreviewKvNamespaces, PagesProjectDeploymentConfigsPreviewKvNamespacesArgs
- Namespace
Id string - ID of the KV namespace.
- Namespace
Id string - ID of the KV namespace.
- namespace
Id String - ID of the KV namespace.
- namespace
Id string - ID of the KV namespace.
- namespace_
id str - ID of the KV namespace.
- namespace
Id String - ID of the KV namespace.
PagesProjectDeploymentConfigsPreviewLimits, PagesProjectDeploymentConfigsPreviewLimitsArgs
- Cpu
Ms int - CPU time limit in milliseconds.
- Cpu
Ms int - CPU time limit in milliseconds.
- cpu
Ms Integer - CPU time limit in milliseconds.
- cpu
Ms number - CPU time limit in milliseconds.
- cpu_
ms int - CPU time limit in milliseconds.
- cpu
Ms Number - CPU time limit in milliseconds.
PagesProjectDeploymentConfigsPreviewMtlsCertificates, PagesProjectDeploymentConfigsPreviewMtlsCertificatesArgs
- Certificate
Id string
- Certificate
Id string
- certificate
Id String
- certificate
Id string
- certificate_
id str
- certificate
Id String
PagesProjectDeploymentConfigsPreviewPlacement, PagesProjectDeploymentConfigsPreviewPlacementArgs
- Mode string
- Placement mode.
- Mode string
- Placement mode.
- mode String
- Placement mode.
- mode string
- Placement mode.
- mode str
- Placement mode.
- mode String
- Placement mode.
PagesProjectDeploymentConfigsPreviewQueueProducers, PagesProjectDeploymentConfigsPreviewQueueProducersArgs
- Name string
- Name of the Queue.
- Name string
- Name of the Queue.
- name String
- Name of the Queue.
- name string
- Name of the Queue.
- name str
- Name of the Queue.
- name String
- Name of the Queue.
PagesProjectDeploymentConfigsPreviewR2Buckets, PagesProjectDeploymentConfigsPreviewR2BucketsArgs
- Jurisdiction string
- Jurisdiction of the R2 bucket.
- Name string
- Name of the R2 bucket.
- Jurisdiction string
- Jurisdiction of the R2 bucket.
- Name string
- Name of the R2 bucket.
- jurisdiction String
- Jurisdiction of the R2 bucket.
- name String
- Name of the R2 bucket.
- jurisdiction string
- Jurisdiction of the R2 bucket.
- name string
- Name of the R2 bucket.
- jurisdiction str
- Jurisdiction of the R2 bucket.
- name str
- Name of the R2 bucket.
- jurisdiction String
- Jurisdiction of the R2 bucket.
- name String
- Name of the R2 bucket.
PagesProjectDeploymentConfigsPreviewServices, PagesProjectDeploymentConfigsPreviewServicesArgs
- Entrypoint string
- The entrypoint to bind to.
- Environment string
- The Service environment.
- Service string
- The Service name.
- Entrypoint string
- The entrypoint to bind to.
- Environment string
- The Service environment.
- Service string
- The Service name.
- entrypoint String
- The entrypoint to bind to.
- environment String
- The Service environment.
- service String
- The Service name.
- entrypoint string
- The entrypoint to bind to.
- environment string
- The Service environment.
- service string
- The Service name.
- entrypoint str
- The entrypoint to bind to.
- environment str
- The Service environment.
- service str
- The Service name.
- entrypoint String
- The entrypoint to bind to.
- environment String
- The Service environment.
- service String
- The Service name.
PagesProjectDeploymentConfigsPreviewVectorizeBindings, PagesProjectDeploymentConfigsPreviewVectorizeBindingsArgs
- Index
Name string
- Index
Name string
- index
Name String
- index
Name string
- index_
name str
- index
Name String
PagesProjectDeploymentConfigsProduction, PagesProjectDeploymentConfigsProductionArgs
- Ai
Bindings Dictionary<string, PagesProject Deployment Configs Production Ai Bindings> - Constellation bindings used for Pages Functions.
- Always
Use boolLatest Compatibility Date - Whether to always use the latest compatibility date for Pages Functions.
- Analytics
Engine Dictionary<string, PagesDatasets Project Deployment Configs Production Analytics Engine Datasets> - Analytics Engine bindings used for Pages Functions.
- Browsers
Dictionary<string, Pages
Project Deployment Configs Production Browsers> - Browser bindings used for Pages Functions.
- Build
Image intMajor Version - The major version of the build image to use for Pages Functions.
- Compatibility
Date string - Compatibility date used for Pages Functions.
- Compatibility
Flags List<string> - Compatibility flags used for Pages Functions.
- D1Databases
Dictionary<string, Pages
Project Deployment Configs Production D1Databases> - D1 databases used for Pages Functions.
- Durable
Object Dictionary<string, PagesNamespaces Project Deployment Configs Production Durable Object Namespaces> - Durable Object namespaces used for Pages Functions.
- Env
Vars Dictionary<string, PagesProject Deployment Configs Production Env Vars> - Environment variables used for builds and Pages Functions.
- Fail
Open bool - Whether to fail open when the deployment config cannot be applied.
- Hyperdrive
Bindings Dictionary<string, PagesProject Deployment Configs Production Hyperdrive Bindings> - Hyperdrive bindings used for Pages Functions.
- Kv
Namespaces Dictionary<string, PagesProject Deployment Configs Production Kv Namespaces> - KV namespaces used for Pages Functions.
- Limits
Pages
Project Deployment Configs Production Limits - Limits for Pages Functions.
- Mtls
Certificates Dictionary<string, PagesProject Deployment Configs Production Mtls Certificates> - mTLS bindings used for Pages Functions.
- Placement
Pages
Project Deployment Configs Production Placement - Placement setting used for Pages Functions.
- Queue
Producers Dictionary<string, PagesProject Deployment Configs Production Queue Producers> - Queue Producer bindings used for Pages Functions.
- R2Buckets
Dictionary<string, Pages
Project Deployment Configs Production R2Buckets> - R2 buckets used for Pages Functions.
- Services
Dictionary<string, Pages
Project Deployment Configs Production Services> - Services used for Pages Functions.
- Usage
Model string - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- Vectorize
Bindings Dictionary<string, PagesProject Deployment Configs Production Vectorize Bindings> - Vectorize bindings used for Pages Functions.
- Wrangler
Config stringHash - Hash of the Wrangler configuration used for the deployment.
- Ai
Bindings map[string]PagesProject Deployment Configs Production Ai Bindings - Constellation bindings used for Pages Functions.
- Always
Use boolLatest Compatibility Date - Whether to always use the latest compatibility date for Pages Functions.
- Analytics
Engine map[string]PagesDatasets Project Deployment Configs Production Analytics Engine Datasets - Analytics Engine bindings used for Pages Functions.
- Browsers
map[string]Pages
Project Deployment Configs Production Browsers - Browser bindings used for Pages Functions.
- Build
Image intMajor Version - The major version of the build image to use for Pages Functions.
- Compatibility
Date string - Compatibility date used for Pages Functions.
- Compatibility
Flags []string - Compatibility flags used for Pages Functions.
- D1Databases
map[string]Pages
Project Deployment Configs Production D1Databases - D1 databases used for Pages Functions.
- Durable
Object map[string]PagesNamespaces Project Deployment Configs Production Durable Object Namespaces - Durable Object namespaces used for Pages Functions.
- Env
Vars map[string]PagesProject Deployment Configs Production Env Vars - Environment variables used for builds and Pages Functions.
- Fail
Open bool - Whether to fail open when the deployment config cannot be applied.
- Hyperdrive
Bindings map[string]PagesProject Deployment Configs Production Hyperdrive Bindings - Hyperdrive bindings used for Pages Functions.
- Kv
Namespaces map[string]PagesProject Deployment Configs Production Kv Namespaces - KV namespaces used for Pages Functions.
- Limits
Pages
Project Deployment Configs Production Limits - Limits for Pages Functions.
- Mtls
Certificates map[string]PagesProject Deployment Configs Production Mtls Certificates - mTLS bindings used for Pages Functions.
- Placement
Pages
Project Deployment Configs Production Placement - Placement setting used for Pages Functions.
- Queue
Producers map[string]PagesProject Deployment Configs Production Queue Producers - Queue Producer bindings used for Pages Functions.
- R2Buckets
map[string]Pages
Project Deployment Configs Production R2Buckets - R2 buckets used for Pages Functions.
- Services
map[string]Pages
Project Deployment Configs Production Services - Services used for Pages Functions.
- Usage
Model string - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- Vectorize
Bindings map[string]PagesProject Deployment Configs Production Vectorize Bindings - Vectorize bindings used for Pages Functions.
- Wrangler
Config stringHash - Hash of the Wrangler configuration used for the deployment.
- ai
Bindings Map<String,PagesProject Deployment Configs Production Ai Bindings> - Constellation bindings used for Pages Functions.
- always
Use BooleanLatest Compatibility Date - Whether to always use the latest compatibility date for Pages Functions.
- analytics
Engine Map<String,PagesDatasets Project Deployment Configs Production Analytics Engine Datasets> - Analytics Engine bindings used for Pages Functions.
- browsers
Map<String,Pages
Project Deployment Configs Production Browsers> - Browser bindings used for Pages Functions.
- build
Image IntegerMajor Version - The major version of the build image to use for Pages Functions.
- compatibility
Date String - Compatibility date used for Pages Functions.
- compatibility
Flags List<String> - Compatibility flags used for Pages Functions.
- d1Databases
Map<String,Pages
Project Deployment Configs Production D1Databases> - D1 databases used for Pages Functions.
- durable
Object Map<String,PagesNamespaces Project Deployment Configs Production Durable Object Namespaces> - Durable Object namespaces used for Pages Functions.
- env
Vars Map<String,PagesProject Deployment Configs Production Env Vars> - Environment variables used for builds and Pages Functions.
- fail
Open Boolean - Whether to fail open when the deployment config cannot be applied.
- hyperdrive
Bindings Map<String,PagesProject Deployment Configs Production Hyperdrive Bindings> - Hyperdrive bindings used for Pages Functions.
- kv
Namespaces Map<String,PagesProject Deployment Configs Production Kv Namespaces> - KV namespaces used for Pages Functions.
- limits
Pages
Project Deployment Configs Production Limits - Limits for Pages Functions.
- mtls
Certificates Map<String,PagesProject Deployment Configs Production Mtls Certificates> - mTLS bindings used for Pages Functions.
- placement
Pages
Project Deployment Configs Production Placement - Placement setting used for Pages Functions.
- queue
Producers Map<String,PagesProject Deployment Configs Production Queue Producers> - Queue Producer bindings used for Pages Functions.
- r2Buckets
Map<String,Pages
Project Deployment Configs Production R2Buckets> - R2 buckets used for Pages Functions.
- services
Map<String,Pages
Project Deployment Configs Production Services> - Services used for Pages Functions.
- usage
Model String - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- vectorize
Bindings Map<String,PagesProject Deployment Configs Production Vectorize Bindings> - Vectorize bindings used for Pages Functions.
- wrangler
Config StringHash - Hash of the Wrangler configuration used for the deployment.
- ai
Bindings {[key: string]: PagesProject Deployment Configs Production Ai Bindings} - Constellation bindings used for Pages Functions.
- always
Use booleanLatest Compatibility Date - Whether to always use the latest compatibility date for Pages Functions.
- analytics
Engine {[key: string]: PagesDatasets Project Deployment Configs Production Analytics Engine Datasets} - Analytics Engine bindings used for Pages Functions.
- browsers
{[key: string]: Pages
Project Deployment Configs Production Browsers} - Browser bindings used for Pages Functions.
- build
Image numberMajor Version - The major version of the build image to use for Pages Functions.
- compatibility
Date string - Compatibility date used for Pages Functions.
- compatibility
Flags string[] - Compatibility flags used for Pages Functions.
- d1Databases
{[key: string]: Pages
Project Deployment Configs Production D1Databases} - D1 databases used for Pages Functions.
- durable
Object {[key: string]: PagesNamespaces Project Deployment Configs Production Durable Object Namespaces} - Durable Object namespaces used for Pages Functions.
- env
Vars {[key: string]: PagesProject Deployment Configs Production Env Vars} - Environment variables used for builds and Pages Functions.
- fail
Open boolean - Whether to fail open when the deployment config cannot be applied.
- hyperdrive
Bindings {[key: string]: PagesProject Deployment Configs Production Hyperdrive Bindings} - Hyperdrive bindings used for Pages Functions.
- kv
Namespaces {[key: string]: PagesProject Deployment Configs Production Kv Namespaces} - KV namespaces used for Pages Functions.
- limits
Pages
Project Deployment Configs Production Limits - Limits for Pages Functions.
- mtls
Certificates {[key: string]: PagesProject Deployment Configs Production Mtls Certificates} - mTLS bindings used for Pages Functions.
- placement
Pages
Project Deployment Configs Production Placement - Placement setting used for Pages Functions.
- queue
Producers {[key: string]: PagesProject Deployment Configs Production Queue Producers} - Queue Producer bindings used for Pages Functions.
- r2Buckets
{[key: string]: Pages
Project Deployment Configs Production R2Buckets} - R2 buckets used for Pages Functions.
- services
{[key: string]: Pages
Project Deployment Configs Production Services} - Services used for Pages Functions.
- usage
Model string - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- vectorize
Bindings {[key: string]: PagesProject Deployment Configs Production Vectorize Bindings} - Vectorize bindings used for Pages Functions.
- wrangler
Config stringHash - Hash of the Wrangler configuration used for the deployment.
- ai_
bindings Mapping[str, PagesProject Deployment Configs Production Ai Bindings] - Constellation bindings used for Pages Functions.
- always_
use_ boollatest_ compatibility_ date - Whether to always use the latest compatibility date for Pages Functions.
- analytics_
engine_ Mapping[str, Pagesdatasets Project Deployment Configs Production Analytics Engine Datasets] - Analytics Engine bindings used for Pages Functions.
- browsers
Mapping[str, Pages
Project Deployment Configs Production Browsers] - Browser bindings used for Pages Functions.
- build_
image_ intmajor_ version - The major version of the build image to use for Pages Functions.
- compatibility_
date str - Compatibility date used for Pages Functions.
- compatibility_
flags Sequence[str] - Compatibility flags used for Pages Functions.
- d1_
databases Mapping[str, PagesProject Deployment Configs Production D1Databases] - D1 databases used for Pages Functions.
- durable_
object_ Mapping[str, Pagesnamespaces Project Deployment Configs Production Durable Object Namespaces] - Durable Object namespaces used for Pages Functions.
- env_
vars Mapping[str, PagesProject Deployment Configs Production Env Vars] - Environment variables used for builds and Pages Functions.
- fail_
open bool - Whether to fail open when the deployment config cannot be applied.
- hyperdrive_
bindings Mapping[str, PagesProject Deployment Configs Production Hyperdrive Bindings] - Hyperdrive bindings used for Pages Functions.
- kv_
namespaces Mapping[str, PagesProject Deployment Configs Production Kv Namespaces] - KV namespaces used for Pages Functions.
- limits
Pages
Project Deployment Configs Production Limits - Limits for Pages Functions.
- mtls_
certificates Mapping[str, PagesProject Deployment Configs Production Mtls Certificates] - mTLS bindings used for Pages Functions.
- placement
Pages
Project Deployment Configs Production Placement - Placement setting used for Pages Functions.
- queue_
producers Mapping[str, PagesProject Deployment Configs Production Queue Producers] - Queue Producer bindings used for Pages Functions.
- r2_
buckets Mapping[str, PagesProject Deployment Configs Production R2Buckets] - R2 buckets used for Pages Functions.
- services
Mapping[str, Pages
Project Deployment Configs Production Services] - Services used for Pages Functions.
- usage_
model str - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- vectorize_
bindings Mapping[str, PagesProject Deployment Configs Production Vectorize Bindings] - Vectorize bindings used for Pages Functions.
- wrangler_
config_ strhash - Hash of the Wrangler configuration used for the deployment.
- ai
Bindings Map<Property Map> - Constellation bindings used for Pages Functions.
- always
Use BooleanLatest Compatibility Date - Whether to always use the latest compatibility date for Pages Functions.
- analytics
Engine Map<Property Map>Datasets - Analytics Engine bindings used for Pages Functions.
- browsers Map<Property Map>
- Browser bindings used for Pages Functions.
- build
Image NumberMajor Version - The major version of the build image to use for Pages Functions.
- compatibility
Date String - Compatibility date used for Pages Functions.
- compatibility
Flags List<String> - Compatibility flags used for Pages Functions.
- d1Databases Map<Property Map>
- D1 databases used for Pages Functions.
- durable
Object Map<Property Map>Namespaces - Durable Object namespaces used for Pages Functions.
- env
Vars Map<Property Map> - Environment variables used for builds and Pages Functions.
- fail
Open Boolean - Whether to fail open when the deployment config cannot be applied.
- hyperdrive
Bindings Map<Property Map> - Hyperdrive bindings used for Pages Functions.
- kv
Namespaces Map<Property Map> - KV namespaces used for Pages Functions.
- limits Property Map
- Limits for Pages Functions.
- mtls
Certificates Map<Property Map> - mTLS bindings used for Pages Functions.
- placement Property Map
- Placement setting used for Pages Functions.
- queue
Producers Map<Property Map> - Queue Producer bindings used for Pages Functions.
- r2Buckets Map<Property Map>
- R2 buckets used for Pages Functions.
- services Map<Property Map>
- Services used for Pages Functions.
- usage
Model String - The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".
- vectorize
Bindings Map<Property Map> - Vectorize bindings used for Pages Functions.
- wrangler
Config StringHash - Hash of the Wrangler configuration used for the deployment.
PagesProjectDeploymentConfigsProductionAiBindings, PagesProjectDeploymentConfigsProductionAiBindingsArgs
- Project
Id string
- Project
Id string
- project
Id String
- project
Id string
- project_
id str
- project
Id String
PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasets, PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasetsArgs
- Dataset string
- Name of the dataset.
- Dataset string
- Name of the dataset.
- dataset String
- Name of the dataset.
- dataset string
- Name of the dataset.
- dataset str
- Name of the dataset.
- dataset String
- Name of the dataset.
PagesProjectDeploymentConfigsProductionD1Databases, PagesProjectDeploymentConfigsProductionD1DatabasesArgs
- Id string
- UUID of the D1 database.
- Id string
- UUID of the D1 database.
- id String
- UUID of the D1 database.
- id string
- UUID of the D1 database.
- id str
- UUID of the D1 database.
- id String
- UUID of the D1 database.
PagesProjectDeploymentConfigsProductionDurableObjectNamespaces, PagesProjectDeploymentConfigsProductionDurableObjectNamespacesArgs
- Namespace
Id string - ID of the Durable Object namespace.
- Namespace
Id string - ID of the Durable Object namespace.
- namespace
Id String - ID of the Durable Object namespace.
- namespace
Id string - ID of the Durable Object namespace.
- namespace_
id str - ID of the Durable Object namespace.
- namespace
Id String - ID of the Durable Object namespace.
PagesProjectDeploymentConfigsProductionEnvVars, PagesProjectDeploymentConfigsProductionEnvVarsArgs
PagesProjectDeploymentConfigsProductionHyperdriveBindings, PagesProjectDeploymentConfigsProductionHyperdriveBindingsArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
PagesProjectDeploymentConfigsProductionKvNamespaces, PagesProjectDeploymentConfigsProductionKvNamespacesArgs
- Namespace
Id string - ID of the KV namespace.
- Namespace
Id string - ID of the KV namespace.
- namespace
Id String - ID of the KV namespace.
- namespace
Id string - ID of the KV namespace.
- namespace_
id str - ID of the KV namespace.
- namespace
Id String - ID of the KV namespace.
PagesProjectDeploymentConfigsProductionLimits, PagesProjectDeploymentConfigsProductionLimitsArgs
- Cpu
Ms int - CPU time limit in milliseconds.
- Cpu
Ms int - CPU time limit in milliseconds.
- cpu
Ms Integer - CPU time limit in milliseconds.
- cpu
Ms number - CPU time limit in milliseconds.
- cpu_
ms int - CPU time limit in milliseconds.
- cpu
Ms Number - CPU time limit in milliseconds.
PagesProjectDeploymentConfigsProductionMtlsCertificates, PagesProjectDeploymentConfigsProductionMtlsCertificatesArgs
- Certificate
Id string
- Certificate
Id string
- certificate
Id String
- certificate
Id string
- certificate_
id str
- certificate
Id String
PagesProjectDeploymentConfigsProductionPlacement, PagesProjectDeploymentConfigsProductionPlacementArgs
- Mode string
- Placement mode.
- Mode string
- Placement mode.
- mode String
- Placement mode.
- mode string
- Placement mode.
- mode str
- Placement mode.
- mode String
- Placement mode.
PagesProjectDeploymentConfigsProductionQueueProducers, PagesProjectDeploymentConfigsProductionQueueProducersArgs
- Name string
- Name of the Queue.
- Name string
- Name of the Queue.
- name String
- Name of the Queue.
- name string
- Name of the Queue.
- name str
- Name of the Queue.
- name String
- Name of the Queue.
PagesProjectDeploymentConfigsProductionR2Buckets, PagesProjectDeploymentConfigsProductionR2BucketsArgs
- Jurisdiction string
- Jurisdiction of the R2 bucket.
- Name string
- Name of the R2 bucket.
- Jurisdiction string
- Jurisdiction of the R2 bucket.
- Name string
- Name of the R2 bucket.
- jurisdiction String
- Jurisdiction of the R2 bucket.
- name String
- Name of the R2 bucket.
- jurisdiction string
- Jurisdiction of the R2 bucket.
- name string
- Name of the R2 bucket.
- jurisdiction str
- Jurisdiction of the R2 bucket.
- name str
- Name of the R2 bucket.
- jurisdiction String
- Jurisdiction of the R2 bucket.
- name String
- Name of the R2 bucket.
PagesProjectDeploymentConfigsProductionServices, PagesProjectDeploymentConfigsProductionServicesArgs
- Entrypoint string
- The entrypoint to bind to.
- Environment string
- The Service environment.
- Service string
- The Service name.
- Entrypoint string
- The entrypoint to bind to.
- Environment string
- The Service environment.
- Service string
- The Service name.
- entrypoint String
- The entrypoint to bind to.
- environment String
- The Service environment.
- service String
- The Service name.
- entrypoint string
- The entrypoint to bind to.
- environment string
- The Service environment.
- service string
- The Service name.
- entrypoint str
- The entrypoint to bind to.
- environment str
- The Service environment.
- service str
- The Service name.
- entrypoint String
- The entrypoint to bind to.
- environment String
- The Service environment.
- service String
- The Service name.
PagesProjectDeploymentConfigsProductionVectorizeBindings, PagesProjectDeploymentConfigsProductionVectorizeBindingsArgs
- Index
Name string
- Index
Name string
- index
Name String
- index
Name string
- index_
name str
- index
Name String
PagesProjectLatestDeployment, PagesProjectLatestDeploymentArgs
- Aliases List<string>
- A list of alias URLs pointing to this deployment.
- Build
Config PagesProject Latest Deployment Build Config - Configs for the project build process.
- Created
On string - When the deployment was created.
- Deployment
Trigger PagesProject Latest Deployment Deployment Trigger - Info about what caused the deployment.
- Env
Vars Dictionary<string, PagesProject Latest Deployment Env Vars> - Environment variables used for builds and Pages Functions.
- Environment string
- Type of deploy. Available values: "preview", "production".
- Id string
- Id of the deployment.
- Is
Skipped bool - If the deployment has been skipped.
- Latest
Stage PagesProject Latest Deployment Latest Stage - The status of the deployment.
- Modified
On string - When the deployment was last modified.
- Project
Id string - Id of the project.
- Project
Name string - Name of the project.
- Short
Id string - Short Id (8 character) of the deployment.
- Source
Pages
Project Latest Deployment Source - Stages
List<Pages
Project Latest Deployment Stage> - List of past stages.
- Url string
- The live URL to view this deployment.
- Aliases []string
- A list of alias URLs pointing to this deployment.
- Build
Config PagesProject Latest Deployment Build Config - Configs for the project build process.
- Created
On string - When the deployment was created.
- Deployment
Trigger PagesProject Latest Deployment Deployment Trigger - Info about what caused the deployment.
- Env
Vars map[string]PagesProject Latest Deployment Env Vars - Environment variables used for builds and Pages Functions.
- Environment string
- Type of deploy. Available values: "preview", "production".
- Id string
- Id of the deployment.
- Is
Skipped bool - If the deployment has been skipped.
- Latest
Stage PagesProject Latest Deployment Latest Stage - The status of the deployment.
- Modified
On string - When the deployment was last modified.
- Project
Id string - Id of the project.
- Project
Name string - Name of the project.
- Short
Id string - Short Id (8 character) of the deployment.
- Source
Pages
Project Latest Deployment Source - Stages
[]Pages
Project Latest Deployment Stage - List of past stages.
- Url string
- The live URL to view this deployment.
- aliases List<String>
- A list of alias URLs pointing to this deployment.
- build
Config PagesProject Latest Deployment Build Config - Configs for the project build process.
- created
On String - When the deployment was created.
- deployment
Trigger PagesProject Latest Deployment Deployment Trigger - Info about what caused the deployment.
- env
Vars Map<String,PagesProject Latest Deployment Env Vars> - Environment variables used for builds and Pages Functions.
- environment String
- Type of deploy. Available values: "preview", "production".
- id String
- Id of the deployment.
- is
Skipped Boolean - If the deployment has been skipped.
- latest
Stage PagesProject Latest Deployment Latest Stage - The status of the deployment.
- modified
On String - When the deployment was last modified.
- project
Id String - Id of the project.
- project
Name String - Name of the project.
- short
Id String - Short Id (8 character) of the deployment.
- source
Pages
Project Latest Deployment Source - stages
List<Pages
Project Latest Deployment Stage> - List of past stages.
- url String
- The live URL to view this deployment.
- aliases string[]
- A list of alias URLs pointing to this deployment.
- build
Config PagesProject Latest Deployment Build Config - Configs for the project build process.
- created
On string - When the deployment was created.
- deployment
Trigger PagesProject Latest Deployment Deployment Trigger - Info about what caused the deployment.
- env
Vars {[key: string]: PagesProject Latest Deployment Env Vars} - Environment variables used for builds and Pages Functions.
- environment string
- Type of deploy. Available values: "preview", "production".
- id string
- Id of the deployment.
- is
Skipped boolean - If the deployment has been skipped.
- latest
Stage PagesProject Latest Deployment Latest Stage - The status of the deployment.
- modified
On string - When the deployment was last modified.
- project
Id string - Id of the project.
- project
Name string - Name of the project.
- short
Id string - Short Id (8 character) of the deployment.
- source
Pages
Project Latest Deployment Source - stages
Pages
Project Latest Deployment Stage[] - List of past stages.
- url string
- The live URL to view this deployment.
- aliases Sequence[str]
- A list of alias URLs pointing to this deployment.
- build_
config PagesProject Latest Deployment Build Config - Configs for the project build process.
- created_
on str - When the deployment was created.
- deployment_
trigger PagesProject Latest Deployment Deployment Trigger - Info about what caused the deployment.
- env_
vars Mapping[str, PagesProject Latest Deployment Env Vars] - Environment variables used for builds and Pages Functions.
- environment str
- Type of deploy. Available values: "preview", "production".
- id str
- Id of the deployment.
- is_
skipped bool - If the deployment has been skipped.
- latest_
stage PagesProject Latest Deployment Latest Stage - The status of the deployment.
- modified_
on str - When the deployment was last modified.
- project_
id str - Id of the project.
- project_
name str - Name of the project.
- short_
id str - Short Id (8 character) of the deployment.
- source
Pages
Project Latest Deployment Source - stages
Sequence[Pages
Project Latest Deployment Stage] - List of past stages.
- url str
- The live URL to view this deployment.
- aliases List<String>
- A list of alias URLs pointing to this deployment.
- build
Config Property Map - Configs for the project build process.
- created
On String - When the deployment was created.
- deployment
Trigger Property Map - Info about what caused the deployment.
- env
Vars Map<Property Map> - Environment variables used for builds and Pages Functions.
- environment String
- Type of deploy. Available values: "preview", "production".
- id String
- Id of the deployment.
- is
Skipped Boolean - If the deployment has been skipped.
- latest
Stage Property Map - The status of the deployment.
- modified
On String - When the deployment was last modified.
- project
Id String - Id of the project.
- project
Name String - Name of the project.
- short
Id String - Short Id (8 character) of the deployment.
- source Property Map
- stages List<Property Map>
- List of past stages.
- url String
- The live URL to view this deployment.
PagesProjectLatestDeploymentBuildConfig, PagesProjectLatestDeploymentBuildConfigArgs
- Build
Caching bool - Enable build caching for the project.
- Build
Command string - Command used to build project.
- Destination
Dir string - Output directory of the build.
- Root
Dir string - Directory to run the command.
- Web
Analytics stringTag - The classifying tag for analytics.
- Web
Analytics stringToken - The auth token for analytics.
- Build
Caching bool - Enable build caching for the project.
- Build
Command string - Command used to build project.
- Destination
Dir string - Output directory of the build.
- Root
Dir string - Directory to run the command.
- Web
Analytics stringTag - The classifying tag for analytics.
- Web
Analytics stringToken - The auth token for analytics.
- build
Caching Boolean - Enable build caching for the project.
- build
Command String - Command used to build project.
- destination
Dir String - Output directory of the build.
- root
Dir String - Directory to run the command.
- web
Analytics StringTag - The classifying tag for analytics.
- web
Analytics StringToken - The auth token for analytics.
- build
Caching boolean - Enable build caching for the project.
- build
Command string - Command used to build project.
- destination
Dir string - Output directory of the build.
- root
Dir string - Directory to run the command.
- web
Analytics stringTag - The classifying tag for analytics.
- web
Analytics stringToken - The auth token for analytics.
- build_
caching bool - Enable build caching for the project.
- build_
command str - Command used to build project.
- destination_
dir str - Output directory of the build.
- root_
dir str - Directory to run the command.
- web_
analytics_ strtag - The classifying tag for analytics.
- web_
analytics_ strtoken - The auth token for analytics.
- build
Caching Boolean - Enable build caching for the project.
- build
Command String - Command used to build project.
- destination
Dir String - Output directory of the build.
- root
Dir String - Directory to run the command.
- web
Analytics StringTag - The classifying tag for analytics.
- web
Analytics StringToken - The auth token for analytics.
PagesProjectLatestDeploymentDeploymentTrigger, PagesProjectLatestDeploymentDeploymentTriggerArgs
- Metadata
Pages
Project Latest Deployment Deployment Trigger Metadata - Additional info about the trigger.
- Type string
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- Metadata
Pages
Project Latest Deployment Deployment Trigger Metadata - Additional info about the trigger.
- Type string
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata
Pages
Project Latest Deployment Deployment Trigger Metadata - Additional info about the trigger.
- type String
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata
Pages
Project Latest Deployment Deployment Trigger Metadata - Additional info about the trigger.
- type string
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata
Pages
Project Latest Deployment Deployment Trigger Metadata - Additional info about the trigger.
- type str
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata Property Map
- Additional info about the trigger.
- type String
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
PagesProjectLatestDeploymentDeploymentTriggerMetadata, PagesProjectLatestDeploymentDeploymentTriggerMetadataArgs
- Branch string
- Where the trigger happened.
- Commit
Hash string - Hash of the deployment trigger commit.
- Commit
Message string - Message of the deployment trigger commit.
- Branch string
- Where the trigger happened.
- Commit
Hash string - Hash of the deployment trigger commit.
- Commit
Message string - Message of the deployment trigger commit.
- branch String
- Where the trigger happened.
- commit
Hash String - Hash of the deployment trigger commit.
- commit
Message String - Message of the deployment trigger commit.
- branch string
- Where the trigger happened.
- commit
Hash string - Hash of the deployment trigger commit.
- commit
Message string - Message of the deployment trigger commit.
- branch str
- Where the trigger happened.
- commit_
hash str - Hash of the deployment trigger commit.
- commit_
message str - Message of the deployment trigger commit.
- branch String
- Where the trigger happened.
- commit
Hash String - Hash of the deployment trigger commit.
- commit
Message String - Message of the deployment trigger commit.
PagesProjectLatestDeploymentEnvVars, PagesProjectLatestDeploymentEnvVarsArgs
PagesProjectLatestDeploymentLatestStage, PagesProjectLatestDeploymentLatestStageArgs
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On string - When the stage ended.
- name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On string - When the stage started.
- status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended_
on str - When the stage ended.
- name str
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started_
on str - When the stage started.
- status str
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
PagesProjectLatestDeploymentSource, PagesProjectLatestDeploymentSourceArgs
- Config
Pages
Project Latest Deployment Source Config - Type string
- The source control management provider. Available values: "github", "gitlab".
- Config
Pages
Project Latest Deployment Source Config - Type string
- The source control management provider. Available values: "github", "gitlab".
- config
Pages
Project Latest Deployment Source Config - type String
- The source control management provider. Available values: "github", "gitlab".
- config
Pages
Project Latest Deployment Source Config - type string
- The source control management provider. Available values: "github", "gitlab".
- config
Pages
Project Latest Deployment Source Config - type str
- The source control management provider. Available values: "github", "gitlab".
- config Property Map
- type String
- The source control management provider. Available values: "github", "gitlab".
PagesProjectLatestDeploymentSourceConfig, PagesProjectLatestDeploymentSourceConfigArgs
- Deployments
Enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- Owner string
- The owner of the repository.
- Path
Excludes List<string> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - Path
Includes List<string> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - Pr
Comments boolEnabled - Whether to enable PR comments.
- Preview
Branch List<string>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Branch List<string>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- Production
Branch string - The production branch of the repository.
- Production
Deployments boolEnabled - Whether to trigger a production deployment on commits to the production branch.
- Repo
Name string - The name of the repository.
- Deployments
Enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- Owner string
- The owner of the repository.
- Path
Excludes []string - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - Path
Includes []string - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - Pr
Comments boolEnabled - Whether to enable PR comments.
- Preview
Branch []stringExcludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Branch []stringIncludes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- Production
Branch string - The production branch of the repository.
- Production
Deployments boolEnabled - Whether to trigger a production deployment on commits to the production branch.
- Repo
Name string - The name of the repository.
- deployments
Enabled Boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner String
- The owner of the repository.
- path
Excludes List<String> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes List<String> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments BooleanEnabled - Whether to enable PR comments.
- preview
Branch List<String>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch List<String>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment StringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch String - The production branch of the repository.
- production
Deployments BooleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name String - The name of the repository.
- deployments
Enabled boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner string
- The owner of the repository.
- path
Excludes string[] - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes string[] - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments booleanEnabled - Whether to enable PR comments.
- preview
Branch string[]Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch string[]Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch string - The production branch of the repository.
- production
Deployments booleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name string - The name of the repository.
- deployments_
enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner str
- The owner of the repository.
- path_
excludes Sequence[str] - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path_
includes Sequence[str] - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr_
comments_ boolenabled - Whether to enable PR comments.
- preview_
branch_ Sequence[str]excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview_
branch_ Sequence[str]includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview_
deployment_ strsetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production_
branch str - The production branch of the repository.
- production_
deployments_ boolenabled - Whether to trigger a production deployment on commits to the production branch.
- repo_
name str - The name of the repository.
- deployments
Enabled Boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner String
- The owner of the repository.
- path
Excludes List<String> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes List<String> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments BooleanEnabled - Whether to enable PR comments.
- preview
Branch List<String>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch List<String>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment StringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch String - The production branch of the repository.
- production
Deployments BooleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name String - The name of the repository.
PagesProjectLatestDeploymentStage, PagesProjectLatestDeploymentStageArgs
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On string - When the stage ended.
- name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On string - When the stage started.
- status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended_
on str - When the stage ended.
- name str
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started_
on str - When the stage started.
- status str
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
PagesProjectSource, PagesProjectSourceArgs
- Config
Pages
Project Source Config - Type string
- The source control management provider. Available values: "github", "gitlab".
- Config
Pages
Project Source Config - Type string
- The source control management provider. Available values: "github", "gitlab".
- config
Pages
Project Source Config - type String
- The source control management provider. Available values: "github", "gitlab".
- config
Pages
Project Source Config - type string
- The source control management provider. Available values: "github", "gitlab".
- config
Pages
Project Source Config - type str
- The source control management provider. Available values: "github", "gitlab".
- config Property Map
- type String
- The source control management provider. Available values: "github", "gitlab".
PagesProjectSourceConfig, PagesProjectSourceConfigArgs
- Deployments
Enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- Owner string
- The owner of the repository.
- Path
Excludes List<string> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - Path
Includes List<string> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - Pr
Comments boolEnabled - Whether to enable PR comments.
- Preview
Branch List<string>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Branch List<string>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- Production
Branch string - The production branch of the repository.
- Production
Deployments boolEnabled - Whether to trigger a production deployment on commits to the production branch.
- Repo
Name string - The name of the repository.
- Deployments
Enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- Owner string
- The owner of the repository.
- Path
Excludes []string - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - Path
Includes []string - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - Pr
Comments boolEnabled - Whether to enable PR comments.
- Preview
Branch []stringExcludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Branch []stringIncludes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- Production
Branch string - The production branch of the repository.
- Production
Deployments boolEnabled - Whether to trigger a production deployment on commits to the production branch.
- Repo
Name string - The name of the repository.
- deployments
Enabled Boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner String
- The owner of the repository.
- path
Excludes List<String> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes List<String> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments BooleanEnabled - Whether to enable PR comments.
- preview
Branch List<String>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch List<String>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment StringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch String - The production branch of the repository.
- production
Deployments BooleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name String - The name of the repository.
- deployments
Enabled boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner string
- The owner of the repository.
- path
Excludes string[] - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes string[] - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments booleanEnabled - Whether to enable PR comments.
- preview
Branch string[]Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch string[]Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch string - The production branch of the repository.
- production
Deployments booleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name string - The name of the repository.
- deployments_
enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner str
- The owner of the repository.
- path_
excludes Sequence[str] - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path_
includes Sequence[str] - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr_
comments_ boolenabled - Whether to enable PR comments.
- preview_
branch_ Sequence[str]excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview_
branch_ Sequence[str]includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview_
deployment_ strsetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production_
branch str - The production branch of the repository.
- production_
deployments_ boolenabled - Whether to trigger a production deployment on commits to the production branch.
- repo_
name str - The name of the repository.
- deployments
Enabled Boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner String
- The owner of the repository.
- path
Excludes List<String> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes List<String> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments BooleanEnabled - Whether to enable PR comments.
- preview
Branch List<String>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch List<String>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment StringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch String - The production branch of the repository.
- production
Deployments BooleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name String - The name of the repository.
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>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
