1. Registry
  2. Packages
  3. Konnect Provider
  4. API Docs
  5. EventGatewayProducePolicyMaskFields
Viewing docs for konnect 3.28.0
published on Friday, Nov 6, 2026 by kong
konnect
Viewing docs for konnect 3.28.0
published on Friday, Nov 6, 2026 by kong

    EventGatewayProducePolicyMaskFields Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myEventgatewayproducepolicymaskfields = new konnect.EventGatewayProducePolicyMaskFields("my_eventgatewayproducepolicymaskfields", {
        condition: "record.value.content.foo.bar == \"a-value\"",
        config: {
            failureMode: "passthrough",
            maskFields: [{
                paths: [{
                    match: "someObject.someArray[1].fieldName",
                }],
                strategy: {
                    replace: {
                        phrase: "...my_phrase...",
                    },
                },
            }],
        },
        description: "",
        enabled: true,
        gatewayId: "9524ec7d-36d9-465d-a8c5-83a3c9390458",
        labels: {
            key: "value",
        },
        name: "...my_name...",
        parentPolicyId: "871e4106-2200-408a-9305-98647c57aee2",
        virtualClusterId: "7c87e642-a8c0-47b0-bf5f-35f8045c2887",
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_eventgatewayproducepolicymaskfields = konnect.EventGatewayProducePolicyMaskFields("my_eventgatewayproducepolicymaskfields",
        condition="record.value.content.foo.bar == \"a-value\"",
        config={
            "failure_mode": "passthrough",
            "mask_fields": [{
                "paths": [{
                    "match": "someObject.someArray[1].fieldName",
                }],
                "strategy": {
                    "replace": {
                        "phrase": "...my_phrase...",
                    },
                },
            }],
        },
        description="",
        enabled=True,
        gateway_id="9524ec7d-36d9-465d-a8c5-83a3c9390458",
        labels={
            "key": "value",
        },
        name="...my_name...",
        parent_policy_id="871e4106-2200-408a-9305-98647c57aee2",
        virtual_cluster_id="7c87e642-a8c0-47b0-bf5f-35f8045c2887")
    
    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.NewEventGatewayProducePolicyMaskFields(ctx, "my_eventgatewayproducepolicymaskfields", &konnect.EventGatewayProducePolicyMaskFieldsArgs{
    			Condition: pulumi.String("record.value.content.foo.bar == \"a-value\""),
    			Config: &konnect.EventGatewayProducePolicyMaskFieldsConfigArgs{
    				FailureMode: pulumi.String("passthrough"),
    				MaskFields: konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldArray{
    					&konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldArgs{
    						Paths: konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldPathArray{
    							&konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldPathArgs{
    								Match: pulumi.String("someObject.someArray[1].fieldName"),
    							},
    						},
    						Strategy: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyArgs{
    							Replace: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplaceArgs{
    								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("871e4106-2200-408a-9305-98647c57aee2"),
    			VirtualClusterId: pulumi.String("7c87e642-a8c0-47b0-bf5f-35f8045c2887"),
    		})
    		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 myEventgatewayproducepolicymaskfields = new Konnect.EventGatewayProducePolicyMaskFields("my_eventgatewayproducepolicymaskfields", new()
        {
            Condition = "record.value.content.foo.bar == \"a-value\"",
            Config = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigArgs
            {
                FailureMode = "passthrough",
                MaskFields = new[]
                {
                    new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldArgs
                    {
                        Paths = new[]
                        {
                            new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldPathArgs
                            {
                                Match = "someObject.someArray[1].fieldName",
                            },
                        },
                        Strategy = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyArgs
                        {
                            Replace = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplaceArgs
                            {
                                Phrase = "...my_phrase...",
                            },
                        },
                    },
                },
            },
            Description = "",
            Enabled = true,
            GatewayId = "9524ec7d-36d9-465d-a8c5-83a3c9390458",
            Labels = 
            {
                { "key", "value" },
            },
            Name = "...my_name...",
            ParentPolicyId = "871e4106-2200-408a-9305-98647c57aee2",
            VirtualClusterId = "7c87e642-a8c0-47b0-bf5f-35f8045c2887",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.EventGatewayProducePolicyMaskFields;
    import com.pulumi.konnect.EventGatewayProducePolicyMaskFieldsArgs;
    import com.pulumi.konnect.inputs.EventGatewayProducePolicyMaskFieldsConfigArgs;
    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 myEventgatewayproducepolicymaskfields = new EventGatewayProducePolicyMaskFields("myEventgatewayproducepolicymaskfields", EventGatewayProducePolicyMaskFieldsArgs.builder()
                .condition("record.value.content.foo.bar == \"a-value\"")
                .config(EventGatewayProducePolicyMaskFieldsConfigArgs.builder()
                    .failureMode("passthrough")
                    .maskFields(EventGatewayProducePolicyMaskFieldsConfigMaskFieldArgs.builder()
                        .paths(EventGatewayProducePolicyMaskFieldsConfigMaskFieldPathArgs.builder()
                            .match("someObject.someArray[1].fieldName")
                            .build())
                        .strategy(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyArgs.builder()
                            .replace(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplaceArgs.builder()
                                .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("871e4106-2200-408a-9305-98647c57aee2")
                .virtualClusterId("7c87e642-a8c0-47b0-bf5f-35f8045c2887")
                .build());
    
        }
    }
    
    resources:
      myEventgatewayproducepolicymaskfields:
        type: konnect:EventGatewayProducePolicyMaskFields
        name: my_eventgatewayproducepolicymaskfields
        properties:
          condition: record.value.content.foo.bar == "a-value"
          config:
            failureMode: passthrough
            maskFields:
              - paths:
                  - match: someObject.someArray[1].fieldName
                strategy:
                  replace:
                    phrase: '...my_phrase...'
          description: ""
          enabled: true
          gatewayId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
          labels:
            key: value
          name: '...my_name...'
          parentPolicyId: 871e4106-2200-408a-9305-98647c57aee2
          virtualClusterId: 7c87e642-a8c0-47b0-bf5f-35f8045c2887
    
    Example coming soon!
    

    Create EventGatewayProducePolicyMaskFields Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EventGatewayProducePolicyMaskFields(name: string, args: EventGatewayProducePolicyMaskFieldsArgs, opts?: CustomResourceOptions);
    @overload
    def EventGatewayProducePolicyMaskFields(resource_name: str,
                                            args: EventGatewayProducePolicyMaskFieldsArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventGatewayProducePolicyMaskFields(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            config: Optional[EventGatewayProducePolicyMaskFieldsConfigArgs] = 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 NewEventGatewayProducePolicyMaskFields(ctx *Context, name string, args EventGatewayProducePolicyMaskFieldsArgs, opts ...ResourceOption) (*EventGatewayProducePolicyMaskFields, error)
    public EventGatewayProducePolicyMaskFields(string name, EventGatewayProducePolicyMaskFieldsArgs args, CustomResourceOptions? opts = null)
    public EventGatewayProducePolicyMaskFields(String name, EventGatewayProducePolicyMaskFieldsArgs args)
    public EventGatewayProducePolicyMaskFields(String name, EventGatewayProducePolicyMaskFieldsArgs args, CustomResourceOptions options)
    
    type: konnect:EventGatewayProducePolicyMaskFields
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "konnect_event_gateway_produce_policy_mask_fields" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EventGatewayProducePolicyMaskFieldsArgs
    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 EventGatewayProducePolicyMaskFieldsArgs
    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 EventGatewayProducePolicyMaskFieldsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventGatewayProducePolicyMaskFieldsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventGatewayProducePolicyMaskFieldsArgs
    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 eventGatewayProducePolicyMaskFieldsResource = new Konnect.EventGatewayProducePolicyMaskFields("eventGatewayProducePolicyMaskFieldsResource", new()
    {
        Config = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigArgs
        {
            FailureMode = "string",
            MaskFields = new[]
            {
                new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldArgs
                {
                    Paths = new[]
                    {
                        new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldPathArgs
                        {
                            Match = "string",
                        },
                    },
                    Strategy = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyArgs
                    {
                        Email = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailArgs
                        {
                            Domain = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainArgs
                            {
                                KeepAll = null,
                                KeepChars = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepCharsArgs
                                {
                                    Phrase = "string",
                                    First = 0.0,
                                    Last = 0.0,
                                },
                                Replace = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplaceArgs
                                {
                                    Phrase = "string",
                                },
                            },
                            LocalPart = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartArgs
                            {
                                KeepChars = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepCharsArgs
                                {
                                    Phrase = "string",
                                    First = 0.0,
                                    Last = 0.0,
                                },
                                Replace = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplaceArgs
                                {
                                    Phrase = "string",
                                },
                            },
                        },
                        KeepChars = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyKeepCharsArgs
                        {
                            Phrase = "string",
                            First = 0.0,
                            Last = 0.0,
                        },
                        Replace = new Konnect.Inputs.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplaceArgs
                        {
                            Phrase = "string",
                        },
                    },
                },
            },
        },
        GatewayId = "string",
        ParentPolicyId = "string",
        VirtualClusterId = "string",
        Condition = "string",
        Description = "string",
        Enabled = false,
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := konnect.NewEventGatewayProducePolicyMaskFields(ctx, "eventGatewayProducePolicyMaskFieldsResource", &konnect.EventGatewayProducePolicyMaskFieldsArgs{
    	Config: &konnect.EventGatewayProducePolicyMaskFieldsConfigArgs{
    		FailureMode: pulumi.String("string"),
    		MaskFields: konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldArray{
    			&konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldArgs{
    				Paths: konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldPathArray{
    					&konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldPathArgs{
    						Match: pulumi.String("string"),
    					},
    				},
    				Strategy: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyArgs{
    					Email: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailArgs{
    						Domain: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainArgs{
    							KeepAll: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepAllArgs{},
    							KeepChars: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepCharsArgs{
    								Phrase: pulumi.String("string"),
    								First:  pulumi.Float64(0),
    								Last:   pulumi.Float64(0),
    							},
    							Replace: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplaceArgs{
    								Phrase: pulumi.String("string"),
    							},
    						},
    						LocalPart: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartArgs{
    							KeepChars: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepCharsArgs{
    								Phrase: pulumi.String("string"),
    								First:  pulumi.Float64(0),
    								Last:   pulumi.Float64(0),
    							},
    							Replace: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplaceArgs{
    								Phrase: pulumi.String("string"),
    							},
    						},
    					},
    					KeepChars: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyKeepCharsArgs{
    						Phrase: pulumi.String("string"),
    						First:  pulumi.Float64(0),
    						Last:   pulumi.Float64(0),
    					},
    					Replace: &konnect.EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplaceArgs{
    						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_produce_policy_mask_fields" "eventGatewayProducePolicyMaskFieldsResource" {
      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 eventGatewayProducePolicyMaskFieldsResource = new EventGatewayProducePolicyMaskFields("eventGatewayProducePolicyMaskFieldsResource", EventGatewayProducePolicyMaskFieldsArgs.builder()
        .config(EventGatewayProducePolicyMaskFieldsConfigArgs.builder()
            .failureMode("string")
            .maskFields(EventGatewayProducePolicyMaskFieldsConfigMaskFieldArgs.builder()
                .paths(EventGatewayProducePolicyMaskFieldsConfigMaskFieldPathArgs.builder()
                    .match("string")
                    .build())
                .strategy(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyArgs.builder()
                    .email(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailArgs.builder()
                        .domain(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainArgs.builder()
                            .keepAll(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepAllArgs.builder()
                                .build())
                            .keepChars(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepCharsArgs.builder()
                                .phrase("string")
                                .first(0.0)
                                .last(0.0)
                                .build())
                            .replace(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplaceArgs.builder()
                                .phrase("string")
                                .build())
                            .build())
                        .localPart(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartArgs.builder()
                            .keepChars(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepCharsArgs.builder()
                                .phrase("string")
                                .first(0.0)
                                .last(0.0)
                                .build())
                            .replace(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplaceArgs.builder()
                                .phrase("string")
                                .build())
                            .build())
                        .build())
                    .keepChars(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyKeepCharsArgs.builder()
                        .phrase("string")
                        .first(0.0)
                        .last(0.0)
                        .build())
                    .replace(EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplaceArgs.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_produce_policy_mask_fields_resource = konnect.EventGatewayProducePolicyMaskFields("eventGatewayProducePolicyMaskFieldsResource",
        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 eventGatewayProducePolicyMaskFieldsResource = new konnect.EventGatewayProducePolicyMaskFields("eventGatewayProducePolicyMaskFieldsResource", {
        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:EventGatewayProducePolicyMaskFields
    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
    

    EventGatewayProducePolicyMaskFields 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 EventGatewayProducePolicyMaskFields resource accepts the following input properties:

    Config EventGatewayProducePolicyMaskFieldsConfig
    The configuration of the mask record fields produce policy.
    GatewayId string
    The UUID of your Gateway.
    ParentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    VirtualClusterId string
    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 EventGatewayProducePolicyMaskFieldsConfigArgs
    The configuration of the mask record fields produce policy.
    GatewayId string
    The UUID of your Gateway.
    ParentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    VirtualClusterId string
    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 record fields produce policy.
    gateway_id string
    The UUID of your Gateway.
    parent_policy_id string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    virtual_cluster_id string
    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 EventGatewayProducePolicyMaskFieldsConfig
    The configuration of the mask record fields produce policy.
    gatewayId String
    The UUID of your Gateway.
    parentPolicyId String
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    virtualClusterId String
    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 EventGatewayProducePolicyMaskFieldsConfig
    The configuration of the mask record fields produce policy.
    gatewayId string
    The UUID of your Gateway.
    parentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    virtualClusterId string
    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 EventGatewayProducePolicyMaskFieldsConfigArgs
    The configuration of the mask record fields produce policy.
    gateway_id str
    The UUID of your Gateway.
    parent_policy_id str
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    virtual_cluster_id str
    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 record fields produce policy.
    gatewayId String
    The UUID of your Gateway.
    parentPolicyId String
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    virtualClusterId String
    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 EventGatewayProducePolicyMaskFields resource produces the following output properties:

    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    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.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt 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.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Look up Existing EventGatewayProducePolicyMaskFields Resource

    Get an existing EventGatewayProducePolicyMaskFields 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?: EventGatewayProducePolicyMaskFieldsState, opts?: CustomResourceOptions): EventGatewayProducePolicyMaskFields
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            condition: Optional[str] = None,
            config: Optional[EventGatewayProducePolicyMaskFieldsConfigArgs] = 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) -> EventGatewayProducePolicyMaskFields
    func GetEventGatewayProducePolicyMaskFields(ctx *Context, name string, id IDInput, state *EventGatewayProducePolicyMaskFieldsState, opts ...ResourceOption) (*EventGatewayProducePolicyMaskFields, error)
    public static EventGatewayProducePolicyMaskFields Get(string name, Input<string> id, EventGatewayProducePolicyMaskFieldsState? state, CustomResourceOptions? opts = null)
    public static EventGatewayProducePolicyMaskFields get(String name, Output<String> id, EventGatewayProducePolicyMaskFieldsState state, CustomResourceOptions options)
    resources:  _:    type: konnect:EventGatewayProducePolicyMaskFields    get:      id: ${id}
    import {
      to = konnect_event_gateway_produce_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.
    The following state arguments are supported:
    Condition string
    A string containing the boolean expression that determines whether the policy is applied.
    Config EventGatewayProducePolicyMaskFieldsConfig
    The configuration of the mask record fields produce policy.
    CreatedAt 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
    GatewayId 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.
    ParentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    VirtualClusterId string
    The ID of the Virtual Cluster.
    Condition string
    A string containing the boolean expression that determines whether the policy is applied.
    Config EventGatewayProducePolicyMaskFieldsConfigArgs
    The configuration of the mask record fields produce policy.
    CreatedAt 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
    GatewayId 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.
    ParentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    VirtualClusterId string
    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 record fields produce 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_id string
    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_id string
    The ID of the Virtual Cluster.
    condition String
    A string containing the boolean expression that determines whether the policy is applied.
    config EventGatewayProducePolicyMaskFieldsConfig
    The configuration of the mask record fields produce policy.
    createdAt 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
    gatewayId 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.
    parentPolicyId String
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    virtualClusterId String
    The ID of the Virtual Cluster.
    condition string
    A string containing the boolean expression that determines whether the policy is applied.
    config EventGatewayProducePolicyMaskFieldsConfig
    The configuration of the mask record fields produce policy.
    createdAt 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
    gatewayId 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.
    parentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    virtualClusterId string
    The ID of the Virtual Cluster.
    condition str
    A string containing the boolean expression that determines whether the policy is applied.
    config EventGatewayProducePolicyMaskFieldsConfigArgs
    The configuration of the mask record fields produce 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_id str
    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_id str
    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 record fields produce policy.
    createdAt 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
    gatewayId 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.
    parentPolicyId String
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    virtualClusterId String
    The ID of the Virtual Cluster.

    Supporting Types

    EventGatewayProducePolicyMaskFieldsConfig, EventGatewayProducePolicyMaskFieldsConfigArgs

    FailureMode string
    Describes how to handle a failure in a policy applied to produced records.
    MaskFields List<EventGatewayProducePolicyMaskFieldsConfigMaskField>
    Selects which fields to mask and how to mask them.
    FailureMode string
    Describes how to handle a failure in a policy applied to produced records.
    MaskFields []EventGatewayProducePolicyMaskFieldsConfigMaskField
    Selects which fields to mask and how to mask them.
    failure_mode string
    Describes how to handle a failure in a policy applied to produced records.
    mask_fields list(object)
    Selects which fields to mask and how to mask them.
    failureMode String
    Describes how to handle a failure in a policy applied to produced records.
    maskFields List<EventGatewayProducePolicyMaskFieldsConfigMaskField>
    Selects which fields to mask and how to mask them.
    failureMode string
    Describes how to handle a failure in a policy applied to produced records.
    maskFields EventGatewayProducePolicyMaskFieldsConfigMaskField[]
    Selects which fields to mask and how to mask them.
    failure_mode str
    Describes how to handle a failure in a policy applied to produced records.
    mask_fields Sequence[EventGatewayProducePolicyMaskFieldsConfigMaskField]
    Selects which fields to mask and how to mask them.
    failureMode String
    Describes how to handle a failure in a policy applied to produced records.
    maskFields List<Property Map>
    Selects which fields to mask and how to mask them.

    EventGatewayProducePolicyMaskFieldsConfigMaskField, EventGatewayProducePolicyMaskFieldsConfigMaskFieldArgs

    paths list(object)
    strategy object
    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.

    EventGatewayProducePolicyMaskFieldsConfigMaskFieldPath, EventGatewayProducePolicyMaskFieldsConfigMaskFieldPathArgs

    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.

    EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategy, EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyArgs

    Email EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmail
    Masks an email address by applying a separate strategy to the local part and to the domain.
    KeepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplace
    Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
    Email EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmail
    Masks an email address by applying a separate strategy to the local part and to the domain.
    KeepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplace
    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 + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmail
    Masks an email address by applying a separate strategy to the local part and to the domain.
    keepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplace
    Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
    email EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmail
    Masks an email address by applying a separate strategy to the local part and to the domain.
    keepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplace
    Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
    email EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmail
    Masks an email address by applying a separate strategy to the local part and to the domain.
    keep_chars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplace
    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.
    keepChars Property Map
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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.

    EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmail, EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailArgs

    Domain EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomain
    The strategy used to redact the domain of an email address.
    LocalPart EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPart
    The strategy used to redact the local part of an email address.
    Domain EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomain
    The strategy used to redact the domain of an email address.
    LocalPart EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPart
    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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomain
    The strategy used to redact the domain of an email address.
    localPart EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPart
    The strategy used to redact the local part of an email address.
    domain EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomain
    The strategy used to redact the domain of an email address.
    localPart EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPart
    The strategy used to redact the local part of an email address.
    domain EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomain
    The strategy used to redact the domain of an email address.
    local_part EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPart
    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.
    localPart Property Map
    The strategy used to redact the local part of an email address.

    EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomain, EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainArgs

    KeepAll EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepAll
    Keeps the whole domain unmasked.
    KeepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplace
    Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
    KeepAll EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepAll
    Keeps the whole domain unmasked.
    KeepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplace
    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 + last is 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.
    keepAll EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepAll
    Keeps the whole domain unmasked.
    keepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplace
    Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
    keepAll EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepAll
    Keeps the whole domain unmasked.
    keepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplace
    Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
    keep_all EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepAll
    Keeps the whole domain unmasked.
    keep_chars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplace
    Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
    keepAll Property Map
    Keeps the whole domain unmasked.
    keepChars Property Map
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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.

    EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepChars, EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainKeepCharsArgs

    Phrase string
    The phrase that replaces the masked middle of the value.
    First double
    Number of leading characters to keep unmasked. Default: 0
    Last double
    Number of trailing characters to keep unmasked. Default: 0
    Phrase string
    The phrase that replaces the masked middle of the value.
    First float64
    Number of leading characters to keep unmasked. Default: 0
    Last float64
    Number of trailing characters to keep unmasked. Default: 0
    phrase string
    The phrase that replaces the masked middle of the value.
    first number
    Number of leading characters to keep unmasked. Default: 0
    last number
    Number of trailing characters to keep unmasked. Default: 0
    phrase String
    The phrase that replaces the masked middle of the value.
    first Double
    Number of leading characters to keep unmasked. Default: 0
    last Double
    Number of trailing characters to keep unmasked. Default: 0
    phrase string
    The phrase that replaces the masked middle of the value.
    first number
    Number of leading characters to keep unmasked. Default: 0
    last number
    Number of trailing characters to keep unmasked. Default: 0
    phrase str
    The phrase that replaces the masked middle of the value.
    first float
    Number of leading characters to keep unmasked. Default: 0
    last float
    Number of trailing characters to keep unmasked. Default: 0
    phrase String
    The phrase that replaces the masked middle of the value.
    first Number
    Number of leading characters to keep unmasked. Default: 0
    last Number
    Number of trailing characters to keep unmasked. Default: 0

    EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplace, EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailDomainReplaceArgs

    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.

    EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPart, EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartArgs

    KeepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplace
    Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
    KeepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplace
    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 + last is 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.
    keepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplace
    Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
    keepChars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplace
    Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
    keep_chars EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepChars
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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 EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplace
    Replaces the whole value with a fixed phrase. The masked length does not reflect the original value length.
    keepChars Property Map
    Keeps a number of leading and/or trailing characters and replaces the middle with a fixed phrase. If first + last is 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.

    EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepChars, EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartKeepCharsArgs

    Phrase string
    The phrase that replaces the masked middle of the value.
    First double
    Number of leading characters to keep unmasked. Default: 0
    Last double
    Number of trailing characters to keep unmasked. Default: 0
    Phrase string
    The phrase that replaces the masked middle of the value.
    First float64
    Number of leading characters to keep unmasked. Default: 0
    Last float64
    Number of trailing characters to keep unmasked. Default: 0
    phrase string
    The phrase that replaces the masked middle of the value.
    first number
    Number of leading characters to keep unmasked. Default: 0
    last number
    Number of trailing characters to keep unmasked. Default: 0
    phrase String
    The phrase that replaces the masked middle of the value.
    first Double
    Number of leading characters to keep unmasked. Default: 0
    last Double
    Number of trailing characters to keep unmasked. Default: 0
    phrase string
    The phrase that replaces the masked middle of the value.
    first number
    Number of leading characters to keep unmasked. Default: 0
    last number
    Number of trailing characters to keep unmasked. Default: 0
    phrase str
    The phrase that replaces the masked middle of the value.
    first float
    Number of leading characters to keep unmasked. Default: 0
    last float
    Number of trailing characters to keep unmasked. Default: 0
    phrase String
    The phrase that replaces the masked middle of the value.
    first Number
    Number of leading characters to keep unmasked. Default: 0
    last Number
    Number of trailing characters to keep unmasked. Default: 0

    EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplace, EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyEmailLocalPartReplaceArgs

    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.

    EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyKeepChars, EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyKeepCharsArgs

    Phrase string
    The phrase that replaces the masked middle of the value.
    First double
    Number of leading characters to keep unmasked. Default: 0
    Last double
    Number of trailing characters to keep unmasked. Default: 0
    Phrase string
    The phrase that replaces the masked middle of the value.
    First float64
    Number of leading characters to keep unmasked. Default: 0
    Last float64
    Number of trailing characters to keep unmasked. Default: 0
    phrase string
    The phrase that replaces the masked middle of the value.
    first number
    Number of leading characters to keep unmasked. Default: 0
    last number
    Number of trailing characters to keep unmasked. Default: 0
    phrase String
    The phrase that replaces the masked middle of the value.
    first Double
    Number of leading characters to keep unmasked. Default: 0
    last Double
    Number of trailing characters to keep unmasked. Default: 0
    phrase string
    The phrase that replaces the masked middle of the value.
    first number
    Number of leading characters to keep unmasked. Default: 0
    last number
    Number of trailing characters to keep unmasked. Default: 0
    phrase str
    The phrase that replaces the masked middle of the value.
    first float
    Number of leading characters to keep unmasked. Default: 0
    last float
    Number of trailing characters to keep unmasked. Default: 0
    phrase String
    The phrase that replaces the masked middle of the value.
    first Number
    Number of leading characters to keep unmasked. Default: 0
    last Number
    Number of trailing characters to keep unmasked. Default: 0

    EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplace, EventGatewayProducePolicyMaskFieldsConfigMaskFieldStrategyReplaceArgs

    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_produce_policy_mask_fields.my_konnect_event_gateway_produce_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/eventGatewayProducePolicyMaskFields:EventGatewayProducePolicyMaskFields my_konnect_event_gateway_produce_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 konnect Terraform Provider.
    konnect
    Viewing docs for konnect 3.28.0
    published on Friday, Nov 6, 2026 by kong

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial