AccessApplicationArgs

data class AccessApplicationArgs(val accountId: Output<String>? = null, val allowAuthenticateViaWarp: Output<Boolean>? = null, val allowedIdps: Output<List<String>>? = null, val appLauncherLogoUrl: Output<String>? = null, val appLauncherVisible: Output<Boolean>? = null, val autoRedirectToIdentity: Output<Boolean>? = null, val bgColor: Output<String>? = null, val corsHeaders: Output<List<AccessApplicationCorsHeaderArgs>>? = null, val customDenyMessage: Output<String>? = null, val customDenyUrl: Output<String>? = null, val customNonIdentityDenyUrl: Output<String>? = null, val customPages: Output<List<String>>? = null, val destinations: Output<List<AccessApplicationDestinationArgs>>? = null, val domain: Output<String>? = null, val domainType: Output<String>? = null, val enableBindingCookie: Output<Boolean>? = null, val footerLinks: Output<List<AccessApplicationFooterLinkArgs>>? = null, val headerBgColor: Output<String>? = null, val httpOnlyCookieAttribute: Output<Boolean>? = null, val landingPageDesign: Output<AccessApplicationLandingPageDesignArgs>? = null, val logoUrl: Output<String>? = null, val name: Output<String>? = null, val optionsPreflightBypass: Output<Boolean>? = null, val policies: Output<List<String>>? = null, val saasApp: Output<AccessApplicationSaasAppArgs>? = null, val sameSiteCookieAttribute: Output<String>? = null, val scimConfig: Output<AccessApplicationScimConfigArgs>? = null, val selfHostedDomains: Output<List<String>>? = null, val serviceAuth401Redirect: Output<Boolean>? = null, val sessionDuration: Output<String>? = null, val skipAppLauncherLoginPage: Output<Boolean>? = null, val skipInterstitial: Output<Boolean>? = null, val tags: Output<List<String>>? = null, val targetCriterias: Output<List<AccessApplicationTargetCriteriaArgs>>? = null, val type: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<AccessApplicationArgs>

Provides a Cloudflare Access Application resource. Access Applications are used to restrict access to a whole application using an authorisation gateway managed by Cloudflare.

It's required that an account_id or zone_id is provided and in most cases using either is fine. However, if you're using a scoped access token, you must provide the argument that matches the token's scope. For example, an access token that is scoped to the "example.com" zone needs to use the zone_id argument.

Import

$ pulumi import cloudflare:index/accessApplication:AccessApplication example <account_id>/<application_id>

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, allowAuthenticateViaWarp: Output<Boolean>? = null, allowedIdps: Output<List<String>>? = null, appLauncherLogoUrl: Output<String>? = null, appLauncherVisible: Output<Boolean>? = null, autoRedirectToIdentity: Output<Boolean>? = null, bgColor: Output<String>? = null, corsHeaders: Output<List<AccessApplicationCorsHeaderArgs>>? = null, customDenyMessage: Output<String>? = null, customDenyUrl: Output<String>? = null, customNonIdentityDenyUrl: Output<String>? = null, customPages: Output<List<String>>? = null, destinations: Output<List<AccessApplicationDestinationArgs>>? = null, domain: Output<String>? = null, domainType: Output<String>? = null, enableBindingCookie: Output<Boolean>? = null, footerLinks: Output<List<AccessApplicationFooterLinkArgs>>? = null, headerBgColor: Output<String>? = null, httpOnlyCookieAttribute: Output<Boolean>? = null, landingPageDesign: Output<AccessApplicationLandingPageDesignArgs>? = null, logoUrl: Output<String>? = null, name: Output<String>? = null, optionsPreflightBypass: Output<Boolean>? = null, policies: Output<List<String>>? = null, saasApp: Output<AccessApplicationSaasAppArgs>? = null, sameSiteCookieAttribute: Output<String>? = null, scimConfig: Output<AccessApplicationScimConfigArgs>? = null, selfHostedDomains: Output<List<String>>? = null, serviceAuth401Redirect: Output<Boolean>? = null, sessionDuration: Output<String>? = null, skipAppLauncherLoginPage: Output<Boolean>? = null, skipInterstitial: Output<Boolean>? = null, tags: Output<List<String>>? = null, targetCriterias: Output<List<AccessApplicationTargetCriteriaArgs>>? = null, type: Output<String>? = null, zoneId: Output<String>? = null)

Properties

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

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

Link copied to clipboard
val allowAuthenticateViaWarp: Output<Boolean>? = null

When set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication.

Link copied to clipboard
val allowedIdps: Output<List<String>>? = null

The identity providers selected for the application.

Link copied to clipboard
val appLauncherLogoUrl: Output<String>? = null

The logo URL of the app launcher.

Link copied to clipboard
val appLauncherVisible: Output<Boolean>? = null

Option to show/hide applications in App Launcher. Defaults to true.

Link copied to clipboard
val autoRedirectToIdentity: Output<Boolean>? = null

Option to skip identity provider selection if only one is configured in allowed_idps. Defaults to false.

Link copied to clipboard
val bgColor: Output<String>? = null

The background color of the app launcher.

Link copied to clipboard

CORS configuration for the Access Application. See below for reference structure.

Link copied to clipboard
val customDenyMessage: Output<String>? = null

Option that returns a custom error message when a user is denied access to the application.

Link copied to clipboard
val customDenyUrl: Output<String>? = null

Option that redirects to a custom URL when a user is denied access to the application via identity based rules.

Link copied to clipboard
val customNonIdentityDenyUrl: Output<String>? = null

Option that redirects to a custom URL when a user is denied access to the application via non identity rules.

Link copied to clipboard
val customPages: Output<List<String>>? = null

The custom pages selected for the application.

Link copied to clipboard

A destination secured by Access. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as domain. Supersedes self_hosted_domains to allow for more flexibility in defining different types of destinations. Conflicts with self_hosted_domains.

Link copied to clipboard
val domain: Output<String>? = null

The primary hostname and path that Access will secure. If the app is visible in the App Launcher dashboard, this is the domain that will be displayed.

Link copied to clipboard
val domainType: Output<String>? = null

The type of the primary domain. Available values: public, private.

Link copied to clipboard
val enableBindingCookie: Output<Boolean>? = null

Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an additional "binding" cookie on requests. Defaults to false.

Link copied to clipboard

The footer links of the app launcher.

Link copied to clipboard
val headerBgColor: Output<String>? = null

The background color of the header bar in the app launcher.

Link copied to clipboard
val httpOnlyCookieAttribute: Output<Boolean>? = null

Option to add the HttpOnly cookie flag to access tokens.

Link copied to clipboard

The landing page design of the app launcher.

Link copied to clipboard
val logoUrl: Output<String>? = null

Image URL for the logo shown in the app launcher dashboard.

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

Friendly name of the Access Application.

Link copied to clipboard
val optionsPreflightBypass: Output<Boolean>? = null

Allows options preflight requests to bypass Access authentication and go directly to the origin. Cannot turn on if cors_headers is set. Defaults to false.

Link copied to clipboard
val policies: Output<List<String>>? = null

The policies associated with the application, in ascending order of precedence. Warning: Do not use this field while you still have this application ID referenced as application_id in any cloudflare.AccessPolicy resource, as it can result in an inconsistent state.

Link copied to clipboard

SaaS configuration for the Access Application.

Link copied to clipboard
val sameSiteCookieAttribute: Output<String>? = null

Defines the same-site cookie setting for access tokens. Available values: none, lax, strict.

Link copied to clipboard

Configuration for provisioning to this application via SCIM. This is currently in closed beta.

Link copied to clipboard
val selfHostedDomains: Output<List<String>>? = null

List of public domains secured by Access. Only present for self_hosted, vnc, and ssh applications. Always includes the value set as domain. Deprecated in favor of destinations and will be removed in the next major version. Conflicts with destinations.

Link copied to clipboard
val serviceAuth401Redirect: Output<Boolean>? = null

Option to return a 401 status code in service authentication rules on failed requests. Defaults to false.

Link copied to clipboard
val sessionDuration: Output<String>? = null

How often a user will be forced to re-authorise. Must be in the format 48h or 2h45m. Defaults to 24h.

Link copied to clipboard
val skipAppLauncherLoginPage: Output<Boolean>? = null

Option to skip the App Launcher landing page. Defaults to false.

Link copied to clipboard
val skipInterstitial: Output<Boolean>? = null

Option to skip the authorization interstitial when using the CLI. Defaults to false.

Link copied to clipboard
val tags: Output<List<String>>? = null

The itags associated with the application.

Link copied to clipboard

The payload for an infrastructure application which defines the port, protocol, and target attributes. Only applicable to Infrastructure Applications, in which case this field is required.

Link copied to clipboard
val type: Output<String>? = null

The application type. Available values: app_launcher, bookmark, biso, dash_sso, saas, self_hosted, ssh, vnc, warp, infrastructure. Defaults to self_hosted.

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

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

Functions

Link copied to clipboard
open override fun toJava(): AccessApplicationArgs