Viewing docs for Aiven v6.62.0
published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi
Viewing docs for Aiven v6.62.0
published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi
Gets information about an ACL entry for an Aiven for Apache Kafka® service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const example = aiven.getKafkaAcl({
project: "my-project",
serviceName: "my-kafka",
aclId: "foo",
});
import pulumi
import pulumi_aiven as aiven
example = aiven.get_kafka_acl(project="my-project",
service_name="my-kafka",
acl_id="foo")
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.GetKafkaAcl(ctx, &aiven.LookupKafkaAclArgs{
Project: "my-project",
ServiceName: "my-kafka",
AclId: pulumi.StringRef("foo"),
}, nil)
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 = Aiven.GetKafkaAcl.Invoke(new()
{
Project = "my-project",
ServiceName = "my-kafka",
AclId = "foo",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetKafkaAclArgs;
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) {
final var example = AivenFunctions.getKafkaAcl(GetKafkaAclArgs.builder()
.project("my-project")
.serviceName("my-kafka")
.aclId("foo")
.build());
}
}
variables:
example:
fn::invoke:
function: aiven:getKafkaAcl
arguments:
project: my-project
serviceName: my-kafka
aclId: foo
terraform {
required_providers {
aiven = {
source = "pulumi/aiven"
}
}
}
data "aiven_kafka_acl" "example" {
project = "my-project"
service_name = "my-kafka"
acl_id = "foo"
}
Using getKafkaAcl
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKafkaAcl(args: GetKafkaAclArgs, opts?: InvokeOptions): Promise<GetKafkaAclResult>
function getKafkaAclOutput(args: GetKafkaAclOutputArgs, opts?: InvokeOutputOptions): Output<GetKafkaAclResult>def get_kafka_acl(acl_id: Optional[str] = None,
permission: Optional[str] = None,
project: Optional[str] = None,
service_name: Optional[str] = None,
timeouts: Optional[GetKafkaAclTimeouts] = None,
topic: Optional[str] = None,
username: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKafkaAclResult
def get_kafka_acl_output(acl_id: pulumi.Input[Optional[str]] = None,
permission: pulumi.Input[Optional[str]] = None,
project: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
timeouts: pulumi.Input[Optional[GetKafkaAclTimeoutsArgs]] = None,
topic: pulumi.Input[Optional[str]] = None,
username: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetKafkaAclResult]func LookupKafkaAcl(ctx *Context, args *LookupKafkaAclArgs, opts ...InvokeOption) (*LookupKafkaAclResult, error)
func LookupKafkaAclOutput(ctx *Context, args *LookupKafkaAclOutputArgs, opts ...InvokeOption) LookupKafkaAclResultOutput> Note: This function is named LookupKafkaAcl in the Go SDK.
public static class GetKafkaAcl
{
public static Task<GetKafkaAclResult> InvokeAsync(GetKafkaAclArgs args, InvokeOptions? opts = null)
public static Output<GetKafkaAclResult> Invoke(GetKafkaAclInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetKafkaAclResult> Invoke(GetKafkaAclInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetKafkaAclResult> getKafkaAcl(GetKafkaAclArgs args, InvokeOptions options)
public static Output<GetKafkaAclResult> getKafkaAcl(GetKafkaAclArgs args, InvokeOptions options)
public static Output<GetKafkaAclResult> getKafkaAcl(GetKafkaAclArgs args, InvokeOutputOptions options)
fn::invoke:
function: aiven:index/getKafkaAcl:getKafkaAcl
arguments:
# arguments dictionarydata "aiven_get_kafka_acl" "name" {
# arguments
}The following arguments are supported:
- Project string
- Project name.
- Service
Name string - Service name.
- Acl
Id string - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - Permission string
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - Timeouts
Get
Kafka Acl Timeouts - Topic string
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - Username string
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether.
- Project string
- Project name.
- Service
Name string - Service name.
- Acl
Id string - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - Permission string
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - Timeouts
Get
Kafka Acl Timeouts - Topic string
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - Username string
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether.
- project string
- Project name.
- service_
name string - Service name.
- acl_
id string - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - permission string
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - timeouts object
- topic string
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - username string
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether.
- project String
- Project name.
- service
Name String - Service name.
- acl
Id String - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - permission String
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - timeouts
Get
Kafka Acl Timeouts - topic String
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - username String
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether.
- project string
- Project name.
- service
Name string - Service name.
- acl
Id string - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - permission string
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - timeouts
Get
Kafka Acl Timeouts - topic string
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - username string
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether.
- project str
- Project name.
- service_
name str - Service name.
- acl_
id str - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - permission str
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - timeouts
Get
Kafka Acl Timeouts - topic str
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - username str
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether.
- project String
- Project name.
- service
Name String - Service name.
- acl
Id String - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - permission String
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - timeouts Property Map
- topic String
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - username String
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether.
getKafkaAcl Result
The following output properties are available:
- Acl
Id string - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - Id string
- Resource ID composed as:
project/service_name/acl_id. - Permission string
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - Project string
- Project name.
- Service
Name string - Service name.
- Topic string
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - Username string
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether. - Timeouts
Get
Kafka Acl Timeouts
- Acl
Id string - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - Id string
- Resource ID composed as:
project/service_name/acl_id. - Permission string
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - Project string
- Project name.
- Service
Name string - Service name.
- Topic string
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - Username string
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether. - Timeouts
Get
Kafka Acl Timeouts
- acl_
id string - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - id string
- Resource ID composed as:
project/service_name/acl_id. - permission string
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - project string
- Project name.
- service_
name string - Service name.
- topic string
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - username string
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether. - timeouts object
- acl
Id String - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - id String
- Resource ID composed as:
project/service_name/acl_id. - permission String
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - project String
- Project name.
- service
Name String - Service name.
- topic String
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - username String
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether. - timeouts
Get
Kafka Acl Timeouts
- acl
Id string - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - id string
- Resource ID composed as:
project/service_name/acl_id. - permission string
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - project string
- Project name.
- service
Name string - Service name.
- topic string
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - username string
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether. - timeouts
Get
Kafka Acl Timeouts
- acl_
id str - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - id str
- Resource ID composed as:
project/service_name/acl_id. - permission str
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - project str
- Project name.
- service_
name str - Service name.
- topic str
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - username str
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether. - timeouts
Get
Kafka Acl Timeouts
- acl
Id String - Kafka ACL ID. Provide either
aclId, or all ofpermission,topicandusernametogether. - id String
- Resource ID composed as:
project/service_name/acl_id. - permission String
- Permission of an Aiven Kafka ACL entry, as opposed to a Kafka-native one. The possible values are
admin,read,readwriteandwrite. Provide eitheraclId, or all ofpermission,topicandusernametogether. - project String
- Project name.
- service
Name String - Service name.
- topic String
- Topic name pattern. Provide either
aclId, or all ofpermission,topicandusernametogether. - username String
- Username. Provide either
aclId, or all ofpermission,topicandusernametogether. - timeouts Property Map
Supporting Types
GetKafkaAclTimeouts
- 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 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 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 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 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 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 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).
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
Viewing docs for Aiven v6.62.0
published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi