AccessPolicyRequireArgs

data class AccessPolicyRequireArgs(val anyValidServiceToken: Output<Boolean>? = null, val authContexts: Output<List<AccessPolicyRequireAuthContextArgs>>? = null, val authMethod: Output<String>? = null, val azures: Output<List<AccessPolicyRequireAzureArgs>>? = null, val certificate: Output<Boolean>? = null, val commonName: Output<String>? = null, val commonNames: Output<List<String>>? = null, val devicePostures: Output<List<String>>? = null, val emailDomains: Output<List<String>>? = null, val emailLists: Output<List<String>>? = null, val emails: Output<List<String>>? = null, val everyone: Output<Boolean>? = null, val externalEvaluation: Output<AccessPolicyRequireExternalEvaluationArgs>? = null, val geos: Output<List<String>>? = null, val githubs: Output<List<AccessPolicyRequireGithubArgs>>? = null, val groups: Output<List<String>>? = null, val gsuites: Output<List<AccessPolicyRequireGsuiteArgs>>? = null, val ipLists: Output<List<String>>? = null, val ips: Output<List<String>>? = null, val loginMethods: Output<List<String>>? = null, val oktas: Output<List<AccessPolicyRequireOktaArgs>>? = null, val samls: Output<List<AccessPolicyRequireSamlArgs>>? = null, val serviceTokens: Output<List<String>>? = null) : ConvertibleToJava<AccessPolicyRequireArgs>

Constructors

Link copied to clipboard
constructor(anyValidServiceToken: Output<Boolean>? = null, authContexts: Output<List<AccessPolicyRequireAuthContextArgs>>? = null, authMethod: Output<String>? = null, azures: Output<List<AccessPolicyRequireAzureArgs>>? = null, certificate: Output<Boolean>? = null, commonName: Output<String>? = null, commonNames: Output<List<String>>? = null, devicePostures: Output<List<String>>? = null, emailDomains: Output<List<String>>? = null, emailLists: Output<List<String>>? = null, emails: Output<List<String>>? = null, everyone: Output<Boolean>? = null, externalEvaluation: Output<AccessPolicyRequireExternalEvaluationArgs>? = null, geos: Output<List<String>>? = null, githubs: Output<List<AccessPolicyRequireGithubArgs>>? = null, groups: Output<List<String>>? = null, gsuites: Output<List<AccessPolicyRequireGsuiteArgs>>? = null, ipLists: Output<List<String>>? = null, ips: Output<List<String>>? = null, loginMethods: Output<List<String>>? = null, oktas: Output<List<AccessPolicyRequireOktaArgs>>? = null, samls: Output<List<AccessPolicyRequireSamlArgs>>? = null, serviceTokens: Output<List<String>>? = null)

Properties

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

Matches any valid Access service token.

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

The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types.

Link copied to clipboard

Matches an Azure group. Requires an Azure identity provider.

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

Matches any valid client certificate.

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

Matches a valid client certificate common name.

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

Overflow field if you need to have multiple commonname rules in a single policy. Use in place of the singular commonname field.

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

The ID of a device posture integration.

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

The email domain to match.

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

The ID of a previously created email list.

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

The email of the user.

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

Matches everyone.

Link copied to clipboard

Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/.

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

Matches a specific country.

Link copied to clipboard

Matches a Github organization. Requires a Github identity provider.

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

The ID of a previously created Access group.

Link copied to clipboard

Matches a group in Google Workspace. Requires a Google Workspace identity provider.

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

The ID of a previously created IP list.

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

An IPv4 or IPv6 CIDR block.

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

The ID of a configured identity provider.

Link copied to clipboard
val oktas: Output<List<AccessPolicyRequireOktaArgs>>? = null

Matches an Okta group. Requires an Okta identity provider.

Link copied to clipboard
val samls: Output<List<AccessPolicyRequireSamlArgs>>? = null

Matches a SAML group. Requires a SAML identity provider.

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

The ID of an Access service token.

Functions

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