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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb

Overview

Note:

When making an API call, you may pass ResolverRuleConfig data as a 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.

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)


1418
1419
1420
1421
1422
1423
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 1418

class ResolverRuleConfig < Struct.new(
  :name,
  :target_ips,
  :resolver_endpoint_id)
  include Aws::Structure
end

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


1418
1419
1420
1421
1422
1423
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 1418

class ResolverRuleConfig < Struct.new(
  :name,
  :target_ips,
  :resolver_endpoint_id)
  include Aws::Structure
end

#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:



1418
1419
1420
1421
1422
1423
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 1418

class ResolverRuleConfig < Struct.new(
  :name,
  :target_ips,
  :resolver_endpoint_id)
  include Aws::Structure
end