UNPKG

@cdktf/provider-dnsimple

Version:

Prebuilt dnsimple Provider for Terraform CDK (cdktf)

101 lines (100 loc) 4.39 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ZoneRecordConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.10.0/docs/resources/zone_record#name ZoneRecord#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.10.0/docs/resources/zone_record#priority ZoneRecord#priority} */ readonly priority?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.10.0/docs/resources/zone_record#regions ZoneRecord#regions} */ readonly regions?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.10.0/docs/resources/zone_record#ttl ZoneRecord#ttl} */ readonly ttl?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.10.0/docs/resources/zone_record#type ZoneRecord#type} */ readonly type: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.10.0/docs/resources/zone_record#value ZoneRecord#value} */ readonly value: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.10.0/docs/resources/zone_record#zone_name ZoneRecord#zone_name} */ readonly zoneName: string; } /** * Represents a {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.10.0/docs/resources/zone_record dnsimple_zone_record} */ export declare class ZoneRecord extends cdktf.TerraformResource { static readonly tfResourceType = "dnsimple_zone_record"; /** * Generates CDKTF code for importing a ZoneRecord resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the ZoneRecord to import * @param importFromId The id of the existing ZoneRecord that should be imported. Refer to the {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.10.0/docs/resources/zone_record#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ZoneRecord to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.10.0/docs/resources/zone_record dnsimple_zone_record} 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 ZoneRecordConfig */ constructor(scope: Construct, id: string, config: ZoneRecordConfig); get id(): number; private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; get nameNormalized(): string; private _priority?; get priority(): number; set priority(value: number); resetPriority(): void; get priorityInput(): number | undefined; get qualifiedName(): string; private _regions?; get regions(): string[]; set regions(value: string[]); resetRegions(): void; get regionsInput(): string[] | undefined; private _ttl?; get ttl(): number; set ttl(value: number); resetTtl(): void; get ttlInput(): number | undefined; private _type?; get type(): string; set type(value: string); get typeInput(): string | undefined; private _value?; get value(): string; set value(value: string); get valueInput(): string | undefined; get valueNormalized(): string; get zoneId(): string; private _zoneName?; get zoneName(): string; set zoneName(value: string); get zoneNameInput(): string | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }