import * as core from "@terrascript/core"; export interface AclArgs extends core.ResourceArgs { /** * (Optional, Forces new resource) Name of the ACL. If omitted, Terraform will assign a random, unique * name. Conflicts with `name_prefix`. */ name?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts * with `name`. */ namePrefix?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Optional) Set of MemoryDB user names to be included in this ACL. */ userNames?: core.Array | core.ArrayOut; } export class Acl extends core.Resource { /** * The ARN of the ACL. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Same as `name`. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The minimum engine version supported by the ACL. */ @core.attr(String, { computed: true }) public minimumEngineVersion!: string | core.StringOut; /** * (Optional, Forces new resource) Name of the ACL. If omitted, Terraform will assign a random, unique * name. Conflicts with `name_prefix`. */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts * with `name`. */ @core.attr(String, { computed: true }) public namePrefix?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * (Optional) Set of MemoryDB user names to be included in this ACL. */ @core.attr(String, { kind: "array" }) public userNames?: core.Array | core.ArrayOut; constructor(name: string, args?: AclArgs) { super(name, "aws_memorydb_acl", args); } public override getNamespace(): string { return "aws_memorydb"; } }