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

Class: Aws::Route53Resolver::Types::ResolverRuleConfig

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

Overview

Note:

When passing ResolverRuleConfig as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "Name",
  target_ips: [
    {
      ip: "Ip", # required
      port: 1,
    },
  ],
  resolver_endpoint_id: "ResourceId",
}

In an UpdateResolverRule request, information about the changes that you want to make.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The new name for the resolver rule. The name that you specify appears in the Resolver dashboard in the Route 53 console.

Returns:

  • (String)

    The new name for the resolver rule.

#resolver_endpoint_idString

The ID of the new outbound resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps.

Returns:

  • (String)

    The ID of the new outbound resolver endpoint that you want to use to route DNS queries to the IP addresses that you specify in TargetIps.

#target_ipsArray<Types::TargetAddress>

For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.

Returns:

  • (Array<Types::TargetAddress>)

    For DNS queries that originate in your VPC, the new IP addresses that you want to route outbound DNS queries to.