@cdktf/provider-dnsimple
Version:
Prebuilt dnsimple Provider for Terraform CDK (cdktf)
54 lines (53 loc) • 2.72 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DomainDelegationConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.9.1/docs/resources/domain_delegation#domain DomainDelegation#domain}
*/
readonly domain: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.9.1/docs/resources/domain_delegation#name_servers DomainDelegation#name_servers}
*/
readonly nameServers: string[];
}
/**
* Represents a {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.9.1/docs/resources/domain_delegation dnsimple_domain_delegation}
*/
export declare class DomainDelegation extends cdktf.TerraformResource {
static readonly tfResourceType = "dnsimple_domain_delegation";
/**
* Generates CDKTF code for importing a DomainDelegation 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 DomainDelegation to import
* @param importFromId The id of the existing DomainDelegation that should be imported. Refer to the {@link https://registry.terraform.io/providers/dnsimple/dnsimple/1.9.1/docs/resources/domain_delegation#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DomainDelegation 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.9.1/docs/resources/domain_delegation dnsimple_domain_delegation} 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 DomainDelegationConfig
*/
constructor(scope: Construct, id: string, config: DomainDelegationConfig);
private _domain?;
get domain(): string;
set domain(value: string);
get domainInput(): string | undefined;
get id(): string;
private _nameServers?;
get nameServers(): string[];
set nameServers(value: string[]);
get nameServersInput(): string[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}