import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataExoscaleDomainRecordConfig extends cdktf.TerraformMetaArguments { /** * The [exoscale_domain](./domain.md) name to match. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/data-sources/domain_record#domain DataExoscaleDomainRecord#domain} */ readonly domain: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/data-sources/domain_record#id DataExoscaleDomainRecord#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; /** * filter block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/data-sources/domain_record#filter DataExoscaleDomainRecord#filter} */ readonly filter: DataExoscaleDomainRecordFilter; } export interface DataExoscaleDomainRecordRecords { } export declare function dataExoscaleDomainRecordRecordsToTerraform(struct?: DataExoscaleDomainRecordRecords): any; export declare function dataExoscaleDomainRecordRecordsToHclTerraform(struct?: DataExoscaleDomainRecordRecords): any; export declare class DataExoscaleDomainRecordRecordsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DataExoscaleDomainRecordRecords | undefined; set internalValue(value: DataExoscaleDomainRecordRecords | undefined); get content(): any; get domain(): any; get id(): any; get name(): any; get prio(): any; get recordType(): any; get ttl(): any; } export declare class DataExoscaleDomainRecordRecordsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DataExoscaleDomainRecordRecordsOutputReference; } export interface DataExoscaleDomainRecordFilter { /** * A regular expression to match the record content. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/data-sources/domain_record#content_regex DataExoscaleDomainRecord#content_regex} */ readonly contentRegex?: string; /** * The record ID to match. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/data-sources/domain_record#id DataExoscaleDomainRecord#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 domain record name to match. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/data-sources/domain_record#name DataExoscaleDomainRecord#name} */ readonly name?: string; /** * The record type to match. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/data-sources/domain_record#record_type DataExoscaleDomainRecord#record_type} */ readonly recordType?: string; } export declare function dataExoscaleDomainRecordFilterToTerraform(struct?: DataExoscaleDomainRecordFilterOutputReference | DataExoscaleDomainRecordFilter): any; export declare function dataExoscaleDomainRecordFilterToHclTerraform(struct?: DataExoscaleDomainRecordFilterOutputReference | DataExoscaleDomainRecordFilter): any; export declare class DataExoscaleDomainRecordFilterOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): DataExoscaleDomainRecordFilter | undefined; set internalValue(value: DataExoscaleDomainRecordFilter | undefined); private _contentRegex?; get contentRegex(): string; set contentRegex(value: string); resetContentRegex(): void; get contentRegexInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _recordType?; get recordType(): string; set recordType(value: string); resetRecordType(): void; get recordTypeInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/data-sources/domain_record exoscale_domain_record} */ export declare class DataExoscaleDomainRecord extends cdktf.TerraformDataSource { static readonly tfResourceType = "exoscale_domain_record"; /** * Generates CDKTF code for importing a DataExoscaleDomainRecord 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 DataExoscaleDomainRecord to import * @param importFromId The id of the existing DataExoscaleDomainRecord that should be imported. Refer to the {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/data-sources/domain_record#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataExoscaleDomainRecord 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/exoscale/exoscale/0.67.1/docs/data-sources/domain_record exoscale_domain_record} Data Source * * @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 DataExoscaleDomainRecordConfig */ constructor(scope: Construct, id: string, config: DataExoscaleDomainRecordConfig); private _domain?; get domain(): string; set domain(value: string); get domainInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _records; get records(): DataExoscaleDomainRecordRecordsList; private _filter; get filter(): DataExoscaleDomainRecordFilterOutputReference; putFilter(value: DataExoscaleDomainRecordFilter): void; get filterInput(): DataExoscaleDomainRecordFilter; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }