import * as core from "@terrascript/core"; export interface VpcAssociationAuthorizationArgs extends core.ResourceArgs { /** * (Required) The VPC to authorize for association 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 ID of the private hosted zone that you want to authorize associating a VPC with. */ zoneId: string | core.StringOut; } export class VpcAssociationAuthorization extends core.Resource { /** * The calculated unique identifier for the association. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The VPC to authorize for association 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 ID of the private hosted zone that you want to authorize associating a VPC with. */ @core.attr(String) public zoneId!: string | core.StringOut; constructor(name: string, args?: VpcAssociationAuthorizationArgs) { super(name, "aws_route53_vpc_association_authorization", args); } public override getNamespace(): string { return "aws_route53"; } }