create_outpost_resolver
¶
create_outpost_resolver(
creator_request_id: CreatorRequestId,
name: OutpostResolverName,
preferred_instance_type: OutpostInstanceType,
outpost_arn: OutpostArn,
*,
config_overrides: Optional[Route53ResolverClientConfig] = None,
instance_count: Optional[InstanceCount] = None,
tags: Optional[TagList] = None,
) -> CreateOutpostResolverResponse
Creates a Route 53 Resolver on an Outpost.
This operation applies to first-generation Outposts only. On second-generation Outposts, Resolver is enabled by default and managed automatically by Amazon Web Services, so you don't need to create it.
Parameters:
-
creator_request_id(CreatorRequestId) –A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp. -
name(OutpostResolverName) –A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.
-
instance_count(Optional[InstanceCount], default:None) –Number of Amazon EC2 instances for the Resolver on Outpost. The default and minimal value is 4.
-
preferred_instance_type(OutpostInstanceType) –The Amazon EC2 instance type. If you specify this, you must also specify a value for the
OutpostArn. -
outpost_arn(OutpostArn) –The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the
PreferredInstanceType. -
tags(Optional[TagList], default:None) –A string that helps identify the Route 53 Resolvers on Outpost.
Raises:
-
AccessDeniedException–The current account doesn't have the IAM permissions required to perform the specified Resolver operation.
This error can also be thrown when a customer has reached the 5120 character limit for a resource policy for CloudWatch Logs.
-
InternalServiceErrorException–We encountered an unknown error. Try again in a few minutes.
-
ResourceNotFoundException–The specified resource doesn't exist.
-
ServiceQuotaExceededException–Fulfilling the request would cause one or more quotas to be exceeded.
-
ThrottlingException–The request was throttled. Try again in a few minutes.
-
ValidationException–You have provided an invalid command. If you ran the
UpdateFirewallDomainsrequest. supported values areADD,REMOVE, orREPLACEa domain. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_route53resolver/_services/route53_resolver.py
991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 | |