Show / Hide Table of Contents

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>",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
KafkaAcl
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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 Source

KafkaAcl(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 Source

Permission

Kafka permission to grant (admin, read, readwrite, write)

Declaration
public Output<string> Permission { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

Project to link the Kafka ACL to

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>
View Source

ServiceName

Service to link the Kafka ACL to

Declaration
public Output<string> ServiceName { get; }
Property Value
Type Description
Output<System.String>
View Source

Topic

Topic name pattern for the ACL entry

Declaration
public Output<string> Topic { get; }
Property Value
Type Description
Output<System.String>
View Source

Username

Username pattern for the ACL entry

Declaration
public Output<string> Username { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.