Resource: awsMemorydbAcl
Provides a MemoryDB ACL.
More information about users and ACL-s can be found in the MemoryDB User Guide.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.memorydbAcl.MemorydbAcl(this, "example", {
name: "my-acl",
userNames: ["my-user-1", "my-user-2"],
});
Argument Reference
The following arguments are optional:
name
- (Optional, Forces new resource) Name of the ACL. If omitted, Terraform will assign a random, unique name. Conflicts withnamePrefix
.namePrefix
- (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts withname
.userNames
- (Optional) Set of MemoryDB user names to be included in this ACL.tags
- (Optional) A map of tags to assign to the resource. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- Same asname
.arn
- The ARN of the ACL.minimumEngineVersion
- The minimum engine version supported by the ACL.tagsAll
- A map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
Import
Use the name
to import an ACL. For example: