import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Enables and manages [OpenSearch Security for an Aiven for OpenSearch® service](https://aiven.io/docs/products/opensearch/concepts/os-security). * * After enabling OpenSearch Security management, **you can no longer use Aiven Terraform Provider to manage access controls for that service.** To manage user authentication and access control with OpenSearch Security management enabled, use the OpenSearch Security Dashboard or OpenSearch Security API. * * **Once enabled, OpenSearch Security management cannot be disabled.** To disable it, [contact Aiven support](https://aiven.io/support-services). 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.OpensearchSecurityPluginConfig("example", { * project: "my-project", * serviceName: "my-opensearch", * adminPassword: "h3.2aD!z2", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig example PROJECT/SERVICE_NAME * ``` */ export declare class OpensearchSecurityPluginConfig extends pulumi.CustomResource { /** * Get an existing OpensearchSecurityPluginConfig 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?: OpensearchSecurityPluginConfigState, opts?: pulumi.CustomResourceOptions): OpensearchSecurityPluginConfig; /** * Returns true if the given object is an instance of OpensearchSecurityPluginConfig. 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 OpensearchSecurityPluginConfig; /** * security plugin admin defined. */ readonly adminEnabled: pulumi.Output; /** * Current os-sec-admin password. Length must be between `8` and `256`. */ readonly adminPassword: pulumi.Output; /** * Opensearch security available for the service. */ readonly available: pulumi.Output; /** * Opensearch security enabled for the service. */ readonly enabled: pulumi.Output; /** * Project name. Changing this property forces recreation of the resource. */ readonly project: pulumi.Output; /** * Service name. Changing this property forces recreation of the resource. */ readonly serviceName: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a OpensearchSecurityPluginConfig 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: OpensearchSecurityPluginConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OpensearchSecurityPluginConfig resources. */ export interface OpensearchSecurityPluginConfigState { /** * security plugin admin defined. */ adminEnabled?: pulumi.Input; /** * Current os-sec-admin password. Length must be between `8` and `256`. */ adminPassword?: pulumi.Input; /** * Opensearch security available for the service. */ available?: pulumi.Input; /** * Opensearch security enabled for the service. */ enabled?: pulumi.Input; /** * Project name. Changing this property forces recreation of the resource. */ project?: pulumi.Input; /** * Service name. Changing this property forces recreation of the resource. */ serviceName?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a OpensearchSecurityPluginConfig resource. */ export interface OpensearchSecurityPluginConfigArgs { /** * Current os-sec-admin password. Length must be between `8` and `256`. */ adminPassword: pulumi.Input; /** * Project name. Changing this property forces recreation of the resource. */ project: pulumi.Input; /** * Service name. Changing this property forces recreation of the resource. */ serviceName: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=opensearchSecurityPluginConfig.d.ts.map