cloudflare.PagesProject
Explore with Pulumi AI
Provides a resource which manages Cloudflare Pages projects.
If you are using a
sourceblock configuration, you must first have a connected GitHub or GitLab account connected to Cloudflare. See the [Getting Started with Pages] documentation on how to link your accounts.
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
        {
            AlwaysUseLatestCompatibilityDate = false,
            CompatibilityDate = "string",
            CompatibilityFlags = new[]
            {
                "string",
            },
            D1Databases = 
            {
                { "string", "string" },
            },
            DurableObjectNamespaces = 
            {
                { "string", "string" },
            },
            EnvironmentVariables = 
            {
                { "string", "string" },
            },
            FailOpen = false,
            KvNamespaces = 
            {
                { "string", "string" },
            },
            Placement = new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewPlacementArgs
            {
                Mode = "string",
            },
            R2Buckets = 
            {
                { "string", "string" },
            },
            Secrets = 
            {
                { "string", "string" },
            },
            ServiceBindings = new[]
            {
                new Cloudflare.Inputs.PagesProjectDeploymentConfigsPreviewServiceBindingArgs
                {
                    Name = "string",
                    Service = "string",
                    Environment = "string",
                },
            },
            UsageModel = "string",
        },
        Production = new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionArgs
        {
            AlwaysUseLatestCompatibilityDate = false,
            CompatibilityDate = "string",
            CompatibilityFlags = new[]
            {
                "string",
            },
            D1Databases = 
            {
                { "string", "string" },
            },
            DurableObjectNamespaces = 
            {
                { "string", "string" },
            },
            EnvironmentVariables = 
            {
                { "string", "string" },
            },
            FailOpen = false,
            KvNamespaces = 
            {
                { "string", "string" },
            },
            Placement = new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionPlacementArgs
            {
                Mode = "string",
            },
            R2Buckets = 
            {
                { "string", "string" },
            },
            Secrets = 
            {
                { "string", "string" },
            },
            ServiceBindings = new[]
            {
                new Cloudflare.Inputs.PagesProjectDeploymentConfigsProductionServiceBindingArgs
                {
                    Name = "string",
                    Service = "string",
                    Environment = "string",
                },
            },
            UsageModel = "string",
        },
    },
    Source = new Cloudflare.Inputs.PagesProjectSourceArgs
    {
        Config = new Cloudflare.Inputs.PagesProjectSourceConfigArgs
        {
            ProductionBranch = "string",
            DeploymentsEnabled = false,
            Owner = "string",
            PrCommentsEnabled = false,
            PreviewBranchExcludes = new[]
            {
                "string",
            },
            PreviewBranchIncludes = new[]
            {
                "string",
            },
            PreviewDeploymentSetting = "string",
            ProductionDeploymentEnabled = 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{
			AlwaysUseLatestCompatibilityDate: pulumi.Bool(false),
			CompatibilityDate:                pulumi.String("string"),
			CompatibilityFlags: pulumi.StringArray{
				pulumi.String("string"),
			},
			D1Databases: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			DurableObjectNamespaces: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			EnvironmentVariables: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			FailOpen: pulumi.Bool(false),
			KvNamespaces: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Placement: &cloudflare.PagesProjectDeploymentConfigsPreviewPlacementArgs{
				Mode: pulumi.String("string"),
			},
			R2Buckets: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Secrets: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			ServiceBindings: cloudflare.PagesProjectDeploymentConfigsPreviewServiceBindingArray{
				&cloudflare.PagesProjectDeploymentConfigsPreviewServiceBindingArgs{
					Name:        pulumi.String("string"),
					Service:     pulumi.String("string"),
					Environment: pulumi.String("string"),
				},
			},
			UsageModel: pulumi.String("string"),
		},
		Production: &cloudflare.PagesProjectDeploymentConfigsProductionArgs{
			AlwaysUseLatestCompatibilityDate: pulumi.Bool(false),
			CompatibilityDate:                pulumi.String("string"),
			CompatibilityFlags: pulumi.StringArray{
				pulumi.String("string"),
			},
			D1Databases: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			DurableObjectNamespaces: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			EnvironmentVariables: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			FailOpen: pulumi.Bool(false),
			KvNamespaces: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Placement: &cloudflare.PagesProjectDeploymentConfigsProductionPlacementArgs{
				Mode: pulumi.String("string"),
			},
			R2Buckets: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Secrets: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			ServiceBindings: cloudflare.PagesProjectDeploymentConfigsProductionServiceBindingArray{
				&cloudflare.PagesProjectDeploymentConfigsProductionServiceBindingArgs{
					Name:        pulumi.String("string"),
					Service:     pulumi.String("string"),
					Environment: pulumi.String("string"),
				},
			},
			UsageModel: pulumi.String("string"),
		},
	},
	Source: &cloudflare.PagesProjectSourceArgs{
		Config: &cloudflare.PagesProjectSourceConfigArgs{
			ProductionBranch:   pulumi.String("string"),
			DeploymentsEnabled: pulumi.Bool(false),
			Owner:              pulumi.String("string"),
			PrCommentsEnabled:  pulumi.Bool(false),
			PreviewBranchExcludes: pulumi.StringArray{
				pulumi.String("string"),
			},
			PreviewBranchIncludes: pulumi.StringArray{
				pulumi.String("string"),
			},
			PreviewDeploymentSetting:    pulumi.String("string"),
			ProductionDeploymentEnabled: 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()
            .alwaysUseLatestCompatibilityDate(false)
            .compatibilityDate("string")
            .compatibilityFlags("string")
            .d1Databases(Map.of("string", "string"))
            .durableObjectNamespaces(Map.of("string", "string"))
            .environmentVariables(Map.of("string", "string"))
            .failOpen(false)
            .kvNamespaces(Map.of("string", "string"))
            .placement(PagesProjectDeploymentConfigsPreviewPlacementArgs.builder()
                .mode("string")
                .build())
            .r2Buckets(Map.of("string", "string"))
            .secrets(Map.of("string", "string"))
            .serviceBindings(PagesProjectDeploymentConfigsPreviewServiceBindingArgs.builder()
                .name("string")
                .service("string")
                .environment("string")
                .build())
            .usageModel("string")
            .build())
        .production(PagesProjectDeploymentConfigsProductionArgs.builder()
            .alwaysUseLatestCompatibilityDate(false)
            .compatibilityDate("string")
            .compatibilityFlags("string")
            .d1Databases(Map.of("string", "string"))
            .durableObjectNamespaces(Map.of("string", "string"))
            .environmentVariables(Map.of("string", "string"))
            .failOpen(false)
            .kvNamespaces(Map.of("string", "string"))
            .placement(PagesProjectDeploymentConfigsProductionPlacementArgs.builder()
                .mode("string")
                .build())
            .r2Buckets(Map.of("string", "string"))
            .secrets(Map.of("string", "string"))
            .serviceBindings(PagesProjectDeploymentConfigsProductionServiceBindingArgs.builder()
                .name("string")
                .service("string")
                .environment("string")
                .build())
            .usageModel("string")
            .build())
        .build())
    .source(PagesProjectSourceArgs.builder()
        .config(PagesProjectSourceConfigArgs.builder()
            .productionBranch("string")
            .deploymentsEnabled(false)
            .owner("string")
            .prCommentsEnabled(false)
            .previewBranchExcludes("string")
            .previewBranchIncludes("string")
            .previewDeploymentSetting("string")
            .productionDeploymentEnabled(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": {
            "always_use_latest_compatibility_date": False,
            "compatibility_date": "string",
            "compatibility_flags": ["string"],
            "d1_databases": {
                "string": "string",
            },
            "durable_object_namespaces": {
                "string": "string",
            },
            "environment_variables": {
                "string": "string",
            },
            "fail_open": False,
            "kv_namespaces": {
                "string": "string",
            },
            "placement": {
                "mode": "string",
            },
            "r2_buckets": {
                "string": "string",
            },
            "secrets": {
                "string": "string",
            },
            "service_bindings": [{
                "name": "string",
                "service": "string",
                "environment": "string",
            }],
            "usage_model": "string",
        },
        "production": {
            "always_use_latest_compatibility_date": False,
            "compatibility_date": "string",
            "compatibility_flags": ["string"],
            "d1_databases": {
                "string": "string",
            },
            "durable_object_namespaces": {
                "string": "string",
            },
            "environment_variables": {
                "string": "string",
            },
            "fail_open": False,
            "kv_namespaces": {
                "string": "string",
            },
            "placement": {
                "mode": "string",
            },
            "r2_buckets": {
                "string": "string",
            },
            "secrets": {
                "string": "string",
            },
            "service_bindings": [{
                "name": "string",
                "service": "string",
                "environment": "string",
            }],
            "usage_model": "string",
        },
    },
    source={
        "config": {
            "production_branch": "string",
            "deployments_enabled": False,
            "owner": "string",
            "pr_comments_enabled": False,
            "preview_branch_excludes": ["string"],
            "preview_branch_includes": ["string"],
            "preview_deployment_setting": "string",
            "production_deployment_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: {
            alwaysUseLatestCompatibilityDate: false,
            compatibilityDate: "string",
            compatibilityFlags: ["string"],
            d1Databases: {
                string: "string",
            },
            durableObjectNamespaces: {
                string: "string",
            },
            environmentVariables: {
                string: "string",
            },
            failOpen: false,
            kvNamespaces: {
                string: "string",
            },
            placement: {
                mode: "string",
            },
            r2Buckets: {
                string: "string",
            },
            secrets: {
                string: "string",
            },
            serviceBindings: [{
                name: "string",
                service: "string",
                environment: "string",
            }],
            usageModel: "string",
        },
        production: {
            alwaysUseLatestCompatibilityDate: false,
            compatibilityDate: "string",
            compatibilityFlags: ["string"],
            d1Databases: {
                string: "string",
            },
            durableObjectNamespaces: {
                string: "string",
            },
            environmentVariables: {
                string: "string",
            },
            failOpen: false,
            kvNamespaces: {
                string: "string",
            },
            placement: {
                mode: "string",
            },
            r2Buckets: {
                string: "string",
            },
            secrets: {
                string: "string",
            },
            serviceBindings: [{
                name: "string",
                service: "string",
                environment: "string",
            }],
            usageModel: "string",
        },
    },
    source: {
        config: {
            productionBranch: "string",
            deploymentsEnabled: false,
            owner: "string",
            prCommentsEnabled: false,
            previewBranchExcludes: ["string"],
            previewBranchIncludes: ["string"],
            previewDeploymentSetting: "string",
            productionDeploymentEnabled: 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:
            alwaysUseLatestCompatibilityDate: false
            compatibilityDate: string
            compatibilityFlags:
                - string
            d1Databases:
                string: string
            durableObjectNamespaces:
                string: string
            environmentVariables:
                string: string
            failOpen: false
            kvNamespaces:
                string: string
            placement:
                mode: string
            r2Buckets:
                string: string
            secrets:
                string: string
            serviceBindings:
                - environment: string
                  name: string
                  service: string
            usageModel: string
        production:
            alwaysUseLatestCompatibilityDate: false
            compatibilityDate: string
            compatibilityFlags:
                - string
            d1Databases:
                string: string
            durableObjectNamespaces:
                string: string
            environmentVariables:
                string: string
            failOpen: false
            kvNamespaces:
                string: string
            placement:
                mode: string
            r2Buckets:
                string: string
            secrets:
                string: string
            serviceBindings:
                - environment: string
                  name: string
                  service: string
            usageModel: string
    name: string
    productionBranch: string
    source:
        config:
            deploymentsEnabled: false
            owner: string
            prCommentsEnabled: false
            previewBranchExcludes:
                - string
            previewBranchIncludes:
                - string
            previewDeploymentSetting: string
            productionBranch: string
            productionDeploymentEnabled: 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
- The account identifier to target for the resource.
- Name string
- Name of the project.
- ProductionBranch string
- The name of the branch that is used for the production environment.
- BuildConfig PagesProject Build Config 
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- DeploymentConfigs PagesProject Deployment Configs 
- Configuration for deployments in a project.
- Source
PagesProject Source 
- Configuration for the project source. Read more about the source configuration in the developer documentation.
- AccountId string
- The account identifier to target for the resource.
- Name string
- Name of the project.
- ProductionBranch string
- The name of the branch that is used for the production environment.
- BuildConfig PagesProject Build Config Args 
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- DeploymentConfigs PagesProject Deployment Configs Args 
- Configuration for deployments in a project.
- Source
PagesProject Source Args 
- Configuration for the project source. Read more about the source configuration in the developer documentation.
- accountId String
- The account identifier to target for the resource.
- name String
- Name of the project.
- productionBranch String
- The name of the branch that is used for the production environment.
- buildConfig PagesProject Build Config 
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- deploymentConfigs PagesProject Deployment Configs 
- Configuration for deployments in a project.
- source
PagesProject Source 
- Configuration for the project source. Read more about the source configuration in the developer documentation.
- accountId string
- The account identifier to target for the resource.
- name string
- Name of the project.
- productionBranch string
- The name of the branch that is used for the production environment.
- buildConfig PagesProject Build Config 
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- deploymentConfigs PagesProject Deployment Configs 
- Configuration for deployments in a project.
- source
PagesProject Source 
- Configuration for the project source. Read more about the source configuration in the developer documentation.
- account_id str
- The account identifier to target for the resource.
- name str
- Name of the project.
- production_branch str
- The name of the branch that is used for the production environment.
- build_config PagesProject Build Config Args 
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- deployment_configs PagesProject Deployment Configs Args 
- Configuration for deployments in a project.
- source
PagesProject Source Args 
- Configuration for the project source. Read more about the source configuration in the developer documentation.
- accountId String
- The account identifier to target for the resource.
- name String
- Name of the project.
- productionBranch String
- The name of the branch that is used for the production environment.
- buildConfig Property Map
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- deploymentConfigs Property Map
- Configuration for deployments in a project.
- source Property Map
- Configuration for the project source. Read more about the source configuration in the developer documentation.
Outputs
All input properties are implicitly available as output properties. Additionally, the PagesProject resource produces the following output properties:
- created_on str
- When the project was created.
- domains Sequence[str]
- A list of associated custom domains for the project.
- id str
- The provider-assigned unique ID for this managed resource.
- subdomain str
- The Cloudflare subdomain associated with the project.
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,
        created_on: Optional[str] = None,
        deployment_configs: Optional[PagesProjectDeploymentConfigsArgs] = None,
        domains: Optional[Sequence[str]] = None,
        name: Optional[str] = None,
        production_branch: Optional[str] = None,
        source: Optional[PagesProjectSourceArgs] = None,
        subdomain: Optional[str] = None) -> PagesProjectfunc GetPagesProject(ctx *Context, name string, id IDInput, state *PagesProjectState, opts ...ResourceOption) (*PagesProject, error)public static PagesProject Get(string name, Input<string> id, PagesProjectState? state, CustomResourceOptions? opts = null)public static PagesProject get(String name, Output<String> id, PagesProjectState state, CustomResourceOptions options)resources:  _:    type: cloudflare:PagesProject    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AccountId string
- The account identifier to target for the resource.
- BuildConfig PagesProject Build Config 
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- CreatedOn string
- When the project was created.
- DeploymentConfigs PagesProject Deployment Configs 
- Configuration for deployments in a project.
- Domains List<string>
- A list of associated custom domains for the project.
- Name string
- Name of the project.
- ProductionBranch string
- The name of the branch that is used for the production environment.
- Source
PagesProject Source 
- Configuration for the project source. Read more about the source configuration in the developer documentation.
- Subdomain string
- The Cloudflare subdomain associated with the project.
- AccountId string
- The account identifier to target for the resource.
- BuildConfig PagesProject Build Config Args 
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- CreatedOn string
- When the project was created.
- DeploymentConfigs PagesProject Deployment Configs Args 
- Configuration for deployments in a project.
- Domains []string
- A list of associated custom domains for the project.
- Name string
- Name of the project.
- ProductionBranch string
- The name of the branch that is used for the production environment.
- Source
PagesProject Source Args 
- Configuration for the project source. Read more about the source configuration in the developer documentation.
- Subdomain string
- The Cloudflare subdomain associated with the project.
- accountId String
- The account identifier to target for the resource.
- buildConfig PagesProject Build Config 
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- createdOn String
- When the project was created.
- deploymentConfigs PagesProject Deployment Configs 
- Configuration for deployments in a project.
- domains List<String>
- A list of associated custom domains for the project.
- name String
- Name of the project.
- productionBranch String
- The name of the branch that is used for the production environment.
- source
PagesProject Source 
- Configuration for the project source. Read more about the source configuration in the developer documentation.
- subdomain String
- The Cloudflare subdomain associated with the project.
- accountId string
- The account identifier to target for the resource.
- buildConfig PagesProject Build Config 
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- createdOn string
- When the project was created.
- deploymentConfigs PagesProject Deployment Configs 
- Configuration for deployments in a project.
- domains string[]
- A list of associated custom domains for the project.
- name string
- Name of the project.
- productionBranch string
- The name of the branch that is used for the production environment.
- source
PagesProject Source 
- Configuration for the project source. Read more about the source configuration in the developer documentation.
- subdomain string
- The Cloudflare subdomain associated with the project.
- account_id str
- The account identifier to target for the resource.
- build_config PagesProject Build Config Args 
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- created_on str
- When the project was created.
- deployment_configs PagesProject Deployment Configs Args 
- Configuration for deployments in a project.
- domains Sequence[str]
- A list of associated custom domains for the project.
- name str
- Name of the project.
- production_branch str
- The name of the branch that is used for the production environment.
- source
PagesProject Source Args 
- Configuration for the project source. Read more about the source configuration in the developer documentation.
- subdomain str
- The Cloudflare subdomain associated with the project.
- accountId String
- The account identifier to target for the resource.
- buildConfig Property Map
- Configuration for the project build process. Read more about the build configuration in the developer documentation.
- createdOn String
- When the project was created.
- deploymentConfigs Property Map
- Configuration for deployments in a project.
- domains List<String>
- A list of associated custom domains for the project.
- name String
- Name of the project.
- productionBranch String
- The name of the branch that is used for the production environment.
- source Property Map
- Configuration for the project source. Read more about the source configuration in the developer documentation.
- subdomain String
- The Cloudflare subdomain associated with the project.
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
- Your project's root directory, where Cloudflare runs the build command. If your site is not in a subdirectory, leave this path value empty.
- WebAnalytics stringTag 
- The classifying tag for analytics.
- WebAnalytics stringToken 
- 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
- Your project's root directory, where Cloudflare runs the build command. If your site is not in a subdirectory, leave this path value empty.
- WebAnalytics stringTag 
- The classifying tag for analytics.
- WebAnalytics stringToken 
- 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
- Your project's root directory, where Cloudflare runs the build command. If your site is not in a subdirectory, leave this path value empty.
- webAnalytics StringTag 
- The classifying tag for analytics.
- webAnalytics StringToken 
- 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
- Your project's root directory, where Cloudflare runs the build command. If your site is not in a subdirectory, leave this path value empty.
- webAnalytics stringTag 
- The classifying tag for analytics.
- webAnalytics stringToken 
- The auth token for analytics.
- build_caching bool
- Enable build caching for the project.
- build_command str
- Command used to build project.
- destination_dir str
- Output directory of the build.
- root_dir str
- Your project's root directory, where Cloudflare runs the build command. If your site is not in a subdirectory, leave this path value empty.
- web_analytics_ strtag 
- The classifying tag for analytics.
- web_analytics_ strtoken 
- 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
- Your project's root directory, where Cloudflare runs the build command. If your site is not in a subdirectory, leave this path value empty.
- webAnalytics StringTag 
- The classifying tag for analytics.
- webAnalytics StringToken 
- The auth token for analytics.
PagesProjectDeploymentConfigs, PagesProjectDeploymentConfigsArgs        
- Preview
PagesProject Deployment Configs Preview 
- Configuration for preview deploys.
- Production
PagesProject Deployment Configs Production 
- Configuration for production deploys.
- Preview
PagesProject Deployment Configs Preview 
- Configuration for preview deploys.
- Production
PagesProject Deployment Configs Production 
- Configuration for production deploys.
- preview
PagesProject Deployment Configs Preview 
- Configuration for preview deploys.
- production
PagesProject Deployment Configs Production 
- Configuration for production deploys.
- preview
PagesProject Deployment Configs Preview 
- Configuration for preview deploys.
- production
PagesProject Deployment Configs Production 
- Configuration for production deploys.
- preview
PagesProject Deployment Configs Preview 
- Configuration for preview deploys.
- production
PagesProject Deployment Configs Production 
- Configuration for production deploys.
- preview Property Map
- Configuration for preview deploys.
- production Property Map
- Configuration for production deploys.
PagesProjectDeploymentConfigsPreview, PagesProjectDeploymentConfigsPreviewArgs          
- AlwaysUse boolLatest Compatibility Date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- CompatibilityDate string
- Compatibility date used for Pages Functions.
- CompatibilityFlags List<string>
- Compatibility flags used for Pages Functions.
- D1Databases Dictionary<string, string>
- D1 Databases used for Pages Functions. Defaults to map[].
- DurableObject Dictionary<string, string>Namespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- EnvironmentVariables Dictionary<string, string>
- Environment variables for Pages Functions. Defaults to map[].
- FailOpen bool
- Fail open used for Pages Functions. Defaults to false.
- KvNamespaces Dictionary<string, string>
- KV namespaces used for Pages Functions. Defaults to map[].
- Placement
PagesProject Deployment Configs Preview Placement 
- Configuration for placement in the Cloudflare Pages project.
- R2Buckets Dictionary<string, string>
- R2 Buckets used for Pages Functions. Defaults to map[].
- Secrets Dictionary<string, string>
- Encrypted environment variables for Pages Functions. Defaults to map[].
- ServiceBindings List<PagesProject Deployment Configs Preview Service Binding> 
- Services used for Pages Functions.
- UsageModel string
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
- AlwaysUse boolLatest Compatibility Date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- CompatibilityDate string
- Compatibility date used for Pages Functions.
- CompatibilityFlags []string
- Compatibility flags used for Pages Functions.
- D1Databases map[string]string
- D1 Databases used for Pages Functions. Defaults to map[].
- DurableObject map[string]stringNamespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- EnvironmentVariables map[string]string
- Environment variables for Pages Functions. Defaults to map[].
- FailOpen bool
- Fail open used for Pages Functions. Defaults to false.
- KvNamespaces map[string]string
- KV namespaces used for Pages Functions. Defaults to map[].
- Placement
PagesProject Deployment Configs Preview Placement 
- Configuration for placement in the Cloudflare Pages project.
- R2Buckets map[string]string
- R2 Buckets used for Pages Functions. Defaults to map[].
- Secrets map[string]string
- Encrypted environment variables for Pages Functions. Defaults to map[].
- ServiceBindings []PagesProject Deployment Configs Preview Service Binding 
- Services used for Pages Functions.
- UsageModel string
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
- alwaysUse BooleanLatest Compatibility Date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- compatibilityDate String
- Compatibility date used for Pages Functions.
- compatibilityFlags List<String>
- Compatibility flags used for Pages Functions.
- d1Databases Map<String,String>
- D1 Databases used for Pages Functions. Defaults to map[].
- durableObject Map<String,String>Namespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- environmentVariables Map<String,String>
- Environment variables for Pages Functions. Defaults to map[].
- failOpen Boolean
- Fail open used for Pages Functions. Defaults to false.
- kvNamespaces Map<String,String>
- KV namespaces used for Pages Functions. Defaults to map[].
- placement
PagesProject Deployment Configs Preview Placement 
- Configuration for placement in the Cloudflare Pages project.
- r2Buckets Map<String,String>
- R2 Buckets used for Pages Functions. Defaults to map[].
- secrets Map<String,String>
- Encrypted environment variables for Pages Functions. Defaults to map[].
- serviceBindings List<PagesProject Deployment Configs Preview Service Binding> 
- Services used for Pages Functions.
- usageModel String
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
- alwaysUse booleanLatest Compatibility Date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- compatibilityDate string
- Compatibility date used for Pages Functions.
- compatibilityFlags string[]
- Compatibility flags used for Pages Functions.
- d1Databases {[key: string]: string}
- D1 Databases used for Pages Functions. Defaults to map[].
- durableObject {[key: string]: string}Namespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- environmentVariables {[key: string]: string}
- Environment variables for Pages Functions. Defaults to map[].
- failOpen boolean
- Fail open used for Pages Functions. Defaults to false.
- kvNamespaces {[key: string]: string}
- KV namespaces used for Pages Functions. Defaults to map[].
- placement
PagesProject Deployment Configs Preview Placement 
- Configuration for placement in the Cloudflare Pages project.
- r2Buckets {[key: string]: string}
- R2 Buckets used for Pages Functions. Defaults to map[].
- secrets {[key: string]: string}
- Encrypted environment variables for Pages Functions. Defaults to map[].
- serviceBindings PagesProject Deployment Configs Preview Service Binding[] 
- Services used for Pages Functions.
- usageModel string
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
- always_use_ boollatest_ compatibility_ date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- compatibility_date str
- Compatibility date used for Pages Functions.
- compatibility_flags Sequence[str]
- Compatibility flags used for Pages Functions.
- d1_databases Mapping[str, str]
- D1 Databases used for Pages Functions. Defaults to map[].
- durable_object_ Mapping[str, str]namespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- environment_variables Mapping[str, str]
- Environment variables for Pages Functions. Defaults to map[].
- fail_open bool
- Fail open used for Pages Functions. Defaults to false.
- kv_namespaces Mapping[str, str]
- KV namespaces used for Pages Functions. Defaults to map[].
- placement
PagesProject Deployment Configs Preview Placement 
- Configuration for placement in the Cloudflare Pages project.
- r2_buckets Mapping[str, str]
- R2 Buckets used for Pages Functions. Defaults to map[].
- secrets Mapping[str, str]
- Encrypted environment variables for Pages Functions. Defaults to map[].
- service_bindings Sequence[PagesProject Deployment Configs Preview Service Binding] 
- Services used for Pages Functions.
- usage_model str
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
- alwaysUse BooleanLatest Compatibility Date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- compatibilityDate String
- Compatibility date used for Pages Functions.
- compatibilityFlags List<String>
- Compatibility flags used for Pages Functions.
- d1Databases Map<String>
- D1 Databases used for Pages Functions. Defaults to map[].
- durableObject Map<String>Namespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- environmentVariables Map<String>
- Environment variables for Pages Functions. Defaults to map[].
- failOpen Boolean
- Fail open used for Pages Functions. Defaults to false.
- kvNamespaces Map<String>
- KV namespaces used for Pages Functions. Defaults to map[].
- placement Property Map
- Configuration for placement in the Cloudflare Pages project.
- r2Buckets Map<String>
- R2 Buckets used for Pages Functions. Defaults to map[].
- secrets Map<String>
- Encrypted environment variables for Pages Functions. Defaults to map[].
- serviceBindings List<Property Map>
- Services used for Pages Functions.
- usageModel String
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
PagesProjectDeploymentConfigsPreviewPlacement, PagesProjectDeploymentConfigsPreviewPlacementArgs            
- Mode string
- Placement Mode for the Pages Function.
- Mode string
- Placement Mode for the Pages Function.
- mode String
- Placement Mode for the Pages Function.
- mode string
- Placement Mode for the Pages Function.
- mode str
- Placement Mode for the Pages Function.
- mode String
- Placement Mode for the Pages Function.
PagesProjectDeploymentConfigsPreviewServiceBinding, PagesProjectDeploymentConfigsPreviewServiceBindingArgs              
- Name string
- The global variable for the binding in your Worker code.
- Service string
- The name of the Worker to bind to.
- Environment string
- The name of the Worker environment to bind to.
- Name string
- The global variable for the binding in your Worker code.
- Service string
- The name of the Worker to bind to.
- Environment string
- The name of the Worker environment to bind to.
- name String
- The global variable for the binding in your Worker code.
- service String
- The name of the Worker to bind to.
- environment String
- The name of the Worker environment to bind to.
- name string
- The global variable for the binding in your Worker code.
- service string
- The name of the Worker to bind to.
- environment string
- The name of the Worker environment to bind to.
- name str
- The global variable for the binding in your Worker code.
- service str
- The name of the Worker to bind to.
- environment str
- The name of the Worker environment to bind to.
- name String
- The global variable for the binding in your Worker code.
- service String
- The name of the Worker to bind to.
- environment String
- The name of the Worker environment to bind to.
PagesProjectDeploymentConfigsProduction, PagesProjectDeploymentConfigsProductionArgs          
- AlwaysUse boolLatest Compatibility Date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- CompatibilityDate string
- Compatibility date used for Pages Functions.
- CompatibilityFlags List<string>
- Compatibility flags used for Pages Functions.
- D1Databases Dictionary<string, string>
- D1 Databases used for Pages Functions. Defaults to map[].
- DurableObject Dictionary<string, string>Namespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- EnvironmentVariables Dictionary<string, string>
- Environment variables for Pages Functions. Defaults to map[].
- FailOpen bool
- Fail open used for Pages Functions. Defaults to false.
- KvNamespaces Dictionary<string, string>
- KV namespaces used for Pages Functions. Defaults to map[].
- Placement
PagesProject Deployment Configs Production Placement 
- Configuration for placement in the Cloudflare Pages project.
- R2Buckets Dictionary<string, string>
- R2 Buckets used for Pages Functions. Defaults to map[].
- Secrets Dictionary<string, string>
- Encrypted environment variables for Pages Functions. Defaults to map[].
- ServiceBindings List<PagesProject Deployment Configs Production Service Binding> 
- Services used for Pages Functions.
- UsageModel string
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
- AlwaysUse boolLatest Compatibility Date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- CompatibilityDate string
- Compatibility date used for Pages Functions.
- CompatibilityFlags []string
- Compatibility flags used for Pages Functions.
- D1Databases map[string]string
- D1 Databases used for Pages Functions. Defaults to map[].
- DurableObject map[string]stringNamespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- EnvironmentVariables map[string]string
- Environment variables for Pages Functions. Defaults to map[].
- FailOpen bool
- Fail open used for Pages Functions. Defaults to false.
- KvNamespaces map[string]string
- KV namespaces used for Pages Functions. Defaults to map[].
- Placement
PagesProject Deployment Configs Production Placement 
- Configuration for placement in the Cloudflare Pages project.
- R2Buckets map[string]string
- R2 Buckets used for Pages Functions. Defaults to map[].
- Secrets map[string]string
- Encrypted environment variables for Pages Functions. Defaults to map[].
- ServiceBindings []PagesProject Deployment Configs Production Service Binding 
- Services used for Pages Functions.
- UsageModel string
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
- alwaysUse BooleanLatest Compatibility Date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- compatibilityDate String
- Compatibility date used for Pages Functions.
- compatibilityFlags List<String>
- Compatibility flags used for Pages Functions.
- d1Databases Map<String,String>
- D1 Databases used for Pages Functions. Defaults to map[].
- durableObject Map<String,String>Namespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- environmentVariables Map<String,String>
- Environment variables for Pages Functions. Defaults to map[].
- failOpen Boolean
- Fail open used for Pages Functions. Defaults to false.
- kvNamespaces Map<String,String>
- KV namespaces used for Pages Functions. Defaults to map[].
- placement
PagesProject Deployment Configs Production Placement 
- Configuration for placement in the Cloudflare Pages project.
- r2Buckets Map<String,String>
- R2 Buckets used for Pages Functions. Defaults to map[].
- secrets Map<String,String>
- Encrypted environment variables for Pages Functions. Defaults to map[].
- serviceBindings List<PagesProject Deployment Configs Production Service Binding> 
- Services used for Pages Functions.
- usageModel String
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
- alwaysUse booleanLatest Compatibility Date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- compatibilityDate string
- Compatibility date used for Pages Functions.
- compatibilityFlags string[]
- Compatibility flags used for Pages Functions.
- d1Databases {[key: string]: string}
- D1 Databases used for Pages Functions. Defaults to map[].
- durableObject {[key: string]: string}Namespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- environmentVariables {[key: string]: string}
- Environment variables for Pages Functions. Defaults to map[].
- failOpen boolean
- Fail open used for Pages Functions. Defaults to false.
- kvNamespaces {[key: string]: string}
- KV namespaces used for Pages Functions. Defaults to map[].
- placement
PagesProject Deployment Configs Production Placement 
- Configuration for placement in the Cloudflare Pages project.
- r2Buckets {[key: string]: string}
- R2 Buckets used for Pages Functions. Defaults to map[].
- secrets {[key: string]: string}
- Encrypted environment variables for Pages Functions. Defaults to map[].
- serviceBindings PagesProject Deployment Configs Production Service Binding[] 
- Services used for Pages Functions.
- usageModel string
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
- always_use_ boollatest_ compatibility_ date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- compatibility_date str
- Compatibility date used for Pages Functions.
- compatibility_flags Sequence[str]
- Compatibility flags used for Pages Functions.
- d1_databases Mapping[str, str]
- D1 Databases used for Pages Functions. Defaults to map[].
- durable_object_ Mapping[str, str]namespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- environment_variables Mapping[str, str]
- Environment variables for Pages Functions. Defaults to map[].
- fail_open bool
- Fail open used for Pages Functions. Defaults to false.
- kv_namespaces Mapping[str, str]
- KV namespaces used for Pages Functions. Defaults to map[].
- placement
PagesProject Deployment Configs Production Placement 
- Configuration for placement in the Cloudflare Pages project.
- r2_buckets Mapping[str, str]
- R2 Buckets used for Pages Functions. Defaults to map[].
- secrets Mapping[str, str]
- Encrypted environment variables for Pages Functions. Defaults to map[].
- service_bindings Sequence[PagesProject Deployment Configs Production Service Binding] 
- Services used for Pages Functions.
- usage_model str
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
- alwaysUse BooleanLatest Compatibility Date 
- Use latest compatibility date for Pages Functions. Defaults to false.
- compatibilityDate String
- Compatibility date used for Pages Functions.
- compatibilityFlags List<String>
- Compatibility flags used for Pages Functions.
- d1Databases Map<String>
- D1 Databases used for Pages Functions. Defaults to map[].
- durableObject Map<String>Namespaces 
- Durable Object namespaces used for Pages Functions. Defaults to map[].
- environmentVariables Map<String>
- Environment variables for Pages Functions. Defaults to map[].
- failOpen Boolean
- Fail open used for Pages Functions. Defaults to false.
- kvNamespaces Map<String>
- KV namespaces used for Pages Functions. Defaults to map[].
- placement Property Map
- Configuration for placement in the Cloudflare Pages project.
- r2Buckets Map<String>
- R2 Buckets used for Pages Functions. Defaults to map[].
- secrets Map<String>
- Encrypted environment variables for Pages Functions. Defaults to map[].
- serviceBindings List<Property Map>
- Services used for Pages Functions.
- usageModel String
- Usage model used for Pages Functions. Available values: unbound,bundled,standard. Defaults tobundled.
PagesProjectDeploymentConfigsProductionPlacement, PagesProjectDeploymentConfigsProductionPlacementArgs            
- Mode string
- Placement Mode for the Pages Function.
- Mode string
- Placement Mode for the Pages Function.
- mode String
- Placement Mode for the Pages Function.
- mode string
- Placement Mode for the Pages Function.
- mode str
- Placement Mode for the Pages Function.
- mode String
- Placement Mode for the Pages Function.
PagesProjectDeploymentConfigsProductionServiceBinding, PagesProjectDeploymentConfigsProductionServiceBindingArgs              
- Name string
- The global variable for the binding in your Worker code.
- Service string
- The name of the Worker to bind to.
- Environment string
- The name of the Worker environment to bind to.
- Name string
- The global variable for the binding in your Worker code.
- Service string
- The name of the Worker to bind to.
- Environment string
- The name of the Worker environment to bind to.
- name String
- The global variable for the binding in your Worker code.
- service String
- The name of the Worker to bind to.
- environment String
- The name of the Worker environment to bind to.
- name string
- The global variable for the binding in your Worker code.
- service string
- The name of the Worker to bind to.
- environment string
- The name of the Worker environment to bind to.
- name str
- The global variable for the binding in your Worker code.
- service str
- The name of the Worker to bind to.
- environment str
- The name of the Worker environment to bind to.
- name String
- The global variable for the binding in your Worker code.
- service String
- The name of the Worker to bind to.
- environment String
- The name of the Worker environment to bind to.
PagesProjectSource, PagesProjectSourceArgs      
- Config
PagesProject Source Config 
- Configuration for the source of the Cloudflare Pages project.
- Type string
- Project host type.
- Config
PagesProject Source Config 
- Configuration for the source of the Cloudflare Pages project.
- Type string
- Project host type.
- config
PagesProject Source Config 
- Configuration for the source of the Cloudflare Pages project.
- type String
- Project host type.
- config
PagesProject Source Config 
- Configuration for the source of the Cloudflare Pages project.
- type string
- Project host type.
- config
PagesProject Source Config 
- Configuration for the source of the Cloudflare Pages project.
- type str
- Project host type.
- config Property Map
- Configuration for the source of the Cloudflare Pages project.
- type String
- Project host type.
PagesProjectSourceConfig, PagesProjectSourceConfigArgs        
- ProductionBranch string
- Project production branch name.
- DeploymentsEnabled bool
- Toggle deployments on this repo. Defaults to true.
- Owner string
- Project owner username. Modifying this attribute will force creation of a new resource.
- PrComments boolEnabled 
- Enable Pages to comment on Pull Requests. Defaults to true.
- PreviewBranch List<string>Excludes 
- Branches will be excluded from automatic deployment.
- PreviewBranch List<string>Includes 
- Branches will be included for automatic deployment.
- PreviewDeployment stringSetting 
- Preview Deployment Setting. Available values: custom,all,none. Defaults toall.
- ProductionDeployment boolEnabled 
- Enable production deployments. Defaults to true.
- RepoName string
- Project repository name. Modifying this attribute will force creation of a new resource.
- ProductionBranch string
- Project production branch name.
- DeploymentsEnabled bool
- Toggle deployments on this repo. Defaults to true.
- Owner string
- Project owner username. Modifying this attribute will force creation of a new resource.
- PrComments boolEnabled 
- Enable Pages to comment on Pull Requests. Defaults to true.
- PreviewBranch []stringExcludes 
- Branches will be excluded from automatic deployment.
- PreviewBranch []stringIncludes 
- Branches will be included for automatic deployment.
- PreviewDeployment stringSetting 
- Preview Deployment Setting. Available values: custom,all,none. Defaults toall.
- ProductionDeployment boolEnabled 
- Enable production deployments. Defaults to true.
- RepoName string
- Project repository name. Modifying this attribute will force creation of a new resource.
- productionBranch String
- Project production branch name.
- deploymentsEnabled Boolean
- Toggle deployments on this repo. Defaults to true.
- owner String
- Project owner username. Modifying this attribute will force creation of a new resource.
- prComments BooleanEnabled 
- Enable Pages to comment on Pull Requests. Defaults to true.
- previewBranch List<String>Excludes 
- Branches will be excluded from automatic deployment.
- previewBranch List<String>Includes 
- Branches will be included for automatic deployment.
- previewDeployment StringSetting 
- Preview Deployment Setting. Available values: custom,all,none. Defaults toall.
- productionDeployment BooleanEnabled 
- Enable production deployments. Defaults to true.
- repoName String
- Project repository name. Modifying this attribute will force creation of a new resource.
- productionBranch string
- Project production branch name.
- deploymentsEnabled boolean
- Toggle deployments on this repo. Defaults to true.
- owner string
- Project owner username. Modifying this attribute will force creation of a new resource.
- prComments booleanEnabled 
- Enable Pages to comment on Pull Requests. Defaults to true.
- previewBranch string[]Excludes 
- Branches will be excluded from automatic deployment.
- previewBranch string[]Includes 
- Branches will be included for automatic deployment.
- previewDeployment stringSetting 
- Preview Deployment Setting. Available values: custom,all,none. Defaults toall.
- productionDeployment booleanEnabled 
- Enable production deployments. Defaults to true.
- repoName string
- Project repository name. Modifying this attribute will force creation of a new resource.
- production_branch str
- Project production branch name.
- deployments_enabled bool
- Toggle deployments on this repo. Defaults to true.
- owner str
- Project owner username. Modifying this attribute will force creation of a new resource.
- pr_comments_ boolenabled 
- Enable Pages to comment on Pull Requests. Defaults to true.
- preview_branch_ Sequence[str]excludes 
- Branches will be excluded from automatic deployment.
- preview_branch_ Sequence[str]includes 
- Branches will be included for automatic deployment.
- preview_deployment_ strsetting 
- Preview Deployment Setting. Available values: custom,all,none. Defaults toall.
- production_deployment_ boolenabled 
- Enable production deployments. Defaults to true.
- repo_name str
- Project repository name. Modifying this attribute will force creation of a new resource.
- productionBranch String
- Project production branch name.
- deploymentsEnabled Boolean
- Toggle deployments on this repo. Defaults to true.
- owner String
- Project owner username. Modifying this attribute will force creation of a new resource.
- prComments BooleanEnabled 
- Enable Pages to comment on Pull Requests. Defaults to true.
- previewBranch List<String>Excludes 
- Branches will be excluded from automatic deployment.
- previewBranch List<String>Includes 
- Branches will be included for automatic deployment.
- previewDeployment StringSetting 
- Preview Deployment Setting. Available values: custom,all,none. Defaults toall.
- productionDeployment BooleanEnabled 
- Enable production deployments. Defaults to true.
- repoName String
- Project repository name. Modifying this attribute will force creation of a new resource.
Import
!> It is not possible to import a pages project with secret environment variables. If you have a secret environment variable, you must remove it from your project before importing it.
$ pulumi import cloudflare:index/pagesProject:PagesProject example <account_id>/<project_name>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the cloudflareTerraform Provider.