acls
Creates, updates, deletes, gets or lists an acls resource.
Overview
| Name | acls |
| Type | Resource |
| Id | aws.memorydb.acls |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_acl | insert | region, ACLName | Creates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs). | |
update_acl | update | region, ACLName | Changes the list of users that belong to the Access Control List. | |
delete_acl | delete | region | Deletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see Authenticating users with Access Contol Lists (ACLs). |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
INSERT examples
- create_acl
- Manifest
Creates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).
INSERT INTO aws.memorydb.acls (
ACLName,
UserNames,
Tags,
region
)
SELECT
'{{ ACLName }}' /* required */,
'{{ UserNames }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
acl
;
# Description fields are for documentation purposes
- name: acls
props:
- name: region
value: "{{ region }}"
description: Required parameter for the acls resource.
- name: ACLName
value: "{{ ACLName }}"
description: |
The name of the Access Control List.
- name: UserNames
value:
- "{{ UserNames }}"
description: |
The list of users that belong to the Access Control List.
- name: Tags
description: |
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
value:
- Key: "{{ Key }}"
Value: "{{ Value }}"
UPDATE examples
- update_acl
Changes the list of users that belong to the Access Control List.
UPDATE aws.memorydb.acls
SET
ACLName = '{{ ACLName }}',
UserNamesToAdd = '{{ UserNamesToAdd }}',
UserNamesToRemove = '{{ UserNamesToRemove }}'
WHERE
region = '{{ region }}' --required
AND ACLName = '{{ ACLName }}' --required
RETURNING
acl;
DELETE examples
- delete_acl
Deletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see Authenticating users with Access Contol Lists (ACLs).
DELETE FROM aws.memorydb.acls
WHERE region = '{{ region }}' --required
;