import * as core from "@terrascript/core"; export interface DsRulesArgs { /** * (Optional) A regex string to filter resolver rule names. */ nameRegex?: string | core.StringOut; ownerId?: string | core.StringOut; resolverEndpointId?: string | core.StringOut; ruleType?: string | core.StringOut; shareStatus?: string | core.StringOut; } export class DsRules extends core.Data { /** * AWS Region. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) A regex string to filter resolver rule names. */ @core.attr(String) public nameRegex?: string | core.StringOut; @core.attr(String) public ownerId?: string | core.StringOut; @core.attr(String) public resolverEndpointId?: string | core.StringOut; /** * The IDs of the matched resolver rules. */ @core.attr(String, { computed: true, kind: "array" }) public resolverRuleIds!: core.Array | core.ArrayOut; @core.attr(String) public ruleType?: string | core.StringOut; @core.attr(String) public shareStatus?: string | core.StringOut; constructor(name: string, args?: DsRulesArgs) { super(name, "aws_route53_resolver_rules", args); } public override getNamespace(): string { return "aws_route53_resolver"; } }