AccessOrganization

class AccessOrganization : KotlinCustomResource

A Zero Trust organization defines the user login experience.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.AccessOrganization;
import com.pulumi.cloudflare.AccessOrganizationArgs;
import com.pulumi.cloudflare.inputs.AccessOrganizationLoginDesignArgs;
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 AccessOrganization("example", AccessOrganizationArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.authDomain("example.cloudflareaccess.com")
.isUiReadOnly(false)
.loginDesigns(AccessOrganizationLoginDesignArgs.builder()
.backgroundColor("#ffffff")
.footerText("My footer text")
.headerText("My header text")
.logoPath("https://example.com/logo.png")
.textColor("#000000")
.build())
.name("example.cloudflareaccess.com")
.userSeatExpirationInactiveTime("720h")
.build());
}
}

Import

$ pulumi import cloudflare:index/accessOrganization:AccessOrganization example <account_id>

Properties

Link copied to clipboard
val accountId: Output<String>

The account identifier to target for the resource. Conflicts with zone_id.

Link copied to clipboard
val authDomain: Output<String>

The unique subdomain assigned to your Zero Trust organization.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val isUiReadOnly: Output<Boolean>?

When set to true, this will disable all editing of Access resources via the Zero Trust Dashboard.

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

The name of your Zero Trust organization.

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

The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Must be in the format 300ms or 2h45m.

Link copied to clipboard
val zoneId: Output<String>

The zone identifier to target for the resource. Conflicts with account_id.