Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws.memorydb.getAcl
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
Provides information about a MemoryDB ACL.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.memorydb.getAcl({
name: "my-acl",
});
import pulumi
import pulumi_aws as aws
example = aws.memorydb.get_acl(name="my-acl")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.MemoryDb.GetAcl.Invoke(new()
{
Name = "my-acl",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.memorydb.MemorydbFunctions;
import com.pulumi.aws.memorydb.inputs.GetAclArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = MemorydbFunctions.getAcl(GetAclArgs.builder()
.name("my-acl")
.build());
}
}
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.
- Dictionary<string, string>
- Map of tags assigned to the ACL.
- Name string
- Name of the ACL.
- map[string]string
- Map of tags assigned to the ACL.
- name String
- Name of the ACL.
- Map<String,String>
- Map of tags assigned to the ACL.
- name string
- Name of the ACL.
- {[key: string]: string}
- Map of tags assigned to the ACL.
- name str
- Name of the ACL.
- Mapping[str, str]
- Map of tags assigned to the ACL.
- name String
- Name of the ACL.
- Map<String>
- 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.
- Minimum
Engine stringVersion - The minimum engine version supported by the ACL.
- Name string
- Dictionary<string, string>
- Map of tags assigned to the ACL.
- User
Names 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.
- Minimum
Engine stringVersion - The minimum engine version supported by the ACL.
- Name string
- map[string]string
- Map of tags assigned to the ACL.
- User
Names []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.
- minimum
Engine StringVersion - The minimum engine version supported by the ACL.
- name String
- Map<String,String>
- Map of tags assigned to the ACL.
- user
Names 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.
- minimum
Engine stringVersion - The minimum engine version supported by the ACL.
- name string
- {[key: string]: string}
- Map of tags assigned to the ACL.
- user
Names 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_ strversion - The minimum engine version supported by the ACL.
- name str
- Mapping[str, str]
- 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.
- minimum
Engine StringVersion - The minimum engine version supported by the ACL.
- name String
- Map<String>
- Map of tags assigned to the ACL.
- user
Names List<String> - Set of MemoryDB user names included in this ACL.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi