TeamsAccount

class TeamsAccount : KotlinCustomResource

Provides a Cloudflare Teams Account resource. The Teams Account resource defines configuration for secure web gateway.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.TeamsAccount;
import com.pulumi.cloudflare.TeamsAccountArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountAntivirusArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountBlockPageArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountFipsArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountLoggingArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeDnsArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeHttpArgs;
import com.pulumi.cloudflare.inputs.TeamsAccountLoggingSettingsByRuleTypeL4Args;
import com.pulumi.cloudflare.inputs.TeamsAccountProxyArgs;
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 TeamsAccount("example", TeamsAccountArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.antivirus(TeamsAccountAntivirusArgs.builder()
.enabledDownloadPhase(true)
.enabledUploadPhase(false)
.failClosed(true)
.build())
.blockPage(TeamsAccountBlockPageArgs.builder()
.backgroundColor("#000000")
.footerText("hello")
.headerText("hello")
.logoPath("https://example.com/logo.jpg")
.build())
.fips(TeamsAccountFipsArgs.builder()
.tls(true)
.build())
.logging(TeamsAccountLoggingArgs.builder()
.redactPii(true)
.settingsByRuleType(TeamsAccountLoggingSettingsByRuleTypeArgs.builder()
.dns(TeamsAccountLoggingSettingsByRuleTypeDnsArgs.builder()
.logAll(false)
.logBlocks(true)
.build())
.http(TeamsAccountLoggingSettingsByRuleTypeHttpArgs.builder()
.logAll(true)
.logBlocks(true)
.build())
.l4(TeamsAccountLoggingSettingsByRuleTypeL4Args.builder()
.logAll(false)
.logBlocks(true)
.build())
.build())
.build())
.proxy(TeamsAccountProxyArgs.builder()
.tcp(true)
.udp(true)
.build())
.tlsDecryptEnabled(true)
.urlBrowserIsolationEnabled(true)
.build());
}
}

Import

$ pulumi import cloudflare:index/teamsAccount:TeamsAccount example <account_id>

Properties

Link copied to clipboard
val accountId: Output<String>

The account identifier to target for the resource.

Link copied to clipboard

Whether to enable the activity log.

Link copied to clipboard

Configuration block for antivirus traffic scanning.

Link copied to clipboard

Configuration for a custom block page.

Link copied to clipboard
val fips: Output<TeamsAccountFips>?

Configure compliance with Federal Information Processing Standards.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
Link copied to clipboard
val proxy: Output<TeamsAccountProxy>?

Configuration block for specifying which protocols are proxied.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicator that decryption of TLS traffic is enabled.

Link copied to clipboard

Safely browse websites in Browser Isolation through a URL.

Link copied to clipboard
val urn: Output<String>