published on Friday, Sep 18, 2026 by kong
published on Friday, Sep 18, 2026 by kong
AIGatewayAgent Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myAigatewayagent = new konnect.AiGatewayAgent("my_aigatewayagent", {
access: {
acls: {
allows: ["..."],
denies: ["..."],
},
authStrategies: ["okta-ai-se"],
identityProviders: ["okta-ai-se"],
},
config: {
logging: {
maxPayloadSize: 524288,
payloads: false,
},
maxRequestBodySize: 8388608,
proxy: {
auth: {
password: "...my_password...",
username: "...my_username...",
},
httpProxy: {
host: "...my_host...",
port: 25961,
},
httpsProxy: {
host: "...my_host...",
port: 62168,
},
noProxy: "...my_no_proxy...",
proxyScheme: "http",
},
route: {
headers: {
key: JSON.stringify("value"),
},
hosts: ["foo.example.com"],
httpsRedirectStatusCode: 426,
methods: ["..."],
paths: ["..."],
preserveHost: false,
protocols: ["..."],
regexPriority: 0,
requestBuffering: true,
responseBuffering: true,
stripPath: true,
tags: ["..."],
},
upstream: {
auth: {
aws: {
accessKeyId: "...my_access_key_id...",
assumeRoleArn: "...my_assume_role_arn...",
region: "...my_region...",
roleSessionName: "...my_role_session_name...",
secretAccessKey: "...my_secret_access_key...",
sessionToken: "...my_session_token...",
stsEndpointUrl: "...my_sts_endpoint_url...",
},
},
},
url: "https://booking-agent.internal.kongair.com",
},
displayName: "Kong Air Flight Booking Agent",
enabled: true,
gatewayId: "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
labels: {
key: "value",
},
managedBy: {
key: "value",
},
name: "kongair-flight-booking-agent",
policies: ["..."],
type: "a2a",
});
import pulumi
import json
import pulumi_konnect as konnect
my_aigatewayagent = konnect.AiGatewayAgent("my_aigatewayagent",
access={
"acls": {
"allows": ["..."],
"denies": ["..."],
},
"auth_strategies": ["okta-ai-se"],
"identity_providers": ["okta-ai-se"],
},
config={
"logging": {
"max_payload_size": 524288,
"payloads": False,
},
"max_request_body_size": 8388608,
"proxy": {
"auth": {
"password": "...my_password...",
"username": "...my_username...",
},
"http_proxy": {
"host": "...my_host...",
"port": 25961,
},
"https_proxy": {
"host": "...my_host...",
"port": 62168,
},
"no_proxy": "...my_no_proxy...",
"proxy_scheme": "http",
},
"route": {
"headers": {
"key": json.dumps("value"),
},
"hosts": ["foo.example.com"],
"https_redirect_status_code": 426,
"methods": ["..."],
"paths": ["..."],
"preserve_host": False,
"protocols": ["..."],
"regex_priority": 0,
"request_buffering": True,
"response_buffering": True,
"strip_path": True,
"tags": ["..."],
},
"upstream": {
"auth": {
"aws": {
"access_key_id": "...my_access_key_id...",
"assume_role_arn": "...my_assume_role_arn...",
"region": "...my_region...",
"role_session_name": "...my_role_session_name...",
"secret_access_key": "...my_secret_access_key...",
"session_token": "...my_session_token...",
"sts_endpoint_url": "...my_sts_endpoint_url...",
},
},
},
"url": "https://booking-agent.internal.kongair.com",
},
display_name="Kong Air Flight Booking Agent",
enabled=True,
gateway_id="5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
labels={
"key": "value",
},
managed_by={
"key": "value",
},
name="kongair-flight-booking-agent",
policies=["..."],
type="a2a")
package main
import (
"encoding/json"
"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 {
tmpJSON0, err := json.Marshal("value")
if err != nil {
return err
}
json0 := string(tmpJSON0)
_, err = konnect.NewAiGatewayAgent(ctx, "my_aigatewayagent", &konnect.AiGatewayAgentArgs{
Access: &konnect.AiGatewayAgentAccessArgs{
Acls: &konnect.AiGatewayAgentAccessAclsArgs{
Allows: pulumi.StringArray{
pulumi.String("..."),
},
Denies: pulumi.StringArray{
pulumi.String("..."),
},
},
AuthStrategies: pulumi.StringArray{
pulumi.String("okta-ai-se"),
},
IdentityProviders: pulumi.StringArray{
pulumi.String("okta-ai-se"),
},
},
Config: &konnect.AiGatewayAgentConfigArgs{
Logging: &konnect.AiGatewayAgentConfigLoggingArgs{
MaxPayloadSize: pulumi.Float64(524288),
Payloads: pulumi.Bool(false),
},
MaxRequestBodySize: pulumi.Float64(8388608),
Proxy: &konnect.AiGatewayAgentConfigProxyArgs{
Auth: &konnect.AiGatewayAgentConfigProxyAuthArgs{
Password: pulumi.String("...my_password..."),
Username: pulumi.String("...my_username..."),
},
HttpProxy: &konnect.AiGatewayAgentConfigProxyHttpProxyArgs{
Host: pulumi.String("...my_host..."),
Port: pulumi.Float64(25961),
},
HttpsProxy: &konnect.AiGatewayAgentConfigProxyHttpsProxyArgs{
Host: pulumi.String("...my_host..."),
Port: pulumi.Float64(62168),
},
NoProxy: pulumi.String("...my_no_proxy..."),
ProxyScheme: pulumi.String("http"),
},
Route: &konnect.AiGatewayAgentConfigRouteArgs{
Headers: pulumi.StringMap{
"key": pulumi.String(json0),
},
Hosts: pulumi.StringArray{
pulumi.String("foo.example.com"),
},
HttpsRedirectStatusCode: pulumi.Float64(426),
Methods: pulumi.StringArray{
pulumi.String("..."),
},
Paths: pulumi.StringArray{
pulumi.String("..."),
},
PreserveHost: pulumi.Bool(false),
Protocols: pulumi.StringArray{
pulumi.String("..."),
},
RegexPriority: pulumi.Float64(0),
RequestBuffering: pulumi.Bool(true),
ResponseBuffering: pulumi.Bool(true),
StripPath: pulumi.Bool(true),
Tags: pulumi.StringArray{
pulumi.String("..."),
},
},
Upstream: &konnect.AiGatewayAgentConfigUpstreamArgs{
Auth: &konnect.AiGatewayAgentConfigUpstreamAuthArgs{
Aws: &konnect.AiGatewayAgentConfigUpstreamAuthAwsArgs{
AccessKeyId: pulumi.String("...my_access_key_id..."),
AssumeRoleArn: pulumi.String("...my_assume_role_arn..."),
Region: pulumi.String("...my_region..."),
RoleSessionName: pulumi.String("...my_role_session_name..."),
SecretAccessKey: pulumi.String("...my_secret_access_key..."),
SessionToken: pulumi.String("...my_session_token..."),
StsEndpointUrl: pulumi.String("...my_sts_endpoint_url..."),
},
},
},
Url: pulumi.String("https://booking-agent.internal.kongair.com"),
},
DisplayName: pulumi.String("Kong Air Flight Booking Agent"),
Enabled: pulumi.Bool(true),
GatewayId: pulumi.String("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
Labels: pulumi.StringMap{
"key": pulumi.String("value"),
},
ManagedBy: pulumi.StringMap{
"key": pulumi.String("value"),
},
Name: pulumi.String("kongair-flight-booking-agent"),
Policies: pulumi.StringArray{
pulumi.String("..."),
},
Type: pulumi.String("a2a"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Konnect = Pulumi.Konnect;
return await Deployment.RunAsync(() =>
{
var myAigatewayagent = new Konnect.AiGatewayAgent("my_aigatewayagent", new()
{
Access = new Konnect.Inputs.AiGatewayAgentAccessArgs
{
Acls = new Konnect.Inputs.AiGatewayAgentAccessAclsArgs
{
Allows = new[]
{
"...",
},
Denies = new[]
{
"...",
},
},
AuthStrategies = new[]
{
"okta-ai-se",
},
IdentityProviders = new[]
{
"okta-ai-se",
},
},
Config = new Konnect.Inputs.AiGatewayAgentConfigArgs
{
Logging = new Konnect.Inputs.AiGatewayAgentConfigLoggingArgs
{
MaxPayloadSize = 524288,
Payloads = false,
},
MaxRequestBodySize = 8388608,
Proxy = new Konnect.Inputs.AiGatewayAgentConfigProxyArgs
{
Auth = new Konnect.Inputs.AiGatewayAgentConfigProxyAuthArgs
{
Password = "...my_password...",
Username = "...my_username...",
},
HttpProxy = new Konnect.Inputs.AiGatewayAgentConfigProxyHttpProxyArgs
{
Host = "...my_host...",
Port = 25961,
},
HttpsProxy = new Konnect.Inputs.AiGatewayAgentConfigProxyHttpsProxyArgs
{
Host = "...my_host...",
Port = 62168,
},
NoProxy = "...my_no_proxy...",
ProxyScheme = "http",
},
Route = new Konnect.Inputs.AiGatewayAgentConfigRouteArgs
{
Headers =
{
{ "key", JsonSerializer.Serialize("value") },
},
Hosts = new[]
{
"foo.example.com",
},
HttpsRedirectStatusCode = 426,
Methods = new[]
{
"...",
},
Paths = new[]
{
"...",
},
PreserveHost = false,
Protocols = new[]
{
"...",
},
RegexPriority = 0,
RequestBuffering = true,
ResponseBuffering = true,
StripPath = true,
Tags = new[]
{
"...",
},
},
Upstream = new Konnect.Inputs.AiGatewayAgentConfigUpstreamArgs
{
Auth = new Konnect.Inputs.AiGatewayAgentConfigUpstreamAuthArgs
{
Aws = new Konnect.Inputs.AiGatewayAgentConfigUpstreamAuthAwsArgs
{
AccessKeyId = "...my_access_key_id...",
AssumeRoleArn = "...my_assume_role_arn...",
Region = "...my_region...",
RoleSessionName = "...my_role_session_name...",
SecretAccessKey = "...my_secret_access_key...",
SessionToken = "...my_session_token...",
StsEndpointUrl = "...my_sts_endpoint_url...",
},
},
},
Url = "https://booking-agent.internal.kongair.com",
},
DisplayName = "Kong Air Flight Booking Agent",
Enabled = true,
GatewayId = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
Labels =
{
{ "key", "value" },
},
ManagedBy =
{
{ "key", "value" },
},
Name = "kongair-flight-booking-agent",
Policies = new[]
{
"...",
},
Type = "a2a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.AiGatewayAgent;
import com.pulumi.konnect.AiGatewayAgentArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentAccessArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentAccessAclsArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentConfigArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentConfigLoggingArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentConfigProxyArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentConfigProxyAuthArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentConfigProxyHttpProxyArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentConfigProxyHttpsProxyArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentConfigRouteArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentConfigUpstreamArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentConfigUpstreamAuthArgs;
import com.pulumi.konnect.inputs.AiGatewayAgentConfigUpstreamAuthAwsArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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 myAigatewayagent = new AiGatewayAgent("myAigatewayagent", AiGatewayAgentArgs.builder()
.access(AiGatewayAgentAccessArgs.builder()
.acls(AiGatewayAgentAccessAclsArgs.builder()
.allows("...")
.denies("...")
.build())
.authStrategies("okta-ai-se")
.identityProviders("okta-ai-se")
.build())
.config(AiGatewayAgentConfigArgs.builder()
.logging(AiGatewayAgentConfigLoggingArgs.builder()
.maxPayloadSize(524288.0)
.payloads(false)
.build())
.maxRequestBodySize(8388608.0)
.proxy(AiGatewayAgentConfigProxyArgs.builder()
.auth(AiGatewayAgentConfigProxyAuthArgs.builder()
.password("...my_password...")
.username("...my_username...")
.build())
.httpProxy(AiGatewayAgentConfigProxyHttpProxyArgs.builder()
.host("...my_host...")
.port(25961.0)
.build())
.httpsProxy(AiGatewayAgentConfigProxyHttpsProxyArgs.builder()
.host("...my_host...")
.port(62168.0)
.build())
.noProxy("...my_no_proxy...")
.proxyScheme("http")
.build())
.route(AiGatewayAgentConfigRouteArgs.builder()
.headers(Map.of("key", serializeJson(
"value")))
.hosts("foo.example.com")
.httpsRedirectStatusCode(426.0)
.methods("...")
.paths("...")
.preserveHost(false)
.protocols("...")
.regexPriority(0.0)
.requestBuffering(true)
.responseBuffering(true)
.stripPath(true)
.tags("...")
.build())
.upstream(AiGatewayAgentConfigUpstreamArgs.builder()
.auth(AiGatewayAgentConfigUpstreamAuthArgs.builder()
.aws(AiGatewayAgentConfigUpstreamAuthAwsArgs.builder()
.accessKeyId("...my_access_key_id...")
.assumeRoleArn("...my_assume_role_arn...")
.region("...my_region...")
.roleSessionName("...my_role_session_name...")
.secretAccessKey("...my_secret_access_key...")
.sessionToken("...my_session_token...")
.stsEndpointUrl("...my_sts_endpoint_url...")
.build())
.build())
.build())
.url("https://booking-agent.internal.kongair.com")
.build())
.displayName("Kong Air Flight Booking Agent")
.enabled(true)
.gatewayId("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7")
.labels(Map.of("key", "value"))
.managedBy(Map.of("key", "value"))
.name("kongair-flight-booking-agent")
.policies("...")
.type("a2a")
.build());
}
}
resources:
myAigatewayagent:
type: konnect:AiGatewayAgent
name: my_aigatewayagent
properties:
access:
acls:
allows:
- '...'
denies:
- '...'
authStrategies:
- okta-ai-se
identityProviders:
- okta-ai-se
config:
logging:
maxPayloadSize: 524288
payloads: false
maxRequestBodySize: 8.388608e+06
proxy:
auth:
password: '...my_password...'
username: '...my_username...'
httpProxy:
host: '...my_host...'
port: 25961
httpsProxy:
host: '...my_host...'
port: 62168
noProxy: '...my_no_proxy...'
proxyScheme: http
route:
headers:
key:
fn::toJSON: value
hosts:
- foo.example.com
httpsRedirectStatusCode: 426
methods:
- '...'
paths:
- '...'
preserveHost: false
protocols:
- '...'
regexPriority: 0
requestBuffering: true
responseBuffering: true
stripPath: true
tags:
- '...'
upstream:
auth:
aws:
accessKeyId: '...my_access_key_id...'
assumeRoleArn: '...my_assume_role_arn...'
region: '...my_region...'
roleSessionName: '...my_role_session_name...'
secretAccessKey: '...my_secret_access_key...'
sessionToken: '...my_session_token...'
stsEndpointUrl: '...my_sts_endpoint_url...'
url: https://booking-agent.internal.kongair.com
displayName: Kong Air Flight Booking Agent
enabled: true
gatewayId: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7
labels:
key: value
managedBy:
key: value
name: kongair-flight-booking-agent
policies:
- '...'
type: a2a
Example coming soon!
Create AiGatewayAgent Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AiGatewayAgent(name: string, args: AiGatewayAgentArgs, opts?: CustomResourceOptions);@overload
def AiGatewayAgent(resource_name: str,
args: AiGatewayAgentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AiGatewayAgent(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[AiGatewayAgentConfigArgs] = None,
display_name: Optional[str] = None,
gateway_id: Optional[str] = None,
type: Optional[str] = None,
access: Optional[AiGatewayAgentAccessArgs] = None,
enabled: Optional[bool] = None,
labels: Optional[Mapping[str, str]] = None,
managed_by: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
policies: Optional[Sequence[str]] = None)func NewAiGatewayAgent(ctx *Context, name string, args AiGatewayAgentArgs, opts ...ResourceOption) (*AiGatewayAgent, error)public AiGatewayAgent(string name, AiGatewayAgentArgs args, CustomResourceOptions? opts = null)
public AiGatewayAgent(String name, AiGatewayAgentArgs args)
public AiGatewayAgent(String name, AiGatewayAgentArgs args, CustomResourceOptions options)
type: konnect:AiGatewayAgent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "konnect_ai_gateway_agent" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AiGatewayAgentArgs
- 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 AiGatewayAgentArgs
- 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 AiGatewayAgentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiGatewayAgentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AiGatewayAgentArgs
- 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 aiGatewayAgentResource = new Konnect.AiGatewayAgent("aiGatewayAgentResource", new()
{
Config = new Konnect.Inputs.AiGatewayAgentConfigArgs
{
Url = "string",
Logging = new Konnect.Inputs.AiGatewayAgentConfigLoggingArgs
{
MaxPayloadSize = 0.0,
Payloads = false,
},
MaxRequestBodySize = 0.0,
Proxy = new Konnect.Inputs.AiGatewayAgentConfigProxyArgs
{
Auth = new Konnect.Inputs.AiGatewayAgentConfigProxyAuthArgs
{
Password = "string",
Username = "string",
},
HttpProxy = new Konnect.Inputs.AiGatewayAgentConfigProxyHttpProxyArgs
{
Host = "string",
Port = 0.0,
},
HttpsProxy = new Konnect.Inputs.AiGatewayAgentConfigProxyHttpsProxyArgs
{
Host = "string",
Port = 0.0,
},
NoProxy = "string",
ProxyScheme = "string",
},
Route = new Konnect.Inputs.AiGatewayAgentConfigRouteArgs
{
Headers =
{
{ "string", "string" },
},
Hosts = new[]
{
"string",
},
HttpsRedirectStatusCode = 0.0,
Methods = new[]
{
"string",
},
Paths = new[]
{
"string",
},
PreserveHost = false,
Protocols = new[]
{
"string",
},
RegexPriority = 0.0,
RequestBuffering = false,
ResponseBuffering = false,
StripPath = false,
Tags = new[]
{
"string",
},
},
Upstream = new Konnect.Inputs.AiGatewayAgentConfigUpstreamArgs
{
Auth = new Konnect.Inputs.AiGatewayAgentConfigUpstreamAuthArgs
{
Aws = new Konnect.Inputs.AiGatewayAgentConfigUpstreamAuthAwsArgs
{
AccessKeyId = "string",
AssumeRoleArn = "string",
Region = "string",
RoleSessionName = "string",
SecretAccessKey = "string",
SessionToken = "string",
StsEndpointUrl = "string",
},
},
},
},
DisplayName = "string",
GatewayId = "string",
Type = "string",
Access = new Konnect.Inputs.AiGatewayAgentAccessArgs
{
Acls = new Konnect.Inputs.AiGatewayAgentAccessAclsArgs
{
Allows = new[]
{
"string",
},
Denies = new[]
{
"string",
},
},
AuthStrategies = new[]
{
"string",
},
},
Enabled = false,
Labels =
{
{ "string", "string" },
},
ManagedBy =
{
{ "string", "string" },
},
Name = "string",
Policies = new[]
{
"string",
},
});
example, err := konnect.NewAiGatewayAgent(ctx, "aiGatewayAgentResource", &konnect.AiGatewayAgentArgs{
Config: &konnect.AiGatewayAgentConfigArgs{
Url: pulumi.String("string"),
Logging: &konnect.AiGatewayAgentConfigLoggingArgs{
MaxPayloadSize: pulumi.Float64(0),
Payloads: pulumi.Bool(false),
},
MaxRequestBodySize: pulumi.Float64(0),
Proxy: &konnect.AiGatewayAgentConfigProxyArgs{
Auth: &konnect.AiGatewayAgentConfigProxyAuthArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
HttpProxy: &konnect.AiGatewayAgentConfigProxyHttpProxyArgs{
Host: pulumi.String("string"),
Port: pulumi.Float64(0),
},
HttpsProxy: &konnect.AiGatewayAgentConfigProxyHttpsProxyArgs{
Host: pulumi.String("string"),
Port: pulumi.Float64(0),
},
NoProxy: pulumi.String("string"),
ProxyScheme: pulumi.String("string"),
},
Route: &konnect.AiGatewayAgentConfigRouteArgs{
Headers: pulumi.StringMap{
"string": pulumi.String("string"),
},
Hosts: pulumi.StringArray{
pulumi.String("string"),
},
HttpsRedirectStatusCode: pulumi.Float64(0),
Methods: pulumi.StringArray{
pulumi.String("string"),
},
Paths: pulumi.StringArray{
pulumi.String("string"),
},
PreserveHost: pulumi.Bool(false),
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
RegexPriority: pulumi.Float64(0),
RequestBuffering: pulumi.Bool(false),
ResponseBuffering: pulumi.Bool(false),
StripPath: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
},
Upstream: &konnect.AiGatewayAgentConfigUpstreamArgs{
Auth: &konnect.AiGatewayAgentConfigUpstreamAuthArgs{
Aws: &konnect.AiGatewayAgentConfigUpstreamAuthAwsArgs{
AccessKeyId: pulumi.String("string"),
AssumeRoleArn: pulumi.String("string"),
Region: pulumi.String("string"),
RoleSessionName: pulumi.String("string"),
SecretAccessKey: pulumi.String("string"),
SessionToken: pulumi.String("string"),
StsEndpointUrl: pulumi.String("string"),
},
},
},
},
DisplayName: pulumi.String("string"),
GatewayId: pulumi.String("string"),
Type: pulumi.String("string"),
Access: &konnect.AiGatewayAgentAccessArgs{
Acls: &konnect.AiGatewayAgentAccessAclsArgs{
Allows: pulumi.StringArray{
pulumi.String("string"),
},
Denies: pulumi.StringArray{
pulumi.String("string"),
},
},
AuthStrategies: pulumi.StringArray{
pulumi.String("string"),
},
},
Enabled: pulumi.Bool(false),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ManagedBy: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Policies: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "konnect_ai_gateway_agent" "aiGatewayAgentResource" {
lifecycle {
create_before_destroy = true
}
config = {
url = "string"
logging = {
max_payload_size = 0
payloads = false
}
max_request_body_size = 0
proxy = {
auth = {
password = "string"
username = "string"
}
http_proxy = {
host = "string"
port = 0
}
https_proxy = {
host = "string"
port = 0
}
no_proxy = "string"
proxy_scheme = "string"
}
route = {
headers = {
"string" = "string"
}
hosts = ["string"]
https_redirect_status_code = 0
methods = ["string"]
paths = ["string"]
preserve_host = false
protocols = ["string"]
regex_priority = 0
request_buffering = false
response_buffering = false
strip_path = false
tags = ["string"]
}
upstream = {
auth = {
aws = {
access_key_id = "string"
assume_role_arn = "string"
region = "string"
role_session_name = "string"
secret_access_key = "string"
session_token = "string"
sts_endpoint_url = "string"
}
}
}
}
display_name = "string"
gateway_id = "string"
type = "string"
access = {
acls = {
allows = ["string"]
denies = ["string"]
}
auth_strategies = ["string"]
}
enabled = false
labels = {
"string" = "string"
}
managed_by = {
"string" = "string"
}
name = "string"
policies = ["string"]
}
var aiGatewayAgentResource = new AiGatewayAgent("aiGatewayAgentResource", AiGatewayAgentArgs.builder()
.config(AiGatewayAgentConfigArgs.builder()
.url("string")
.logging(AiGatewayAgentConfigLoggingArgs.builder()
.maxPayloadSize(0.0)
.payloads(false)
.build())
.maxRequestBodySize(0.0)
.proxy(AiGatewayAgentConfigProxyArgs.builder()
.auth(AiGatewayAgentConfigProxyAuthArgs.builder()
.password("string")
.username("string")
.build())
.httpProxy(AiGatewayAgentConfigProxyHttpProxyArgs.builder()
.host("string")
.port(0.0)
.build())
.httpsProxy(AiGatewayAgentConfigProxyHttpsProxyArgs.builder()
.host("string")
.port(0.0)
.build())
.noProxy("string")
.proxyScheme("string")
.build())
.route(AiGatewayAgentConfigRouteArgs.builder()
.headers(Map.of("string", "string"))
.hosts("string")
.httpsRedirectStatusCode(0.0)
.methods("string")
.paths("string")
.preserveHost(false)
.protocols("string")
.regexPriority(0.0)
.requestBuffering(false)
.responseBuffering(false)
.stripPath(false)
.tags("string")
.build())
.upstream(AiGatewayAgentConfigUpstreamArgs.builder()
.auth(AiGatewayAgentConfigUpstreamAuthArgs.builder()
.aws(AiGatewayAgentConfigUpstreamAuthAwsArgs.builder()
.accessKeyId("string")
.assumeRoleArn("string")
.region("string")
.roleSessionName("string")
.secretAccessKey("string")
.sessionToken("string")
.stsEndpointUrl("string")
.build())
.build())
.build())
.build())
.displayName("string")
.gatewayId("string")
.type("string")
.access(AiGatewayAgentAccessArgs.builder()
.acls(AiGatewayAgentAccessAclsArgs.builder()
.allows("string")
.denies("string")
.build())
.authStrategies("string")
.build())
.enabled(false)
.labels(Map.of("string", "string"))
.managedBy(Map.of("string", "string"))
.name("string")
.policies("string")
.build());
ai_gateway_agent_resource = konnect.AiGatewayAgent("aiGatewayAgentResource",
config={
"url": "string",
"logging": {
"max_payload_size": float(0),
"payloads": False,
},
"max_request_body_size": float(0),
"proxy": {
"auth": {
"password": "string",
"username": "string",
},
"http_proxy": {
"host": "string",
"port": float(0),
},
"https_proxy": {
"host": "string",
"port": float(0),
},
"no_proxy": "string",
"proxy_scheme": "string",
},
"route": {
"headers": {
"string": "string",
},
"hosts": ["string"],
"https_redirect_status_code": float(0),
"methods": ["string"],
"paths": ["string"],
"preserve_host": False,
"protocols": ["string"],
"regex_priority": float(0),
"request_buffering": False,
"response_buffering": False,
"strip_path": False,
"tags": ["string"],
},
"upstream": {
"auth": {
"aws": {
"access_key_id": "string",
"assume_role_arn": "string",
"region": "string",
"role_session_name": "string",
"secret_access_key": "string",
"session_token": "string",
"sts_endpoint_url": "string",
},
},
},
},
display_name="string",
gateway_id="string",
type="string",
access={
"acls": {
"allows": ["string"],
"denies": ["string"],
},
"auth_strategies": ["string"],
},
enabled=False,
labels={
"string": "string",
},
managed_by={
"string": "string",
},
name="string",
policies=["string"])
const aiGatewayAgentResource = new konnect.AiGatewayAgent("aiGatewayAgentResource", {
config: {
url: "string",
logging: {
maxPayloadSize: 0,
payloads: false,
},
maxRequestBodySize: 0,
proxy: {
auth: {
password: "string",
username: "string",
},
httpProxy: {
host: "string",
port: 0,
},
httpsProxy: {
host: "string",
port: 0,
},
noProxy: "string",
proxyScheme: "string",
},
route: {
headers: {
string: "string",
},
hosts: ["string"],
httpsRedirectStatusCode: 0,
methods: ["string"],
paths: ["string"],
preserveHost: false,
protocols: ["string"],
regexPriority: 0,
requestBuffering: false,
responseBuffering: false,
stripPath: false,
tags: ["string"],
},
upstream: {
auth: {
aws: {
accessKeyId: "string",
assumeRoleArn: "string",
region: "string",
roleSessionName: "string",
secretAccessKey: "string",
sessionToken: "string",
stsEndpointUrl: "string",
},
},
},
},
displayName: "string",
gatewayId: "string",
type: "string",
access: {
acls: {
allows: ["string"],
denies: ["string"],
},
authStrategies: ["string"],
},
enabled: false,
labels: {
string: "string",
},
managedBy: {
string: "string",
},
name: "string",
policies: ["string"],
});
type: konnect:AiGatewayAgent
properties:
access:
acls:
allows:
- string
denies:
- string
authStrategies:
- string
config:
logging:
maxPayloadSize: 0
payloads: false
maxRequestBodySize: 0
proxy:
auth:
password: string
username: string
httpProxy:
host: string
port: 0
httpsProxy:
host: string
port: 0
noProxy: string
proxyScheme: string
route:
headers:
string: string
hosts:
- string
httpsRedirectStatusCode: 0
methods:
- string
paths:
- string
preserveHost: false
protocols:
- string
regexPriority: 0
requestBuffering: false
responseBuffering: false
stripPath: false
tags:
- string
upstream:
auth:
aws:
accessKeyId: string
assumeRoleArn: string
region: string
roleSessionName: string
secretAccessKey: string
sessionToken: string
stsEndpointUrl: string
url: string
displayName: string
enabled: false
gatewayId: string
labels:
string: string
managedBy:
string: string
name: string
policies:
- string
type: string
AiGatewayAgent 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 AiGatewayAgent resource accepts the following input properties:
- Config
Ai
Gateway Agent Config - Configuration for the agent. The structure varies depending on the agent type.
- Display
Name string - The display name for this agent.
- Gateway
Id string - The unique ID of the AI Gateway.
- Type string
- The type of the agent. possible known values include one of ["a2a", "http"]
- Access
Ai
Gateway Agent Access - Access control configuration for an agent.
- Enabled bool
- Whether the Agent is enabled. Default: true
- Labels Dictionary<string, string>
- Public labels store information about an entity that can be used for filtering a list of objects.
- Managed
By Dictionary<string, string> - Name string
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- Policies List<string>
- List of policy references.
- Config
Ai
Gateway Agent Config Args - Configuration for the agent. The structure varies depending on the agent type.
- Display
Name string - The display name for this agent.
- Gateway
Id string - The unique ID of the AI Gateway.
- Type string
- The type of the agent. possible known values include one of ["a2a", "http"]
- Access
Ai
Gateway Agent Access Args - Access control configuration for an agent.
- Enabled bool
- Whether the Agent is enabled. Default: true
- Labels map[string]string
- Public labels store information about an entity that can be used for filtering a list of objects.
- Managed
By map[string]string - Name string
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- Policies []string
- List of policy references.
- config object
- Configuration for the agent. The structure varies depending on the agent type.
- display_
name string - The display name for this agent.
- gateway_
id string - The unique ID of the AI Gateway.
- type string
- The type of the agent. possible known values include one of ["a2a", "http"]
- access object
- Access control configuration for an agent.
- enabled bool
- Whether the Agent is enabled. Default: true
- labels map(string)
- Public labels store information about an entity that can be used for filtering a list of objects.
- managed_
by map(string) - name string
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- policies list(string)
- List of policy references.
- config
Ai
Gateway Agent Config - Configuration for the agent. The structure varies depending on the agent type.
- display
Name String - The display name for this agent.
- gateway
Id String - The unique ID of the AI Gateway.
- type String
- The type of the agent. possible known values include one of ["a2a", "http"]
- access
Ai
Gateway Agent Access - Access control configuration for an agent.
- enabled Boolean
- Whether the Agent is enabled. Default: true
- labels Map<String,String>
- Public labels store information about an entity that can be used for filtering a list of objects.
- managed
By Map<String,String> - name String
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- policies List<String>
- List of policy references.
- config
Ai
Gateway Agent Config - Configuration for the agent. The structure varies depending on the agent type.
- display
Name string - The display name for this agent.
- gateway
Id string - The unique ID of the AI Gateway.
- type string
- The type of the agent. possible known values include one of ["a2a", "http"]
- access
Ai
Gateway Agent Access - Access control configuration for an agent.
- enabled boolean
- Whether the Agent is enabled. Default: true
- labels {[key: string]: string}
- Public labels store information about an entity that can be used for filtering a list of objects.
- managed
By {[key: string]: string} - name string
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- policies string[]
- List of policy references.
- config
Ai
Gateway Agent Config Args - Configuration for the agent. The structure varies depending on the agent type.
- display_
name str - The display name for this agent.
- gateway_
id str - The unique ID of the AI Gateway.
- type str
- The type of the agent. possible known values include one of ["a2a", "http"]
- access
Ai
Gateway Agent Access Args - Access control configuration for an agent.
- enabled bool
- Whether the Agent is enabled. Default: true
- labels Mapping[str, str]
- Public labels store information about an entity that can be used for filtering a list of objects.
- managed_
by Mapping[str, str] - name str
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- policies Sequence[str]
- List of policy references.
- config Property Map
- Configuration for the agent. The structure varies depending on the agent type.
- display
Name String - The display name for this agent.
- gateway
Id String - The unique ID of the AI Gateway.
- type String
- The type of the agent. possible known values include one of ["a2a", "http"]
- access Property Map
- Access control configuration for an agent.
- enabled Boolean
- Whether the Agent is enabled. Default: true
- labels Map<String>
- Public labels store information about an entity that can be used for filtering a list of objects.
- managed
By Map<String> - name String
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- policies List<String>
- List of policy references.
Outputs
All input properties are implicitly available as output properties. Additionally, the AiGatewayAgent resource produces the following output properties:
- created_
at string - An ISO-8601 timestamp representation of entity creation date.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at string - An ISO-8601 timestamp representation of entity update date.
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
Look up Existing AiGatewayAgent Resource
Get an existing AiGatewayAgent 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?: AiGatewayAgentState, opts?: CustomResourceOptions): AiGatewayAgent@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access: Optional[AiGatewayAgentAccessArgs] = None,
config: Optional[AiGatewayAgentConfigArgs] = None,
created_at: Optional[str] = None,
display_name: Optional[str] = None,
enabled: Optional[bool] = None,
gateway_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
managed_by: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
policies: Optional[Sequence[str]] = None,
type: Optional[str] = None,
updated_at: Optional[str] = None) -> AiGatewayAgentfunc GetAiGatewayAgent(ctx *Context, name string, id IDInput, state *AiGatewayAgentState, opts ...ResourceOption) (*AiGatewayAgent, error)public static AiGatewayAgent Get(string name, Input<string> id, AiGatewayAgentState? state, CustomResourceOptions? opts = null)public static AiGatewayAgent get(String name, Output<String> id, AiGatewayAgentState state, CustomResourceOptions options)resources: _: type: konnect:AiGatewayAgent get: id: ${id}import {
to = konnect_ai_gateway_agent.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.
- Access
Ai
Gateway Agent Access - Access control configuration for an agent.
- Config
Ai
Gateway Agent Config - Configuration for the agent. The structure varies depending on the agent type.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Display
Name string - The display name for this agent.
- Enabled bool
- Whether the Agent is enabled. Default: true
- Gateway
Id string - The unique ID of the AI Gateway.
- Labels Dictionary<string, string>
- Public labels store information about an entity that can be used for filtering a list of objects.
- Managed
By Dictionary<string, string> - Name string
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- Policies List<string>
- List of policy references.
- Type string
- The type of the agent. possible known values include one of ["a2a", "http"]
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Access
Ai
Gateway Agent Access Args - Access control configuration for an agent.
- Config
Ai
Gateway Agent Config Args - Configuration for the agent. The structure varies depending on the agent type.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Display
Name string - The display name for this agent.
- Enabled bool
- Whether the Agent is enabled. Default: true
- Gateway
Id string - The unique ID of the AI Gateway.
- Labels map[string]string
- Public labels store information about an entity that can be used for filtering a list of objects.
- Managed
By map[string]string - Name string
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- Policies []string
- List of policy references.
- Type string
- The type of the agent. possible known values include one of ["a2a", "http"]
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- access object
- Access control configuration for an agent.
- config object
- Configuration for the agent. The structure varies depending on the agent type.
- created_
at string - An ISO-8601 timestamp representation of entity creation date.
- display_
name string - The display name for this agent.
- enabled bool
- Whether the Agent is enabled. Default: true
- gateway_
id string - The unique ID of the AI Gateway.
- labels map(string)
- Public labels store information about an entity that can be used for filtering a list of objects.
- managed_
by map(string) - name string
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- policies list(string)
- List of policy references.
- type string
- The type of the agent. possible known values include one of ["a2a", "http"]
- updated_
at string - An ISO-8601 timestamp representation of entity update date.
- access
Ai
Gateway Agent Access - Access control configuration for an agent.
- config
Ai
Gateway Agent Config - Configuration for the agent. The structure varies depending on the agent type.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- display
Name String - The display name for this agent.
- enabled Boolean
- Whether the Agent is enabled. Default: true
- gateway
Id String - The unique ID of the AI Gateway.
- labels Map<String,String>
- Public labels store information about an entity that can be used for filtering a list of objects.
- managed
By Map<String,String> - name String
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- policies List<String>
- List of policy references.
- type String
- The type of the agent. possible known values include one of ["a2a", "http"]
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- access
Ai
Gateway Agent Access - Access control configuration for an agent.
- config
Ai
Gateway Agent Config - Configuration for the agent. The structure varies depending on the agent type.
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- display
Name string - The display name for this agent.
- enabled boolean
- Whether the Agent is enabled. Default: true
- gateway
Id string - The unique ID of the AI Gateway.
- labels {[key: string]: string}
- Public labels store information about an entity that can be used for filtering a list of objects.
- managed
By {[key: string]: string} - name string
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- policies string[]
- List of policy references.
- type string
- The type of the agent. possible known values include one of ["a2a", "http"]
- updated
At string - An ISO-8601 timestamp representation of entity update date.
- access
Ai
Gateway Agent Access Args - Access control configuration for an agent.
- config
Ai
Gateway Agent Config Args - Configuration for the agent. The structure varies depending on the agent type.
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- display_
name str - The display name for this agent.
- enabled bool
- Whether the Agent is enabled. Default: true
- gateway_
id str - The unique ID of the AI Gateway.
- labels Mapping[str, str]
- Public labels store information about an entity that can be used for filtering a list of objects.
- managed_
by Mapping[str, str] - name str
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- policies Sequence[str]
- List of policy references.
- type str
- The type of the agent. possible known values include one of ["a2a", "http"]
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
- access Property Map
- Access control configuration for an agent.
- config Property Map
- Configuration for the agent. The structure varies depending on the agent type.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- display
Name String - The display name for this agent.
- enabled Boolean
- Whether the Agent is enabled. Default: true
- gateway
Id String - The unique ID of the AI Gateway.
- labels Map<String>
- Public labels store information about an entity that can be used for filtering a list of objects.
- managed
By Map<String> - name String
- A user-defined unique identifier for this agent, used as a stable human-readable reference. This value is immutable after creation.
- policies List<String>
- List of policy references.
- type String
- The type of the agent. possible known values include one of ["a2a", "http"]
- updated
At String - An ISO-8601 timestamp representation of entity update date.
Supporting Types
AiGatewayAgentAccess, AiGatewayAgentAccessArgs
- Acls
Ai
Gateway Agent Access Acls - Access control rules. Configure exactly one of
allowordeny. - Auth
Strategies List<string> - List of auth strategies for granting access to the agent. At most 1 auth strategy of each auth strategy type can be referenced.
- Identity
Providers List<string> - List of identity providers for granting access to the agent. At most 1 identity provider of each identity provider type can be referenced.
- Acls
Ai
Gateway Agent Access Acls - Access control rules. Configure exactly one of
allowordeny. - Auth
Strategies []string - List of auth strategies for granting access to the agent. At most 1 auth strategy of each auth strategy type can be referenced.
- Identity
Providers []string - List of identity providers for granting access to the agent. At most 1 identity provider of each identity provider type can be referenced.
- acls object
- Access control rules. Configure exactly one of
allowordeny. - auth_
strategies list(string) - List of auth strategies for granting access to the agent. At most 1 auth strategy of each auth strategy type can be referenced.
- identity_
providers list(string) - List of identity providers for granting access to the agent. At most 1 identity provider of each identity provider type can be referenced.
- acls
Ai
Gateway Agent Access Acls - Access control rules. Configure exactly one of
allowordeny. - auth
Strategies List<String> - List of auth strategies for granting access to the agent. At most 1 auth strategy of each auth strategy type can be referenced.
- identity
Providers List<String> - List of identity providers for granting access to the agent. At most 1 identity provider of each identity provider type can be referenced.
- acls
Ai
Gateway Agent Access Acls - Access control rules. Configure exactly one of
allowordeny. - auth
Strategies string[] - List of auth strategies for granting access to the agent. At most 1 auth strategy of each auth strategy type can be referenced.
- identity
Providers string[] - List of identity providers for granting access to the agent. At most 1 identity provider of each identity provider type can be referenced.
- acls
Ai
Gateway Agent Access Acls - Access control rules. Configure exactly one of
allowordeny. - auth_
strategies Sequence[str] - List of auth strategies for granting access to the agent. At most 1 auth strategy of each auth strategy type can be referenced.
- identity_
providers Sequence[str] - List of identity providers for granting access to the agent. At most 1 identity provider of each identity provider type can be referenced.
- acls Property Map
- Access control rules. Configure exactly one of
allowordeny. - auth
Strategies List<String> - List of auth strategies for granting access to the agent. At most 1 auth strategy of each auth strategy type can be referenced.
- identity
Providers List<String> - List of identity providers for granting access to the agent. At most 1 identity provider of each identity provider type can be referenced.
AiGatewayAgentAccessAcls, AiGatewayAgentAccessAclsArgs
AiGatewayAgentConfig, AiGatewayAgentConfigArgs
- Url string
- Helper field to set protocol, host, port and path of the upstream A2A Agent using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path}
- Logging
Ai
Gateway Agent Config Logging - Configuration for AI Gateway logging.
- Max
Request doubleBody Size - Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
- Proxy
Ai
Gateway Agent Config Proxy - HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
- Route
Ai
Gateway Agent Config Route - Configuration for an AI Gateway route.
- Upstream
Ai
Gateway Agent Config Upstream - Configuration applied when proxying to the upstream service, including authentication.
- Url string
- Helper field to set protocol, host, port and path of the upstream A2A Agent using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path}
- Logging
Ai
Gateway Agent Config Logging - Configuration for AI Gateway logging.
- Max
Request float64Body Size - Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
- Proxy
Ai
Gateway Agent Config Proxy - HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
- Route
Ai
Gateway Agent Config Route - Configuration for an AI Gateway route.
- Upstream
Ai
Gateway Agent Config Upstream - Configuration applied when proxying to the upstream service, including authentication.
- url string
- Helper field to set protocol, host, port and path of the upstream A2A Agent using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path}
- logging object
- Configuration for AI Gateway logging.
- max_
request_ numberbody_ size - Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
- proxy object
- HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
- route object
- Configuration for an AI Gateway route.
- upstream object
- Configuration applied when proxying to the upstream service, including authentication.
- url String
- Helper field to set protocol, host, port and path of the upstream A2A Agent using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path}
- logging
Ai
Gateway Agent Config Logging - Configuration for AI Gateway logging.
- max
Request DoubleBody Size - Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
- proxy
Ai
Gateway Agent Config Proxy - HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
- route
Ai
Gateway Agent Config Route - Configuration for an AI Gateway route.
- upstream
Ai
Gateway Agent Config Upstream - Configuration applied when proxying to the upstream service, including authentication.
- url string
- Helper field to set protocol, host, port and path of the upstream A2A Agent using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path}
- logging
Ai
Gateway Agent Config Logging - Configuration for AI Gateway logging.
- max
Request numberBody Size - Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
- proxy
Ai
Gateway Agent Config Proxy - HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
- route
Ai
Gateway Agent Config Route - Configuration for an AI Gateway route.
- upstream
Ai
Gateway Agent Config Upstream - Configuration applied when proxying to the upstream service, including authentication.
- url str
- Helper field to set protocol, host, port and path of the upstream A2A Agent using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path}
- logging
Ai
Gateway Agent Config Logging - Configuration for AI Gateway logging.
- max_
request_ floatbody_ size - Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
- proxy
Ai
Gateway Agent Config Proxy - HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
- route
Ai
Gateway Agent Config Route - Configuration for an AI Gateway route.
- upstream
Ai
Gateway Agent Config Upstream - Configuration applied when proxying to the upstream service, including authentication.
- url String
- Helper field to set protocol, host, port and path of the upstream A2A Agent using a URL. This is the same as a Kong Gateway Service URL: ${scheme}://${host}:${port}/${path}
- logging Property Map
- Configuration for AI Gateway logging.
- max
Request NumberBody Size - Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
- proxy Property Map
- HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
- route Property Map
- Configuration for an AI Gateway route.
- upstream Property Map
- Configuration applied when proxying to the upstream service, including authentication.
AiGatewayAgentConfigLogging, AiGatewayAgentConfigLoggingArgs
- Max
Payload doubleSize - Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated. Default: 1048576
- Payloads bool
- Default: false
- Max
Payload float64Size - Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated. Default: 1048576
- Payloads bool
- Default: false
- max_
payload_ numbersize - Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated. Default: 1048576
- payloads bool
- Default: false
- max
Payload DoubleSize - Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated. Default: 1048576
- payloads Boolean
- Default: false
- max
Payload numberSize - Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated. Default: 1048576
- payloads boolean
- Default: false
- max_
payload_ floatsize - Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated. Default: 1048576
- payloads bool
- Default: false
- max
Payload NumberSize - Maximum size in bytes for logged request/response payloads. Payloads exceeding this size will be truncated. Default: 1048576
- payloads Boolean
- Default: false
AiGatewayAgentConfigProxy, AiGatewayAgentConfigProxyArgs
- Auth
Ai
Gateway Agent Config Proxy Auth - Credentials used to authenticate to the proxy server.
- Http
Proxy AiGateway Agent Config Proxy Http Proxy - HTTP proxy server to route plaintext outbound requests through.
- Https
Proxy AiGateway Agent Config Proxy Https Proxy - HTTPS proxy server to route TLS outbound requests through.
- No
Proxy string - Comma-separated list of hosts that should not be proxied.
- Proxy
Scheme string - The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
- Auth
Ai
Gateway Agent Config Proxy Auth - Credentials used to authenticate to the proxy server.
- Http
Proxy AiGateway Agent Config Proxy Http Proxy - HTTP proxy server to route plaintext outbound requests through.
- Https
Proxy AiGateway Agent Config Proxy Https Proxy - HTTPS proxy server to route TLS outbound requests through.
- No
Proxy string - Comma-separated list of hosts that should not be proxied.
- Proxy
Scheme string - The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
- auth object
- Credentials used to authenticate to the proxy server.
- http_
proxy object - HTTP proxy server to route plaintext outbound requests through.
- https_
proxy object - HTTPS proxy server to route TLS outbound requests through.
- no_
proxy string - Comma-separated list of hosts that should not be proxied.
- proxy_
scheme string - The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
- auth
Ai
Gateway Agent Config Proxy Auth - Credentials used to authenticate to the proxy server.
- http
Proxy AiGateway Agent Config Proxy Http Proxy - HTTP proxy server to route plaintext outbound requests through.
- https
Proxy AiGateway Agent Config Proxy Https Proxy - HTTPS proxy server to route TLS outbound requests through.
- no
Proxy String - Comma-separated list of hosts that should not be proxied.
- proxy
Scheme String - The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
- auth
Ai
Gateway Agent Config Proxy Auth - Credentials used to authenticate to the proxy server.
- http
Proxy AiGateway Agent Config Proxy Http Proxy - HTTP proxy server to route plaintext outbound requests through.
- https
Proxy AiGateway Agent Config Proxy Https Proxy - HTTPS proxy server to route TLS outbound requests through.
- no
Proxy string - Comma-separated list of hosts that should not be proxied.
- proxy
Scheme string - The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
- auth
Ai
Gateway Agent Config Proxy Auth - Credentials used to authenticate to the proxy server.
- http_
proxy AiGateway Agent Config Proxy Http Proxy - HTTP proxy server to route plaintext outbound requests through.
- https_
proxy AiGateway Agent Config Proxy Https Proxy - HTTPS proxy server to route TLS outbound requests through.
- no_
proxy str - Comma-separated list of hosts that should not be proxied.
- proxy_
scheme str - The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
- auth Property Map
- Credentials used to authenticate to the proxy server.
- http
Proxy Property Map - HTTP proxy server to route plaintext outbound requests through.
- https
Proxy Property Map - HTTPS proxy server to route TLS outbound requests through.
- no
Proxy String - Comma-separated list of hosts that should not be proxied.
- proxy
Scheme String - The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
AiGatewayAgentConfigProxyAuth, AiGatewayAgentConfigProxyAuthArgs
- Password string
- The password to use for proxy authentication. This field is referenceable.
- Username string
- The username to use for proxy authentication. This field is referenceable.
- Password string
- The password to use for proxy authentication. This field is referenceable.
- Username string
- The username to use for proxy authentication. This field is referenceable.
- password string
- The password to use for proxy authentication. This field is referenceable.
- username string
- The username to use for proxy authentication. This field is referenceable.
- password String
- The password to use for proxy authentication. This field is referenceable.
- username String
- The username to use for proxy authentication. This field is referenceable.
- password string
- The password to use for proxy authentication. This field is referenceable.
- username string
- The username to use for proxy authentication. This field is referenceable.
- password str
- The password to use for proxy authentication. This field is referenceable.
- username str
- The username to use for proxy authentication. This field is referenceable.
- password String
- The password to use for proxy authentication. This field is referenceable.
- username String
- The username to use for proxy authentication. This field is referenceable.
AiGatewayAgentConfigProxyHttpProxy, AiGatewayAgentConfigProxyHttpProxyArgs
AiGatewayAgentConfigProxyHttpsProxy, AiGatewayAgentConfigProxyHttpsProxyArgs
AiGatewayAgentConfigRoute, AiGatewayAgentConfigRouteArgs
- Headers Dictionary<string, string>
- One or more lists of values indexed by header name that will cause this route to match if present in the request. The
Hostheader cannot be used with this attribute: hosts should be specified using thehostsattribute. Whenheaderscontains only one value and that value starts with the special prefix~*, the value is interpreted as a regular expression. - Hosts List<string>
- A list of domain names that match this route. Note that the hosts value is case sensitive.
- Https
Redirect doubleStatus Code - The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is
HTTPinstead ofHTTPS.Locationheader is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept thehttpsprotocol. Default: 426 - Methods List<string>
- A list of HTTP methods that match this route.
- Paths List<string>
- A list of paths that match this route.
- Preserve
Host bool - When matching a route via one of the
hostsdomain names, use the requestHostheader in the upstream request headers. If set tofalse, the upstreamHostheader will be that of the service'shost. Default: false - Protocols List<string>
- An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only
https, HTTP requests are answered with an upgrade error. When set to onlyhttp, HTTPS requests are answered with an error. Default: ["http","https"] - Regex
Priority double - A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same
regex_priority, the older one (lowestcreated_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0 - Request
Buffering bool - Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
- Response
Buffering bool - Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
- Strip
Path bool - When matching a route via one of the
paths, strip the matching prefix from the upstream request URL. Default: true - List<string>
- An optional set of strings associated with the route for grouping and filtering.
- Headers map[string]string
- One or more lists of values indexed by header name that will cause this route to match if present in the request. The
Hostheader cannot be used with this attribute: hosts should be specified using thehostsattribute. Whenheaderscontains only one value and that value starts with the special prefix~*, the value is interpreted as a regular expression. - Hosts []string
- A list of domain names that match this route. Note that the hosts value is case sensitive.
- Https
Redirect float64Status Code - The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is
HTTPinstead ofHTTPS.Locationheader is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept thehttpsprotocol. Default: 426 - Methods []string
- A list of HTTP methods that match this route.
- Paths []string
- A list of paths that match this route.
- Preserve
Host bool - When matching a route via one of the
hostsdomain names, use the requestHostheader in the upstream request headers. If set tofalse, the upstreamHostheader will be that of the service'shost. Default: false - Protocols []string
- An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only
https, HTTP requests are answered with an upgrade error. When set to onlyhttp, HTTPS requests are answered with an error. Default: ["http","https"] - Regex
Priority float64 - A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same
regex_priority, the older one (lowestcreated_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0 - Request
Buffering bool - Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
- Response
Buffering bool - Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
- Strip
Path bool - When matching a route via one of the
paths, strip the matching prefix from the upstream request URL. Default: true - []string
- An optional set of strings associated with the route for grouping and filtering.
- headers map(string)
- One or more lists of values indexed by header name that will cause this route to match if present in the request. The
Hostheader cannot be used with this attribute: hosts should be specified using thehostsattribute. Whenheaderscontains only one value and that value starts with the special prefix~*, the value is interpreted as a regular expression. - hosts list(string)
- A list of domain names that match this route. Note that the hosts value is case sensitive.
- https_
redirect_ numberstatus_ code - The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is
HTTPinstead ofHTTPS.Locationheader is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept thehttpsprotocol. Default: 426 - methods list(string)
- A list of HTTP methods that match this route.
- paths list(string)
- A list of paths that match this route.
- preserve_
host bool - When matching a route via one of the
hostsdomain names, use the requestHostheader in the upstream request headers. If set tofalse, the upstreamHostheader will be that of the service'shost. Default: false - protocols list(string)
- An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only
https, HTTP requests are answered with an upgrade error. When set to onlyhttp, HTTPS requests are answered with an error. Default: ["http","https"] - regex_
priority number - A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same
regex_priority, the older one (lowestcreated_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0 - request_
buffering bool - Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
- response_
buffering bool - Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
- strip_
path bool - When matching a route via one of the
paths, strip the matching prefix from the upstream request URL. Default: true - list(string)
- An optional set of strings associated with the route for grouping and filtering.
- headers Map<String,String>
- One or more lists of values indexed by header name that will cause this route to match if present in the request. The
Hostheader cannot be used with this attribute: hosts should be specified using thehostsattribute. Whenheaderscontains only one value and that value starts with the special prefix~*, the value is interpreted as a regular expression. - hosts List<String>
- A list of domain names that match this route. Note that the hosts value is case sensitive.
- https
Redirect DoubleStatus Code - The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is
HTTPinstead ofHTTPS.Locationheader is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept thehttpsprotocol. Default: 426 - methods List<String>
- A list of HTTP methods that match this route.
- paths List<String>
- A list of paths that match this route.
- preserve
Host Boolean - When matching a route via one of the
hostsdomain names, use the requestHostheader in the upstream request headers. If set tofalse, the upstreamHostheader will be that of the service'shost. Default: false - protocols List<String>
- An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only
https, HTTP requests are answered with an upgrade error. When set to onlyhttp, HTTPS requests are answered with an error. Default: ["http","https"] - regex
Priority Double - A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same
regex_priority, the older one (lowestcreated_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0 - request
Buffering Boolean - Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
- response
Buffering Boolean - Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
- strip
Path Boolean - When matching a route via one of the
paths, strip the matching prefix from the upstream request URL. Default: true - List<String>
- An optional set of strings associated with the route for grouping and filtering.
- headers {[key: string]: string}
- One or more lists of values indexed by header name that will cause this route to match if present in the request. The
Hostheader cannot be used with this attribute: hosts should be specified using thehostsattribute. Whenheaderscontains only one value and that value starts with the special prefix~*, the value is interpreted as a regular expression. - hosts string[]
- A list of domain names that match this route. Note that the hosts value is case sensitive.
- https
Redirect numberStatus Code - The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is
HTTPinstead ofHTTPS.Locationheader is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept thehttpsprotocol. Default: 426 - methods string[]
- A list of HTTP methods that match this route.
- paths string[]
- A list of paths that match this route.
- preserve
Host boolean - When matching a route via one of the
hostsdomain names, use the requestHostheader in the upstream request headers. If set tofalse, the upstreamHostheader will be that of the service'shost. Default: false - protocols string[]
- An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only
https, HTTP requests are answered with an upgrade error. When set to onlyhttp, HTTPS requests are answered with an error. Default: ["http","https"] - regex
Priority number - A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same
regex_priority, the older one (lowestcreated_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0 - request
Buffering boolean - Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
- response
Buffering boolean - Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
- strip
Path boolean - When matching a route via one of the
paths, strip the matching prefix from the upstream request URL. Default: true - string[]
- An optional set of strings associated with the route for grouping and filtering.
- headers Mapping[str, str]
- One or more lists of values indexed by header name that will cause this route to match if present in the request. The
Hostheader cannot be used with this attribute: hosts should be specified using thehostsattribute. Whenheaderscontains only one value and that value starts with the special prefix~*, the value is interpreted as a regular expression. - hosts Sequence[str]
- A list of domain names that match this route. Note that the hosts value is case sensitive.
- https_
redirect_ floatstatus_ code - The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is
HTTPinstead ofHTTPS.Locationheader is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept thehttpsprotocol. Default: 426 - methods Sequence[str]
- A list of HTTP methods that match this route.
- paths Sequence[str]
- A list of paths that match this route.
- preserve_
host bool - When matching a route via one of the
hostsdomain names, use the requestHostheader in the upstream request headers. If set tofalse, the upstreamHostheader will be that of the service'shost. Default: false - protocols Sequence[str]
- An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only
https, HTTP requests are answered with an upgrade error. When set to onlyhttp, HTTPS requests are answered with an error. Default: ["http","https"] - regex_
priority float - A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same
regex_priority, the older one (lowestcreated_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0 - request_
buffering bool - Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
- response_
buffering bool - Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
- strip_
path bool - When matching a route via one of the
paths, strip the matching prefix from the upstream request URL. Default: true - Sequence[str]
- An optional set of strings associated with the route for grouping and filtering.
- headers Map<String>
- One or more lists of values indexed by header name that will cause this route to match if present in the request. The
Hostheader cannot be used with this attribute: hosts should be specified using thehostsattribute. Whenheaderscontains only one value and that value starts with the special prefix~*, the value is interpreted as a regular expression. - hosts List<String>
- A list of domain names that match this route. Note that the hosts value is case sensitive.
- https
Redirect NumberStatus Code - The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is
HTTPinstead ofHTTPS.Locationheader is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept thehttpsprotocol. Default: 426 - methods List<String>
- A list of HTTP methods that match this route.
- paths List<String>
- A list of paths that match this route.
- preserve
Host Boolean - When matching a route via one of the
hostsdomain names, use the requestHostheader in the upstream request headers. If set tofalse, the upstreamHostheader will be that of the service'shost. Default: false - protocols List<String>
- An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only
https, HTTP requests are answered with an upgrade error. When set to onlyhttp, HTTPS requests are answered with an error. Default: ["http","https"] - regex
Priority Number - A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same
regex_priority, the older one (lowestcreated_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0 - request
Buffering Boolean - Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
- response
Buffering Boolean - Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
- strip
Path Boolean - When matching a route via one of the
paths, strip the matching prefix from the upstream request URL. Default: true - List<String>
- An optional set of strings associated with the route for grouping and filtering.
AiGatewayAgentConfigUpstream, AiGatewayAgentConfigUpstreamArgs
- Auth
Ai
Gateway Agent Config Upstream Auth - Authentication to use when proxying to the upstream service.
- Auth
Ai
Gateway Agent Config Upstream Auth - Authentication to use when proxying to the upstream service.
- auth
Ai
Gateway Agent Config Upstream Auth - Authentication to use when proxying to the upstream service.
- auth
Ai
Gateway Agent Config Upstream Auth - Authentication to use when proxying to the upstream service.
- auth
Ai
Gateway Agent Config Upstream Auth - Authentication to use when proxying to the upstream service.
- auth Property Map
- Authentication to use when proxying to the upstream service.
AiGatewayAgentConfigUpstreamAuth, AiGatewayAgentConfigUpstreamAuthArgs
- Aws
Ai
Gateway Agent Config Upstream Auth Aws - AWS IAM (SigV4) authentication for the upstream service.
- Aws
Ai
Gateway Agent Config Upstream Auth Aws - AWS IAM (SigV4) authentication for the upstream service.
- aws
Ai
Gateway Agent Config Upstream Auth Aws - AWS IAM (SigV4) authentication for the upstream service.
- aws
Ai
Gateway Agent Config Upstream Auth Aws - AWS IAM (SigV4) authentication for the upstream service.
- aws
Ai
Gateway Agent Config Upstream Auth Aws - AWS IAM (SigV4) authentication for the upstream service.
- aws Property Map
- AWS IAM (SigV4) authentication for the upstream service.
AiGatewayAgentConfigUpstreamAuthAws, AiGatewayAgentConfigUpstreamAuthAwsArgs
- Access
Key stringId - The access key id for authenticating with static IAM User credentials. This field is referenceable.
- Assume
Role stringArn - The ARN of the IAM role to assume for generating authentication tokens. This field is referenceable.
- Region string
- The AWS region of the upstream service. Overrides the region inferred from the environment.
- Role
Session stringName - The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
- Secret
Access stringKey - The secret access key for authenticating with static IAM User credentials. This field is referenceable.
- Session
Token string - The session token for authenticating with temporary IAM credentials. This field is referenceable.
- Sts
Endpoint stringUrl - The STS endpoint URL to use for generating authentication tokens. If not specified, the default AWS STS endpoint will be used.
- Access
Key stringId - The access key id for authenticating with static IAM User credentials. This field is referenceable.
- Assume
Role stringArn - The ARN of the IAM role to assume for generating authentication tokens. This field is referenceable.
- Region string
- The AWS region of the upstream service. Overrides the region inferred from the environment.
- Role
Session stringName - The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
- Secret
Access stringKey - The secret access key for authenticating with static IAM User credentials. This field is referenceable.
- Session
Token string - The session token for authenticating with temporary IAM credentials. This field is referenceable.
- Sts
Endpoint stringUrl - The STS endpoint URL to use for generating authentication tokens. If not specified, the default AWS STS endpoint will be used.
- access_
key_ stringid - The access key id for authenticating with static IAM User credentials. This field is referenceable.
- assume_
role_ stringarn - The ARN of the IAM role to assume for generating authentication tokens. This field is referenceable.
- region string
- The AWS region of the upstream service. Overrides the region inferred from the environment.
- role_
session_ stringname - The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
- secret_
access_ stringkey - The secret access key for authenticating with static IAM User credentials. This field is referenceable.
- session_
token string - The session token for authenticating with temporary IAM credentials. This field is referenceable.
- sts_
endpoint_ stringurl - The STS endpoint URL to use for generating authentication tokens. If not specified, the default AWS STS endpoint will be used.
- access
Key StringId - The access key id for authenticating with static IAM User credentials. This field is referenceable.
- assume
Role StringArn - The ARN of the IAM role to assume for generating authentication tokens. This field is referenceable.
- region String
- The AWS region of the upstream service. Overrides the region inferred from the environment.
- role
Session StringName - The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
- secret
Access StringKey - The secret access key for authenticating with static IAM User credentials. This field is referenceable.
- session
Token String - The session token for authenticating with temporary IAM credentials. This field is referenceable.
- sts
Endpoint StringUrl - The STS endpoint URL to use for generating authentication tokens. If not specified, the default AWS STS endpoint will be used.
- access
Key stringId - The access key id for authenticating with static IAM User credentials. This field is referenceable.
- assume
Role stringArn - The ARN of the IAM role to assume for generating authentication tokens. This field is referenceable.
- region string
- The AWS region of the upstream service. Overrides the region inferred from the environment.
- role
Session stringName - The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
- secret
Access stringKey - The secret access key for authenticating with static IAM User credentials. This field is referenceable.
- session
Token string - The session token for authenticating with temporary IAM credentials. This field is referenceable.
- sts
Endpoint stringUrl - The STS endpoint URL to use for generating authentication tokens. If not specified, the default AWS STS endpoint will be used.
- access_
key_ strid - The access key id for authenticating with static IAM User credentials. This field is referenceable.
- assume_
role_ strarn - The ARN of the IAM role to assume for generating authentication tokens. This field is referenceable.
- region str
- The AWS region of the upstream service. Overrides the region inferred from the environment.
- role_
session_ strname - The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
- secret_
access_ strkey - The secret access key for authenticating with static IAM User credentials. This field is referenceable.
- session_
token str - The session token for authenticating with temporary IAM credentials. This field is referenceable.
- sts_
endpoint_ strurl - The STS endpoint URL to use for generating authentication tokens. If not specified, the default AWS STS endpoint will be used.
- access
Key StringId - The access key id for authenticating with static IAM User credentials. This field is referenceable.
- assume
Role StringArn - The ARN of the IAM role to assume for generating authentication tokens. This field is referenceable.
- region String
- The AWS region of the upstream service. Overrides the region inferred from the environment.
- role
Session StringName - The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
- secret
Access StringKey - The secret access key for authenticating with static IAM User credentials. This field is referenceable.
- session
Token String - The session token for authenticating with temporary IAM credentials. This field is referenceable.
- sts
Endpoint StringUrl - The STS endpoint URL to use for generating authentication tokens. If not specified, the default AWS STS endpoint will be used.
Import
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
terraform
import {
to = konnect_ai_gateway_agent.my_konnect_ai_gateway_agent
id = jsonencode({
gateway_id = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
id = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
})
}
The pulumi import command can be used, for example:
$ pulumi import konnect:index/aiGatewayAgent:AiGatewayAgent my_konnect_ai_gateway_agent '{"gateway_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7", "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"}'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnectTerraform Provider.
published on Friday, Sep 18, 2026 by kong