import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CdpConfig extends cdktf.TerraformMetaArguments { /** * A device name from the provider configuration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#device Cdp#device} */ readonly device?: string; /** * Apply tlv-list globally * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#filter_tlv_list Cdp#filter_tlv_list} */ readonly filterTlvList?: string; /** * Specify the holdtime (in sec) to be sent in packets * - Range: `10`-`255` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#holdtime Cdp#holdtime} */ readonly holdtime?: number; /** * Enable CDP * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#run Cdp#run} */ readonly run?: boolean | cdktf.IResolvable; /** * Specify the rate at which CDP packets are sent (in sec) * - Range: `5`-`254` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#timer Cdp#timer} */ readonly timer?: number; /** * Configure tlv-list * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#tlv_lists Cdp#tlv_lists} */ readonly tlvLists?: CdpTlvLists[] | cdktf.IResolvable; } export interface CdpTlvLists { /** * Select cos TLV * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#cos Cdp#cos} */ readonly cos?: boolean | cdktf.IResolvable; /** * Select duplex TLV * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#duplex Cdp#duplex} */ readonly duplex?: boolean | cdktf.IResolvable; /** * Tlv-list * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#name Cdp#name} */ readonly name: string; /** * Select trust TLV * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#trust Cdp#trust} */ readonly trust?: boolean | cdktf.IResolvable; /** * Select version TLV * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#version Cdp#version} */ readonly version?: boolean | cdktf.IResolvable; /** * Select vtp mgmt domain TLV * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#vtp_mgmt_domain Cdp#vtp_mgmt_domain} */ readonly vtpMgmtDomain?: boolean | cdktf.IResolvable; } export declare function cdpTlvListsToTerraform(struct?: CdpTlvLists | cdktf.IResolvable): any; export declare function cdpTlvListsToHclTerraform(struct?: CdpTlvLists | cdktf.IResolvable): any; export declare class CdpTlvListsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): CdpTlvLists | cdktf.IResolvable | undefined; set internalValue(value: CdpTlvLists | cdktf.IResolvable | undefined); private _cos?; get cos(): boolean | cdktf.IResolvable; set cos(value: boolean | cdktf.IResolvable); resetCos(): void; get cosInput(): any; private _duplex?; get duplex(): boolean | cdktf.IResolvable; set duplex(value: boolean | cdktf.IResolvable); resetDuplex(): void; get duplexInput(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _trust?; get trust(): boolean | cdktf.IResolvable; set trust(value: boolean | cdktf.IResolvable); resetTrust(): void; get trustInput(): any; private _version?; get version(): boolean | cdktf.IResolvable; set version(value: boolean | cdktf.IResolvable); resetVersion(): void; get versionInput(): any; private _vtpMgmtDomain?; get vtpMgmtDomain(): boolean | cdktf.IResolvable; set vtpMgmtDomain(value: boolean | cdktf.IResolvable); resetVtpMgmtDomain(): void; get vtpMgmtDomainInput(): any; } export declare class CdpTlvListsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CdpTlvLists[] | cdktf.IResolvable; /** * @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): CdpTlvListsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp iosxe_cdp} */ export declare class Cdp extends cdktf.TerraformResource { static readonly tfResourceType = "iosxe_cdp"; /** * Generates CDKTF code for importing a Cdp 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 Cdp to import * @param importFromId The id of the existing Cdp that should be imported. Refer to the {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/cdp#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Cdp 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/ciscodevnet/iosxe/0.15.0/docs/resources/cdp iosxe_cdp} 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 CdpConfig = {} */ constructor(scope: Construct, id: string, config?: CdpConfig); private _device?; get device(): string; set device(value: string); resetDevice(): void; get deviceInput(): string; private _filterTlvList?; get filterTlvList(): string; set filterTlvList(value: string); resetFilterTlvList(): void; get filterTlvListInput(): string; private _holdtime?; get holdtime(): number; set holdtime(value: number); resetHoldtime(): void; get holdtimeInput(): number; get id(): any; private _run?; get run(): boolean | cdktf.IResolvable; set run(value: boolean | cdktf.IResolvable); resetRun(): void; get runInput(): any; private _timer?; get timer(): number; set timer(value: number); resetTimer(): void; get timerInput(): number; private _tlvLists; get tlvLists(): CdpTlvListsList; putTlvLists(value: CdpTlvLists[] | cdktf.IResolvable): void; resetTlvLists(): void; get tlvListsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }