import * as core from "@terrascript/core"; export interface DsZoneArgs { /** * (Optional) The Hosted Zone name of the desired Hosted Zone. */ name?: string | core.StringOut; /** * (Optional) Used with `name` field to get a private Hosted Zone. */ privateZone?: boolean | core.BooleanOut; /** * The number of Record Set in the Hosted Zone. */ resourceRecordSetCount?: number | core.NumberOut; /** * (Optional) Used with `name` field. A map of tags, each pair of which must exactly match a pair on th * e desired Hosted Zone. */ tags?: core.Map | core.MapOut; /** * (Optional) Used with `name` field to get a private Hosted Zone associated with the vpc_id (in this c * ase, private_zone is not mandatory). */ vpcId?: string | core.StringOut; /** * (Optional) The Hosted Zone id of the desired Hosted Zone. */ zoneId?: string | core.StringOut; } export class DsZone extends core.Data { /** * The Amazon Resource Name (ARN) of the Hosted Zone. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Caller Reference of the Hosted Zone. */ @core.attr(String, { computed: true }) public callerReference!: string | core.StringOut; /** * The comment field of the Hosted Zone. */ @core.attr(String, { computed: true }) public comment!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The description provided by the service that created the Hosted Zone (e.g., `arn:aws:servicediscover * y:us-east-1:1234567890:namespace/ns-xxxxxxxxxxxxxxxx`). */ @core.attr(String, { computed: true }) public linkedServiceDescription!: string | core.StringOut; /** * The service that created the Hosted Zone (e.g., `servicediscovery.amazonaws.com`). */ @core.attr(String, { computed: true }) public linkedServicePrincipal!: string | core.StringOut; /** * (Optional) The Hosted Zone name of the desired Hosted Zone. */ @core.attr(String, { computed: true }) public name?: string | core.StringOut; /** * The list of DNS name servers for the Hosted Zone. */ @core.attr(String, { computed: true, kind: "array" }) public nameServers!: core.Array | core.ArrayOut; /** * (Optional) Used with `name` field to get a private Hosted Zone. */ @core.attr(Boolean) public privateZone?: boolean | core.BooleanOut; /** * The number of Record Set in the Hosted Zone. */ @core.attr(Number, { computed: true }) public resourceRecordSetCount?: number | core.NumberOut; /** * (Optional) Used with `name` field. A map of tags, each pair of which must exactly match a pair on th * e desired Hosted Zone. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * (Optional) Used with `name` field to get a private Hosted Zone associated with the vpc_id (in this c * ase, private_zone is not mandatory). */ @core.attr(String, { computed: true }) public vpcId?: string | core.StringOut; /** * (Optional) The Hosted Zone id of the desired Hosted Zone. */ @core.attr(String, { computed: true }) public zoneId?: string | core.StringOut; constructor(name: string, args?: DsZoneArgs) { super(name, "aws_route53_zone", args); } public override getNamespace(): string { return "aws_route53"; } }