UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

57 lines (56 loc) 2.05 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::Route53Resolver::ResolverRule */ export declare function getResolverRule(args: GetResolverRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetResolverRuleResult>; export interface GetResolverRuleArgs { /** * The ID of the endpoint that the rule is associated with. */ resolverRuleId: string; } export interface GetResolverRuleResult { /** * The Amazon Resource Name (ARN) of the resolver rule. */ readonly arn?: string; /** * The name server domain for queries to be delegated to if a query matches the delegation record. */ readonly delegationRecord?: string; /** * DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps */ readonly domainName?: string; /** * The name for the Resolver rule */ readonly name?: string; /** * The ID of the endpoint that the rule is associated with. */ readonly resolverEndpointId?: string; /** * The ID of the endpoint that the rule is associated with. */ readonly resolverRuleId?: string; /** * An array of key-value pairs to apply to this resource. */ readonly tags?: outputs.Tag[]; /** * An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported. */ readonly targetIps?: outputs.route53resolver.ResolverRuleTargetAddress[]; } /** * Resource Type definition for AWS::Route53Resolver::ResolverRule */ export declare function getResolverRuleOutput(args: GetResolverRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetResolverRuleResult>; export interface GetResolverRuleOutputArgs { /** * The ID of the endpoint that the rule is associated with. */ resolverRuleId: pulumi.Input<string>; }