published on Thursday, Mar 12, 2026 by kong
published on Thursday, Mar 12, 2026 by kong
EventGatewayProducePolicyModifyHeaders Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myEventgatewayproducepolicymodifyheaders = new konnect.EventGatewayProducePolicyModifyHeaders("my_eventgatewayproducepolicymodifyheaders", {
condition: "record.value.content.foo.bar == \"a-value\"",
config: {
actions: [{
remove: {
key: "...my_key...",
},
}],
},
description: "...my_description...",
enabled: true,
gatewayId: "9524ec7d-36d9-465d-a8c5-83a3c9390458",
labels: {
key: "value",
},
name: "...my_name...",
parentPolicyId: "72c5778e-34a9-4e94-8979-28eb503453b5",
virtualClusterId: "d146afe4-4af6-420a-9a5b-d37b93117501",
});
import pulumi
import pulumi_konnect as konnect
my_eventgatewayproducepolicymodifyheaders = konnect.EventGatewayProducePolicyModifyHeaders("my_eventgatewayproducepolicymodifyheaders",
condition="record.value.content.foo.bar == \"a-value\"",
config={
"actions": [{
"remove": {
"key": "...my_key...",
},
}],
},
description="...my_description...",
enabled=True,
gateway_id="9524ec7d-36d9-465d-a8c5-83a3c9390458",
labels={
"key": "value",
},
name="...my_name...",
parent_policy_id="72c5778e-34a9-4e94-8979-28eb503453b5",
virtual_cluster_id="d146afe4-4af6-420a-9a5b-d37b93117501")
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.NewEventGatewayProducePolicyModifyHeaders(ctx, "my_eventgatewayproducepolicymodifyheaders", &konnect.EventGatewayProducePolicyModifyHeadersArgs{
Condition: pulumi.String("record.value.content.foo.bar == \"a-value\""),
Config: &konnect.EventGatewayProducePolicyModifyHeadersConfigArgs{
Actions: konnect.EventGatewayProducePolicyModifyHeadersConfigActionArray{
&konnect.EventGatewayProducePolicyModifyHeadersConfigActionArgs{
Remove: &konnect.EventGatewayProducePolicyModifyHeadersConfigActionRemoveArgs{
Key: pulumi.String("...my_key..."),
},
},
},
},
Description: pulumi.String("...my_description..."),
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("72c5778e-34a9-4e94-8979-28eb503453b5"),
VirtualClusterId: pulumi.String("d146afe4-4af6-420a-9a5b-d37b93117501"),
})
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 myEventgatewayproducepolicymodifyheaders = new Konnect.EventGatewayProducePolicyModifyHeaders("my_eventgatewayproducepolicymodifyheaders", new()
{
Condition = "record.value.content.foo.bar == \"a-value\"",
Config = new Konnect.Inputs.EventGatewayProducePolicyModifyHeadersConfigArgs
{
Actions = new[]
{
new Konnect.Inputs.EventGatewayProducePolicyModifyHeadersConfigActionArgs
{
Remove = new Konnect.Inputs.EventGatewayProducePolicyModifyHeadersConfigActionRemoveArgs
{
Key = "...my_key...",
},
},
},
},
Description = "...my_description...",
Enabled = true,
GatewayId = "9524ec7d-36d9-465d-a8c5-83a3c9390458",
Labels =
{
{ "key", "value" },
},
Name = "...my_name...",
ParentPolicyId = "72c5778e-34a9-4e94-8979-28eb503453b5",
VirtualClusterId = "d146afe4-4af6-420a-9a5b-d37b93117501",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.EventGatewayProducePolicyModifyHeaders;
import com.pulumi.konnect.EventGatewayProducePolicyModifyHeadersArgs;
import com.pulumi.konnect.inputs.EventGatewayProducePolicyModifyHeadersConfigArgs;
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 myEventgatewayproducepolicymodifyheaders = new EventGatewayProducePolicyModifyHeaders("myEventgatewayproducepolicymodifyheaders", EventGatewayProducePolicyModifyHeadersArgs.builder()
.condition("record.value.content.foo.bar == \"a-value\"")
.config(EventGatewayProducePolicyModifyHeadersConfigArgs.builder()
.actions(EventGatewayProducePolicyModifyHeadersConfigActionArgs.builder()
.remove(EventGatewayProducePolicyModifyHeadersConfigActionRemoveArgs.builder()
.key("...my_key...")
.build())
.build())
.build())
.description("...my_description...")
.enabled(true)
.gatewayId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
.labels(Map.of("key", "value"))
.name("...my_name...")
.parentPolicyId("72c5778e-34a9-4e94-8979-28eb503453b5")
.virtualClusterId("d146afe4-4af6-420a-9a5b-d37b93117501")
.build());
}
}
resources:
myEventgatewayproducepolicymodifyheaders:
type: konnect:EventGatewayProducePolicyModifyHeaders
name: my_eventgatewayproducepolicymodifyheaders
properties:
condition: record.value.content.foo.bar == "a-value"
config:
actions:
- remove:
key: '...my_key...'
description: '...my_description...'
enabled: true
gatewayId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
labels:
key: value
name: '...my_name...'
parentPolicyId: 72c5778e-34a9-4e94-8979-28eb503453b5
virtualClusterId: d146afe4-4af6-420a-9a5b-d37b93117501
Create EventGatewayProducePolicyModifyHeaders Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventGatewayProducePolicyModifyHeaders(name: string, args: EventGatewayProducePolicyModifyHeadersArgs, opts?: CustomResourceOptions);@overload
def EventGatewayProducePolicyModifyHeaders(resource_name: str,
args: EventGatewayProducePolicyModifyHeadersArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EventGatewayProducePolicyModifyHeaders(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[EventGatewayProducePolicyModifyHeadersConfigArgs] = None,
gateway_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,
parent_policy_id: Optional[str] = None)func NewEventGatewayProducePolicyModifyHeaders(ctx *Context, name string, args EventGatewayProducePolicyModifyHeadersArgs, opts ...ResourceOption) (*EventGatewayProducePolicyModifyHeaders, error)public EventGatewayProducePolicyModifyHeaders(string name, EventGatewayProducePolicyModifyHeadersArgs args, CustomResourceOptions? opts = null)
public EventGatewayProducePolicyModifyHeaders(String name, EventGatewayProducePolicyModifyHeadersArgs args)
public EventGatewayProducePolicyModifyHeaders(String name, EventGatewayProducePolicyModifyHeadersArgs args, CustomResourceOptions options)
type: konnect:EventGatewayProducePolicyModifyHeaders
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EventGatewayProducePolicyModifyHeadersArgs
- 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 EventGatewayProducePolicyModifyHeadersArgs
- 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 EventGatewayProducePolicyModifyHeadersArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventGatewayProducePolicyModifyHeadersArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventGatewayProducePolicyModifyHeadersArgs
- 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 eventGatewayProducePolicyModifyHeadersResource = new Konnect.EventGatewayProducePolicyModifyHeaders("eventGatewayProducePolicyModifyHeadersResource", new()
{
Config = new Konnect.Inputs.EventGatewayProducePolicyModifyHeadersConfigArgs
{
Actions = new[]
{
new Konnect.Inputs.EventGatewayProducePolicyModifyHeadersConfigActionArgs
{
Remove = new Konnect.Inputs.EventGatewayProducePolicyModifyHeadersConfigActionRemoveArgs
{
Key = "string",
},
Set = new Konnect.Inputs.EventGatewayProducePolicyModifyHeadersConfigActionSetArgs
{
Key = "string",
Value = "string",
},
},
},
},
GatewayId = "string",
VirtualClusterId = "string",
Condition = "string",
Description = "string",
Enabled = false,
Labels =
{
{ "string", "string" },
},
Name = "string",
ParentPolicyId = "string",
});
example, err := konnect.NewEventGatewayProducePolicyModifyHeaders(ctx, "eventGatewayProducePolicyModifyHeadersResource", &konnect.EventGatewayProducePolicyModifyHeadersArgs{
Config: &konnect.EventGatewayProducePolicyModifyHeadersConfigArgs{
Actions: konnect.EventGatewayProducePolicyModifyHeadersConfigActionArray{
&konnect.EventGatewayProducePolicyModifyHeadersConfigActionArgs{
Remove: &konnect.EventGatewayProducePolicyModifyHeadersConfigActionRemoveArgs{
Key: pulumi.String("string"),
},
Set: &konnect.EventGatewayProducePolicyModifyHeadersConfigActionSetArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
GatewayId: 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"),
ParentPolicyId: pulumi.String("string"),
})
var eventGatewayProducePolicyModifyHeadersResource = new EventGatewayProducePolicyModifyHeaders("eventGatewayProducePolicyModifyHeadersResource", EventGatewayProducePolicyModifyHeadersArgs.builder()
.config(EventGatewayProducePolicyModifyHeadersConfigArgs.builder()
.actions(EventGatewayProducePolicyModifyHeadersConfigActionArgs.builder()
.remove(EventGatewayProducePolicyModifyHeadersConfigActionRemoveArgs.builder()
.key("string")
.build())
.set(EventGatewayProducePolicyModifyHeadersConfigActionSetArgs.builder()
.key("string")
.value("string")
.build())
.build())
.build())
.gatewayId("string")
.virtualClusterId("string")
.condition("string")
.description("string")
.enabled(false)
.labels(Map.of("string", "string"))
.name("string")
.parentPolicyId("string")
.build());
event_gateway_produce_policy_modify_headers_resource = konnect.EventGatewayProducePolicyModifyHeaders("eventGatewayProducePolicyModifyHeadersResource",
config={
"actions": [{
"remove": {
"key": "string",
},
"set": {
"key": "string",
"value": "string",
},
}],
},
gateway_id="string",
virtual_cluster_id="string",
condition="string",
description="string",
enabled=False,
labels={
"string": "string",
},
name="string",
parent_policy_id="string")
const eventGatewayProducePolicyModifyHeadersResource = new konnect.EventGatewayProducePolicyModifyHeaders("eventGatewayProducePolicyModifyHeadersResource", {
config: {
actions: [{
remove: {
key: "string",
},
set: {
key: "string",
value: "string",
},
}],
},
gatewayId: "string",
virtualClusterId: "string",
condition: "string",
description: "string",
enabled: false,
labels: {
string: "string",
},
name: "string",
parentPolicyId: "string",
});
type: konnect:EventGatewayProducePolicyModifyHeaders
properties:
condition: string
config:
actions:
- remove:
key: string
set:
key: string
value: string
description: string
enabled: false
gatewayId: string
labels:
string: string
name: string
parentPolicyId: string
virtualClusterId: string
EventGatewayProducePolicyModifyHeaders 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 EventGatewayProducePolicyModifyHeaders resource accepts the following input properties:
- Config
Event
Gateway Produce Policy Modify Headers Config - The configuration of the modify headers policy.
- Gateway
Id string - The UUID of your Gateway.
- 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.
- Parent
Policy stringId - The unique identifier of the parent schema validation policy, if any. Requires replacement if changed.
- Config
Event
Gateway Produce Policy Modify Headers Config Args - The configuration of the modify headers policy.
- Gateway
Id string - The UUID of your Gateway.
- 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.
- Parent
Policy stringId - The unique identifier of the parent schema validation policy, if any. Requires replacement if changed.
- config
Event
Gateway Produce Policy Modify Headers Config - The configuration of the modify headers policy.
- gateway
Id String - The UUID of your Gateway.
- 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.
- parent
Policy StringId - The unique identifier of the parent schema validation policy, if any. Requires replacement if changed.
- config
Event
Gateway Produce Policy Modify Headers Config - The configuration of the modify headers policy.
- gateway
Id string - The UUID of your Gateway.
- 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.
- parent
Policy stringId - The unique identifier of the parent schema validation policy, if any. Requires replacement if changed.
- config
Event
Gateway Produce Policy Modify Headers Config Args - The configuration of the modify headers policy.
- gateway_
id str - The UUID of your Gateway.
- 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.
- parent_
policy_ strid - The unique identifier of the parent schema validation policy, if any. Requires replacement if changed.
- config Property Map
- The configuration of the modify headers policy.
- gateway
Id String - The UUID of your Gateway.
- 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.
- parent
Policy StringId - The unique identifier of the parent schema validation policy, if any. Requires replacement if changed.
Outputs
All input properties are implicitly available as output properties. Additionally, the EventGatewayProducePolicyModifyHeaders resource produces the following output properties:
- 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 EventGatewayProducePolicyModifyHeaders Resource
Get an existing EventGatewayProducePolicyModifyHeaders 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?: EventGatewayProducePolicyModifyHeadersState, opts?: CustomResourceOptions): EventGatewayProducePolicyModifyHeaders@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
condition: Optional[str] = None,
config: Optional[EventGatewayProducePolicyModifyHeadersConfigArgs] = 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) -> EventGatewayProducePolicyModifyHeadersfunc GetEventGatewayProducePolicyModifyHeaders(ctx *Context, name string, id IDInput, state *EventGatewayProducePolicyModifyHeadersState, opts ...ResourceOption) (*EventGatewayProducePolicyModifyHeaders, error)public static EventGatewayProducePolicyModifyHeaders Get(string name, Input<string> id, EventGatewayProducePolicyModifyHeadersState? state, CustomResourceOptions? opts = null)public static EventGatewayProducePolicyModifyHeaders get(String name, Output<String> id, EventGatewayProducePolicyModifyHeadersState state, CustomResourceOptions options)resources: _: type: konnect:EventGatewayProducePolicyModifyHeaders get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Condition string
- A string containing the boolean expression that determines whether the policy is applied.
- Config
Event
Gateway Produce Policy Modify Headers Config - The configuration of the modify headers 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, if any. 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 Produce Policy Modify Headers Config Args - The configuration of the modify headers 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, if any. 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 Produce Policy Modify Headers Config - The configuration of the modify headers 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, if any. 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 Produce Policy Modify Headers Config - The configuration of the modify headers 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, if any. 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 Produce Policy Modify Headers Config Args - The configuration of the modify headers 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, if any. 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 modify headers 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, if any. 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
EventGatewayProducePolicyModifyHeadersConfig, EventGatewayProducePolicyModifyHeadersConfigArgs
- Actions
List<Event
Gateway Produce Policy Modify Headers Config Action> - Actions are run in sequential order and act on individual headers.
- Actions
[]Event
Gateway Produce Policy Modify Headers Config Action - Actions are run in sequential order and act on individual headers.
- actions
List<Event
Gateway Produce Policy Modify Headers Config Action> - Actions are run in sequential order and act on individual headers.
- actions
Event
Gateway Produce Policy Modify Headers Config Action[] - Actions are run in sequential order and act on individual headers.
- actions
Sequence[Event
Gateway Produce Policy Modify Headers Config Action] - Actions are run in sequential order and act on individual headers.
- actions List<Property Map>
- Actions are run in sequential order and act on individual headers.
EventGatewayProducePolicyModifyHeadersConfigAction, EventGatewayProducePolicyModifyHeadersConfigActionArgs
- Remove
Event
Gateway Produce Policy Modify Headers Config Action Remove - An action that removes a header by key.
- Set
Event
Gateway Produce Policy Modify Headers Config Action Set - An action that sets a header key and value.
- Remove
Event
Gateway Produce Policy Modify Headers Config Action Remove - An action that removes a header by key.
- Set
Event
Gateway Produce Policy Modify Headers Config Action Set - An action that sets a header key and value.
- remove
Event
Gateway Produce Policy Modify Headers Config Action Remove - An action that removes a header by key.
- set
Event
Gateway Produce Policy Modify Headers Config Action Set - An action that sets a header key and value.
- remove
Event
Gateway Produce Policy Modify Headers Config Action Remove - An action that removes a header by key.
- set
Event
Gateway Produce Policy Modify Headers Config Action Set - An action that sets a header key and value.
- remove
Event
Gateway Produce Policy Modify Headers Config Action Remove - An action that removes a header by key.
- set
Event
Gateway Produce Policy Modify Headers Config Action Set - An action that sets a header key and value.
- remove Property Map
- An action that removes a header by key.
- set Property Map
- An action that sets a header key and value.
EventGatewayProducePolicyModifyHeadersConfigActionRemove, EventGatewayProducePolicyModifyHeadersConfigActionRemoveArgs
- Key string
- The key of the header to remove.
- Key string
- The key of the header to remove.
- key String
- The key of the header to remove.
- key string
- The key of the header to remove.
- key str
- The key of the header to remove.
- key String
- The key of the header to remove.
EventGatewayProducePolicyModifyHeadersConfigActionSet, EventGatewayProducePolicyModifyHeadersConfigActionSetArgs
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_modify_headers.my_konnect_event_gateway_produce_policy_modify_headers
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/eventGatewayProducePolicyModifyHeaders:EventGatewayProducePolicyModifyHeaders my_konnect_event_gateway_produce_policy_modify_headers '{"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 Thursday, Mar 12, 2026 by kong
