Module Values.AssociateResolverRuleRequestSource

Associates a Resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule.

Sourcetype nonrec t = {
  1. resolverRuleId : ResourceId.t;
    (*

    The ID of the Resolver rule that you want to associate with the VPC. To list the existing Resolver rules, use ListResolverRules.

    *)
  2. name : Name.t option;
    (*

    A name for the association that you're creating between a Resolver rule and a VPC. The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers.

    *)
  3. vPCId : ResourceId.t;
    (*

    The ID of the VPC that you want to associate the Resolver rule with.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> resolverRuleId:ResourceId.t -> vPCId:ResourceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ResourceId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t