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

package dlpprofile

import (
	"github.com/hashicorp/terraform-cdk-go/cdktf"
)

type DlpProfileConfig struct {
	// Experimental.
	Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
	// Experimental.
	Count interface{} `field:"optional" json:"count" yaml:"count"`
	// Experimental.
	DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
	// Experimental.
	ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
	// Experimental.
	Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
	// Experimental.
	Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
	// Experimental.
	Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
	// The account identifier to target for the resource. **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/dlp_profile#account_id DlpProfile#account_id}
	AccountId *string `field:"required" json:"accountId" yaml:"accountId"`
	// Related DLP policies will trigger when the match count exceeds the number set.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.44.0/docs/resources/dlp_profile#allowed_match_count DlpProfile#allowed_match_count}
	AllowedMatchCount *float64 `field:"required" json:"allowedMatchCount" yaml:"allowedMatchCount"`
	// entry block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.44.0/docs/resources/dlp_profile#entry DlpProfile#entry}
	Entry interface{} `field:"required" json:"entry" yaml:"entry"`
	// Name of the profile. **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/dlp_profile#name DlpProfile#name}
	Name *string `field:"required" json:"name" yaml:"name"`
	// The type of the profile. Available values: `custom`, `predefined`. **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/dlp_profile#type DlpProfile#type}
	Type *string `field:"required" json:"type" yaml:"type"`
	// context_awareness block.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.44.0/docs/resources/dlp_profile#context_awareness DlpProfile#context_awareness}
	ContextAwareness *DlpProfileContextAwareness `field:"optional" json:"contextAwareness" yaml:"contextAwareness"`
	// Brief summary of the profile and its intended use.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.44.0/docs/resources/dlp_profile#description DlpProfile#description}
	Description *string `field:"optional" json:"description" yaml:"description"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.44.0/docs/resources/dlp_profile#id DlpProfile#id}.
	//
	// Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
	// If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
	Id *string `field:"optional" json:"id" yaml:"id"`
	// If true, scan images via OCR to determine if any text present matches filters.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.44.0/docs/resources/dlp_profile#ocr_enabled DlpProfile#ocr_enabled}
	OcrEnabled interface{} `field:"optional" json:"ocrEnabled" yaml:"ocrEnabled"`
}

