create_global_resolver
async
¶
create_global_resolver(
name: ResourceName,
regions: Regions,
*,
config_overrides: Optional[AsyncRoute53GlobalResolverClientConfig] = None,
client_token: Optional[ClientToken] = None,
description: Optional[ResourceDescription] = None,
ip_address_type: Optional[GlobalResolverIpAddressType] = None,
observability_region: Optional[Region] = None,
tags: Optional[Tags] = None,
) -> CreateGlobalResolverOutput
Creates a new Route 53 Global Resolver instance. A Route 53 Global Resolver is a global, internet-accessible DNS resolver that provides secure DNS resolution for both public and private domains through global anycast IP addresses.
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:
-
client_token(Optional[ClientToken], default:None) –A unique string that identifies the request and ensures idempotency. If you make multiple requests with the same client token, only one Route 53 Global Resolver is created.
-
description(Optional[ResourceDescription], default:None) –An optional description for the Route 53 Global Resolver instance. Maximum length of 1024 characters.
-
ip_address_type(Optional[GlobalResolverIpAddressType], default:None) –The IP address type for the Route 53 Global Resolver. Valid values are IPV4 (default) or DUAL_STACK for both IPv4 and IPv6 support.
-
name(ResourceName) –A descriptive name for the Route 53 Global Resolver instance. Maximum length of 64 characters.
-
observability_region(Optional[Region], default:None) –The Amazon Web Services Region where query resolution logs and metrics will be aggregated and delivered. If not specified, logging is not enabled.
-
regions(Regions) –List of Amazon Web Services Regions where the Route 53 Global Resolver will operate. The resolver will be distributed across these Regions to provide global availability and low-latency DNS resolution.
-
tags(Optional[Tags], default:None) –Tags to associate with the Route 53 Global Resolver. Tags are key-value pairs that help you organize and identify your resources.
Raises:
-
AccessDeniedException–You don't have permission to perform this operation. Check your IAM permissions and try again.
-
ConflictException–The request conflicts with the current state of the resource. This can occur when trying to modify a resource that is not in a valid state for the requested operation.
-
InternalServerException–An internal server error occurred. Try again later.
-
ServiceQuotaExceededException–The request would exceed one or more service quotas. Check your current usage and quotas, then try again.
-
ThrottlingException–The request was throttled due to too many requests. Wait a moment and try again.
-
ValidationException–The input parameters are invalid. Check the parameter values and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_route53globalresolver/_services/async_route53_global_resolver.py
2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 | |