import * as core from "@terrascript/core"; export interface ZoneAssociationArgs extends core.ResourceArgs { /** * (Required) The VPC to associate with the private hosted zone. */ vpcId: string | core.StringOut; /** * (Optional) The VPC's region. Defaults to the region of the AWS provider. */ vpcRegion?: string | core.StringOut; /** * (Required) The private hosted zone to associate. */ zoneId: string | core.StringOut; } export class ZoneAssociation extends core.Resource { /** * The calculated unique identifier for the association. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The account ID of the account that created the hosted zone. */ @core.attr(String, { computed: true }) public owningAccount!: string | core.StringOut; /** * (Required) The VPC to associate with the private hosted zone. */ @core.attr(String) public vpcId!: string | core.StringOut; /** * (Optional) The VPC's region. Defaults to the region of the AWS provider. */ @core.attr(String, { computed: true }) public vpcRegion?: string | core.StringOut; /** * (Required) The private hosted zone to associate. */ @core.attr(String) public zoneId!: string | core.StringOut; constructor(name: string, args?: ZoneAssociationArgs) { super(name, "aws_route53_zone_association", args); } public override getNamespace(): string { return "aws_route53"; } }