import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DnsRecordsetConfig extends cdktf.TerraformMetaArguments { /** * The string data for the records in this record set. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset#data DnsRecordset#data} */ readonly data: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset#id DnsRecordset#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * The DNS name this record set will apply to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset#name DnsRecordset#name} */ readonly name: string; /** * The time-to-live of this record set (seconds). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset#ttl DnsRecordset#ttl} */ readonly ttl: number; /** * The DNS record set type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset#type DnsRecordset#type} */ readonly type: string; /** * The id of the zone in which this record set will reside. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset#zone_id DnsRecordset#zone_id} */ readonly zoneId: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset#timeouts DnsRecordset#timeouts} */ readonly timeouts?: DnsRecordsetTimeouts; } export interface DnsRecordsetTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset#create DnsRecordset#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset#delete DnsRecordset#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset#update DnsRecordset#update} */ readonly update?: string; } export declare function dnsRecordsetTimeoutsToTerraform(struct?: DnsRecordsetTimeouts | cdktf.IResolvable): any; export declare function dnsRecordsetTimeoutsToHclTerraform(struct?: DnsRecordsetTimeouts | cdktf.IResolvable): any; export declare class DnsRecordsetTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DnsRecordsetTimeouts | cdktf.IResolvable | undefined; set internalValue(value: DnsRecordsetTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset yandex_dns_recordset} */ export declare class DnsRecordset extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_dns_recordset"; /** * Generates CDKTF code for importing a DnsRecordset resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DnsRecordset to import * @param importFromId The id of the existing DnsRecordset that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DnsRecordset to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/dns_recordset yandex_dns_recordset} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DnsRecordsetConfig */ constructor(scope: Construct, id: string, config: DnsRecordsetConfig); private _data?; get data(): string[]; set data(value: string[]); get dataInput(): string[]; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _ttl?; get ttl(): number; set ttl(value: number); get ttlInput(): number; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _zoneId?; get zoneId(): string; set zoneId(value: string); get zoneIdInput(): string; private _timeouts; get timeouts(): DnsRecordsetTimeoutsOutputReference; putTimeouts(value: DnsRecordsetTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }