create_global_resolver
¶
create_global_resolver(
name: ResourceName,
regions: Regions,
*,
config_overrides: Optional[Route53GlobalResolverClientConfig] = None,
client_token: Optional[ClientToken] = None,
description: Optional[ResourceDescription] = None,
ip_address_type: Optional[GlobalResolverIpAddressType] = None,
public_ip_status: Optional[PublicIpStatus] = 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.
-
public_ip_status(Optional[PublicIpStatus], default:None) –Specifies the public IP connectivity to configure for the Route 53 Global Resolver. Public IP addresses let DNS clients send queries to the resolver over the internet. Valid values are the following:
-
ENABLED_RESERVED- Public IP connectivity is enabled, and the global anycast public IP addresses are reserved for the Route 53 Global Resolver. -
DISABLED_RESERVED- Public IP connectivity is disabled, and the global anycast public IP addresses remain reserved for the Route 53 Global Resolver. -
DISABLED_RELEASED- Public IP connectivity is disabled, and the global anycast public IP addresses are released.
-
-
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/route53_global_resolver.py
3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 | |