AccessCustomPage

class AccessCustomPage : KotlinCustomResource

Provides a resource to customize the pages your end users will see when trying to reach applications behind Cloudflare Access.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.AccessCustomPage;
import com.pulumi.cloudflare.AccessCustomPageArgs;
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 example = new AccessCustomPage("example", AccessCustomPageArgs.builder()
.customHtml("<html><body><h1>Forbidden</h1></body></html>")
.name("example")
.type("forbidden")
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
}
}

Properties

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

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

Link copied to clipboard
val appCount: Output<Int>?

Number of apps to display on the custom page.

Link copied to clipboard
val customHtml: Output<String>?

Custom HTML to display on the custom page.

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

Friendly name of the Access Custom Page configuration.

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

Type of Access custom page to create. Available values: identity_denied, forbidden.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zoneId: Output<String>?

The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.