AccessGroupArgs

data class AccessGroupArgs(val accountId: Output<String>? = null, val excludes: Output<List<AccessGroupExcludeArgs>>? = null, val includes: Output<List<AccessGroupIncludeArgs>>? = null, val name: Output<String>? = null, val requires: Output<List<AccessGroupRequireArgs>>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<AccessGroupArgs>

Provides a Cloudflare Access Group resource. Access Groups are used in conjunction with Access Policies to restrict access to a particular resource based on group membership.

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/accessGroup:AccessGroup example <account_id>/<group_id>

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, excludes: Output<List<AccessGroupExcludeArgs>>? = null, includes: Output<List<AccessGroupIncludeArgs>>? = null, name: Output<String>? = null, requires: Output<List<AccessGroupRequireArgs>>? = 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. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val excludes: Output<List<AccessGroupExcludeArgs>>? = null
Link copied to clipboard
val includes: Output<List<AccessGroupIncludeArgs>>? = null
Link copied to clipboard
val name: Output<String>? = null
Link copied to clipboard
val requires: Output<List<AccessGroupRequireArgs>>? = null
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(): AccessGroupArgs