ResolverRule class
For queries that originate in your VPC, detailed information about a
Resolver rule, which specifies how to route DNS queries out of the VPC. The
ResolverRule
parameter appears in the response to a CreateResolverRule,
DeleteResolverRule,
GetResolverRule,
ListResolverRules,
or UpdateResolverRule
request.
Constructors
-
ResolverRule({String? arn, String? creationTime, String? creatorRequestId, String? domainName, String? id, String? modificationTime, String? name, String? ownerId, String? resolverEndpointId, RuleTypeOption? ruleType, ResolverRuleStatus? status, String? statusMessage, List<
TargetAddress> ? targetIps}) -
ResolverRule.fromJson(Map<
String, dynamic> json) -
factory
Properties
- arn → String?
-
The ARN (Amazon Resource Name) for the Resolver rule specified by
Id
.final - creationTime → String?
-
The date and time that the Resolver rule was created, in Unix time format
and Coordinated Universal Time (UTC).
final
- creatorRequestId → String?
-
A unique string that you specified when you created the Resolver rule.
CreatorRequestId
identifies the request and allows failed requests to be retried without the risk of executing the operation twice.final - domainName → String?
-
DNS queries for this domain name are forwarded to the IP addresses that are
specified in
TargetIps
. If a query matches multiple Resolver rules (example.com and www.example.com), the query is routed using the Resolver rule that contains the most specific domain name (www.example.com).final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The ID that Resolver assigned to the Resolver rule when you created it.
final
- modificationTime → String?
-
The date and time that the Resolver rule was last updated, in Unix time
format and Coordinated Universal Time (UTC).
final
- name → String?
-
The name for the Resolver rule, which you specified when you created the
Resolver rule.
final
- ownerId → String?
-
When a rule is shared with another AWS account, the account ID of the
account that the rule is shared with.
final
- resolverEndpointId → String?
-
The ID of the endpoint that the rule is associated with.
final
- ruleType → RuleTypeOption?
-
When you want to forward DNS queries for specified domain name to resolvers
on your network, specify
FORWARD
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Whether the rules is shared and, if so, whether the current account is
sharing the rule with another account, or another account is sharing the
rule with the current account.
final
- status → ResolverRuleStatus?
-
A code that specifies the current status of the Resolver rule.
final
- statusMessage → String?
-
A detailed description of the status of a Resolver rule.
final
-
targetIps
→ List<
TargetAddress> ? -
An array that contains the IP addresses and ports that an outbound endpoint
forwards DNS queries to. Typically, these are the IP addresses of DNS
resolvers on your network. Specify IPv4 addresses. IPv6 is not supported.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited