published on Friday, Nov 6, 2026 by kong
published on Friday, Nov 6, 2026 by kong
EventGatewayConsumePolicyMaskFields Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myEventgatewayconsumepolicymaskfields = new konnect.EventGatewayConsumePolicyMaskFields("my_eventgatewayconsumepolicymaskfields", {
condition: "record.value.content.foo.bar == \"a-value\"",
config: {
failureMode: "mark",
maskFields: [{
paths: [{
match: "someObject.someArray[1].fieldName",
}],
strategy: {
keepChars: {
first: 0,
last: 0,
phrase: "...my_phrase...",
},
},
}],
},
description: "",
enabled: true,
gatewayId: "9524ec7d-36d9-465d-a8c5-83a3c9390458",
labels: {
key: "value",
},
name: "...my_name...",
parentPolicyId: "9f28729d-a908-496f-82e4-1630cf06a92b",
virtualClusterId: "a2b1f942-a87e-4221-82e5-1ec1054fd0b0",
});
import pulumi
import pulumi_konnect as konnect
my_eventgatewayconsumepolicymaskfields = konnect.EventGatewayConsumePolicyMaskFields("my_eventgatewayconsumepolicymaskfields",
condition="record.value.content.foo.bar == \"a-value\"",
config={
"failure_mode": "mark",
"mask_fields": [{
"paths": [{
"match": "someObject.someArray[1].fieldName",
}],
"strategy": {
"keep_chars": {
"first": 0,
"last": 0,
"phrase": "...my_phrase...",
},
},
}],
},
description="",
enabled=True,
gateway_id="9524ec7d-36d9-465d-a8c5-83a3c9390458",
labels={
"key": "value",
},
name="...my_name...",
parent_policy_id="9f28729d-a908-496f-82e4-1630cf06a92b",
virtual_cluster_id="a2b1f942-a87e-4221-82e5-1ec1054fd0b0")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := konnect.NewEventGatewayConsumePolicyMaskFields(ctx, "my_eventgatewayconsumepolicymaskfields", &konnect.EventGatewayConsumePolicyMaskFieldsArgs{
Condition: pulumi.String("record.value.content.foo.bar == \"a-value\""),
Config: &konnect.EventGatewayConsumePolicyMaskFieldsConfigArgs{
FailureMode: pulumi.String("mark"),
MaskFields: konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldArray{
&konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldArgs{
Paths: konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldPathArray{
&konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldPathArgs{
Match: pulumi.String("someObject.someArray[1].fieldName"),
},
},
Strategy: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyArgs{
KeepChars: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyKeepCharsArgs{
First: pulumi.Float64(0),
Last: pulumi.Float64(0),
Phrase: pulumi.String("...my_phrase..."),
},
},
},
},
},
Description: pulumi.String(""),
Enabled: pulumi.Bool(true),
GatewayId: pulumi.String("9524ec7d-36d9-465d-a8c5-83a3c9390458"),
Labels: pulumi.StringMap{
"key": pulumi.String("value"),
},
Name: pulumi.String("...my_name..."),
ParentPolicyId: pulumi.String("9f28729d-a908-496f-82e4-1630cf06a92b"),
VirtualClusterId: pulumi.String("a2b1f942-a87e-4221-82e5-1ec1054fd0b0"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Konnect = Pulumi.Konnect;
return await Deployment.RunAsync(() =>
{
var myEventgatewayconsumepolicymaskfields = new Konnect.EventGatewayConsumePolicyMaskFields("my_eventgatewayconsumepolicymaskfields", new()
{
Condition = "record.value.content.foo.bar == \"a-value\"",
Config = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigArgs
{
FailureMode = "mark",
MaskFields = new[]
{
new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldArgs
{
Paths = new[]
{
new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldPathArgs
{
Match = "someObject.someArray[1].fieldName",
},
},
Strategy = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyArgs
{
KeepChars = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyKeepCharsArgs
{
First = 0,
Last = 0,
Phrase = "...my_phrase...",
},
},
},
},
},
Description = "",
Enabled = true,
GatewayId = "9524ec7d-36d9-465d-a8c5-83a3c9390458",
Labels =
{
{ "key", "value" },
},
Name = "...my_name...",
ParentPolicyId = "9f28729d-a908-496f-82e4-1630cf06a92b",
VirtualClusterId = "a2b1f942-a87e-4221-82e5-1ec1054fd0b0",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.EventGatewayConsumePolicyMaskFields;
import com.pulumi.konnect.EventGatewayConsumePolicyMaskFieldsArgs;
import com.pulumi.konnect.inputs.EventGatewayConsumePolicyMaskFieldsConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var myEventgatewayconsumepolicymaskfields = new EventGatewayConsumePolicyMaskFields("myEventgatewayconsumepolicymaskfields", EventGatewayConsumePolicyMaskFieldsArgs.builder()
.condition("record.value.content.foo.bar == \"a-value\"")
.config(EventGatewayConsumePolicyMaskFieldsConfigArgs.builder()
.failureMode("mark")
.maskFields(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldArgs.builder()
.paths(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldPathArgs.builder()
.match("someObject.someArray[1].fieldName")
.build())
.strategy(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyArgs.builder()
.keepChars(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyKeepCharsArgs.builder()
.first(0.0)
.last(0.0)
.phrase("...my_phrase...")
.build())
.build())
.build())
.build())
.description("")
.enabled(true)
.gatewayId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
.labels(Map.of("key", "value"))
.name("...my_name...")
.parentPolicyId("9f28729d-a908-496f-82e4-1630cf06a92b")
.virtualClusterId("a2b1f942-a87e-4221-82e5-1ec1054fd0b0")
.build());
}
}
resources:
myEventgatewayconsumepolicymaskfields:
type: konnect:EventGatewayConsumePolicyMaskFields
name: my_eventgatewayconsumepolicymaskfields
properties:
condition: record.value.content.foo.bar == "a-value"
config:
failureMode: mark
maskFields:
- paths:
- match: someObject.someArray[1].fieldName
strategy:
keepChars:
first: 0
last: 0
phrase: '...my_phrase...'
description: ""
enabled: true
gatewayId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
labels:
key: value
name: '...my_name...'
parentPolicyId: 9f28729d-a908-496f-82e4-1630cf06a92b
virtualClusterId: a2b1f942-a87e-4221-82e5-1ec1054fd0b0
Example coming soon!
Create EventGatewayConsumePolicyMaskFields Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventGatewayConsumePolicyMaskFields(name: string, args: EventGatewayConsumePolicyMaskFieldsArgs, opts?: CustomResourceOptions);@overload
def EventGatewayConsumePolicyMaskFields(resource_name: str,
args: EventGatewayConsumePolicyMaskFieldsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EventGatewayConsumePolicyMaskFields(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[EventGatewayConsumePolicyMaskFieldsConfigArgs] = None,
gateway_id: Optional[str] = None,
parent_policy_id: Optional[str] = None,
virtual_cluster_id: Optional[str] = None,
condition: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None)func NewEventGatewayConsumePolicyMaskFields(ctx *Context, name string, args EventGatewayConsumePolicyMaskFieldsArgs, opts ...ResourceOption) (*EventGatewayConsumePolicyMaskFields, error)public EventGatewayConsumePolicyMaskFields(string name, EventGatewayConsumePolicyMaskFieldsArgs args, CustomResourceOptions? opts = null)
public EventGatewayConsumePolicyMaskFields(String name, EventGatewayConsumePolicyMaskFieldsArgs args)
public EventGatewayConsumePolicyMaskFields(String name, EventGatewayConsumePolicyMaskFieldsArgs args, CustomResourceOptions options)
type: konnect:EventGatewayConsumePolicyMaskFields
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "konnect_event_gateway_consume_policy_mask_fields" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args EventGatewayConsumePolicyMaskFieldsArgs
- 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 EventGatewayConsumePolicyMaskFieldsArgs
- 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 EventGatewayConsumePolicyMaskFieldsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventGatewayConsumePolicyMaskFieldsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventGatewayConsumePolicyMaskFieldsArgs
- 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 eventGatewayConsumePolicyMaskFieldsResource = new Konnect.EventGatewayConsumePolicyMaskFields("eventGatewayConsumePolicyMaskFieldsResource", new()
{
Config = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigArgs
{
FailureMode = "string",
MaskFields = new[]
{
new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldArgs
{
Paths = new[]
{
new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldPathArgs
{
Match = "string",
},
},
Strategy = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyArgs
{
Email = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailArgs
{
Domain = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainArgs
{
KeepAll = null,
KeepChars = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepCharsArgs
{
Phrase = "string",
First = 0.0,
Last = 0.0,
},
Replace = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplaceArgs
{
Phrase = "string",
},
},
LocalPart = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartArgs
{
KeepChars = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepCharsArgs
{
Phrase = "string",
First = 0.0,
Last = 0.0,
},
Replace = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplaceArgs
{
Phrase = "string",
},
},
},
KeepChars = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyKeepCharsArgs
{
Phrase = "string",
First = 0.0,
Last = 0.0,
},
Replace = new Konnect.Inputs.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyReplaceArgs
{
Phrase = "string",
},
},
},
},
},
GatewayId = "string",
ParentPolicyId = "string",
VirtualClusterId = "string",
Condition = "string",
Description = "string",
Enabled = false,
Labels =
{
{ "string", "string" },
},
Name = "string",
});
example, err := konnect.NewEventGatewayConsumePolicyMaskFields(ctx, "eventGatewayConsumePolicyMaskFieldsResource", &konnect.EventGatewayConsumePolicyMaskFieldsArgs{
Config: &konnect.EventGatewayConsumePolicyMaskFieldsConfigArgs{
FailureMode: pulumi.String("string"),
MaskFields: konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldArray{
&konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldArgs{
Paths: konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldPathArray{
&konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldPathArgs{
Match: pulumi.String("string"),
},
},
Strategy: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyArgs{
Email: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailArgs{
Domain: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainArgs{
KeepAll: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepAllArgs{},
KeepChars: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepCharsArgs{
Phrase: pulumi.String("string"),
First: pulumi.Float64(0),
Last: pulumi.Float64(0),
},
Replace: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplaceArgs{
Phrase: pulumi.String("string"),
},
},
LocalPart: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartArgs{
KeepChars: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepCharsArgs{
Phrase: pulumi.String("string"),
First: pulumi.Float64(0),
Last: pulumi.Float64(0),
},
Replace: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplaceArgs{
Phrase: pulumi.String("string"),
},
},
},
KeepChars: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyKeepCharsArgs{
Phrase: pulumi.String("string"),
First: pulumi.Float64(0),
Last: pulumi.Float64(0),
},
Replace: &konnect.EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyReplaceArgs{
Phrase: pulumi.String("string"),
},
},
},
},
},
GatewayId: pulumi.String("string"),
ParentPolicyId: pulumi.String("string"),
VirtualClusterId: pulumi.String("string"),
Condition: pulumi.String("string"),
Description: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
})
resource "konnect_event_gateway_consume_policy_mask_fields" "eventGatewayConsumePolicyMaskFieldsResource" {
lifecycle {
create_before_destroy = true
}
config = {
failure_mode = "string"
mask_fields = [{
paths = [{
match = "string"
}]
strategy = {
email = {
domain = {
keep_all = {}
keep_chars = {
phrase = "string"
first = 0
last = 0
}
replace = {
phrase = "string"
}
}
local_part = {
keep_chars = {
phrase = "string"
first = 0
last = 0
}
replace = {
phrase = "string"
}
}
}
keep_chars = {
phrase = "string"
first = 0
last = 0
}
replace = {
phrase = "string"
}
}
}]
}
gateway_id = "string"
parent_policy_id = "string"
virtual_cluster_id = "string"
condition = "string"
description = "string"
enabled = false
labels = {
"string" = "string"
}
name = "string"
}
var eventGatewayConsumePolicyMaskFieldsResource = new EventGatewayConsumePolicyMaskFields("eventGatewayConsumePolicyMaskFieldsResource", EventGatewayConsumePolicyMaskFieldsArgs.builder()
.config(EventGatewayConsumePolicyMaskFieldsConfigArgs.builder()
.failureMode("string")
.maskFields(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldArgs.builder()
.paths(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldPathArgs.builder()
.match("string")
.build())
.strategy(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyArgs.builder()
.email(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailArgs.builder()
.domain(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainArgs.builder()
.keepAll(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepAllArgs.builder()
.build())
.keepChars(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepCharsArgs.builder()
.phrase("string")
.first(0.0)
.last(0.0)
.build())
.replace(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplaceArgs.builder()
.phrase("string")
.build())
.build())
.localPart(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartArgs.builder()
.keepChars(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepCharsArgs.builder()
.phrase("string")
.first(0.0)
.last(0.0)
.build())
.replace(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplaceArgs.builder()
.phrase("string")
.build())
.build())
.build())
.keepChars(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyKeepCharsArgs.builder()
.phrase("string")
.first(0.0)
.last(0.0)
.build())
.replace(EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyReplaceArgs.builder()
.phrase("string")
.build())
.build())
.build())
.build())
.gatewayId("string")
.parentPolicyId("string")
.virtualClusterId("string")
.condition("string")
.description("string")
.enabled(false)
.labels(Map.of("string", "string"))
.name("string")
.build());
event_gateway_consume_policy_mask_fields_resource = konnect.EventGatewayConsumePolicyMaskFields("eventGatewayConsumePolicyMaskFieldsResource",
config={
"failure_mode": "string",
"mask_fields": [{
"paths": [{
"match": "string",
}],
"strategy": {
"email": {
"domain": {
"keep_all": {},
"keep_chars": {
"phrase": "string",
"first": float(0),
"last": float(0),
},
"replace": {
"phrase": "string",
},
},
"local_part": {
"keep_chars": {
"phrase": "string",
"first": float(0),
"last": float(0),
},
"replace": {
"phrase": "string",
},
},
},
"keep_chars": {
"phrase": "string",
"first": float(0),
"last": float(0),
},
"replace": {
"phrase": "string",
},
},
}],
},
gateway_id="string",
parent_policy_id="string",
virtual_cluster_id="string",
condition="string",
description="string",
enabled=False,
labels={
"string": "string",
},
name="string")
const eventGatewayConsumePolicyMaskFieldsResource = new konnect.EventGatewayConsumePolicyMaskFields("eventGatewayConsumePolicyMaskFieldsResource", {
config: {
failureMode: "string",
maskFields: [{
paths: [{
match: "string",
}],
strategy: {
email: {
domain: {
keepAll: {},
keepChars: {
phrase: "string",
first: 0,
last: 0,
},
replace: {
phrase: "string",
},
},
localPart: {
keepChars: {
phrase: "string",
first: 0,
last: 0,
},
replace: {
phrase: "string",
},
},
},
keepChars: {
phrase: "string",
first: 0,
last: 0,
},
replace: {
phrase: "string",
},
},
}],
},
gatewayId: "string",
parentPolicyId: "string",
virtualClusterId: "string",
condition: "string",
description: "string",
enabled: false,
labels: {
string: "string",
},
name: "string",
});
type: konnect:EventGatewayConsumePolicyMaskFields
properties:
condition: string
config:
failureMode: string
maskFields:
- paths:
- match: string
strategy:
email:
domain:
keepAll: {}
keepChars:
first: 0
last: 0
phrase: string
replace:
phrase: string
localPart:
keepChars:
first: 0
last: 0
phrase: string
replace:
phrase: string
keepChars:
first: 0
last: 0
phrase: string
replace:
phrase: string
description: string
enabled: false
gatewayId: string
labels:
string: string
name: string
parentPolicyId: string
virtualClusterId: string
EventGatewayConsumePolicyMaskFields 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 EventGatewayConsumePolicyMaskFields resource accepts the following input properties:
- Config
Event
Gateway Consume Policy Mask Fields Config - The configuration of the mask parsed record fields consume policy.
- Gateway
Id string - The UUID of your Gateway.
- Parent
Policy stringId - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- Virtual
Cluster stringId - The ID of the Virtual Cluster.
- Condition string
- A string containing the boolean expression that determines whether the policy is applied.
- Description string
- A human-readable description of the policy. Default: ""
- Enabled bool
- Whether the policy is enabled. Default: true
- Labels Dictionary<string, string>
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- Name string
- A unique user-defined name of the policy.
- Config
Event
Gateway Consume Policy Mask Fields Config Args - The configuration of the mask parsed record fields consume policy.
- Gateway
Id string - The UUID of your Gateway.
- Parent
Policy stringId - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- Virtual
Cluster stringId - The ID of the Virtual Cluster.
- Condition string
- A string containing the boolean expression that determines whether the policy is applied.
- Description string
- A human-readable description of the policy. Default: ""
- Enabled bool
- Whether the policy is enabled. Default: true
- Labels map[string]string
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- Name string
- A unique user-defined name of the policy.
- config object
- The configuration of the mask parsed record fields consume policy.
- gateway_
id string - The UUID of your Gateway.
- parent_
policy_ stringid - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- virtual_
cluster_ stringid - The ID of the Virtual Cluster.
- condition string
- A string containing the boolean expression that determines whether the policy is applied.
- description string
- A human-readable description of the policy. Default: ""
- enabled bool
- Whether the policy is enabled. Default: true
- labels map(string)
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- name string
- A unique user-defined name of the policy.
- config
Event
Gateway Consume Policy Mask Fields Config - The configuration of the mask parsed record fields consume policy.
- gateway
Id String - The UUID of your Gateway.
- parent
Policy StringId - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- virtual
Cluster StringId - The ID of the Virtual Cluster.
- condition String
- A string containing the boolean expression that determines whether the policy is applied.
- description String
- A human-readable description of the policy. Default: ""
- enabled Boolean
- Whether the policy is enabled. Default: true
- labels Map<String,String>
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- name String
- A unique user-defined name of the policy.
- config
Event
Gateway Consume Policy Mask Fields Config - The configuration of the mask parsed record fields consume policy.
- gateway
Id string - The UUID of your Gateway.
- parent
Policy stringId - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- virtual
Cluster stringId - The ID of the Virtual Cluster.
- condition string
- A string containing the boolean expression that determines whether the policy is applied.
- description string
- A human-readable description of the policy. Default: ""
- enabled boolean
- Whether the policy is enabled. Default: true
- labels {[key: string]: string}
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- name string
- A unique user-defined name of the policy.
- config
Event
Gateway Consume Policy Mask Fields Config Args - The configuration of the mask parsed record fields consume policy.
- gateway_
id str - The UUID of your Gateway.
- parent_
policy_ strid - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- virtual_
cluster_ strid - The ID of the Virtual Cluster.
- condition str
- A string containing the boolean expression that determines whether the policy is applied.
- description str
- A human-readable description of the policy. Default: ""
- enabled bool
- Whether the policy is enabled. Default: true
- labels Mapping[str, str]
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- name str
- A unique user-defined name of the policy.
- config Property Map
- The configuration of the mask parsed record fields consume policy.
- gateway
Id String - The UUID of your Gateway.
- parent
Policy StringId - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- virtual
Cluster StringId - The ID of the Virtual Cluster.
- condition String
- A string containing the boolean expression that determines whether the policy is applied.
- description String
- A human-readable description of the policy. Default: ""
- enabled Boolean
- Whether the policy is enabled. Default: true
- labels Map<String>
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- name String
- A unique user-defined name of the policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the EventGatewayConsumePolicyMaskFields resource produces the following output properties:
- created_
at string - An ISO-8601 timestamp representation of entity creation date.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at string - An ISO-8601 timestamp representation of entity update date.
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
Look up Existing EventGatewayConsumePolicyMaskFields Resource
Get an existing EventGatewayConsumePolicyMaskFields 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?: EventGatewayConsumePolicyMaskFieldsState, opts?: CustomResourceOptions): EventGatewayConsumePolicyMaskFields@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
condition: Optional[str] = None,
config: Optional[EventGatewayConsumePolicyMaskFieldsConfigArgs] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
gateway_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
parent_policy_id: Optional[str] = None,
updated_at: Optional[str] = None,
virtual_cluster_id: Optional[str] = None) -> EventGatewayConsumePolicyMaskFieldsfunc GetEventGatewayConsumePolicyMaskFields(ctx *Context, name string, id IDInput, state *EventGatewayConsumePolicyMaskFieldsState, opts ...ResourceOption) (*EventGatewayConsumePolicyMaskFields, error)public static EventGatewayConsumePolicyMaskFields Get(string name, Input<string> id, EventGatewayConsumePolicyMaskFieldsState? state, CustomResourceOptions? opts = null)public static EventGatewayConsumePolicyMaskFields get(String name, Output<String> id, EventGatewayConsumePolicyMaskFieldsState state, CustomResourceOptions options)resources: _: type: konnect:EventGatewayConsumePolicyMaskFields get: id: ${id}import {
to = konnect_event_gateway_consume_policy_mask_fields.example
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.
- Condition string
- A string containing the boolean expression that determines whether the policy is applied.
- Config
Event
Gateway Consume Policy Mask Fields Config - The configuration of the mask parsed record fields consume policy.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Description string
- A human-readable description of the policy. Default: ""
- Enabled bool
- Whether the policy is enabled. Default: true
- Gateway
Id string - The UUID of your Gateway.
- Labels Dictionary<string, string>
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- Name string
- A unique user-defined name of the policy.
- Parent
Policy stringId - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Virtual
Cluster stringId - The ID of the Virtual Cluster.
- Condition string
- A string containing the boolean expression that determines whether the policy is applied.
- Config
Event
Gateway Consume Policy Mask Fields Config Args - The configuration of the mask parsed record fields consume policy.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Description string
- A human-readable description of the policy. Default: ""
- Enabled bool
- Whether the policy is enabled. Default: true
- Gateway
Id string - The UUID of your Gateway.
- Labels map[string]string
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- Name string
- A unique user-defined name of the policy.
- Parent
Policy stringId - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Virtual
Cluster stringId - The ID of the Virtual Cluster.
- condition string
- A string containing the boolean expression that determines whether the policy is applied.
- config object
- The configuration of the mask parsed record fields consume policy.
- created_
at string - An ISO-8601 timestamp representation of entity creation date.
- description string
- A human-readable description of the policy. Default: ""
- enabled bool
- Whether the policy is enabled. Default: true
- gateway_
id string - The UUID of your Gateway.
- labels map(string)
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- name string
- A unique user-defined name of the policy.
- parent_
policy_ stringid - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- updated_
at string - An ISO-8601 timestamp representation of entity update date.
- virtual_
cluster_ stringid - The ID of the Virtual Cluster.
- condition String
- A string containing the boolean expression that determines whether the policy is applied.
- config
Event
Gateway Consume Policy Mask Fields Config - The configuration of the mask parsed record fields consume policy.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- description String
- A human-readable description of the policy. Default: ""
- enabled Boolean
- Whether the policy is enabled. Default: true
- gateway
Id String - The UUID of your Gateway.
- labels Map<String,String>
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- name String
- A unique user-defined name of the policy.
- parent
Policy StringId - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- virtual
Cluster StringId - The ID of the Virtual Cluster.
- condition string
- A string containing the boolean expression that determines whether the policy is applied.
- config
Event
Gateway Consume Policy Mask Fields Config - The configuration of the mask parsed record fields consume policy.
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- description string
- A human-readable description of the policy. Default: ""
- enabled boolean
- Whether the policy is enabled. Default: true
- gateway
Id string - The UUID of your Gateway.
- labels {[key: string]: string}
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- name string
- A unique user-defined name of the policy.
- parent
Policy stringId - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- updated
At string - An ISO-8601 timestamp representation of entity update date.
- virtual
Cluster stringId - The ID of the Virtual Cluster.
- condition str
- A string containing the boolean expression that determines whether the policy is applied.
- config
Event
Gateway Consume Policy Mask Fields Config Args - The configuration of the mask parsed record fields consume policy.
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- description str
- A human-readable description of the policy. Default: ""
- enabled bool
- Whether the policy is enabled. Default: true
- gateway_
id str - The UUID of your Gateway.
- labels Mapping[str, str]
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- name str
- A unique user-defined name of the policy.
- parent_
policy_ strid - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
- virtual_
cluster_ strid - The ID of the Virtual Cluster.
- condition String
- A string containing the boolean expression that determines whether the policy is applied.
- config Property Map
- The configuration of the mask parsed record fields consume policy.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- description String
- A human-readable description of the policy. Default: ""
- enabled Boolean
- Whether the policy is enabled. Default: true
- gateway
Id String - The UUID of your Gateway.
- labels Map<String>
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
- name String
- A unique user-defined name of the policy.
- parent
Policy StringId - The unique identifier of the parent schema validation policy. Requires replacement if changed.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- virtual
Cluster StringId - The ID of the Virtual Cluster.
Supporting Types
EventGatewayConsumePolicyMaskFieldsConfig, EventGatewayConsumePolicyMaskFieldsConfigArgs
- Failure
Mode string - Describes how to handle a failure in a policy applied to consumed records.
- Mask
Fields List<EventGateway Consume Policy Mask Fields Config Mask Field> - Selects which fields to mask and how to mask them.
- Failure
Mode string - Describes how to handle a failure in a policy applied to consumed records.
- Mask
Fields []EventGateway Consume Policy Mask Fields Config Mask Field - Selects which fields to mask and how to mask them.
- failure_
mode string - Describes how to handle a failure in a policy applied to consumed records.
- mask_
fields list(object) - Selects which fields to mask and how to mask them.
- failure
Mode String - Describes how to handle a failure in a policy applied to consumed records.
- mask
Fields List<EventGateway Consume Policy Mask Fields Config Mask Field> - Selects which fields to mask and how to mask them.
- failure
Mode string - Describes how to handle a failure in a policy applied to consumed records.
- mask
Fields EventGateway Consume Policy Mask Fields Config Mask Field[] - Selects which fields to mask and how to mask them.
- failure_
mode str - Describes how to handle a failure in a policy applied to consumed records.
- mask_
fields Sequence[EventGateway Consume Policy Mask Fields Config Mask Field] - Selects which fields to mask and how to mask them.
- failure
Mode String - Describes how to handle a failure in a policy applied to consumed records.
- mask
Fields List<Property Map> - Selects which fields to mask and how to mask them.
EventGatewayConsumePolicyMaskFieldsConfigMaskField, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldArgs
- Paths
List<Event
Gateway Consume Policy Mask Fields Config Mask Field Path> - Strategy
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy - The strategy used to redact a matched field value.
- Paths
[]Event
Gateway Consume Policy Mask Fields Config Mask Field Path - Strategy
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy - The strategy used to redact a matched field value.
- paths list(object)
- strategy object
- The strategy used to redact a matched field value.
- paths
List<Event
Gateway Consume Policy Mask Fields Config Mask Field Path> - strategy
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy - The strategy used to redact a matched field value.
- paths
Event
Gateway Consume Policy Mask Fields Config Mask Field Path[] - strategy
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy - The strategy used to redact a matched field value.
- paths
Sequence[Event
Gateway Consume Policy Mask Fields Config Mask Field Path] - strategy
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy - The strategy used to redact a matched field value.
- paths List<Property Map>
- strategy Property Map
- The strategy used to redact a matched field value.
EventGatewayConsumePolicyMaskFieldsConfigMaskFieldPath, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldPathArgs
- Match string
- A field selector. It can select nested fields and array entries.
- Match string
- A field selector. It can select nested fields and array entries.
- match string
- A field selector. It can select nested fields and array entries.
- match String
- A field selector. It can select nested fields and array entries.
- match string
- A field selector. It can select nested fields and array entries.
- match str
- A field selector. It can select nested fields and array entries.
- match String
- A field selector. It can select nested fields and array entries.
EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategy, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyArgs
- Email
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email - Masks an email address by applying a separate strategy to the local part and to the domain.
- Keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - Replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- Email
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email - Masks an email address by applying a separate strategy to the local part and to the domain.
- Keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - Replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- email object
- Masks an email address by applying a separate strategy to the local part and to the domain.
- keep_
chars object - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace object
- Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- email
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email - Masks an email address by applying a separate strategy to the local part and to the domain.
- keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- email
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email - Masks an email address by applying a separate strategy to the local part and to the domain.
- keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- email
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email - Masks an email address by applying a separate strategy to the local part and to the domain.
- keep_
chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- email Property Map
- Masks an email address by applying a separate strategy to the local part and to the domain.
- keep
Chars Property Map - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace Property Map
- Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmail, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailArgs
- Domain
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain - The strategy used to redact the domain of an email address.
- Local
Part EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part - The strategy used to redact the local part of an email address.
- Domain
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain - The strategy used to redact the domain of an email address.
- Local
Part EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part - The strategy used to redact the local part of an email address.
- domain object
- The strategy used to redact the domain of an email address.
- local_
part object - The strategy used to redact the local part of an email address.
- domain
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain - The strategy used to redact the domain of an email address.
- local
Part EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part - The strategy used to redact the local part of an email address.
- domain
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain - The strategy used to redact the domain of an email address.
- local
Part EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part - The strategy used to redact the local part of an email address.
- domain
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain - The strategy used to redact the domain of an email address.
- local_
part EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part - The strategy used to redact the local part of an email address.
- domain Property Map
- The strategy used to redact the domain of an email address.
- local
Part Property Map - The strategy used to redact the local part of an email address.
EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomain, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainArgs
- Keep
All EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Keep All - Keeps the whole domain unmasked.
- Keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - Replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- Keep
All EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Keep All - Keeps the whole domain unmasked.
- Keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - Replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- keep_
all object - Keeps the whole domain unmasked.
- keep_
chars object - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace object
- Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- keep
All EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Keep All - Keeps the whole domain unmasked.
- keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- keep
All EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Keep All - Keeps the whole domain unmasked.
- keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- keep_
all EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Keep All - Keeps the whole domain unmasked.
- keep_
chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Domain Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- keep
All Property Map - Keeps the whole domain unmasked.
- keep
Chars Property Map - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace Property Map
- Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepChars, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepCharsArgs
EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplace, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplaceArgs
- Phrase string
- The phrase to replace the value with.
- Phrase string
- The phrase to replace the value with.
- phrase string
- The phrase to replace the value with.
- phrase String
- The phrase to replace the value with.
- phrase string
- The phrase to replace the value with.
- phrase str
- The phrase to replace the value with.
- phrase String
- The phrase to replace the value with.
EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPart, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartArgs
- Keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - Replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- Keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - Replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- keep_
chars object - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace object
- Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- keep
Chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- keep_
chars EventGateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part Keep Chars - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace
Event
Gateway Consume Policy Mask Fields Config Mask Field Strategy Email Local Part Replace - Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
- keep
Chars Property Map - Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase.
If
first + lastis greater than or equal to the value length, the whole value is replaced with the phrase, so it never shows more characters than the original value. The phrase is fixed, so the masked output does not leak the value length. - replace Property Map
- Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepChars, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepCharsArgs
EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplace, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplaceArgs
- Phrase string
- The phrase to replace the value with.
- Phrase string
- The phrase to replace the value with.
- phrase string
- The phrase to replace the value with.
- phrase String
- The phrase to replace the value with.
- phrase string
- The phrase to replace the value with.
- phrase str
- The phrase to replace the value with.
- phrase String
- The phrase to replace the value with.
EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyKeepChars, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyKeepCharsArgs
EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyReplace, EventGatewayConsumePolicyMaskFieldsConfigMaskFieldStrategyReplaceArgs
- Phrase string
- The phrase to replace the value with.
- Phrase string
- The phrase to replace the value with.
- phrase string
- The phrase to replace the value with.
- phrase String
- The phrase to replace the value with.
- phrase string
- The phrase to replace the value with.
- phrase str
- The phrase to replace the value with.
- phrase String
- The phrase to replace the value with.
Import
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
terraform
import {
to = konnect_event_gateway_consume_policy_mask_fields.my_konnect_event_gateway_consume_policy_mask_fields
id = jsonencode({
gateway_id = "9524ec7d-36d9-465d-a8c5-83a3c9390458"
id = "9524ec7d-36d9-465d-a8c5-83a3c9390458"
virtual_cluster_id = "..."
})
}
The pulumi import command can be used, for example:
$ pulumi import konnect:index/eventGatewayConsumePolicyMaskFields:EventGatewayConsumePolicyMaskFields my_konnect_event_gateway_consume_policy_mask_fields '{"gateway_id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "virtual_cluster_id": "..."}'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnectTerraform Provider.
published on Friday, Nov 6, 2026 by kong