You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53Resolver::Types::ResolverRule

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN (Amazon Resource Name) for the resolver rule specified by Id.

Returns:

  • (String)

    The ARN (Amazon Resource Name) for the resolver rule specified by Id.

#creator_request_idString

A unique string that you specified when you created the resolver rule. CreatorRequestIdidentifies the request and allows failed requests to be retried without the risk of executing the operation twice.

Returns:

  • (String)

    A unique string that you specified when you created the resolver rule.

#domain_nameString

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).

Returns:

  • (String)

    DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps.

#idString

The ID that Resolver assigned to the resolver rule when you created it.

Returns:

  • (String)

    The ID that Resolver assigned to the resolver rule when you created it.

#nameString

The name for the resolver rule, which you specified when you created the resolver rule.

Returns:

  • (String)

    The name for the resolver rule, which you specified when you created the resolver rule.

#owner_idString

When a rule is shared with another AWS account, the account ID of the account that the rule is shared with.

Returns:

  • (String)

    When a rule is shared with another AWS account, the account ID of the account that the rule is shared with.

#resolver_endpoint_idString

The ID of the endpoint that the rule is associated with.

Returns:

  • (String)

    The ID of the endpoint that the rule is associated with.

#rule_typeString

This value is always FORWARD. Other resolver rule types aren\'t supported.

Possible values:

  • FORWARD
  • SYSTEM
  • RECURSIVE

Returns:

  • (String)

    This value is always FORWARD.

#share_statusString

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.

Possible values:

  • NOT_SHARED
  • SHARED_WITH_ME
  • SHARED_BY_ME

Returns:

  • (String)

    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.

#statusString

A code that specifies the current status of the resolver rule.

Possible values:

  • COMPLETE
  • DELETING
  • UPDATING
  • FAILED

Returns:

  • (String)

    A code that specifies the current status of the resolver rule.

#status_messageString

A detailed description of the status of a resolver rule.

Returns:

  • (String)

    A detailed description of the status of a resolver rule.

#target_ipsArray<Types::TargetAddress>

An array that contains the IP addresses and ports that you want to forward

Returns:

  • (Array<Types::TargetAddress>)

    An array that contains the IP addresses and ports that you want to forward.