Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The Elasticsearch ACL data source provides information about the existing Aiven Elasticsearch ACL for Elasticsearch service.
Example Usage
using Pulumi;
using Aiven = Pulumi.Aiven;
class MyStack : Stack
{
public MyStack()
{
var es_acls = Output.Create(Aiven.GetElasticSearchAcl.InvokeAsync(new Aiven.GetElasticSearchAclArgs
{
Project = aiven_project.Es_project.Project,
ServiceName = aiven_elasticsearch.Es.Service_name,
}));
}
}
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v4/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupElasticSearchAcl(ctx, &GetElasticSearchAclArgs{
Project: aiven_project.Es - project.Project,
ServiceName: aiven_elasticsearch.Es.Service_name,
}, nil)
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const es-acls = aiven.getElasticSearchAcl({
project: aiven_project["es-project"].project,
serviceName: aiven_elasticsearch.es.service_name,
});
import pulumi
import pulumi_aiven as aiven
es_acls = aiven.get_elastic_search_acl(project=aiven_project["es-project"]["project"],
service_name=aiven_elasticsearch["es"]["service_name"])
Example coming soon!
Using getElasticSearchAcl
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 getElasticSearchAcl(args: GetElasticSearchAclArgs, opts?: InvokeOptions): Promise<GetElasticSearchAclResult>
function getElasticSearchAclOutput(args: GetElasticSearchAclOutputArgs, opts?: InvokeOptions): Output<GetElasticSearchAclResult>def get_elastic_search_acl(project: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetElasticSearchAclResult
def get_elastic_search_acl_output(project: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetElasticSearchAclResult]func LookupElasticSearchAcl(ctx *Context, args *LookupElasticSearchAclArgs, opts ...InvokeOption) (*LookupElasticSearchAclResult, error)
func LookupElasticSearchAclOutput(ctx *Context, args *LookupElasticSearchAclOutputArgs, opts ...InvokeOption) LookupElasticSearchAclResultOutput> Note: This function is named LookupElasticSearchAcl in the Go SDK.
public static class GetElasticSearchAcl
{
public static Task<GetElasticSearchAclResult> InvokeAsync(GetElasticSearchAclArgs args, InvokeOptions? opts = null)
public static Output<GetElasticSearchAclResult> Invoke(GetElasticSearchAclInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetElasticSearchAclResult> getElasticSearchAcl(GetElasticSearchAclArgs args, InvokeOptions options)
public static Output<GetElasticSearchAclResult> getElasticSearchAcl(GetElasticSearchAclArgs args, InvokeOptions options)
fn::invoke:
function: aiven:index/getElasticSearchAcl:getElasticSearchAcl
arguments:
# arguments dictionaryThe following arguments are supported:
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name String - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project str
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service_
name str - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name String - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
getElasticSearchAcl Result
The following output properties are available:
- Acls
List<Get
Elastic Search Acl Acl> - List of Elasticsearch ACLs
- Enabled bool
- Enable Elasticsearch ACLs. When disabled authenticated service users have unrestricted access. The default value is
true. - Extended
Acl bool - Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is
true. - Id string
- The provider-assigned unique ID for this managed resource.
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Acls
[]Get
Elastic Search Acl Acl - List of Elasticsearch ACLs
- Enabled bool
- Enable Elasticsearch ACLs. When disabled authenticated service users have unrestricted access. The default value is
true. - Extended
Acl bool - Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is
true. - Id string
- The provider-assigned unique ID for this managed resource.
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- acls
List<Get
Elastic Search Acl Acl> - List of Elasticsearch ACLs
- enabled Boolean
- Enable Elasticsearch ACLs. When disabled authenticated service users have unrestricted access. The default value is
true. - extended
Acl Boolean - Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is
true. - id String
- The provider-assigned unique ID for this managed resource.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name String - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- acls
Get
Elastic Search Acl Acl[] - List of Elasticsearch ACLs
- enabled boolean
- Enable Elasticsearch ACLs. When disabled authenticated service users have unrestricted access. The default value is
true. - extended
Acl boolean - Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is
true. - id string
- The provider-assigned unique ID for this managed resource.
- project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- acls
Sequence[Get
Elastic Search Acl Acl] - List of Elasticsearch ACLs
- enabled bool
- Enable Elasticsearch ACLs. When disabled authenticated service users have unrestricted access. The default value is
true. - extended_
acl bool - Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is
true. - id str
- The provider-assigned unique ID for this managed resource.
- project str
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service_
name str - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- acls List<Property Map>
- List of Elasticsearch ACLs
- enabled Boolean
- Enable Elasticsearch ACLs. When disabled authenticated service users have unrestricted access. The default value is
true. - extended
Acl Boolean - Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is
true. - id String
- The provider-assigned unique ID for this managed resource.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- service
Name String - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
Supporting Types
GetElasticSearchAclAcl
- rules List<Property Map>
- username String
GetElasticSearchAclAclRule
- Index string
- Permission string
- Index string
- Permission string
- index String
- permission String
- index string
- permission string
- index str
- permission str
- index String
- permission String
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 v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
