1. Registry
  2. Packages
  3. Aiven Provider
  4. API Docs
  5. KafkaNativeAcl
Viewing docs for Aiven v6.60.0
published on Wednesday, Sep 23, 2026 by Pulumi
aiven logo aiven logo
Viewing docs for Aiven v6.60.0
published on Wednesday, Sep 23, 2026 by Pulumi

    Creates and manages Kafka-native access control lists (ACLs) for an Aiven for Apache Kafka® service. ACLs control access to Kafka topics, consumer groups, clusters, and Schema Registry.

    Kafka-native ACLs provide advanced resource-level access control with fine-grained permissions, including ALLOW and DENY rules. For simplified topic-level control you can use Aiven ACLs. If this resource is missing (for example, after a service power off), it’s removed from the state and a new create plan is generated.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    const example = new aiven.KafkaNativeAcl("example", {
        project: "my-project",
        serviceName: "my-kafka",
        operation: "Read",
        patternType: "LITERAL",
        permissionType: "ALLOW",
        principal: "User:alice",
        resourceName: "consumer-group-1.",
        resourceType: "Topic",
        host: "*",
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    example = aiven.KafkaNativeAcl("example",
        project="my-project",
        service_name="my-kafka",
        operation="Read",
        pattern_type="LITERAL",
        permission_type="ALLOW",
        principal="User:alice",
        resource_name_="consumer-group-1.",
        resource_type="Topic",
        host="*")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aiven.NewKafkaNativeAcl(ctx, "example", &aiven.KafkaNativeAclArgs{
    			Project:        pulumi.String("my-project"),
    			ServiceName:    pulumi.String("my-kafka"),
    			Operation:      pulumi.String("Read"),
    			PatternType:    pulumi.String("LITERAL"),
    			PermissionType: pulumi.String("ALLOW"),
    			Principal:      pulumi.String("User:alice"),
    			ResourceName:   pulumi.String("consumer-group-1."),
    			ResourceType:   pulumi.String("Topic"),
    			Host:           pulumi.String("*"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aiven = Pulumi.Aiven;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aiven.KafkaNativeAcl("example", new()
        {
            Project = "my-project",
            ServiceName = "my-kafka",
            Operation = "Read",
            PatternType = "LITERAL",
            PermissionType = "ALLOW",
            Principal = "User:alice",
            ResourceName = "consumer-group-1.",
            ResourceType = "Topic",
            Host = "*",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aiven.KafkaNativeAcl;
    import com.pulumi.aiven.KafkaNativeAclArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 example = new KafkaNativeAcl("example", KafkaNativeAclArgs.builder()
                .project("my-project")
                .serviceName("my-kafka")
                .operation("Read")
                .patternType("LITERAL")
                .permissionType("ALLOW")
                .principal("User:alice")
                .resourceName("consumer-group-1.")
                .resourceType("Topic")
                .host("*")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aiven:KafkaNativeAcl
        properties:
          project: my-project
          serviceName: my-kafka
          operation: Read
          patternType: LITERAL
          permissionType: ALLOW
          principal: User:alice
          resourceName: consumer-group-1.
          resourceType: Topic
          host: '*'
    
    pulumi {
      required_providers {
        aiven = {
          source = "pulumi/aiven"
        }
      }
    }
    
    resource "aiven_kafkanativeacl" "example" {
      project         = "my-project"
      service_name    = "my-kafka"
      operation       = "Read"
      pattern_type    = "LITERAL"
      permission_type = "ALLOW"
      principal       = "User:alice"
      resource_name   = "consumer-group-1."
      resource_type   = "Topic"
      host            = "*"
    }
    

    Create KafkaNativeAcl Resource

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

    Constructor syntax

    new KafkaNativeAcl(name: string, args: KafkaNativeAclArgs, opts?: CustomResourceOptions);
    @overload
    def KafkaNativeAcl(resource_name: str,
                       args: KafkaNativeAclArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def KafkaNativeAcl(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       operation: Optional[str] = None,
                       pattern_type: Optional[str] = None,
                       permission_type: Optional[str] = None,
                       principal: Optional[str] = None,
                       project: Optional[str] = None,
                       resource_name_: Optional[str] = None,
                       resource_type: Optional[str] = None,
                       service_name: Optional[str] = None,
                       host: Optional[str] = None,
                       timeouts: Optional[KafkaNativeAclTimeoutsArgs] = None)
    func NewKafkaNativeAcl(ctx *Context, name string, args KafkaNativeAclArgs, opts ...ResourceOption) (*KafkaNativeAcl, error)
    public KafkaNativeAcl(string name, KafkaNativeAclArgs args, CustomResourceOptions? opts = null)
    public KafkaNativeAcl(String name, KafkaNativeAclArgs args)
    public KafkaNativeAcl(String name, KafkaNativeAclArgs args, CustomResourceOptions options)
    
    type: aiven:KafkaNativeAcl
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aiven_kafka_native_acl" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args KafkaNativeAclArgs
    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 KafkaNativeAclArgs
    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 KafkaNativeAclArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KafkaNativeAclArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KafkaNativeAclArgs
    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 kafkaNativeAclResource = new Aiven.KafkaNativeAcl("kafkaNativeAclResource", new()
    {
        Operation = "string",
        PatternType = "string",
        PermissionType = "string",
        Principal = "string",
        Project = "string",
        ResourceName = "string",
        ResourceType = "string",
        ServiceName = "string",
        Host = "string",
        Timeouts = new Aiven.Inputs.KafkaNativeAclTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := aiven.NewKafkaNativeAcl(ctx, "kafkaNativeAclResource", &aiven.KafkaNativeAclArgs{
    	Operation:      pulumi.String("string"),
    	PatternType:    pulumi.String("string"),
    	PermissionType: pulumi.String("string"),
    	Principal:      pulumi.String("string"),
    	Project:        pulumi.String("string"),
    	ResourceName:   pulumi.String("string"),
    	ResourceType:   pulumi.String("string"),
    	ServiceName:    pulumi.String("string"),
    	Host:           pulumi.String("string"),
    	Timeouts: &aiven.KafkaNativeAclTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "aiven_kafka_native_acl" "kafkaNativeAclResource" {
      lifecycle {
        create_before_destroy = true
      }
      operation       = "string"
      pattern_type    = "string"
      permission_type = "string"
      principal       = "string"
      project         = "string"
      resource_name   = "string"
      resource_type   = "string"
      service_name    = "string"
      host            = "string"
      timeouts = {
        create = "string"
        delete = "string"
        read   = "string"
        update = "string"
      }
    }
    
    var kafkaNativeAclResource = new KafkaNativeAcl("kafkaNativeAclResource", KafkaNativeAclArgs.builder()
        .operation("string")
        .patternType("string")
        .permissionType("string")
        .principal("string")
        .project("string")
        .resourceName("string")
        .resourceType("string")
        .serviceName("string")
        .host("string")
        .timeouts(KafkaNativeAclTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    kafka_native_acl_resource = aiven.KafkaNativeAcl("kafkaNativeAclResource",
        operation="string",
        pattern_type="string",
        permission_type="string",
        principal="string",
        project="string",
        resource_name_="string",
        resource_type="string",
        service_name="string",
        host="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const kafkaNativeAclResource = new aiven.KafkaNativeAcl("kafkaNativeAclResource", {
        operation: "string",
        patternType: "string",
        permissionType: "string",
        principal: "string",
        project: "string",
        resourceName: "string",
        resourceType: "string",
        serviceName: "string",
        host: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: aiven:KafkaNativeAcl
    properties:
        host: string
        operation: string
        patternType: string
        permissionType: string
        principal: string
        project: string
        resourceName: string
        resourceType: string
        serviceName: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
    

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

    Operation string
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    PatternType string
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    PermissionType string
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    Principal string
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    Project string
    Project name. Changing this property forces recreation of the resource.
    ResourceName string
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    ResourceType string
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Host string
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    Timeouts KafkaNativeAclTimeouts
    Operation string
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    PatternType string
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    PermissionType string
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    Principal string
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    Project string
    Project name. Changing this property forces recreation of the resource.
    ResourceName string
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    ResourceType string
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Host string
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    Timeouts KafkaNativeAclTimeoutsArgs
    operation string
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    pattern_type string
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    permission_type string
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    principal string
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    project string
    Project name. Changing this property forces recreation of the resource.
    resource_name string
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    resource_type string
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    service_name string
    Service name. Changing this property forces recreation of the resource.
    host string
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    timeouts object
    operation String
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    patternType String
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    permissionType String
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    principal String
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    project String
    Project name. Changing this property forces recreation of the resource.
    resourceName String
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    resourceType String
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    host String
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    timeouts KafkaNativeAclTimeouts
    operation string
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    patternType string
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    permissionType string
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    principal string
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    project string
    Project name. Changing this property forces recreation of the resource.
    resourceName string
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    resourceType string
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    serviceName string
    Service name. Changing this property forces recreation of the resource.
    host string
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    timeouts KafkaNativeAclTimeouts
    operation str
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    pattern_type str
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    permission_type str
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    principal str
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    project str
    Project name. Changing this property forces recreation of the resource.
    resource_name str
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    resource_type str
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    service_name str
    Service name. Changing this property forces recreation of the resource.
    host str
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    timeouts KafkaNativeAclTimeoutsArgs
    operation String
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    patternType String
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    permissionType String
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    principal String
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    project String
    Project name. Changing this property forces recreation of the resource.
    resourceName String
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    resourceType String
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    host String
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KafkaNativeAcl resource produces the following output properties:

    AclId string
    Kafka ACL ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    AclId string
    Kafka ACL ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    acl_id string
    Kafka ACL ID.
    id string
    The provider-assigned unique ID for this managed resource.
    aclId String
    Kafka ACL ID.
    id String
    The provider-assigned unique ID for this managed resource.
    aclId string
    Kafka ACL ID.
    id string
    The provider-assigned unique ID for this managed resource.
    acl_id str
    Kafka ACL ID.
    id str
    The provider-assigned unique ID for this managed resource.
    aclId String
    Kafka ACL ID.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing KafkaNativeAcl Resource

    Get an existing KafkaNativeAcl 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?: KafkaNativeAclState, opts?: CustomResourceOptions): KafkaNativeAcl
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acl_id: Optional[str] = None,
            host: Optional[str] = None,
            operation: Optional[str] = None,
            pattern_type: Optional[str] = None,
            permission_type: Optional[str] = None,
            principal: Optional[str] = None,
            project: Optional[str] = None,
            resource_name: Optional[str] = None,
            resource_type: Optional[str] = None,
            service_name: Optional[str] = None,
            timeouts: Optional[KafkaNativeAclTimeoutsArgs] = None) -> KafkaNativeAcl
    func GetKafkaNativeAcl(ctx *Context, name string, id IDInput, state *KafkaNativeAclState, opts ...ResourceOption) (*KafkaNativeAcl, error)
    public static KafkaNativeAcl Get(string name, Input<string> id, KafkaNativeAclState? state, CustomResourceOptions? opts = null)
    public static KafkaNativeAcl get(String name, Output<String> id, KafkaNativeAclState state, CustomResourceOptions options)
    resources:  _:    type: aiven:KafkaNativeAcl    get:      id: ${id}
    import {
      to = aiven_kafka_native_acl.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AclId string
    Kafka ACL ID.
    Host string
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    Operation string
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    PatternType string
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    PermissionType string
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    Principal string
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    Project string
    Project name. Changing this property forces recreation of the resource.
    ResourceName string
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    ResourceType string
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Timeouts KafkaNativeAclTimeouts
    AclId string
    Kafka ACL ID.
    Host string
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    Operation string
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    PatternType string
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    PermissionType string
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    Principal string
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    Project string
    Project name. Changing this property forces recreation of the resource.
    ResourceName string
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    ResourceType string
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Timeouts KafkaNativeAclTimeoutsArgs
    acl_id string
    Kafka ACL ID.
    host string
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    operation string
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    pattern_type string
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    permission_type string
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    principal string
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    project string
    Project name. Changing this property forces recreation of the resource.
    resource_name string
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    resource_type string
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    service_name string
    Service name. Changing this property forces recreation of the resource.
    timeouts object
    aclId String
    Kafka ACL ID.
    host String
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    operation String
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    patternType String
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    permissionType String
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    principal String
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    project String
    Project name. Changing this property forces recreation of the resource.
    resourceName String
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    resourceType String
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    timeouts KafkaNativeAclTimeouts
    aclId string
    Kafka ACL ID.
    host string
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    operation string
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    patternType string
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    permissionType string
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    principal string
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    project string
    Project name. Changing this property forces recreation of the resource.
    resourceName string
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    resourceType string
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    serviceName string
    Service name. Changing this property forces recreation of the resource.
    timeouts KafkaNativeAclTimeouts
    acl_id str
    Kafka ACL ID.
    host str
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    operation str
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    pattern_type str
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    permission_type str
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    principal str
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    project str
    Project name. Changing this property forces recreation of the resource.
    resource_name str
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    resource_type str
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    service_name str
    Service name. Changing this property forces recreation of the resource.
    timeouts KafkaNativeAclTimeoutsArgs
    aclId String
    Kafka ACL ID.
    host String
    the host or * for all hosts. Maximum length: 256. The default value is *. Changing this property forces recreation of the resource.
    operation String
    Kafka ACL operation represents an operation which an ACL grants or denies permission to perform. The possible values are All, Alter, AlterConfigs, ClusterAction, Create, CreateTokens, Delete, Describe, DescribeConfigs, DescribeTokens, IdempotentWrite, Read and Write. Changing this property forces recreation of the resource.
    patternType String
    How a Kafka-native ACL matches its resource name. The possible values are LITERAL and PREFIXED. Changing this property forces recreation of the resource.
    permissionType String
    Whether a Kafka-native ACL allows or denies its operation. The possible values are ALLOW and DENY. Changing this property forces recreation of the resource.
    principal String
    principal is in 'principalType:name' format. Maximum length: 256. Changing this property forces recreation of the resource.
    project String
    Project name. Changing this property forces recreation of the resource.
    resourceName String
    Resource pattern used to match specified resources. Maximum length: 256. Changing this property forces recreation of the resource.
    resourceType String
    Kafka ACL resource type represents a type of resource which an ACL can be applied to. The possible values are Cluster, DelegationToken, Group, Topic, TransactionalId and User. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    timeouts Property Map

    Supporting Types

    KafkaNativeAclTimeouts, KafkaNativeAclTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default_ String
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default str
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default String
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    $ pulumi import aiven:index/kafkaNativeAcl:KafkaNativeAcl example PROJECT/SERVICE_NAME/ACL_ID
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo aiven logo
    Viewing docs for Aiven v6.60.0
    published on Wednesday, Sep 23, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial