published on Friday, Sep 18, 2026 by kong
published on Friday, Sep 18, 2026 by kong
AIGatewaySNI Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myAigatewaysni = new konnect.AiGatewaySni("my_aigatewaysni", {
certificate: "my-certificate",
displayName: "My SNI",
gatewayId: "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
hostname: "example.org",
labels: {
key: "value",
},
managedBy: {
key: "value",
},
name: "my-sni",
});
import pulumi
import pulumi_konnect as konnect
my_aigatewaysni = konnect.AiGatewaySni("my_aigatewaysni",
certificate="my-certificate",
display_name="My SNI",
gateway_id="5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
hostname="example.org",
labels={
"key": "value",
},
managed_by={
"key": "value",
},
name="my-sni")
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.NewAiGatewaySni(ctx, "my_aigatewaysni", &konnect.AiGatewaySniArgs{
Certificate: pulumi.String("my-certificate"),
DisplayName: pulumi.String("My SNI"),
GatewayId: pulumi.String("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
Hostname: pulumi.String("example.org"),
Labels: pulumi.StringMap{
"key": pulumi.String("value"),
},
ManagedBy: pulumi.StringMap{
"key": pulumi.String("value"),
},
Name: pulumi.String("my-sni"),
})
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 myAigatewaysni = new Konnect.AiGatewaySni("my_aigatewaysni", new()
{
Certificate = "my-certificate",
DisplayName = "My SNI",
GatewayId = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
Hostname = "example.org",
Labels =
{
{ "key", "value" },
},
ManagedBy =
{
{ "key", "value" },
},
Name = "my-sni",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.AiGatewaySni;
import com.pulumi.konnect.AiGatewaySniArgs;
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 myAigatewaysni = new AiGatewaySni("myAigatewaysni", AiGatewaySniArgs.builder()
.certificate("my-certificate")
.displayName("My SNI")
.gatewayId("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7")
.hostname("example.org")
.labels(Map.of("key", "value"))
.managedBy(Map.of("key", "value"))
.name("my-sni")
.build());
}
}
resources:
myAigatewaysni:
type: konnect:AiGatewaySni
name: my_aigatewaysni
properties:
certificate: my-certificate
displayName: My SNI
gatewayId: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7
hostname: example.org
labels:
key: value
managedBy:
key: value
name: my-sni
Example coming soon!
Create AiGatewaySni Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AiGatewaySni(name: string, args: AiGatewaySniArgs, opts?: CustomResourceOptions);@overload
def AiGatewaySni(resource_name: str,
args: AiGatewaySniArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AiGatewaySni(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
display_name: Optional[str] = None,
gateway_id: Optional[str] = None,
hostname: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
managed_by: Optional[Mapping[str, str]] = None,
name: Optional[str] = None)func NewAiGatewaySni(ctx *Context, name string, args AiGatewaySniArgs, opts ...ResourceOption) (*AiGatewaySni, error)public AiGatewaySni(string name, AiGatewaySniArgs args, CustomResourceOptions? opts = null)
public AiGatewaySni(String name, AiGatewaySniArgs args)
public AiGatewaySni(String name, AiGatewaySniArgs args, CustomResourceOptions options)
type: konnect:AiGatewaySni
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "konnect_ai_gateway_sni" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AiGatewaySniArgs
- 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 AiGatewaySniArgs
- 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 AiGatewaySniArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiGatewaySniArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AiGatewaySniArgs
- 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 aiGatewaySniResource = new Konnect.AiGatewaySni("aiGatewaySniResource", new()
{
Certificate = "string",
DisplayName = "string",
GatewayId = "string",
Hostname = "string",
Labels =
{
{ "string", "string" },
},
ManagedBy =
{
{ "string", "string" },
},
Name = "string",
});
example, err := konnect.NewAiGatewaySni(ctx, "aiGatewaySniResource", &konnect.AiGatewaySniArgs{
Certificate: pulumi.String("string"),
DisplayName: pulumi.String("string"),
GatewayId: pulumi.String("string"),
Hostname: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ManagedBy: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
})
resource "konnect_ai_gateway_sni" "aiGatewaySniResource" {
lifecycle {
create_before_destroy = true
}
certificate = "string"
display_name = "string"
gateway_id = "string"
hostname = "string"
labels = {
"string" = "string"
}
managed_by = {
"string" = "string"
}
name = "string"
}
var aiGatewaySniResource = new AiGatewaySni("aiGatewaySniResource", AiGatewaySniArgs.builder()
.certificate("string")
.displayName("string")
.gatewayId("string")
.hostname("string")
.labels(Map.of("string", "string"))
.managedBy(Map.of("string", "string"))
.name("string")
.build());
ai_gateway_sni_resource = konnect.AiGatewaySni("aiGatewaySniResource",
certificate="string",
display_name="string",
gateway_id="string",
hostname="string",
labels={
"string": "string",
},
managed_by={
"string": "string",
},
name="string")
const aiGatewaySniResource = new konnect.AiGatewaySni("aiGatewaySniResource", {
certificate: "string",
displayName: "string",
gatewayId: "string",
hostname: "string",
labels: {
string: "string",
},
managedBy: {
string: "string",
},
name: "string",
});
type: konnect:AiGatewaySni
properties:
certificate: string
displayName: string
gatewayId: string
hostname: string
labels:
string: string
managedBy:
string: string
name: string
AiGatewaySni 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 AiGatewaySni resource accepts the following input properties:
- Certificate string
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- Display
Name string - The display name for this SNI.
- Gateway
Id string - The unique ID of the AI Gateway.
- Hostname string
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- Certificate string
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- Display
Name string - The display name for this SNI.
- Gateway
Id string - The unique ID of the AI Gateway.
- Hostname string
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- certificate string
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- display_
name string - The display name for this SNI.
- gateway_
id string - The unique ID of the AI Gateway.
- hostname string
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- certificate String
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- display
Name String - The display name for this SNI.
- gateway
Id String - The unique ID of the AI Gateway.
- hostname String
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- certificate string
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- display
Name string - The display name for this SNI.
- gateway
Id string - The unique ID of the AI Gateway.
- hostname string
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- certificate str
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- display_
name str - The display name for this SNI.
- gateway_
id str - The unique ID of the AI Gateway.
- hostname str
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- certificate String
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- display
Name String - The display name for this SNI.
- gateway
Id String - The unique ID of the AI Gateway.
- hostname String
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
Outputs
All input properties are implicitly available as output properties. Additionally, the AiGatewaySni 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 AiGatewaySni Resource
Get an existing AiGatewaySni 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?: AiGatewaySniState, opts?: CustomResourceOptions): AiGatewaySni@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
created_at: Optional[str] = None,
display_name: Optional[str] = None,
gateway_id: Optional[str] = None,
hostname: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
managed_by: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
updated_at: Optional[str] = None) -> AiGatewaySnifunc GetAiGatewaySni(ctx *Context, name string, id IDInput, state *AiGatewaySniState, opts ...ResourceOption) (*AiGatewaySni, error)public static AiGatewaySni Get(string name, Input<string> id, AiGatewaySniState? state, CustomResourceOptions? opts = null)public static AiGatewaySni get(String name, Output<String> id, AiGatewaySniState state, CustomResourceOptions options)resources: _: type: konnect:AiGatewaySni get: id: ${id}import {
to = konnect_ai_gateway_sni.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.
- Certificate string
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Display
Name string - The display name for this SNI.
- Gateway
Id string - The unique ID of the AI Gateway.
- Hostname string
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Certificate string
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Display
Name string - The display name for this SNI.
- Gateway
Id string - The unique ID of the AI Gateway.
- Hostname string
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- certificate string
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- created_
at string - An ISO-8601 timestamp representation of entity creation date.
- display_
name string - The display name for this SNI.
- gateway_
id string - The unique ID of the AI Gateway.
- hostname string
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- updated_
at string - An ISO-8601 timestamp representation of entity update date.
- certificate String
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- display
Name String - The display name for this SNI.
- gateway
Id String - The unique ID of the AI Gateway.
- hostname String
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- certificate string
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- display
Name string - The display name for this SNI.
- gateway
Id string - The unique ID of the AI Gateway.
- hostname string
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- updated
At string - An ISO-8601 timestamp representation of entity update date.
- certificate str
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- display_
name str - The display name for this SNI.
- gateway_
id str - The unique ID of the AI Gateway.
- hostname str
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
- certificate String
- A reference to the certificate with which to associate the SNI hostname, by certificate name. The certificate must have a valid private key to be used by the SNI.
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- display
Name String - The display name for this SNI.
- gateway
Id String - The unique ID of the AI Gateway.
- hostname String
- A hostname used for TLS Server Name Indication (SNI) matching. Supports an optional wildcard segment at either end of the hostname (for example
*.example.comorexample.*). - 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
- The name for this SNI. This value is immutable after creation.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
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_sni.my_konnect_ai_gateway_sni
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/aiGatewaySni:AiGatewaySni my_konnect_ai_gateway_sni '{"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