Class KafkaAcl
Example Usage
using Pulumi;
using Aiven = Pulumi.Aiven;
class MyStack : Stack
{
public MyStack()
{
var mytestacl = new Aiven.KafkaAcl("mytestacl", new Aiven.KafkaAclArgs
{
Permission = "admin",
Project = aiven_project.Myproject.Project,
ServiceName = aiven_service.Myservice.Service_name,
Topic = "<TOPIC_NAME_PATTERN>",
Username = "<USERNAME_PATTERN>",
});
}
}
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aiven
Assembly: Pulumi.Aiven.dll
Syntax
public class KafkaAcl : CustomResource
Constructors
View SourceKafkaAcl(String, KafkaAclArgs, CustomResourceOptions)
Create a KafkaAcl resource with the given unique name, arguments, and options.
Declaration
public KafkaAcl(string name, KafkaAclArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| KafkaAclArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourcePermission
Kafka permission to grant (admin, read, readwrite, write)
Declaration
public Output<string> Permission { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
Project to link the Kafka ACL to
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceName
Service to link the Kafka ACL to
Declaration
public Output<string> ServiceName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Topic
Topic name pattern for the ACL entry
Declaration
public Output<string> Topic { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Username
Username pattern for the ACL entry
Declaration
public Output<string> Username { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, KafkaAclState, CustomResourceOptions)
Get an existing KafkaAcl resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static KafkaAcl Get(string name, Input<string> id, KafkaAclState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| KafkaAclState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| KafkaAcl |