import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Request access to an Apache Kafka topic in Aiven for Apache Kafka® Governance. [Governance](https://aiven.io/docs/products/kafka/howto/governance) helps you manage your Kafka clusters securely and efficiently through structured policies, roles, and processes. You can manage approval workflows using Terraform and GitHub Actions. * * > **Beta resource** * This resource is in the beta stage and may change without notice. Set the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.GovernanceAccess("example", { * accessData: { * acls: [{ * operation: "Write", * permissionType: "ALLOW", * resourceName: "events", * resourceType: "Topic", * host: "*", * }], * projectName: "project-1", * serviceName: "service-1", * username: "api3", * }, * organizationId: "org1a23f456789", * accessName: "My Access", * accessType: "KAFKA", * ownerUserGroupId: "ug22ba494e096", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/governanceAccess:GovernanceAccess example ORGANIZATION_ID/ACCESS_ID * ``` */ export declare class GovernanceAccess extends pulumi.CustomResource { /** * Get an existing GovernanceAccess resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GovernanceAccessState, opts?: pulumi.CustomResourceOptions): GovernanceAccess; /** * Returns true if the given object is an instance of GovernanceAccess. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is GovernanceAccess; /** * access type specific data. Changing this property forces recreation of the resource. */ readonly accessData: pulumi.Output; /** * The ID of the access. */ readonly accessId: pulumi.Output; /** * Label to describe the access. Changing this property forces recreation of the resource. */ readonly accessName: pulumi.Output; /** * An enumeration. The possible value is `KAFKA`. Changing this property forces recreation of the resource. */ readonly accessType: pulumi.Output; /** * ID of an organization. Changing this property forces recreation of the resource. */ readonly organizationId: pulumi.Output; /** * The ID of the group that will own the access. Maximum length: `36`. Changing this property forces recreation of the resource. */ readonly ownerUserGroupId: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a GovernanceAccess resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: GovernanceAccessArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GovernanceAccess resources. */ export interface GovernanceAccessState { /** * access type specific data. Changing this property forces recreation of the resource. */ accessData?: pulumi.Input; /** * The ID of the access. */ accessId?: pulumi.Input; /** * Label to describe the access. Changing this property forces recreation of the resource. */ accessName?: pulumi.Input; /** * An enumeration. The possible value is `KAFKA`. Changing this property forces recreation of the resource. */ accessType?: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId?: pulumi.Input; /** * The ID of the group that will own the access. Maximum length: `36`. Changing this property forces recreation of the resource. */ ownerUserGroupId?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a GovernanceAccess resource. */ export interface GovernanceAccessArgs { /** * access type specific data. Changing this property forces recreation of the resource. */ accessData: pulumi.Input; /** * Label to describe the access. Changing this property forces recreation of the resource. */ accessName: pulumi.Input; /** * An enumeration. The possible value is `KAFKA`. Changing this property forces recreation of the resource. */ accessType: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId: pulumi.Input; /** * The ID of the group that will own the access. Maximum length: `36`. Changing this property forces recreation of the resource. */ ownerUserGroupId?: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=governanceAccess.d.ts.map