// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package accessrule


type AccessRuleConfiguration struct {
	// The request property to target.
	//
	// Available values: `ip`, `ip6`, `ip_range`, `asn`, `country`. **Modifying this attribute will force creation of a new resource.**
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.44.0/docs/resources/access_rule#target AccessRule#target}
	Target *string `field:"required" json:"target" yaml:"target"`
	// The value to target. Depends on target's type. **Modifying this attribute will force creation of a new resource.**.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.44.0/docs/resources/access_rule#value AccessRule#value}
	Value *string `field:"required" json:"value" yaml:"value"`
}

