import * as core from "@terrascript/core"; export interface TargetIpArgs extends core.SchemaArgs { ip: string | core.StringOut; port?: number | core.NumberOut; } export declare class TargetIp extends core.Schema { ip: string | core.StringOut; port?: number | core.NumberOut; } export interface RuleArgs extends core.ResourceArgs { /** * (Required) DNS queries for this domain name are forwarded to the IP addresses that are specified usi * ng `target_ip`. */ domainName: string | core.StringOut; /** * (Optional) A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 5 * 3 console. */ name?: string | core.StringOut; resolverEndpointId?: string | core.StringOut; /** * (Required) The rule type. Valid values are `FORWARD`, `SYSTEM` and `RECURSIVE`. */ ruleType: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Optional) Configuration block(s) indicating the IPs that you want Resolver to forward DNS queries t * o (documented below). */ targetIp?: core.Array | core.ArrayOut; } export declare class Rule extends core.Resource { /** * The ARN (Amazon Resource Name) for the resolver rule. */ arn: string | core.StringOut; /** * (Required) DNS queries for this domain name are forwarded to the IP addresses that are specified usi * ng `target_ip`. */ domainName: string | core.StringOut; /** * The ID of the resolver rule. */ id: string | core.StringOut; /** * (Optional) A friendly name that lets you easily find a rule in the Resolver dashboard in the Route 5 * 3 console. */ name?: string | core.StringOut; /** * When a rule is shared with another AWS account, the account ID of the account that the rule is share * d with. */ ownerId: string | core.StringOut; resolverEndpointId?: string | core.StringOut; /** * (Required) The rule type. Valid values are `FORWARD`, `SYSTEM` and `RECURSIVE`. */ ruleType: string | core.StringOut; /** * Whether the rules is shared and, if so, whether the current account is sharing the rule with another * account, or another account is sharing the rule with the current account. */ shareStatus: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; /** * (Optional) Configuration block(s) indicating the IPs that you want Resolver to forward DNS queries t * o (documented below). */ targetIp?: core.Array | core.ArrayOut; constructor(name: string, args?: RuleArgs); getNamespace(): string; } //# sourceMappingURL=rule.d.ts.map