associated_access_policies
Creates, updates, deletes, gets or lists an associated_access_policies resource.
Overview
| Name | associated_access_policies |
| Type | Resource |
| Id | aws.eks.associated_access_policies |
Fields
The following fields are returned by SELECT queries:
- list_associated_access_policies
| Name | Datatype | Description |
|---|---|---|
access_scope | object | The scope of an AccessPolicy that's associated to an AccessEntry. |
associated_at | string (date-time) | The date and time the AccessPolicy was associated with an AccessEntry. |
modified_at | string (date-time) | The Unix epoch timestamp for the last modification to the object. |
policy_arn | string | The ARN of the AccessPolicy. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_associated_access_policies | select | name, principal_arn, region | maxResults, nextToken | Lists the access policies associated with an access entry. |
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 |
|---|---|---|
name | string | The name of your cluster. |
principal_arn | string | The ARN of the IAM principal for the AccessEntry. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of results, returned in paginated output. You receive maxResults in a single page, along with a nextToken response element. You can see the remaining results of the initial request by sending another request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, 100 results and a nextToken value, if applicable, are returned. |
nextToken | string | The nextToken value returned from a previous paginated request, where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes. |
SELECT examples
- list_associated_access_policies
Lists the access policies associated with an access entry.
SELECT
access_scope,
associated_at,
modified_at,
policy_arn
FROM aws.eks.associated_access_policies
WHERE name = '{{ name }}' -- required
AND principal_arn = '{{ principal_arn }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;