AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

getAcl

Provides information about a MemoryDB ACL.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Aws.MemoryDb.GetAcl.InvokeAsync(new Aws.MemoryDb.GetAclArgs
        {
            Name = "my-acl",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/memorydb"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := memorydb.LookupAcl(ctx, &memorydb.LookupAclArgs{
			Name: "my-acl",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = Output.of(MemorydbFunctions.getAcl(GetAclArgs.builder()
            .name("my-acl")
            .build()));

    }
}
import pulumi
import pulumi_aws as aws

example = aws.memorydb.get_acl(name="my-acl")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = pulumi.output(aws.memorydb.getAcl({
    name: "my-acl",
}));
variables:
  example:
    Fn::Invoke:
      Function: aws:memorydb:getAcl
      Arguments:
        name: my-acl

Using getAcl

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 getAcl(args: GetAclArgs, opts?: InvokeOptions): Promise<GetAclResult>
function getAclOutput(args: GetAclOutputArgs, opts?: InvokeOptions): Output<GetAclResult>
def get_acl(name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            opts: Optional[InvokeOptions] = None) -> GetAclResult
def get_acl_output(name: Optional[pulumi.Input[str]] = None,
            tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
            opts: Optional[InvokeOptions] = None) -> Output[GetAclResult]
func LookupAcl(ctx *Context, args *LookupAclArgs, opts ...InvokeOption) (*LookupAclResult, error)
func LookupAclOutput(ctx *Context, args *LookupAclOutputArgs, opts ...InvokeOption) LookupAclResultOutput

> Note: This function is named LookupAcl in the Go SDK.

public static class GetAcl 
{
    public static Task<GetAclResult> InvokeAsync(GetAclArgs args, InvokeOptions? opts = null)
    public static Output<GetAclResult> Invoke(GetAclInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAclResult> getAcl(GetAclArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws:memorydb/getAcl:getAcl
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

Name of the ACL.

Tags Dictionary<string, string>

A map of tags assigned to the ACL.

Name string

Name of the ACL.

Tags map[string]string

A map of tags assigned to the ACL.

name String

Name of the ACL.

tags Map<String,String>

A map of tags assigned to the ACL.

name string

Name of the ACL.

tags {[key: string]: string}

A map of tags assigned to the ACL.

name str

Name of the ACL.

tags Mapping[str, str]

A map of tags assigned to the ACL.

name String

Name of the ACL.

tags Map<String>

A map of tags assigned to the ACL.

getAcl Result

The following output properties are available:

Arn string

ARN of the ACL.

Id string

The provider-assigned unique ID for this managed resource.

MinimumEngineVersion string

The minimum engine version supported by the ACL.

Name string
Tags Dictionary<string, string>

A map of tags assigned to the ACL.

UserNames List<string>

Set of MemoryDB user names included in this ACL.

Arn string

ARN of the ACL.

Id string

The provider-assigned unique ID for this managed resource.

MinimumEngineVersion string

The minimum engine version supported by the ACL.

Name string
Tags map[string]string

A map of tags assigned to the ACL.

UserNames []string

Set of MemoryDB user names included in this ACL.

arn String

ARN of the ACL.

id String

The provider-assigned unique ID for this managed resource.

minimumEngineVersion String

The minimum engine version supported by the ACL.

name String
tags Map<String,String>

A map of tags assigned to the ACL.

userNames List<String>

Set of MemoryDB user names included in this ACL.

arn string

ARN of the ACL.

id string

The provider-assigned unique ID for this managed resource.

minimumEngineVersion string

The minimum engine version supported by the ACL.

name string
tags {[key: string]: string}

A map of tags assigned to the ACL.

userNames string[]

Set of MemoryDB user names included in this ACL.

arn str

ARN of the ACL.

id str

The provider-assigned unique ID for this managed resource.

minimum_engine_version str

The minimum engine version supported by the ACL.

name str
tags Mapping[str, str]

A map of tags assigned to the ACL.

user_names Sequence[str]

Set of MemoryDB user names included in this ACL.

arn String

ARN of the ACL.

id String

The provider-assigned unique ID for this managed resource.

minimumEngineVersion String

The minimum engine version supported by the ACL.

name String
tags Map<String>

A map of tags assigned to the ACL.

userNames List<String>

Set of MemoryDB user names included in this ACL.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.