pull_time_update_exclusions
Creates, updates, deletes, gets or lists a pull_time_update_exclusions resource.
Overview
| Name | pull_time_update_exclusions |
| Type | Resource |
| Id | aws.ecr.pull_time_update_exclusions |
Fields
The following fields are returned by SELECT queries:
- list_pull_time_update_exclusions
| Name | Datatype | Description |
|---|---|---|
pull_time_update_exclusion | string | The list of IAM principal ARNs that are excluded from having their image pull times recorded. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_pull_time_update_exclusions | select | region | Lists the IAM principals that are excluded from having their image pull times recorded. | |
register_pull_time_update_exclusion | insert | region, principalArn | Adds an IAM principal to the pull time update exclusion list for a registry. Amazon ECR will not record the pull time if an excluded principal pulls an image. | |
deregister_pull_time_update_exclusion | delete | region | Removes a principal from the pull time update exclusion list for a registry. Once removed, Amazon ECR will resume updating the pull time if the specified principal pulls an image. |
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) |
SELECT examples
- list_pull_time_update_exclusions
Lists the IAM principals that are excluded from having their image pull times recorded.
SELECT
pull_time_update_exclusion
FROM aws.ecr.pull_time_update_exclusions
WHERE region = '{{ region }}' -- required
;
INSERT examples
- register_pull_time_update_exclusion
- Manifest
Adds an IAM principal to the pull time update exclusion list for a registry. Amazon ECR will not record the pull time if an excluded principal pulls an image.
INSERT INTO aws.ecr.pull_time_update_exclusions (
principalArn,
region
)
SELECT
'{{ principalArn }}' /* required */,
'{{ region }}'
RETURNING
created_at,
principal_arn
;
# Description fields are for documentation purposes
- name: pull_time_update_exclusions
props:
- name: region
value: "{{ region }}"
description: Required parameter for the pull_time_update_exclusions resource.
- name: principalArn
value: "{{ principalArn }}"
description: |
The ARN of the IAM principal to exclude from having image pull times recorded.
DELETE examples
- deregister_pull_time_update_exclusion
Removes a principal from the pull time update exclusion list for a registry. Once removed, Amazon ECR will resume updating the pull time if the specified principal pulls an image.
DELETE FROM aws.ecr.pull_time_update_exclusions
WHERE region = '{{ region }}' --required
;