shared_dns_views
Creates, updates, deletes, gets or lists a shared_dns_views resource.
Overview
| Name | shared_dns_views |
| Type | Resource |
| Id | aws.route53globalresolver.shared_dns_views |
Fields
The following fields are returned by SELECT queries:
- list_shared_dns_views
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier of the DNS view. (pattern: <code>[-.a-zA-Z0-9]+</code>) |
name | string | The name of the DNS view. (pattern: <code>(?!^[0-9]+$)([a-zA-Z0-9-_/' ']+)</code>) |
arn | string | The Amazon Resource Name (ARN) of the DNS view. (pattern: <code>arn:[-.a-z0-9]{1,63}:[-.a-z0-9]{1,63}:[-.a-z0-9]{0,63}:[-.a-z0-9]{0,63}:[^/].{0,1023}</code>) |
client_token | string | The unique string that identifies the request and ensures idempotency. |
created_at | string (date-time) | The date and time when the DNS view was created. |
description | string | A description of the DNS view. |
dnssec_validation | string | Whether DNSSEC validation is enabled for the DNS view. (ENABLED, DISABLED) |
edns_client_subnet | string | Whether EDNS Client Subnet injection is enabled for the DNS view. (ENABLED, DISABLED) |
firewall_rules_fail_open | string | Whether firewall rules fail open when they cannot be evaluated. (ENABLED, DISABLED) |
global_resolver_id | string | The ID of the global resolver that the DNS view is associated with. (pattern: <code>[-.a-zA-Z0-9]+</code>) |
owner_account_id | string | The ID of the Amazon Web Services account that owns the DNS view and shared it with your Amazon Web Services account. (pattern: <code>[0-9]+</code>) |
status | string | The current status of the DNS view. (CREATING, OPERATIONAL, UPDATING, ENABLING, DISABLING, DISABLED, DELETING) |
updated_at | string (date-time) | The date and time when the DNS view was last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_shared_dns_views | select | region | max_results, next_token | Lists the DNS views that have been shared with your Amazon Web Services account through Amazon Web Services Resource Access Manager (Amazon Web Services RAM), with pagination support. Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon Web Services CLI commands. |
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) |
max_results | integer | The maximum number of results to retrieve in a single call. |
next_token | string | A pagination token used for large sets of results that can't be returned in a single response. |
SELECT examples
- list_shared_dns_views
Lists the DNS views that have been shared with your Amazon Web Services account through Amazon Web Services Resource Access Manager (Amazon Web Services RAM), with pagination support. Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon Web Services CLI commands.
SELECT
id,
name,
arn,
client_token,
created_at,
description,
dnssec_validation,
edns_client_subnet,
firewall_rules_fail_open,
global_resolver_id,
owner_account_id,
status,
updated_at
FROM aws.route53globalresolver.shared_dns_views
WHERE region = '{{ region }}' -- required
AND max_results = '{{ max_results }}'
AND next_token = '{{ next_token }}'
;