PagesDomain

class PagesDomain : KotlinCustomResource

Provides a resource for managing Cloudflare Pages domains.

A DNS record for the domain is not automatically created. You need to create a cloudflare.Record resource for the domain you want to use.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.PagesDomain;
import com.pulumi.cloudflare.PagesDomainArgs;
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 my_domain = new PagesDomain("my-domain", PagesDomainArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.domain("example.com")
.projectName("my-example-project")
.build());
}
}

Import

$ pulumi import cloudflare:index/pagesDomain:PagesDomain example <account_id>/<project_name>/<domain-name>

Properties

Link copied to clipboard
val accountId: Output<String>

The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val domain: Output<String>

Custom domain. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val projectName: Output<String>

Name of the Pages Project. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

Status of the custom domain.

Link copied to clipboard
val urn: Output<String>