1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. PagesProject
Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi

cloudflare.PagesProject

Start a Neo task
Explain and create a cloudflare.PagesProject resource
cloudflare logo
Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi

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

    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:

    AccountId string
    Identifier
    Name string
    Name of the project.
    ProductionBranch string
    Production branch of the project. Used to identify production deployments.
    BuildConfig PagesProjectBuildConfig
    Configs for the project build process.
    DeploymentConfigs PagesProjectDeploymentConfigs
    Configs for deployments in a project.
    Source PagesProjectSource
    AccountId string
    Identifier
    Name string
    Name of the project.
    ProductionBranch string
    Production branch of the project. Used to identify production deployments.
    BuildConfig PagesProjectBuildConfigArgs
    Configs for the project build process.
    DeploymentConfigs PagesProjectDeploymentConfigsArgs
    Configs for deployments in a project.
    Source PagesProjectSourceArgs
    accountId String
    Identifier
    name String
    Name of the project.
    productionBranch String
    Production branch of the project. Used to identify production deployments.
    buildConfig PagesProjectBuildConfig
    Configs for the project build process.
    deploymentConfigs PagesProjectDeploymentConfigs
    Configs for deployments in a project.
    source PagesProjectSource
    accountId string
    Identifier
    name string
    Name of the project.
    productionBranch string
    Production branch of the project. Used to identify production deployments.
    buildConfig PagesProjectBuildConfig
    Configs for the project build process.
    deploymentConfigs PagesProjectDeploymentConfigs
    Configs for deployments in a project.
    source PagesProjectSource
    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 PagesProjectBuildConfigArgs
    Configs for the project build process.
    deployment_configs PagesProjectDeploymentConfigsArgs
    Configs for deployments in a project.
    source PagesProjectSourceArgs
    accountId String
    Identifier
    name String
    Name of the project.
    productionBranch String
    Production branch of the project. Used to identify production deployments.
    buildConfig Property Map
    Configs for the project build process.
    deploymentConfigs 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:

    CanonicalDeployment PagesProjectCanonicalDeployment
    Most recent production deployment of the project.
    CreatedOn 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.
    FrameworkVersion string
    Version of the framework the project is using.
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestDeployment PagesProjectLatestDeployment
    Most recent deployment of the project.
    PreviewScriptName string
    Name of the preview script.
    ProductionScriptName string
    Name of the production script.
    Subdomain string
    The Cloudflare subdomain associated with the project.
    UsesFunctions bool
    Whether the project uses functions.
    CanonicalDeployment PagesProjectCanonicalDeployment
    Most recent production deployment of the project.
    CreatedOn string
    When the project was created.
    Domains []string
    A list of associated custom domains for the project.
    Framework string
    Framework the project is using.
    FrameworkVersion string
    Version of the framework the project is using.
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestDeployment PagesProjectLatestDeployment
    Most recent deployment of the project.
    PreviewScriptName string
    Name of the preview script.
    ProductionScriptName string
    Name of the production script.
    Subdomain string
    The Cloudflare subdomain associated with the project.
    UsesFunctions bool
    Whether the project uses functions.
    canonicalDeployment PagesProjectCanonicalDeployment
    Most recent production deployment of the project.
    createdOn 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.
    frameworkVersion String
    Version of the framework the project is using.
    id String
    The provider-assigned unique ID for this managed resource.
    latestDeployment PagesProjectLatestDeployment
    Most recent deployment of the project.
    previewScriptName String
    Name of the preview script.
    productionScriptName String
    Name of the production script.
    subdomain String
    The Cloudflare subdomain associated with the project.
    usesFunctions Boolean
    Whether the project uses functions.
    canonicalDeployment PagesProjectCanonicalDeployment
    Most recent production deployment of the project.
    createdOn string
    When the project was created.
    domains string[]
    A list of associated custom domains for the project.
    framework string
    Framework the project is using.
    frameworkVersion string
    Version of the framework the project is using.
    id string
    The provider-assigned unique ID for this managed resource.
    latestDeployment PagesProjectLatestDeployment
    Most recent deployment of the project.
    previewScriptName string
    Name of the preview script.
    productionScriptName string
    Name of the production script.
    subdomain string
    The Cloudflare subdomain associated with the project.
    usesFunctions boolean
    Whether the project uses functions.
    canonical_deployment PagesProjectCanonicalDeployment
    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 PagesProjectLatestDeployment
    Most recent deployment of the project.
    preview_script_name str
    Name of the preview script.
    production_script_name str
    Name of the production script.
    subdomain str
    The Cloudflare subdomain associated with the project.
    uses_functions bool
    Whether the project uses functions.
    canonicalDeployment Property Map
    Most recent production deployment of the project.
    createdOn 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.
    frameworkVersion String
    Version of the framework the project is using.
    id String
    The provider-assigned unique ID for this managed resource.
    latestDeployment Property Map
    Most recent deployment of the project.
    previewScriptName String
    Name of the preview script.
    productionScriptName String
    Name of the production script.
    subdomain String
    The Cloudflare subdomain associated with the project.
    usesFunctions 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) -> PagesProject
    func 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.
    The following state arguments are supported:
    AccountId string
    Identifier
    BuildConfig PagesProjectBuildConfig
    Configs for the project build process.
    CanonicalDeployment PagesProjectCanonicalDeployment
    Most recent production deployment of the project.
    CreatedOn string
    When the project was created.
    DeploymentConfigs PagesProjectDeploymentConfigs
    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.
    FrameworkVersion string
    Version of the framework the project is using.
    LatestDeployment PagesProjectLatestDeployment
    Most recent deployment of the project.
    Name string
    Name of the project.
    PreviewScriptName string
    Name of the preview script.
    ProductionBranch string
    Production branch of the project. Used to identify production deployments.
    ProductionScriptName string
    Name of the production script.
    Source PagesProjectSource
    Subdomain string
    The Cloudflare subdomain associated with the project.
    UsesFunctions bool
    Whether the project uses functions.
    AccountId string
    Identifier
    BuildConfig PagesProjectBuildConfigArgs
    Configs for the project build process.
    CanonicalDeployment PagesProjectCanonicalDeploymentArgs
    Most recent production deployment of the project.
    CreatedOn string
    When the project was created.
    DeploymentConfigs PagesProjectDeploymentConfigsArgs
    Configs for deployments in a project.
    Domains []string
    A list of associated custom domains for the project.
    Framework string
    Framework the project is using.
    FrameworkVersion string
    Version of the framework the project is using.
    LatestDeployment PagesProjectLatestDeploymentArgs
    Most recent deployment of the project.
    Name string
    Name of the project.
    PreviewScriptName string
    Name of the preview script.
    ProductionBranch string
    Production branch of the project. Used to identify production deployments.
    ProductionScriptName string
    Name of the production script.
    Source PagesProjectSourceArgs
    Subdomain string
    The Cloudflare subdomain associated with the project.
    UsesFunctions bool
    Whether the project uses functions.
    accountId String
    Identifier
    buildConfig PagesProjectBuildConfig
    Configs for the project build process.
    canonicalDeployment PagesProjectCanonicalDeployment
    Most recent production deployment of the project.
    createdOn String
    When the project was created.
    deploymentConfigs PagesProjectDeploymentConfigs
    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.
    frameworkVersion String
    Version of the framework the project is using.
    latestDeployment PagesProjectLatestDeployment
    Most recent deployment of the project.
    name String
    Name of the project.
    previewScriptName String
    Name of the preview script.
    productionBranch String
    Production branch of the project. Used to identify production deployments.
    productionScriptName String
    Name of the production script.
    source PagesProjectSource
    subdomain String
    The Cloudflare subdomain associated with the project.
    usesFunctions Boolean
    Whether the project uses functions.
    accountId string
    Identifier
    buildConfig PagesProjectBuildConfig
    Configs for the project build process.
    canonicalDeployment PagesProjectCanonicalDeployment
    Most recent production deployment of the project.
    createdOn string
    When the project was created.
    deploymentConfigs PagesProjectDeploymentConfigs
    Configs for deployments in a project.
    domains string[]
    A list of associated custom domains for the project.
    framework string
    Framework the project is using.
    frameworkVersion string
    Version of the framework the project is using.
    latestDeployment PagesProjectLatestDeployment
    Most recent deployment of the project.
    name string
    Name of the project.
    previewScriptName string
    Name of the preview script.
    productionBranch string
    Production branch of the project. Used to identify production deployments.
    productionScriptName string
    Name of the production script.
    source PagesProjectSource
    subdomain string
    The Cloudflare subdomain associated with the project.
    usesFunctions boolean
    Whether the project uses functions.
    account_id str
    Identifier
    build_config PagesProjectBuildConfigArgs
    Configs for the project build process.
    canonical_deployment PagesProjectCanonicalDeploymentArgs
    Most recent production deployment of the project.
    created_on str
    When the project was created.
    deployment_configs PagesProjectDeploymentConfigsArgs
    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 PagesProjectLatestDeploymentArgs
    Most recent deployment of the project.
    name str
    Name of the project.
    preview_script_name str
    Name of the preview script.
    production_branch str
    Production branch of the project. Used to identify production deployments.
    production_script_name str
    Name of the production script.
    source PagesProjectSourceArgs
    subdomain str
    The Cloudflare subdomain associated with the project.
    uses_functions bool
    Whether the project uses functions.
    accountId String
    Identifier
    buildConfig Property Map
    Configs for the project build process.
    canonicalDeployment Property Map
    Most recent production deployment of the project.
    createdOn String
    When the project was created.
    deploymentConfigs 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.
    frameworkVersion String
    Version of the framework the project is using.
    latestDeployment Property Map
    Most recent deployment of the project.
    name String
    Name of the project.
    previewScriptName String
    Name of the preview script.
    productionBranch String
    Production branch of the project. Used to identify production deployments.
    productionScriptName String
    Name of the production script.
    source Property Map
    subdomain String
    The Cloudflare subdomain associated with the project.
    usesFunctions Boolean
    Whether the project uses functions.

    Supporting Types

    PagesProjectBuildConfig, PagesProjectBuildConfigArgs

    BuildCaching bool
    Enable build caching for the project.
    BuildCommand string
    Command used to build project.
    DestinationDir string
    Output directory of the build.
    RootDir string
    Directory to run the command.
    WebAnalyticsTag string
    The classifying tag for analytics.
    WebAnalyticsToken string
    The auth token for analytics.
    BuildCaching bool
    Enable build caching for the project.
    BuildCommand string
    Command used to build project.
    DestinationDir string
    Output directory of the build.
    RootDir string
    Directory to run the command.
    WebAnalyticsTag string
    The classifying tag for analytics.
    WebAnalyticsToken string
    The auth token for analytics.
    buildCaching Boolean
    Enable build caching for the project.
    buildCommand String
    Command used to build project.
    destinationDir String
    Output directory of the build.
    rootDir String
    Directory to run the command.
    webAnalyticsTag String
    The classifying tag for analytics.
    webAnalyticsToken String
    The auth token for analytics.
    buildCaching boolean
    Enable build caching for the project.
    buildCommand string
    Command used to build project.
    destinationDir string
    Output directory of the build.
    rootDir string
    Directory to run the command.
    webAnalyticsTag string
    The classifying tag for analytics.
    webAnalyticsToken string
    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_tag str
    The classifying tag for analytics.
    web_analytics_token str
    The auth token for analytics.
    buildCaching Boolean
    Enable build caching for the project.
    buildCommand String
    Command used to build project.
    destinationDir String
    Output directory of the build.
    rootDir String
    Directory to run the command.
    webAnalyticsTag String
    The classifying tag for analytics.
    webAnalyticsToken String
    The auth token for analytics.

    PagesProjectCanonicalDeployment, PagesProjectCanonicalDeploymentArgs

    Aliases List<string>
    A list of alias URLs pointing to this deployment.
    BuildConfig PagesProjectCanonicalDeploymentBuildConfig
    Configs for the project build process.
    CreatedOn string
    When the deployment was created.
    DeploymentTrigger PagesProjectCanonicalDeploymentDeploymentTrigger
    Info about what caused the deployment.
    EnvVars Dictionary<string, PagesProjectCanonicalDeploymentEnvVars>
    Environment variables used for builds and Pages Functions.
    Environment string
    Type of deploy. Available values: "preview", "production".
    Id string
    Id of the deployment.
    IsSkipped bool
    If the deployment has been skipped.
    LatestStage PagesProjectCanonicalDeploymentLatestStage
    The status of the deployment.
    ModifiedOn string
    When the deployment was last modified.
    ProjectId string
    Id of the project.
    ProjectName string
    Name of the project.
    ShortId string
    Short Id (8 character) of the deployment.
    Source PagesProjectCanonicalDeploymentSource
    Stages List<PagesProjectCanonicalDeploymentStage>
    List of past stages.
    Url string
    The live URL to view this deployment.
    Aliases []string
    A list of alias URLs pointing to this deployment.
    BuildConfig PagesProjectCanonicalDeploymentBuildConfig
    Configs for the project build process.
    CreatedOn string
    When the deployment was created.
    DeploymentTrigger PagesProjectCanonicalDeploymentDeploymentTrigger
    Info about what caused the deployment.
    EnvVars map[string]PagesProjectCanonicalDeploymentEnvVars
    Environment variables used for builds and Pages Functions.
    Environment string
    Type of deploy. Available values: "preview", "production".
    Id string
    Id of the deployment.
    IsSkipped bool
    If the deployment has been skipped.
    LatestStage PagesProjectCanonicalDeploymentLatestStage
    The status of the deployment.
    ModifiedOn string
    When the deployment was last modified.
    ProjectId string
    Id of the project.
    ProjectName string
    Name of the project.
    ShortId string
    Short Id (8 character) of the deployment.
    Source PagesProjectCanonicalDeploymentSource
    Stages []PagesProjectCanonicalDeploymentStage
    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.
    buildConfig PagesProjectCanonicalDeploymentBuildConfig
    Configs for the project build process.
    createdOn String
    When the deployment was created.
    deploymentTrigger PagesProjectCanonicalDeploymentDeploymentTrigger
    Info about what caused the deployment.
    envVars Map<String,PagesProjectCanonicalDeploymentEnvVars>
    Environment variables used for builds and Pages Functions.
    environment String
    Type of deploy. Available values: "preview", "production".
    id String
    Id of the deployment.
    isSkipped Boolean
    If the deployment has been skipped.
    latestStage PagesProjectCanonicalDeploymentLatestStage
    The status of the deployment.
    modifiedOn String
    When the deployment was last modified.
    projectId String
    Id of the project.
    projectName String
    Name of the project.
    shortId String
    Short Id (8 character) of the deployment.
    source PagesProjectCanonicalDeploymentSource
    stages List<PagesProjectCanonicalDeploymentStage>
    List of past stages.
    url String
    The live URL to view this deployment.
    aliases string[]
    A list of alias URLs pointing to this deployment.
    buildConfig PagesProjectCanonicalDeploymentBuildConfig
    Configs for the project build process.
    createdOn string
    When the deployment was created.
    deploymentTrigger PagesProjectCanonicalDeploymentDeploymentTrigger
    Info about what caused the deployment.
    envVars {[key: string]: PagesProjectCanonicalDeploymentEnvVars}
    Environment variables used for builds and Pages Functions.
    environment string
    Type of deploy. Available values: "preview", "production".
    id string
    Id of the deployment.
    isSkipped boolean
    If the deployment has been skipped.
    latestStage PagesProjectCanonicalDeploymentLatestStage
    The status of the deployment.
    modifiedOn string
    When the deployment was last modified.
    projectId string
    Id of the project.
    projectName string
    Name of the project.
    shortId string
    Short Id (8 character) of the deployment.
    source PagesProjectCanonicalDeploymentSource
    stages PagesProjectCanonicalDeploymentStage[]
    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 PagesProjectCanonicalDeploymentBuildConfig
    Configs for the project build process.
    created_on str
    When the deployment was created.
    deployment_trigger PagesProjectCanonicalDeploymentDeploymentTrigger
    Info about what caused the deployment.
    env_vars Mapping[str, PagesProjectCanonicalDeploymentEnvVars]
    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 PagesProjectCanonicalDeploymentLatestStage
    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 PagesProjectCanonicalDeploymentSource
    stages Sequence[PagesProjectCanonicalDeploymentStage]
    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.
    buildConfig Property Map
    Configs for the project build process.
    createdOn String
    When the deployment was created.
    deploymentTrigger Property Map
    Info about what caused the deployment.
    envVars 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.
    isSkipped Boolean
    If the deployment has been skipped.
    latestStage Property Map
    The status of the deployment.
    modifiedOn String
    When the deployment was last modified.
    projectId String
    Id of the project.
    projectName String
    Name of the project.
    shortId 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

    BuildCaching bool
    Enable build caching for the project.
    BuildCommand string
    Command used to build project.
    DestinationDir string
    Output directory of the build.
    RootDir string
    Directory to run the command.
    WebAnalyticsTag string
    The classifying tag for analytics.
    WebAnalyticsToken string
    The auth token for analytics.
    BuildCaching bool
    Enable build caching for the project.
    BuildCommand string
    Command used to build project.
    DestinationDir string
    Output directory of the build.
    RootDir string
    Directory to run the command.
    WebAnalyticsTag string
    The classifying tag for analytics.
    WebAnalyticsToken string
    The auth token for analytics.
    buildCaching Boolean
    Enable build caching for the project.
    buildCommand String
    Command used to build project.
    destinationDir String
    Output directory of the build.
    rootDir String
    Directory to run the command.
    webAnalyticsTag String
    The classifying tag for analytics.
    webAnalyticsToken String
    The auth token for analytics.
    buildCaching boolean
    Enable build caching for the project.
    buildCommand string
    Command used to build project.
    destinationDir string
    Output directory of the build.
    rootDir string
    Directory to run the command.
    webAnalyticsTag string
    The classifying tag for analytics.
    webAnalyticsToken string
    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_tag str
    The classifying tag for analytics.
    web_analytics_token str
    The auth token for analytics.
    buildCaching Boolean
    Enable build caching for the project.
    buildCommand String
    Command used to build project.
    destinationDir String
    Output directory of the build.
    rootDir String
    Directory to run the command.
    webAnalyticsTag String
    The classifying tag for analytics.
    webAnalyticsToken String
    The auth token for analytics.

    PagesProjectCanonicalDeploymentDeploymentTrigger, PagesProjectCanonicalDeploymentDeploymentTriggerArgs

    Metadata PagesProjectCanonicalDeploymentDeploymentTriggerMetadata
    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 PagesProjectCanonicalDeploymentDeploymentTriggerMetadata
    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 PagesProjectCanonicalDeploymentDeploymentTriggerMetadata
    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 PagesProjectCanonicalDeploymentDeploymentTriggerMetadata
    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 PagesProjectCanonicalDeploymentDeploymentTriggerMetadata
    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.
    CommitHash string
    Hash of the deployment trigger commit.
    CommitMessage string
    Message of the deployment trigger commit.
    Branch string
    Where the trigger happened.
    CommitHash string
    Hash of the deployment trigger commit.
    CommitMessage string
    Message of the deployment trigger commit.
    branch String
    Where the trigger happened.
    commitHash String
    Hash of the deployment trigger commit.
    commitMessage String
    Message of the deployment trigger commit.
    branch string
    Where the trigger happened.
    commitHash string
    Hash of the deployment trigger commit.
    commitMessage 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.
    commitHash String
    Hash of the deployment trigger commit.
    commitMessage String
    Message of the deployment trigger commit.

    PagesProjectCanonicalDeploymentEnvVars, PagesProjectCanonicalDeploymentEnvVarsArgs

    Type string
    Available values: "plaintext", "secrettext".
    Value string
    Environment variable value.
    Type string
    Available values: "plaintext", "secrettext".
    Value string
    Environment variable value.
    type String
    Available values: "plaintext", "secrettext".
    value String
    Environment variable value.
    type string
    Available values: "plaintext", "secrettext".
    value string
    Environment variable value.
    type str
    Available values: "plaintext", "secrettext".
    value str
    Environment variable value.
    type String
    Available values: "plaintext", "secrettext".
    value String
    Environment variable value.

    PagesProjectCanonicalDeploymentLatestStage, PagesProjectCanonicalDeploymentLatestStageArgs

    EndedOn 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".
    StartedOn string
    When the stage started.
    Status string
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    EndedOn 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".
    StartedOn string
    When the stage started.
    Status string
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    endedOn 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".
    startedOn String
    When the stage started.
    status String
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    endedOn 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".
    startedOn 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".
    endedOn 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".
    startedOn String
    When the stage started.
    status String
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".

    PagesProjectCanonicalDeploymentSource, PagesProjectCanonicalDeploymentSourceArgs

    Config PagesProjectCanonicalDeploymentSourceConfig
    Type string
    The source control management provider. Available values: "github", "gitlab".
    Config PagesProjectCanonicalDeploymentSourceConfig
    Type string
    The source control management provider. Available values: "github", "gitlab".
    config PagesProjectCanonicalDeploymentSourceConfig
    type String
    The source control management provider. Available values: "github", "gitlab".
    config PagesProjectCanonicalDeploymentSourceConfig
    type string
    The source control management provider. Available values: "github", "gitlab".
    config PagesProjectCanonicalDeploymentSourceConfig
    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

    DeploymentsEnabled bool
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    Owner string
    The owner of the repository.
    PathExcludes List<string>
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    PathIncludes List<string>
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    PrCommentsEnabled bool
    Whether to enable PR comments.
    PreviewBranchExcludes List<string>
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewBranchIncludes List<string>
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewDeploymentSetting string
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    ProductionBranch string
    The production branch of the repository.
    ProductionDeploymentsEnabled bool
    Whether to trigger a production deployment on commits to the production branch.
    RepoName string
    The name of the repository.
    DeploymentsEnabled bool
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    Owner string
    The owner of the repository.
    PathExcludes []string
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    PathIncludes []string
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    PrCommentsEnabled bool
    Whether to enable PR comments.
    PreviewBranchExcludes []string
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewBranchIncludes []string
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewDeploymentSetting string
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    ProductionBranch string
    The production branch of the repository.
    ProductionDeploymentsEnabled bool
    Whether to trigger a production deployment on commits to the production branch.
    RepoName string
    The name of the repository.
    deploymentsEnabled Boolean
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    owner String
    The owner of the repository.
    pathExcludes List<String>
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    pathIncludes List<String>
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    prCommentsEnabled Boolean
    Whether to enable PR comments.
    previewBranchExcludes List<String>
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewBranchIncludes List<String>
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewDeploymentSetting String
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    productionBranch String
    The production branch of the repository.
    productionDeploymentsEnabled Boolean
    Whether to trigger a production deployment on commits to the production branch.
    repoName String
    The name of the repository.
    deploymentsEnabled boolean
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    owner string
    The owner of the repository.
    pathExcludes string[]
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    pathIncludes string[]
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    prCommentsEnabled boolean
    Whether to enable PR comments.
    previewBranchExcludes string[]
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewBranchIncludes string[]
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewDeploymentSetting string
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    productionBranch string
    The production branch of the repository.
    productionDeploymentsEnabled boolean
    Whether to trigger a production deployment on commits to the production branch.
    repoName 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.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    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_enabled bool
    Whether to enable PR comments.
    preview_branch_excludes Sequence[str]
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    preview_branch_includes Sequence[str]
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    preview_deployment_setting str
    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_enabled bool
    Whether to trigger a production deployment on commits to the production branch.
    repo_name str
    The name of the repository.
    deploymentsEnabled Boolean
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    owner String
    The owner of the repository.
    pathExcludes List<String>
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    pathIncludes List<String>
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    prCommentsEnabled Boolean
    Whether to enable PR comments.
    previewBranchExcludes List<String>
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewBranchIncludes List<String>
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewDeploymentSetting String
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    productionBranch String
    The production branch of the repository.
    productionDeploymentsEnabled Boolean
    Whether to trigger a production deployment on commits to the production branch.
    repoName String
    The name of the repository.

    PagesProjectCanonicalDeploymentStage, PagesProjectCanonicalDeploymentStageArgs

    EndedOn 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".
    StartedOn string
    When the stage started.
    Status string
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    EndedOn 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".
    StartedOn string
    When the stage started.
    Status string
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    endedOn 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".
    startedOn String
    When the stage started.
    status String
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    endedOn 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".
    startedOn 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".
    endedOn 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".
    startedOn String
    When the stage started.
    status String
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".

    PagesProjectDeploymentConfigs, PagesProjectDeploymentConfigsArgs

    preview Property Map
    Configs for preview deploys.
    production Property Map
    Configs for production deploys.

    PagesProjectDeploymentConfigsPreview, PagesProjectDeploymentConfigsPreviewArgs

    AiBindings Dictionary<string, PagesProjectDeploymentConfigsPreviewAiBindings>
    Constellation bindings used for Pages Functions.
    AlwaysUseLatestCompatibilityDate bool
    Whether to always use the latest compatibility date for Pages Functions.
    AnalyticsEngineDatasets Dictionary<string, PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasets>
    Analytics Engine bindings used for Pages Functions.
    Browsers Dictionary<string, PagesProjectDeploymentConfigsPreviewBrowsers>
    Browser bindings used for Pages Functions.
    BuildImageMajorVersion int
    The major version of the build image to use for Pages Functions.
    CompatibilityDate string
    Compatibility date used for Pages Functions.
    CompatibilityFlags List<string>
    Compatibility flags used for Pages Functions.
    D1Databases Dictionary<string, PagesProjectDeploymentConfigsPreviewD1Databases>
    D1 databases used for Pages Functions.
    DurableObjectNamespaces Dictionary<string, PagesProjectDeploymentConfigsPreviewDurableObjectNamespaces>
    Durable Object namespaces used for Pages Functions.
    EnvVars Dictionary<string, PagesProjectDeploymentConfigsPreviewEnvVars>
    Environment variables used for builds and Pages Functions.
    FailOpen bool
    Whether to fail open when the deployment config cannot be applied.
    HyperdriveBindings Dictionary<string, PagesProjectDeploymentConfigsPreviewHyperdriveBindings>
    Hyperdrive bindings used for Pages Functions.
    KvNamespaces Dictionary<string, PagesProjectDeploymentConfigsPreviewKvNamespaces>
    KV namespaces used for Pages Functions.
    Limits PagesProjectDeploymentConfigsPreviewLimits
    Limits for Pages Functions.
    MtlsCertificates Dictionary<string, PagesProjectDeploymentConfigsPreviewMtlsCertificates>
    mTLS bindings used for Pages Functions.
    Placement PagesProjectDeploymentConfigsPreviewPlacement
    Placement setting used for Pages Functions.
    QueueProducers Dictionary<string, PagesProjectDeploymentConfigsPreviewQueueProducers>
    Queue Producer bindings used for Pages Functions.
    R2Buckets Dictionary<string, PagesProjectDeploymentConfigsPreviewR2Buckets>
    R2 buckets used for Pages Functions.
    Services Dictionary<string, PagesProjectDeploymentConfigsPreviewServices>
    Services used for Pages Functions.
    UsageModel string
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    VectorizeBindings Dictionary<string, PagesProjectDeploymentConfigsPreviewVectorizeBindings>
    Vectorize bindings used for Pages Functions.
    WranglerConfigHash string
    Hash of the Wrangler configuration used for the deployment.
    AiBindings map[string]PagesProjectDeploymentConfigsPreviewAiBindings
    Constellation bindings used for Pages Functions.
    AlwaysUseLatestCompatibilityDate bool
    Whether to always use the latest compatibility date for Pages Functions.
    AnalyticsEngineDatasets map[string]PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasets
    Analytics Engine bindings used for Pages Functions.
    Browsers map[string]PagesProjectDeploymentConfigsPreviewBrowsers
    Browser bindings used for Pages Functions.
    BuildImageMajorVersion int
    The major version of the build image to use for Pages Functions.
    CompatibilityDate string
    Compatibility date used for Pages Functions.
    CompatibilityFlags []string
    Compatibility flags used for Pages Functions.
    D1Databases map[string]PagesProjectDeploymentConfigsPreviewD1Databases
    D1 databases used for Pages Functions.
    DurableObjectNamespaces map[string]PagesProjectDeploymentConfigsPreviewDurableObjectNamespaces
    Durable Object namespaces used for Pages Functions.
    EnvVars map[string]PagesProjectDeploymentConfigsPreviewEnvVars
    Environment variables used for builds and Pages Functions.
    FailOpen bool
    Whether to fail open when the deployment config cannot be applied.
    HyperdriveBindings map[string]PagesProjectDeploymentConfigsPreviewHyperdriveBindings
    Hyperdrive bindings used for Pages Functions.
    KvNamespaces map[string]PagesProjectDeploymentConfigsPreviewKvNamespaces
    KV namespaces used for Pages Functions.
    Limits PagesProjectDeploymentConfigsPreviewLimits
    Limits for Pages Functions.
    MtlsCertificates map[string]PagesProjectDeploymentConfigsPreviewMtlsCertificates
    mTLS bindings used for Pages Functions.
    Placement PagesProjectDeploymentConfigsPreviewPlacement
    Placement setting used for Pages Functions.
    QueueProducers map[string]PagesProjectDeploymentConfigsPreviewQueueProducers
    Queue Producer bindings used for Pages Functions.
    R2Buckets map[string]PagesProjectDeploymentConfigsPreviewR2Buckets
    R2 buckets used for Pages Functions.
    Services map[string]PagesProjectDeploymentConfigsPreviewServices
    Services used for Pages Functions.
    UsageModel string
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    VectorizeBindings map[string]PagesProjectDeploymentConfigsPreviewVectorizeBindings
    Vectorize bindings used for Pages Functions.
    WranglerConfigHash string
    Hash of the Wrangler configuration used for the deployment.
    aiBindings Map<String,PagesProjectDeploymentConfigsPreviewAiBindings>
    Constellation bindings used for Pages Functions.
    alwaysUseLatestCompatibilityDate Boolean
    Whether to always use the latest compatibility date for Pages Functions.
    analyticsEngineDatasets Map<String,PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasets>
    Analytics Engine bindings used for Pages Functions.
    browsers Map<String,PagesProjectDeploymentConfigsPreviewBrowsers>
    Browser bindings used for Pages Functions.
    buildImageMajorVersion Integer
    The major version of the build image to use for Pages Functions.
    compatibilityDate String
    Compatibility date used for Pages Functions.
    compatibilityFlags List<String>
    Compatibility flags used for Pages Functions.
    d1Databases Map<String,PagesProjectDeploymentConfigsPreviewD1Databases>
    D1 databases used for Pages Functions.
    durableObjectNamespaces Map<String,PagesProjectDeploymentConfigsPreviewDurableObjectNamespaces>
    Durable Object namespaces used for Pages Functions.
    envVars Map<String,PagesProjectDeploymentConfigsPreviewEnvVars>
    Environment variables used for builds and Pages Functions.
    failOpen Boolean
    Whether to fail open when the deployment config cannot be applied.
    hyperdriveBindings Map<String,PagesProjectDeploymentConfigsPreviewHyperdriveBindings>
    Hyperdrive bindings used for Pages Functions.
    kvNamespaces Map<String,PagesProjectDeploymentConfigsPreviewKvNamespaces>
    KV namespaces used for Pages Functions.
    limits PagesProjectDeploymentConfigsPreviewLimits
    Limits for Pages Functions.
    mtlsCertificates Map<String,PagesProjectDeploymentConfigsPreviewMtlsCertificates>
    mTLS bindings used for Pages Functions.
    placement PagesProjectDeploymentConfigsPreviewPlacement
    Placement setting used for Pages Functions.
    queueProducers Map<String,PagesProjectDeploymentConfigsPreviewQueueProducers>
    Queue Producer bindings used for Pages Functions.
    r2Buckets Map<String,PagesProjectDeploymentConfigsPreviewR2Buckets>
    R2 buckets used for Pages Functions.
    services Map<String,PagesProjectDeploymentConfigsPreviewServices>
    Services used for Pages Functions.
    usageModel String
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    vectorizeBindings Map<String,PagesProjectDeploymentConfigsPreviewVectorizeBindings>
    Vectorize bindings used for Pages Functions.
    wranglerConfigHash String
    Hash of the Wrangler configuration used for the deployment.
    aiBindings {[key: string]: PagesProjectDeploymentConfigsPreviewAiBindings}
    Constellation bindings used for Pages Functions.
    alwaysUseLatestCompatibilityDate boolean
    Whether to always use the latest compatibility date for Pages Functions.
    analyticsEngineDatasets {[key: string]: PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasets}
    Analytics Engine bindings used for Pages Functions.
    browsers {[key: string]: PagesProjectDeploymentConfigsPreviewBrowsers}
    Browser bindings used for Pages Functions.
    buildImageMajorVersion number
    The major version of the build image to use for Pages Functions.
    compatibilityDate string
    Compatibility date used for Pages Functions.
    compatibilityFlags string[]
    Compatibility flags used for Pages Functions.
    d1Databases {[key: string]: PagesProjectDeploymentConfigsPreviewD1Databases}
    D1 databases used for Pages Functions.
    durableObjectNamespaces {[key: string]: PagesProjectDeploymentConfigsPreviewDurableObjectNamespaces}
    Durable Object namespaces used for Pages Functions.
    envVars {[key: string]: PagesProjectDeploymentConfigsPreviewEnvVars}
    Environment variables used for builds and Pages Functions.
    failOpen boolean
    Whether to fail open when the deployment config cannot be applied.
    hyperdriveBindings {[key: string]: PagesProjectDeploymentConfigsPreviewHyperdriveBindings}
    Hyperdrive bindings used for Pages Functions.
    kvNamespaces {[key: string]: PagesProjectDeploymentConfigsPreviewKvNamespaces}
    KV namespaces used for Pages Functions.
    limits PagesProjectDeploymentConfigsPreviewLimits
    Limits for Pages Functions.
    mtlsCertificates {[key: string]: PagesProjectDeploymentConfigsPreviewMtlsCertificates}
    mTLS bindings used for Pages Functions.
    placement PagesProjectDeploymentConfigsPreviewPlacement
    Placement setting used for Pages Functions.
    queueProducers {[key: string]: PagesProjectDeploymentConfigsPreviewQueueProducers}
    Queue Producer bindings used for Pages Functions.
    r2Buckets {[key: string]: PagesProjectDeploymentConfigsPreviewR2Buckets}
    R2 buckets used for Pages Functions.
    services {[key: string]: PagesProjectDeploymentConfigsPreviewServices}
    Services used for Pages Functions.
    usageModel string
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    vectorizeBindings {[key: string]: PagesProjectDeploymentConfigsPreviewVectorizeBindings}
    Vectorize bindings used for Pages Functions.
    wranglerConfigHash string
    Hash of the Wrangler configuration used for the deployment.
    ai_bindings Mapping[str, PagesProjectDeploymentConfigsPreviewAiBindings]
    Constellation bindings used for Pages Functions.
    always_use_latest_compatibility_date bool
    Whether to always use the latest compatibility date for Pages Functions.
    analytics_engine_datasets Mapping[str, PagesProjectDeploymentConfigsPreviewAnalyticsEngineDatasets]
    Analytics Engine bindings used for Pages Functions.
    browsers Mapping[str, PagesProjectDeploymentConfigsPreviewBrowsers]
    Browser bindings used for Pages Functions.
    build_image_major_version int
    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, PagesProjectDeploymentConfigsPreviewD1Databases]
    D1 databases used for Pages Functions.
    durable_object_namespaces Mapping[str, PagesProjectDeploymentConfigsPreviewDurableObjectNamespaces]
    Durable Object namespaces used for Pages Functions.
    env_vars Mapping[str, PagesProjectDeploymentConfigsPreviewEnvVars]
    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, PagesProjectDeploymentConfigsPreviewHyperdriveBindings]
    Hyperdrive bindings used for Pages Functions.
    kv_namespaces Mapping[str, PagesProjectDeploymentConfigsPreviewKvNamespaces]
    KV namespaces used for Pages Functions.
    limits PagesProjectDeploymentConfigsPreviewLimits
    Limits for Pages Functions.
    mtls_certificates Mapping[str, PagesProjectDeploymentConfigsPreviewMtlsCertificates]
    mTLS bindings used for Pages Functions.
    placement PagesProjectDeploymentConfigsPreviewPlacement
    Placement setting used for Pages Functions.
    queue_producers Mapping[str, PagesProjectDeploymentConfigsPreviewQueueProducers]
    Queue Producer bindings used for Pages Functions.
    r2_buckets Mapping[str, PagesProjectDeploymentConfigsPreviewR2Buckets]
    R2 buckets used for Pages Functions.
    services Mapping[str, PagesProjectDeploymentConfigsPreviewServices]
    Services used for Pages Functions.
    usage_model str
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    vectorize_bindings Mapping[str, PagesProjectDeploymentConfigsPreviewVectorizeBindings]
    Vectorize bindings used for Pages Functions.
    wrangler_config_hash str
    Hash of the Wrangler configuration used for the deployment.
    aiBindings Map<Property Map>
    Constellation bindings used for Pages Functions.
    alwaysUseLatestCompatibilityDate Boolean
    Whether to always use the latest compatibility date for Pages Functions.
    analyticsEngineDatasets Map<Property Map>
    Analytics Engine bindings used for Pages Functions.
    browsers Map<Property Map>
    Browser bindings used for Pages Functions.
    buildImageMajorVersion Number
    The major version of the build image to use for Pages Functions.
    compatibilityDate String
    Compatibility date used for Pages Functions.
    compatibilityFlags List<String>
    Compatibility flags used for Pages Functions.
    d1Databases Map<Property Map>
    D1 databases used for Pages Functions.
    durableObjectNamespaces Map<Property Map>
    Durable Object namespaces used for Pages Functions.
    envVars Map<Property Map>
    Environment variables used for builds and Pages Functions.
    failOpen Boolean
    Whether to fail open when the deployment config cannot be applied.
    hyperdriveBindings Map<Property Map>
    Hyperdrive bindings used for Pages Functions.
    kvNamespaces Map<Property Map>
    KV namespaces used for Pages Functions.
    limits Property Map
    Limits for Pages Functions.
    mtlsCertificates Map<Property Map>
    mTLS bindings used for Pages Functions.
    placement Property Map
    Placement setting used for Pages Functions.
    queueProducers 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.
    usageModel String
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    vectorizeBindings Map<Property Map>
    Vectorize bindings used for Pages Functions.
    wranglerConfigHash String
    Hash of the Wrangler configuration used for the deployment.

    PagesProjectDeploymentConfigsPreviewAiBindings, PagesProjectDeploymentConfigsPreviewAiBindingsArgs

    ProjectId string
    ProjectId string
    projectId String
    projectId string
    projectId 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

    NamespaceId string
    ID of the Durable Object namespace.
    NamespaceId string
    ID of the Durable Object namespace.
    namespaceId String
    ID of the Durable Object namespace.
    namespaceId string
    ID of the Durable Object namespace.
    namespace_id str
    ID of the Durable Object namespace.
    namespaceId String
    ID of the Durable Object namespace.

    PagesProjectDeploymentConfigsPreviewEnvVars, PagesProjectDeploymentConfigsPreviewEnvVarsArgs

    Type string
    Available values: "plaintext", "secrettext".
    Value string
    Environment variable value.
    Type string
    Available values: "plaintext", "secrettext".
    Value string
    Environment variable value.
    type String
    Available values: "plaintext", "secrettext".
    value String
    Environment variable value.
    type string
    Available values: "plaintext", "secrettext".
    value string
    Environment variable value.
    type str
    Available values: "plaintext", "secrettext".
    value str
    Environment variable value.
    type String
    Available values: "plaintext", "secrettext".
    value String
    Environment variable value.

    PagesProjectDeploymentConfigsPreviewHyperdriveBindings, PagesProjectDeploymentConfigsPreviewHyperdriveBindingsArgs

    Id string
    Id string
    id String
    id string
    id str
    id String

    PagesProjectDeploymentConfigsPreviewKvNamespaces, PagesProjectDeploymentConfigsPreviewKvNamespacesArgs

    NamespaceId string
    ID of the KV namespace.
    NamespaceId string
    ID of the KV namespace.
    namespaceId String
    ID of the KV namespace.
    namespaceId string
    ID of the KV namespace.
    namespace_id str
    ID of the KV namespace.
    namespaceId String
    ID of the KV namespace.

    PagesProjectDeploymentConfigsPreviewLimits, PagesProjectDeploymentConfigsPreviewLimitsArgs

    CpuMs int
    CPU time limit in milliseconds.
    CpuMs int
    CPU time limit in milliseconds.
    cpuMs Integer
    CPU time limit in milliseconds.
    cpuMs number
    CPU time limit in milliseconds.
    cpu_ms int
    CPU time limit in milliseconds.
    cpuMs Number
    CPU time limit in milliseconds.

    PagesProjectDeploymentConfigsPreviewMtlsCertificates, PagesProjectDeploymentConfigsPreviewMtlsCertificatesArgs

    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

    IndexName string
    IndexName string
    indexName String
    indexName string
    indexName String

    PagesProjectDeploymentConfigsProduction, PagesProjectDeploymentConfigsProductionArgs

    AiBindings Dictionary<string, PagesProjectDeploymentConfigsProductionAiBindings>
    Constellation bindings used for Pages Functions.
    AlwaysUseLatestCompatibilityDate bool
    Whether to always use the latest compatibility date for Pages Functions.
    AnalyticsEngineDatasets Dictionary<string, PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasets>
    Analytics Engine bindings used for Pages Functions.
    Browsers Dictionary<string, PagesProjectDeploymentConfigsProductionBrowsers>
    Browser bindings used for Pages Functions.
    BuildImageMajorVersion int
    The major version of the build image to use for Pages Functions.
    CompatibilityDate string
    Compatibility date used for Pages Functions.
    CompatibilityFlags List<string>
    Compatibility flags used for Pages Functions.
    D1Databases Dictionary<string, PagesProjectDeploymentConfigsProductionD1Databases>
    D1 databases used for Pages Functions.
    DurableObjectNamespaces Dictionary<string, PagesProjectDeploymentConfigsProductionDurableObjectNamespaces>
    Durable Object namespaces used for Pages Functions.
    EnvVars Dictionary<string, PagesProjectDeploymentConfigsProductionEnvVars>
    Environment variables used for builds and Pages Functions.
    FailOpen bool
    Whether to fail open when the deployment config cannot be applied.
    HyperdriveBindings Dictionary<string, PagesProjectDeploymentConfigsProductionHyperdriveBindings>
    Hyperdrive bindings used for Pages Functions.
    KvNamespaces Dictionary<string, PagesProjectDeploymentConfigsProductionKvNamespaces>
    KV namespaces used for Pages Functions.
    Limits PagesProjectDeploymentConfigsProductionLimits
    Limits for Pages Functions.
    MtlsCertificates Dictionary<string, PagesProjectDeploymentConfigsProductionMtlsCertificates>
    mTLS bindings used for Pages Functions.
    Placement PagesProjectDeploymentConfigsProductionPlacement
    Placement setting used for Pages Functions.
    QueueProducers Dictionary<string, PagesProjectDeploymentConfigsProductionQueueProducers>
    Queue Producer bindings used for Pages Functions.
    R2Buckets Dictionary<string, PagesProjectDeploymentConfigsProductionR2Buckets>
    R2 buckets used for Pages Functions.
    Services Dictionary<string, PagesProjectDeploymentConfigsProductionServices>
    Services used for Pages Functions.
    UsageModel string
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    VectorizeBindings Dictionary<string, PagesProjectDeploymentConfigsProductionVectorizeBindings>
    Vectorize bindings used for Pages Functions.
    WranglerConfigHash string
    Hash of the Wrangler configuration used for the deployment.
    AiBindings map[string]PagesProjectDeploymentConfigsProductionAiBindings
    Constellation bindings used for Pages Functions.
    AlwaysUseLatestCompatibilityDate bool
    Whether to always use the latest compatibility date for Pages Functions.
    AnalyticsEngineDatasets map[string]PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasets
    Analytics Engine bindings used for Pages Functions.
    Browsers map[string]PagesProjectDeploymentConfigsProductionBrowsers
    Browser bindings used for Pages Functions.
    BuildImageMajorVersion int
    The major version of the build image to use for Pages Functions.
    CompatibilityDate string
    Compatibility date used for Pages Functions.
    CompatibilityFlags []string
    Compatibility flags used for Pages Functions.
    D1Databases map[string]PagesProjectDeploymentConfigsProductionD1Databases
    D1 databases used for Pages Functions.
    DurableObjectNamespaces map[string]PagesProjectDeploymentConfigsProductionDurableObjectNamespaces
    Durable Object namespaces used for Pages Functions.
    EnvVars map[string]PagesProjectDeploymentConfigsProductionEnvVars
    Environment variables used for builds and Pages Functions.
    FailOpen bool
    Whether to fail open when the deployment config cannot be applied.
    HyperdriveBindings map[string]PagesProjectDeploymentConfigsProductionHyperdriveBindings
    Hyperdrive bindings used for Pages Functions.
    KvNamespaces map[string]PagesProjectDeploymentConfigsProductionKvNamespaces
    KV namespaces used for Pages Functions.
    Limits PagesProjectDeploymentConfigsProductionLimits
    Limits for Pages Functions.
    MtlsCertificates map[string]PagesProjectDeploymentConfigsProductionMtlsCertificates
    mTLS bindings used for Pages Functions.
    Placement PagesProjectDeploymentConfigsProductionPlacement
    Placement setting used for Pages Functions.
    QueueProducers map[string]PagesProjectDeploymentConfigsProductionQueueProducers
    Queue Producer bindings used for Pages Functions.
    R2Buckets map[string]PagesProjectDeploymentConfigsProductionR2Buckets
    R2 buckets used for Pages Functions.
    Services map[string]PagesProjectDeploymentConfigsProductionServices
    Services used for Pages Functions.
    UsageModel string
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    VectorizeBindings map[string]PagesProjectDeploymentConfigsProductionVectorizeBindings
    Vectorize bindings used for Pages Functions.
    WranglerConfigHash string
    Hash of the Wrangler configuration used for the deployment.
    aiBindings Map<String,PagesProjectDeploymentConfigsProductionAiBindings>
    Constellation bindings used for Pages Functions.
    alwaysUseLatestCompatibilityDate Boolean
    Whether to always use the latest compatibility date for Pages Functions.
    analyticsEngineDatasets Map<String,PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasets>
    Analytics Engine bindings used for Pages Functions.
    browsers Map<String,PagesProjectDeploymentConfigsProductionBrowsers>
    Browser bindings used for Pages Functions.
    buildImageMajorVersion Integer
    The major version of the build image to use for Pages Functions.
    compatibilityDate String
    Compatibility date used for Pages Functions.
    compatibilityFlags List<String>
    Compatibility flags used for Pages Functions.
    d1Databases Map<String,PagesProjectDeploymentConfigsProductionD1Databases>
    D1 databases used for Pages Functions.
    durableObjectNamespaces Map<String,PagesProjectDeploymentConfigsProductionDurableObjectNamespaces>
    Durable Object namespaces used for Pages Functions.
    envVars Map<String,PagesProjectDeploymentConfigsProductionEnvVars>
    Environment variables used for builds and Pages Functions.
    failOpen Boolean
    Whether to fail open when the deployment config cannot be applied.
    hyperdriveBindings Map<String,PagesProjectDeploymentConfigsProductionHyperdriveBindings>
    Hyperdrive bindings used for Pages Functions.
    kvNamespaces Map<String,PagesProjectDeploymentConfigsProductionKvNamespaces>
    KV namespaces used for Pages Functions.
    limits PagesProjectDeploymentConfigsProductionLimits
    Limits for Pages Functions.
    mtlsCertificates Map<String,PagesProjectDeploymentConfigsProductionMtlsCertificates>
    mTLS bindings used for Pages Functions.
    placement PagesProjectDeploymentConfigsProductionPlacement
    Placement setting used for Pages Functions.
    queueProducers Map<String,PagesProjectDeploymentConfigsProductionQueueProducers>
    Queue Producer bindings used for Pages Functions.
    r2Buckets Map<String,PagesProjectDeploymentConfigsProductionR2Buckets>
    R2 buckets used for Pages Functions.
    services Map<String,PagesProjectDeploymentConfigsProductionServices>
    Services used for Pages Functions.
    usageModel String
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    vectorizeBindings Map<String,PagesProjectDeploymentConfigsProductionVectorizeBindings>
    Vectorize bindings used for Pages Functions.
    wranglerConfigHash String
    Hash of the Wrangler configuration used for the deployment.
    aiBindings {[key: string]: PagesProjectDeploymentConfigsProductionAiBindings}
    Constellation bindings used for Pages Functions.
    alwaysUseLatestCompatibilityDate boolean
    Whether to always use the latest compatibility date for Pages Functions.
    analyticsEngineDatasets {[key: string]: PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasets}
    Analytics Engine bindings used for Pages Functions.
    browsers {[key: string]: PagesProjectDeploymentConfigsProductionBrowsers}
    Browser bindings used for Pages Functions.
    buildImageMajorVersion number
    The major version of the build image to use for Pages Functions.
    compatibilityDate string
    Compatibility date used for Pages Functions.
    compatibilityFlags string[]
    Compatibility flags used for Pages Functions.
    d1Databases {[key: string]: PagesProjectDeploymentConfigsProductionD1Databases}
    D1 databases used for Pages Functions.
    durableObjectNamespaces {[key: string]: PagesProjectDeploymentConfigsProductionDurableObjectNamespaces}
    Durable Object namespaces used for Pages Functions.
    envVars {[key: string]: PagesProjectDeploymentConfigsProductionEnvVars}
    Environment variables used for builds and Pages Functions.
    failOpen boolean
    Whether to fail open when the deployment config cannot be applied.
    hyperdriveBindings {[key: string]: PagesProjectDeploymentConfigsProductionHyperdriveBindings}
    Hyperdrive bindings used for Pages Functions.
    kvNamespaces {[key: string]: PagesProjectDeploymentConfigsProductionKvNamespaces}
    KV namespaces used for Pages Functions.
    limits PagesProjectDeploymentConfigsProductionLimits
    Limits for Pages Functions.
    mtlsCertificates {[key: string]: PagesProjectDeploymentConfigsProductionMtlsCertificates}
    mTLS bindings used for Pages Functions.
    placement PagesProjectDeploymentConfigsProductionPlacement
    Placement setting used for Pages Functions.
    queueProducers {[key: string]: PagesProjectDeploymentConfigsProductionQueueProducers}
    Queue Producer bindings used for Pages Functions.
    r2Buckets {[key: string]: PagesProjectDeploymentConfigsProductionR2Buckets}
    R2 buckets used for Pages Functions.
    services {[key: string]: PagesProjectDeploymentConfigsProductionServices}
    Services used for Pages Functions.
    usageModel string
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    vectorizeBindings {[key: string]: PagesProjectDeploymentConfigsProductionVectorizeBindings}
    Vectorize bindings used for Pages Functions.
    wranglerConfigHash string
    Hash of the Wrangler configuration used for the deployment.
    ai_bindings Mapping[str, PagesProjectDeploymentConfigsProductionAiBindings]
    Constellation bindings used for Pages Functions.
    always_use_latest_compatibility_date bool
    Whether to always use the latest compatibility date for Pages Functions.
    analytics_engine_datasets Mapping[str, PagesProjectDeploymentConfigsProductionAnalyticsEngineDatasets]
    Analytics Engine bindings used for Pages Functions.
    browsers Mapping[str, PagesProjectDeploymentConfigsProductionBrowsers]
    Browser bindings used for Pages Functions.
    build_image_major_version int
    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, PagesProjectDeploymentConfigsProductionD1Databases]
    D1 databases used for Pages Functions.
    durable_object_namespaces Mapping[str, PagesProjectDeploymentConfigsProductionDurableObjectNamespaces]
    Durable Object namespaces used for Pages Functions.
    env_vars Mapping[str, PagesProjectDeploymentConfigsProductionEnvVars]
    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, PagesProjectDeploymentConfigsProductionHyperdriveBindings]
    Hyperdrive bindings used for Pages Functions.
    kv_namespaces Mapping[str, PagesProjectDeploymentConfigsProductionKvNamespaces]
    KV namespaces used for Pages Functions.
    limits PagesProjectDeploymentConfigsProductionLimits
    Limits for Pages Functions.
    mtls_certificates Mapping[str, PagesProjectDeploymentConfigsProductionMtlsCertificates]
    mTLS bindings used for Pages Functions.
    placement PagesProjectDeploymentConfigsProductionPlacement
    Placement setting used for Pages Functions.
    queue_producers Mapping[str, PagesProjectDeploymentConfigsProductionQueueProducers]
    Queue Producer bindings used for Pages Functions.
    r2_buckets Mapping[str, PagesProjectDeploymentConfigsProductionR2Buckets]
    R2 buckets used for Pages Functions.
    services Mapping[str, PagesProjectDeploymentConfigsProductionServices]
    Services used for Pages Functions.
    usage_model str
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    vectorize_bindings Mapping[str, PagesProjectDeploymentConfigsProductionVectorizeBindings]
    Vectorize bindings used for Pages Functions.
    wrangler_config_hash str
    Hash of the Wrangler configuration used for the deployment.
    aiBindings Map<Property Map>
    Constellation bindings used for Pages Functions.
    alwaysUseLatestCompatibilityDate Boolean
    Whether to always use the latest compatibility date for Pages Functions.
    analyticsEngineDatasets Map<Property Map>
    Analytics Engine bindings used for Pages Functions.
    browsers Map<Property Map>
    Browser bindings used for Pages Functions.
    buildImageMajorVersion Number
    The major version of the build image to use for Pages Functions.
    compatibilityDate String
    Compatibility date used for Pages Functions.
    compatibilityFlags List<String>
    Compatibility flags used for Pages Functions.
    d1Databases Map<Property Map>
    D1 databases used for Pages Functions.
    durableObjectNamespaces Map<Property Map>
    Durable Object namespaces used for Pages Functions.
    envVars Map<Property Map>
    Environment variables used for builds and Pages Functions.
    failOpen Boolean
    Whether to fail open when the deployment config cannot be applied.
    hyperdriveBindings Map<Property Map>
    Hyperdrive bindings used for Pages Functions.
    kvNamespaces Map<Property Map>
    KV namespaces used for Pages Functions.
    limits Property Map
    Limits for Pages Functions.
    mtlsCertificates Map<Property Map>
    mTLS bindings used for Pages Functions.
    placement Property Map
    Placement setting used for Pages Functions.
    queueProducers 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.
    usageModel String
    The usage model for Pages Functions. Available values: "standard", "bundled", "unbound".

    Deprecated: All new projects now use the Standard usage model.

    vectorizeBindings Map<Property Map>
    Vectorize bindings used for Pages Functions.
    wranglerConfigHash String
    Hash of the Wrangler configuration used for the deployment.

    PagesProjectDeploymentConfigsProductionAiBindings, PagesProjectDeploymentConfigsProductionAiBindingsArgs

    ProjectId string
    ProjectId string
    projectId String
    projectId string
    projectId 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

    NamespaceId string
    ID of the Durable Object namespace.
    NamespaceId string
    ID of the Durable Object namespace.
    namespaceId String
    ID of the Durable Object namespace.
    namespaceId string
    ID of the Durable Object namespace.
    namespace_id str
    ID of the Durable Object namespace.
    namespaceId String
    ID of the Durable Object namespace.

    PagesProjectDeploymentConfigsProductionEnvVars, PagesProjectDeploymentConfigsProductionEnvVarsArgs

    Type string
    Available values: "plaintext", "secrettext".
    Value string
    Environment variable value.
    Type string
    Available values: "plaintext", "secrettext".
    Value string
    Environment variable value.
    type String
    Available values: "plaintext", "secrettext".
    value String
    Environment variable value.
    type string
    Available values: "plaintext", "secrettext".
    value string
    Environment variable value.
    type str
    Available values: "plaintext", "secrettext".
    value str
    Environment variable value.
    type String
    Available values: "plaintext", "secrettext".
    value String
    Environment variable value.

    PagesProjectDeploymentConfigsProductionHyperdriveBindings, PagesProjectDeploymentConfigsProductionHyperdriveBindingsArgs

    Id string
    Id string
    id String
    id string
    id str
    id String

    PagesProjectDeploymentConfigsProductionKvNamespaces, PagesProjectDeploymentConfigsProductionKvNamespacesArgs

    NamespaceId string
    ID of the KV namespace.
    NamespaceId string
    ID of the KV namespace.
    namespaceId String
    ID of the KV namespace.
    namespaceId string
    ID of the KV namespace.
    namespace_id str
    ID of the KV namespace.
    namespaceId String
    ID of the KV namespace.

    PagesProjectDeploymentConfigsProductionLimits, PagesProjectDeploymentConfigsProductionLimitsArgs

    CpuMs int
    CPU time limit in milliseconds.
    CpuMs int
    CPU time limit in milliseconds.
    cpuMs Integer
    CPU time limit in milliseconds.
    cpuMs number
    CPU time limit in milliseconds.
    cpu_ms int
    CPU time limit in milliseconds.
    cpuMs Number
    CPU time limit in milliseconds.

    PagesProjectDeploymentConfigsProductionMtlsCertificates, PagesProjectDeploymentConfigsProductionMtlsCertificatesArgs

    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

    IndexName string
    IndexName string
    indexName String
    indexName string
    indexName String

    PagesProjectLatestDeployment, PagesProjectLatestDeploymentArgs

    Aliases List<string>
    A list of alias URLs pointing to this deployment.
    BuildConfig PagesProjectLatestDeploymentBuildConfig
    Configs for the project build process.
    CreatedOn string
    When the deployment was created.
    DeploymentTrigger PagesProjectLatestDeploymentDeploymentTrigger
    Info about what caused the deployment.
    EnvVars Dictionary<string, PagesProjectLatestDeploymentEnvVars>
    Environment variables used for builds and Pages Functions.
    Environment string
    Type of deploy. Available values: "preview", "production".
    Id string
    Id of the deployment.
    IsSkipped bool
    If the deployment has been skipped.
    LatestStage PagesProjectLatestDeploymentLatestStage
    The status of the deployment.
    ModifiedOn string
    When the deployment was last modified.
    ProjectId string
    Id of the project.
    ProjectName string
    Name of the project.
    ShortId string
    Short Id (8 character) of the deployment.
    Source PagesProjectLatestDeploymentSource
    Stages List<PagesProjectLatestDeploymentStage>
    List of past stages.
    Url string
    The live URL to view this deployment.
    Aliases []string
    A list of alias URLs pointing to this deployment.
    BuildConfig PagesProjectLatestDeploymentBuildConfig
    Configs for the project build process.
    CreatedOn string
    When the deployment was created.
    DeploymentTrigger PagesProjectLatestDeploymentDeploymentTrigger
    Info about what caused the deployment.
    EnvVars map[string]PagesProjectLatestDeploymentEnvVars
    Environment variables used for builds and Pages Functions.
    Environment string
    Type of deploy. Available values: "preview", "production".
    Id string
    Id of the deployment.
    IsSkipped bool
    If the deployment has been skipped.
    LatestStage PagesProjectLatestDeploymentLatestStage
    The status of the deployment.
    ModifiedOn string
    When the deployment was last modified.
    ProjectId string
    Id of the project.
    ProjectName string
    Name of the project.
    ShortId string
    Short Id (8 character) of the deployment.
    Source PagesProjectLatestDeploymentSource
    Stages []PagesProjectLatestDeploymentStage
    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.
    buildConfig PagesProjectLatestDeploymentBuildConfig
    Configs for the project build process.
    createdOn String
    When the deployment was created.
    deploymentTrigger PagesProjectLatestDeploymentDeploymentTrigger
    Info about what caused the deployment.
    envVars Map<String,PagesProjectLatestDeploymentEnvVars>
    Environment variables used for builds and Pages Functions.
    environment String
    Type of deploy. Available values: "preview", "production".
    id String
    Id of the deployment.
    isSkipped Boolean
    If the deployment has been skipped.
    latestStage PagesProjectLatestDeploymentLatestStage
    The status of the deployment.
    modifiedOn String
    When the deployment was last modified.
    projectId String
    Id of the project.
    projectName String
    Name of the project.
    shortId String
    Short Id (8 character) of the deployment.
    source PagesProjectLatestDeploymentSource
    stages List<PagesProjectLatestDeploymentStage>
    List of past stages.
    url String
    The live URL to view this deployment.
    aliases string[]
    A list of alias URLs pointing to this deployment.
    buildConfig PagesProjectLatestDeploymentBuildConfig
    Configs for the project build process.
    createdOn string
    When the deployment was created.
    deploymentTrigger PagesProjectLatestDeploymentDeploymentTrigger
    Info about what caused the deployment.
    envVars {[key: string]: PagesProjectLatestDeploymentEnvVars}
    Environment variables used for builds and Pages Functions.
    environment string
    Type of deploy. Available values: "preview", "production".
    id string
    Id of the deployment.
    isSkipped boolean
    If the deployment has been skipped.
    latestStage PagesProjectLatestDeploymentLatestStage
    The status of the deployment.
    modifiedOn string
    When the deployment was last modified.
    projectId string
    Id of the project.
    projectName string
    Name of the project.
    shortId string
    Short Id (8 character) of the deployment.
    source PagesProjectLatestDeploymentSource
    stages PagesProjectLatestDeploymentStage[]
    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 PagesProjectLatestDeploymentBuildConfig
    Configs for the project build process.
    created_on str
    When the deployment was created.
    deployment_trigger PagesProjectLatestDeploymentDeploymentTrigger
    Info about what caused the deployment.
    env_vars Mapping[str, PagesProjectLatestDeploymentEnvVars]
    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 PagesProjectLatestDeploymentLatestStage
    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 PagesProjectLatestDeploymentSource
    stages Sequence[PagesProjectLatestDeploymentStage]
    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.
    buildConfig Property Map
    Configs for the project build process.
    createdOn String
    When the deployment was created.
    deploymentTrigger Property Map
    Info about what caused the deployment.
    envVars 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.
    isSkipped Boolean
    If the deployment has been skipped.
    latestStage Property Map
    The status of the deployment.
    modifiedOn String
    When the deployment was last modified.
    projectId String
    Id of the project.
    projectName String
    Name of the project.
    shortId 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

    BuildCaching bool
    Enable build caching for the project.
    BuildCommand string
    Command used to build project.
    DestinationDir string
    Output directory of the build.
    RootDir string
    Directory to run the command.
    WebAnalyticsTag string
    The classifying tag for analytics.
    WebAnalyticsToken string
    The auth token for analytics.
    BuildCaching bool
    Enable build caching for the project.
    BuildCommand string
    Command used to build project.
    DestinationDir string
    Output directory of the build.
    RootDir string
    Directory to run the command.
    WebAnalyticsTag string
    The classifying tag for analytics.
    WebAnalyticsToken string
    The auth token for analytics.
    buildCaching Boolean
    Enable build caching for the project.
    buildCommand String
    Command used to build project.
    destinationDir String
    Output directory of the build.
    rootDir String
    Directory to run the command.
    webAnalyticsTag String
    The classifying tag for analytics.
    webAnalyticsToken String
    The auth token for analytics.
    buildCaching boolean
    Enable build caching for the project.
    buildCommand string
    Command used to build project.
    destinationDir string
    Output directory of the build.
    rootDir string
    Directory to run the command.
    webAnalyticsTag string
    The classifying tag for analytics.
    webAnalyticsToken string
    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_tag str
    The classifying tag for analytics.
    web_analytics_token str
    The auth token for analytics.
    buildCaching Boolean
    Enable build caching for the project.
    buildCommand String
    Command used to build project.
    destinationDir String
    Output directory of the build.
    rootDir String
    Directory to run the command.
    webAnalyticsTag String
    The classifying tag for analytics.
    webAnalyticsToken String
    The auth token for analytics.

    PagesProjectLatestDeploymentDeploymentTrigger, PagesProjectLatestDeploymentDeploymentTriggerArgs

    Metadata PagesProjectLatestDeploymentDeploymentTriggerMetadata
    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 PagesProjectLatestDeploymentDeploymentTriggerMetadata
    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 PagesProjectLatestDeploymentDeploymentTriggerMetadata
    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 PagesProjectLatestDeploymentDeploymentTriggerMetadata
    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 PagesProjectLatestDeploymentDeploymentTriggerMetadata
    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.
    CommitHash string
    Hash of the deployment trigger commit.
    CommitMessage string
    Message of the deployment trigger commit.
    Branch string
    Where the trigger happened.
    CommitHash string
    Hash of the deployment trigger commit.
    CommitMessage string
    Message of the deployment trigger commit.
    branch String
    Where the trigger happened.
    commitHash String
    Hash of the deployment trigger commit.
    commitMessage String
    Message of the deployment trigger commit.
    branch string
    Where the trigger happened.
    commitHash string
    Hash of the deployment trigger commit.
    commitMessage 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.
    commitHash String
    Hash of the deployment trigger commit.
    commitMessage String
    Message of the deployment trigger commit.

    PagesProjectLatestDeploymentEnvVars, PagesProjectLatestDeploymentEnvVarsArgs

    Type string
    Available values: "plaintext", "secrettext".
    Value string
    Environment variable value.
    Type string
    Available values: "plaintext", "secrettext".
    Value string
    Environment variable value.
    type String
    Available values: "plaintext", "secrettext".
    value String
    Environment variable value.
    type string
    Available values: "plaintext", "secrettext".
    value string
    Environment variable value.
    type str
    Available values: "plaintext", "secrettext".
    value str
    Environment variable value.
    type String
    Available values: "plaintext", "secrettext".
    value String
    Environment variable value.

    PagesProjectLatestDeploymentLatestStage, PagesProjectLatestDeploymentLatestStageArgs

    EndedOn 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".
    StartedOn string
    When the stage started.
    Status string
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    EndedOn 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".
    StartedOn string
    When the stage started.
    Status string
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    endedOn 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".
    startedOn String
    When the stage started.
    status String
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    endedOn 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".
    startedOn 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".
    endedOn 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".
    startedOn String
    When the stage started.
    status String
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".

    PagesProjectLatestDeploymentSource, PagesProjectLatestDeploymentSourceArgs

    Config PagesProjectLatestDeploymentSourceConfig
    Type string
    The source control management provider. Available values: "github", "gitlab".
    Config PagesProjectLatestDeploymentSourceConfig
    Type string
    The source control management provider. Available values: "github", "gitlab".
    config PagesProjectLatestDeploymentSourceConfig
    type String
    The source control management provider. Available values: "github", "gitlab".
    config PagesProjectLatestDeploymentSourceConfig
    type string
    The source control management provider. Available values: "github", "gitlab".
    config PagesProjectLatestDeploymentSourceConfig
    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

    DeploymentsEnabled bool
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    Owner string
    The owner of the repository.
    PathExcludes List<string>
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    PathIncludes List<string>
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    PrCommentsEnabled bool
    Whether to enable PR comments.
    PreviewBranchExcludes List<string>
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewBranchIncludes List<string>
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewDeploymentSetting string
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    ProductionBranch string
    The production branch of the repository.
    ProductionDeploymentsEnabled bool
    Whether to trigger a production deployment on commits to the production branch.
    RepoName string
    The name of the repository.
    DeploymentsEnabled bool
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    Owner string
    The owner of the repository.
    PathExcludes []string
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    PathIncludes []string
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    PrCommentsEnabled bool
    Whether to enable PR comments.
    PreviewBranchExcludes []string
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewBranchIncludes []string
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewDeploymentSetting string
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    ProductionBranch string
    The production branch of the repository.
    ProductionDeploymentsEnabled bool
    Whether to trigger a production deployment on commits to the production branch.
    RepoName string
    The name of the repository.
    deploymentsEnabled Boolean
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    owner String
    The owner of the repository.
    pathExcludes List<String>
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    pathIncludes List<String>
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    prCommentsEnabled Boolean
    Whether to enable PR comments.
    previewBranchExcludes List<String>
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewBranchIncludes List<String>
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewDeploymentSetting String
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    productionBranch String
    The production branch of the repository.
    productionDeploymentsEnabled Boolean
    Whether to trigger a production deployment on commits to the production branch.
    repoName String
    The name of the repository.
    deploymentsEnabled boolean
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    owner string
    The owner of the repository.
    pathExcludes string[]
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    pathIncludes string[]
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    prCommentsEnabled boolean
    Whether to enable PR comments.
    previewBranchExcludes string[]
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewBranchIncludes string[]
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewDeploymentSetting string
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    productionBranch string
    The production branch of the repository.
    productionDeploymentsEnabled boolean
    Whether to trigger a production deployment on commits to the production branch.
    repoName 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.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    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_enabled bool
    Whether to enable PR comments.
    preview_branch_excludes Sequence[str]
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    preview_branch_includes Sequence[str]
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    preview_deployment_setting str
    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_enabled bool
    Whether to trigger a production deployment on commits to the production branch.
    repo_name str
    The name of the repository.
    deploymentsEnabled Boolean
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    owner String
    The owner of the repository.
    pathExcludes List<String>
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    pathIncludes List<String>
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    prCommentsEnabled Boolean
    Whether to enable PR comments.
    previewBranchExcludes List<String>
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewBranchIncludes List<String>
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewDeploymentSetting String
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    productionBranch String
    The production branch of the repository.
    productionDeploymentsEnabled Boolean
    Whether to trigger a production deployment on commits to the production branch.
    repoName String
    The name of the repository.

    PagesProjectLatestDeploymentStage, PagesProjectLatestDeploymentStageArgs

    EndedOn 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".
    StartedOn string
    When the stage started.
    Status string
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    EndedOn 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".
    StartedOn string
    When the stage started.
    Status string
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    endedOn 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".
    startedOn String
    When the stage started.
    status String
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
    endedOn 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".
    startedOn 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".
    endedOn 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".
    startedOn String
    When the stage started.
    status String
    State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".

    PagesProjectSource, PagesProjectSourceArgs

    Config PagesProjectSourceConfig
    Type string
    The source control management provider. Available values: "github", "gitlab".
    Config PagesProjectSourceConfig
    Type string
    The source control management provider. Available values: "github", "gitlab".
    config PagesProjectSourceConfig
    type String
    The source control management provider. Available values: "github", "gitlab".
    config PagesProjectSourceConfig
    type string
    The source control management provider. Available values: "github", "gitlab".
    config PagesProjectSourceConfig
    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

    DeploymentsEnabled bool
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    Owner string
    The owner of the repository.
    PathExcludes List<string>
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    PathIncludes List<string>
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    PrCommentsEnabled bool
    Whether to enable PR comments.
    PreviewBranchExcludes List<string>
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewBranchIncludes List<string>
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewDeploymentSetting string
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    ProductionBranch string
    The production branch of the repository.
    ProductionDeploymentsEnabled bool
    Whether to trigger a production deployment on commits to the production branch.
    RepoName string
    The name of the repository.
    DeploymentsEnabled bool
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    Owner string
    The owner of the repository.
    PathExcludes []string
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    PathIncludes []string
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    PrCommentsEnabled bool
    Whether to enable PR comments.
    PreviewBranchExcludes []string
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewBranchIncludes []string
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    PreviewDeploymentSetting string
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    ProductionBranch string
    The production branch of the repository.
    ProductionDeploymentsEnabled bool
    Whether to trigger a production deployment on commits to the production branch.
    RepoName string
    The name of the repository.
    deploymentsEnabled Boolean
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    owner String
    The owner of the repository.
    pathExcludes List<String>
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    pathIncludes List<String>
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    prCommentsEnabled Boolean
    Whether to enable PR comments.
    previewBranchExcludes List<String>
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewBranchIncludes List<String>
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewDeploymentSetting String
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    productionBranch String
    The production branch of the repository.
    productionDeploymentsEnabled Boolean
    Whether to trigger a production deployment on commits to the production branch.
    repoName String
    The name of the repository.
    deploymentsEnabled boolean
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    owner string
    The owner of the repository.
    pathExcludes string[]
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    pathIncludes string[]
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    prCommentsEnabled boolean
    Whether to enable PR comments.
    previewBranchExcludes string[]
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewBranchIncludes string[]
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewDeploymentSetting string
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    productionBranch string
    The production branch of the repository.
    productionDeploymentsEnabled boolean
    Whether to trigger a production deployment on commits to the production branch.
    repoName 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.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    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_enabled bool
    Whether to enable PR comments.
    preview_branch_excludes Sequence[str]
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    preview_branch_includes Sequence[str]
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    preview_deployment_setting str
    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_enabled bool
    Whether to trigger a production deployment on commits to the production branch.
    repo_name str
    The name of the repository.
    deploymentsEnabled Boolean
    Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.

    Deprecated: Use production_deployments_enabled and preview_deployment_setting for more granular control.

    owner String
    The owner of the repository.
    pathExcludes List<String>
    A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (*) is supported.
    pathIncludes List<String>
    A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (*) is supported.
    prCommentsEnabled Boolean
    Whether to enable PR comments.
    previewBranchExcludes List<String>
    A list of branches that should not trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewBranchIncludes List<String>
    A list of branches that should trigger a preview deployment. Wildcard syntax (*) is supported. Must be used with preview_deployment_setting set to custom.
    previewDeploymentSetting String
    Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
    productionBranch String
    The production branch of the repository.
    productionDeploymentsEnabled Boolean
    Whether to trigger a production deployment on commits to the production branch.
    repoName 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 cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate