import * as core from "@terrascript/core"; export interface RuleAssociationArgs extends core.ResourceArgs { /** * (Optional) A name for the association that you're creating between a resolver rule and a VPC. */ name?: string | core.StringOut; /** * (Required) The ID of the resolver rule that you want to associate with the VPC. */ resolverRuleId: string | core.StringOut; /** * (Required) The ID of the VPC that you want to associate the resolver rule with. */ vpcId: string | core.StringOut; } export class RuleAssociation extends core.Resource { /** * The ID of the resolver rule association. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) A name for the association that you're creating between a resolver rule and a VPC. */ @core.attr(String) public name?: string | core.StringOut; /** * (Required) The ID of the resolver rule that you want to associate with the VPC. */ @core.attr(String) public resolverRuleId!: string | core.StringOut; /** * (Required) The ID of the VPC that you want to associate the resolver rule with. */ @core.attr(String) public vpcId!: string | core.StringOut; constructor(name: string, args?: RuleAssociationArgs) { super(name, "aws_route53_resolver_rule_association", args); } public override getNamespace(): string { return "aws_route53_resolver"; } }