Skip to main content

shared_dns_views

Creates, updates, deletes, gets or lists a shared_dns_views resource.

Overview

Nameshared_dns_views
TypeResource
Idaws.route53globalresolver.shared_dns_views

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the DNS view. (pattern: <code>[-.a-zA-Z0-9]+</code>)
namestringThe name of the DNS view. (pattern: <code>(?!^[0-9]+$)([a-zA-Z0-9-_/' ']+)</code>)
arnstringThe 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_tokenstringThe unique string that identifies the request and ensures idempotency.
created_atstring (date-time)The date and time when the DNS view was created.
descriptionstringA description of the DNS view.
dnssec_validationstringWhether DNSSEC validation is enabled for the DNS view. (ENABLED, DISABLED)
edns_client_subnetstringWhether EDNS Client Subnet injection is enabled for the DNS view. (ENABLED, DISABLED)
firewall_rules_fail_openstringWhether firewall rules fail open when they cannot be evaluated. (ENABLED, DISABLED)
global_resolver_idstringThe ID of the global resolver that the DNS view is associated with. (pattern: <code>[-.a-zA-Z0-9]+</code>)
owner_account_idstringThe 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>)
statusstringThe current status of the DNS view. (CREATING, OPERATIONAL, UPDATING, ENABLING, DISABLING, DISABLED, DELETING)
updated_atstring (date-time)The date and time when the DNS view was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_shared_dns_viewsselectregionmax_results, next_tokenLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
max_resultsintegerThe maximum number of results to retrieve in a single call.
next_tokenstringA pagination token used for large sets of results that can't be returned in a single response.

SELECT examples

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 }}'
;