Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateResolverRuleCommand

For DNS queries that originate in your VPCs, specifies which Resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network.

example

Use a bare-bones client and the command you need to make an API call.

import { Route53ResolverClient, CreateResolverRuleCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
// const { Route53ResolverClient, CreateResolverRuleCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
const client = new Route53ResolverClient(config);
const command = new CreateResolverRuleCommand(input);
const response = await client.send(command);
see

CreateResolverRuleCommandInput for command's input shape.

see

CreateResolverRuleCommandOutput for command's response shape.

see

config for Route53ResolverClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CreateResolverRuleCommandInput

Readonly middlewareStack