cloudflare.ZeroTrustDlpCustomProfile
Explore with Pulumi AI
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
exampleZeroTrustDlpCustomProfile:
type: cloudflare:ZeroTrustDlpCustomProfile
name: example_zero_trust_dlp_custom_profile
properties:
accountId: account_id
name: name
aiContextEnabled: true
allowedMatchCount: 5
confidenceThreshold: confidence_threshold
contextAwareness:
enabled: true
skip:
files: true
description: description
ocrEnabled: true
sharedEntries:
- enabled: true
entry_id: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
entry_type: custom
Create ZeroTrustDlpCustomProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustDlpCustomProfile(name: string, args: ZeroTrustDlpCustomProfileArgs, opts?: CustomResourceOptions);
@overload
def ZeroTrustDlpCustomProfile(resource_name: str,
args: ZeroTrustDlpCustomProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustDlpCustomProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
name: Optional[str] = None,
ai_context_enabled: Optional[bool] = None,
allowed_match_count: Optional[int] = None,
confidence_threshold: Optional[str] = None,
context_awareness: Optional[ZeroTrustDlpCustomProfileContextAwarenessArgs] = None,
description: Optional[str] = None,
entries: Optional[Sequence[ZeroTrustDlpCustomProfileEntryArgs]] = None,
ocr_enabled: Optional[bool] = None,
shared_entries: Optional[Sequence[ZeroTrustDlpCustomProfileSharedEntryArgs]] = None)
func NewZeroTrustDlpCustomProfile(ctx *Context, name string, args ZeroTrustDlpCustomProfileArgs, opts ...ResourceOption) (*ZeroTrustDlpCustomProfile, error)
public ZeroTrustDlpCustomProfile(string name, ZeroTrustDlpCustomProfileArgs args, CustomResourceOptions? opts = null)
public ZeroTrustDlpCustomProfile(String name, ZeroTrustDlpCustomProfileArgs args)
public ZeroTrustDlpCustomProfile(String name, ZeroTrustDlpCustomProfileArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustDlpCustomProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ZeroTrustDlpCustomProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ZeroTrustDlpCustomProfileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ZeroTrustDlpCustomProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustDlpCustomProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustDlpCustomProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var zeroTrustDlpCustomProfileResource = new Cloudflare.ZeroTrustDlpCustomProfile("zeroTrustDlpCustomProfileResource", new()
{
AccountId = "string",
Name = "string",
AiContextEnabled = false,
AllowedMatchCount = 0,
ConfidenceThreshold = "string",
Description = "string",
OcrEnabled = false,
SharedEntries = new[]
{
new Cloudflare.Inputs.ZeroTrustDlpCustomProfileSharedEntryArgs
{
Enabled = false,
EntryId = "string",
EntryType = "string",
},
},
});
example, err := cloudflare.NewZeroTrustDlpCustomProfile(ctx, "zeroTrustDlpCustomProfileResource", &cloudflare.ZeroTrustDlpCustomProfileArgs{
AccountId: pulumi.String("string"),
Name: pulumi.String("string"),
AiContextEnabled: pulumi.Bool(false),
AllowedMatchCount: pulumi.Int(0),
ConfidenceThreshold: pulumi.String("string"),
Description: pulumi.String("string"),
OcrEnabled: pulumi.Bool(false),
SharedEntries: cloudflare.ZeroTrustDlpCustomProfileSharedEntryArray{
&cloudflare.ZeroTrustDlpCustomProfileSharedEntryArgs{
Enabled: pulumi.Bool(false),
EntryId: pulumi.String("string"),
EntryType: pulumi.String("string"),
},
},
})
var zeroTrustDlpCustomProfileResource = new ZeroTrustDlpCustomProfile("zeroTrustDlpCustomProfileResource", ZeroTrustDlpCustomProfileArgs.builder()
.accountId("string")
.name("string")
.aiContextEnabled(false)
.allowedMatchCount(0)
.confidenceThreshold("string")
.description("string")
.ocrEnabled(false)
.sharedEntries(ZeroTrustDlpCustomProfileSharedEntryArgs.builder()
.enabled(false)
.entryId("string")
.entryType("string")
.build())
.build());
zero_trust_dlp_custom_profile_resource = cloudflare.ZeroTrustDlpCustomProfile("zeroTrustDlpCustomProfileResource",
account_id="string",
name="string",
ai_context_enabled=False,
allowed_match_count=0,
confidence_threshold="string",
description="string",
ocr_enabled=False,
shared_entries=[{
"enabled": False,
"entry_id": "string",
"entry_type": "string",
}])
const zeroTrustDlpCustomProfileResource = new cloudflare.ZeroTrustDlpCustomProfile("zeroTrustDlpCustomProfileResource", {
accountId: "string",
name: "string",
aiContextEnabled: false,
allowedMatchCount: 0,
confidenceThreshold: "string",
description: "string",
ocrEnabled: false,
sharedEntries: [{
enabled: false,
entryId: "string",
entryType: "string",
}],
});
type: cloudflare:ZeroTrustDlpCustomProfile
properties:
accountId: string
aiContextEnabled: false
allowedMatchCount: 0
confidenceThreshold: string
description: string
name: string
ocrEnabled: false
sharedEntries:
- enabled: false
entryId: string
entryType: string
ZeroTrustDlpCustomProfile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ZeroTrustDlpCustomProfile resource accepts the following input properties:
- Account
Id string - Name string
- Ai
Context boolEnabled - Allowed
Match intCount - Related DLP policies will trigger when the match count exceeds the number set.
- Confidence
Threshold string - Context
Awareness ZeroTrust Dlp Custom Profile Context Awareness - Scan the context of predefined entries to only return matches surrounded by keywords.
- Description string
- The description of the profile.
- Entries
List<Zero
Trust Dlp Custom Profile Entry> - Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- Ocr
Enabled bool - List<Zero
Trust Dlp Custom Profile Shared Entry> - Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
- Account
Id string - Name string
- Ai
Context boolEnabled - Allowed
Match intCount - Related DLP policies will trigger when the match count exceeds the number set.
- Confidence
Threshold string - Context
Awareness ZeroTrust Dlp Custom Profile Context Awareness Args - Scan the context of predefined entries to only return matches surrounded by keywords.
- Description string
- The description of the profile.
- Entries
[]Zero
Trust Dlp Custom Profile Entry Args - Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- Ocr
Enabled bool - []Zero
Trust Dlp Custom Profile Shared Entry Args - Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
- account
Id String - name String
- ai
Context BooleanEnabled - allowed
Match IntegerCount - Related DLP policies will trigger when the match count exceeds the number set.
- confidence
Threshold String - context
Awareness ZeroTrust Dlp Custom Profile Context Awareness - Scan the context of predefined entries to only return matches surrounded by keywords.
- description String
- The description of the profile.
- entries
List<Zero
Trust Dlp Custom Profile Entry> - Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- ocr
Enabled Boolean - List<Zero
Trust Dlp Custom Profile Shared Entry> - Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
- account
Id string - name string
- ai
Context booleanEnabled - allowed
Match numberCount - Related DLP policies will trigger when the match count exceeds the number set.
- confidence
Threshold string - context
Awareness ZeroTrust Dlp Custom Profile Context Awareness - Scan the context of predefined entries to only return matches surrounded by keywords.
- description string
- The description of the profile.
- entries
Zero
Trust Dlp Custom Profile Entry[] - Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- ocr
Enabled boolean - Zero
Trust Dlp Custom Profile Shared Entry[] - Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
- account_
id str - name str
- ai_
context_ boolenabled - allowed_
match_ intcount - Related DLP policies will trigger when the match count exceeds the number set.
- confidence_
threshold str - context_
awareness ZeroTrust Dlp Custom Profile Context Awareness Args - Scan the context of predefined entries to only return matches surrounded by keywords.
- description str
- The description of the profile.
- entries
Sequence[Zero
Trust Dlp Custom Profile Entry Args] - Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- ocr_
enabled bool - Sequence[Zero
Trust Dlp Custom Profile Shared Entry Args] - Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
- account
Id String - name String
- ai
Context BooleanEnabled - allowed
Match NumberCount - Related DLP policies will trigger when the match count exceeds the number set.
- confidence
Threshold String - context
Awareness Property Map - Scan the context of predefined entries to only return matches surrounded by keywords.
- description String
- The description of the profile.
- entries List<Property Map>
- Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- ocr
Enabled Boolean - List<Property Map>
- Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustDlpCustomProfile resource produces the following output properties:
- Created
At string - When the profile was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Open
Access bool - Whether this profile can be accessed by anyone.
- Type string
- Available values: "custom", "predefined", "integration".
- Updated
At string - When the profile was lasted updated.
- Created
At string - When the profile was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Open
Access bool - Whether this profile can be accessed by anyone.
- Type string
- Available values: "custom", "predefined", "integration".
- Updated
At string - When the profile was lasted updated.
- created
At String - When the profile was created.
- id String
- The provider-assigned unique ID for this managed resource.
- open
Access Boolean - Whether this profile can be accessed by anyone.
- type String
- Available values: "custom", "predefined", "integration".
- updated
At String - When the profile was lasted updated.
- created
At string - When the profile was created.
- id string
- The provider-assigned unique ID for this managed resource.
- open
Access boolean - Whether this profile can be accessed by anyone.
- type string
- Available values: "custom", "predefined", "integration".
- updated
At string - When the profile was lasted updated.
- created_
at str - When the profile was created.
- id str
- The provider-assigned unique ID for this managed resource.
- open_
access bool - Whether this profile can be accessed by anyone.
- type str
- Available values: "custom", "predefined", "integration".
- updated_
at str - When the profile was lasted updated.
- created
At String - When the profile was created.
- id String
- The provider-assigned unique ID for this managed resource.
- open
Access Boolean - Whether this profile can be accessed by anyone.
- type String
- Available values: "custom", "predefined", "integration".
- updated
At String - When the profile was lasted updated.
Look up Existing ZeroTrustDlpCustomProfile Resource
Get an existing ZeroTrustDlpCustomProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ZeroTrustDlpCustomProfileState, opts?: CustomResourceOptions): ZeroTrustDlpCustomProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
ai_context_enabled: Optional[bool] = None,
allowed_match_count: Optional[int] = None,
confidence_threshold: Optional[str] = None,
context_awareness: Optional[ZeroTrustDlpCustomProfileContextAwarenessArgs] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
entries: Optional[Sequence[ZeroTrustDlpCustomProfileEntryArgs]] = None,
name: Optional[str] = None,
ocr_enabled: Optional[bool] = None,
open_access: Optional[bool] = None,
shared_entries: Optional[Sequence[ZeroTrustDlpCustomProfileSharedEntryArgs]] = None,
type: Optional[str] = None,
updated_at: Optional[str] = None) -> ZeroTrustDlpCustomProfile
func GetZeroTrustDlpCustomProfile(ctx *Context, name string, id IDInput, state *ZeroTrustDlpCustomProfileState, opts ...ResourceOption) (*ZeroTrustDlpCustomProfile, error)
public static ZeroTrustDlpCustomProfile Get(string name, Input<string> id, ZeroTrustDlpCustomProfileState? state, CustomResourceOptions? opts = null)
public static ZeroTrustDlpCustomProfile get(String name, Output<String> id, ZeroTrustDlpCustomProfileState state, CustomResourceOptions options)
resources: _: type: cloudflare:ZeroTrustDlpCustomProfile get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Ai
Context boolEnabled - Allowed
Match intCount - Related DLP policies will trigger when the match count exceeds the number set.
- Confidence
Threshold string - Context
Awareness ZeroTrust Dlp Custom Profile Context Awareness - Scan the context of predefined entries to only return matches surrounded by keywords.
- Created
At string - When the profile was created.
- Description string
- The description of the profile.
- Entries
List<Zero
Trust Dlp Custom Profile Entry> - Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- Name string
- Ocr
Enabled bool - Open
Access bool - Whether this profile can be accessed by anyone.
- List<Zero
Trust Dlp Custom Profile Shared Entry> - Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
- Type string
- Available values: "custom", "predefined", "integration".
- Updated
At string - When the profile was lasted updated.
- Account
Id string - Ai
Context boolEnabled - Allowed
Match intCount - Related DLP policies will trigger when the match count exceeds the number set.
- Confidence
Threshold string - Context
Awareness ZeroTrust Dlp Custom Profile Context Awareness Args - Scan the context of predefined entries to only return matches surrounded by keywords.
- Created
At string - When the profile was created.
- Description string
- The description of the profile.
- Entries
[]Zero
Trust Dlp Custom Profile Entry Args - Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- Name string
- Ocr
Enabled bool - Open
Access bool - Whether this profile can be accessed by anyone.
- []Zero
Trust Dlp Custom Profile Shared Entry Args - Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
- Type string
- Available values: "custom", "predefined", "integration".
- Updated
At string - When the profile was lasted updated.
- account
Id String - ai
Context BooleanEnabled - allowed
Match IntegerCount - Related DLP policies will trigger when the match count exceeds the number set.
- confidence
Threshold String - context
Awareness ZeroTrust Dlp Custom Profile Context Awareness - Scan the context of predefined entries to only return matches surrounded by keywords.
- created
At String - When the profile was created.
- description String
- The description of the profile.
- entries
List<Zero
Trust Dlp Custom Profile Entry> - Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- name String
- ocr
Enabled Boolean - open
Access Boolean - Whether this profile can be accessed by anyone.
- List<Zero
Trust Dlp Custom Profile Shared Entry> - Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
- type String
- Available values: "custom", "predefined", "integration".
- updated
At String - When the profile was lasted updated.
- account
Id string - ai
Context booleanEnabled - allowed
Match numberCount - Related DLP policies will trigger when the match count exceeds the number set.
- confidence
Threshold string - context
Awareness ZeroTrust Dlp Custom Profile Context Awareness - Scan the context of predefined entries to only return matches surrounded by keywords.
- created
At string - When the profile was created.
- description string
- The description of the profile.
- entries
Zero
Trust Dlp Custom Profile Entry[] - Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- name string
- ocr
Enabled boolean - open
Access boolean - Whether this profile can be accessed by anyone.
- Zero
Trust Dlp Custom Profile Shared Entry[] - Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
- type string
- Available values: "custom", "predefined", "integration".
- updated
At string - When the profile was lasted updated.
- account_
id str - ai_
context_ boolenabled - allowed_
match_ intcount - Related DLP policies will trigger when the match count exceeds the number set.
- confidence_
threshold str - context_
awareness ZeroTrust Dlp Custom Profile Context Awareness Args - Scan the context of predefined entries to only return matches surrounded by keywords.
- created_
at str - When the profile was created.
- description str
- The description of the profile.
- entries
Sequence[Zero
Trust Dlp Custom Profile Entry Args] - Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- name str
- ocr_
enabled bool - open_
access bool - Whether this profile can be accessed by anyone.
- Sequence[Zero
Trust Dlp Custom Profile Shared Entry Args] - Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
- type str
- Available values: "custom", "predefined", "integration".
- updated_
at str - When the profile was lasted updated.
- account
Id String - ai
Context BooleanEnabled - allowed
Match NumberCount - Related DLP policies will trigger when the match count exceeds the number set.
- confidence
Threshold String - context
Awareness Property Map - Scan the context of predefined entries to only return matches surrounded by keywords.
- created
At String - When the profile was created.
- description String
- The description of the profile.
- entries List<Property Map>
- Custom entries from this profile. If this field is omitted, entries owned by this profile will not be changed.
- name String
- ocr
Enabled Boolean - open
Access Boolean - Whether this profile can be accessed by anyone.
- List<Property Map>
- Entries from other profiles (e.g. pre-defined Cloudflare profiles, or your Microsoft Information Protection profiles).
- type String
- Available values: "custom", "predefined", "integration".
- updated
At String - When the profile was lasted updated.
Supporting Types
ZeroTrustDlpCustomProfileContextAwareness, ZeroTrustDlpCustomProfileContextAwarenessArgs
- Enabled bool
- If true, scan the context of predefined entries to only return matches surrounded by keywords.
- Skip
Zero
Trust Dlp Custom Profile Context Awareness Skip - Content types to exclude from context analysis and return all matches.
- Enabled bool
- If true, scan the context of predefined entries to only return matches surrounded by keywords.
- Skip
Zero
Trust Dlp Custom Profile Context Awareness Skip - Content types to exclude from context analysis and return all matches.
- enabled Boolean
- If true, scan the context of predefined entries to only return matches surrounded by keywords.
- skip
Zero
Trust Dlp Custom Profile Context Awareness Skip - Content types to exclude from context analysis and return all matches.
- enabled boolean
- If true, scan the context of predefined entries to only return matches surrounded by keywords.
- skip
Zero
Trust Dlp Custom Profile Context Awareness Skip - Content types to exclude from context analysis and return all matches.
- enabled bool
- If true, scan the context of predefined entries to only return matches surrounded by keywords.
- skip
Zero
Trust Dlp Custom Profile Context Awareness Skip - Content types to exclude from context analysis and return all matches.
- enabled Boolean
- If true, scan the context of predefined entries to only return matches surrounded by keywords.
- skip Property Map
- Content types to exclude from context analysis and return all matches.
ZeroTrustDlpCustomProfileContextAwarenessSkip, ZeroTrustDlpCustomProfileContextAwarenessSkipArgs
- Files bool
- If the content type is a file, skip context analysis and return all matches.
- Files bool
- If the content type is a file, skip context analysis and return all matches.
- files Boolean
- If the content type is a file, skip context analysis and return all matches.
- files boolean
- If the content type is a file, skip context analysis and return all matches.
- files bool
- If the content type is a file, skip context analysis and return all matches.
- files Boolean
- If the content type is a file, skip context analysis and return all matches.
ZeroTrustDlpCustomProfileEntry, ZeroTrustDlpCustomProfileEntryArgs
- Enabled bool
- Name string
- Pattern
Zero
Trust Dlp Custom Profile Entry Pattern - Entry
Id string
- Enabled bool
- Name string
- Pattern
Zero
Trust Dlp Custom Profile Entry Pattern - Entry
Id string
- enabled Boolean
- name String
- pattern
Zero
Trust Dlp Custom Profile Entry Pattern - entry
Id String
- enabled boolean
- name string
- pattern
Zero
Trust Dlp Custom Profile Entry Pattern - entry
Id string
- enabled Boolean
- name String
- pattern Property Map
- entry
Id String
ZeroTrustDlpCustomProfileEntryPattern, ZeroTrustDlpCustomProfileEntryPatternArgs
- Regex string
- Validation string
- Available values: "luhn".
- Regex string
- Validation string
- Available values: "luhn".
- regex String
- validation String
- Available values: "luhn".
- regex string
- validation string
- Available values: "luhn".
- regex str
- validation str
- Available values: "luhn".
- regex String
- validation String
- Available values: "luhn".
ZeroTrustDlpCustomProfileSharedEntry, ZeroTrustDlpCustomProfileSharedEntryArgs
- enabled bool
- entry_
id str - entry_
type str - Available values: "custom", "predefined", "integration", "exactdata", "documentfingerprint".
Import
$ pulumi import cloudflare:index/zeroTrustDlpCustomProfile:ZeroTrustDlpCustomProfile example '<account_id>/<profile_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.