import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TcrNamespaceConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace#id TcrNamespace#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; /** * ID of the TCR instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace#instance_id TcrNamespace#instance_id} */ readonly instanceId: string; /** * Scanning level, `True` is automatic, `False` is manual. Default is `false`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace#is_auto_scan TcrNamespace#is_auto_scan} */ readonly isAutoScan?: boolean | cdktf.IResolvable; /** * Blocking switch, `True` is open, `False` is closed. Default is `false`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace#is_prevent_vul TcrNamespace#is_prevent_vul} */ readonly isPreventVul?: boolean | cdktf.IResolvable; /** * Indicate that the namespace is public or not. Default is `false`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace#is_public TcrNamespace#is_public} */ readonly isPublic?: boolean | cdktf.IResolvable; /** * Name of the TCR namespace. Valid length is [2~30]. It can only contain lowercase letters, numbers and separators (`.`, `_`, `-`), and cannot start, end or continue with separators. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace#name TcrNamespace#name} */ readonly name: string; /** * Block vulnerability level, currently only supports `low`, `medium`, `high`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace#severity TcrNamespace#severity} */ readonly severity?: string; /** * cve_whitelist_items block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace#cve_whitelist_items TcrNamespace#cve_whitelist_items} */ readonly cveWhitelistItems?: TcrNamespaceCveWhitelistItems[] | cdktf.IResolvable; } export interface TcrNamespaceCveWhitelistItems { /** * Vulnerability Whitelist ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace#cve_id TcrNamespace#cve_id} */ readonly cveId?: string; } export declare function tcrNamespaceCveWhitelistItemsToTerraform(struct?: TcrNamespaceCveWhitelistItems | cdktf.IResolvable): any; export declare function tcrNamespaceCveWhitelistItemsToHclTerraform(struct?: TcrNamespaceCveWhitelistItems | cdktf.IResolvable): any; export declare class TcrNamespaceCveWhitelistItemsOutputReference 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(): TcrNamespaceCveWhitelistItems | cdktf.IResolvable | undefined; set internalValue(value: TcrNamespaceCveWhitelistItems | cdktf.IResolvable | undefined); private _cveId?; get cveId(): string; set cveId(value: string); resetCveId(): void; get cveIdInput(): string; } export declare class TcrNamespaceCveWhitelistItemsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TcrNamespaceCveWhitelistItems[] | 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): TcrNamespaceCveWhitelistItemsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace tencentcloud_tcr_namespace} */ export declare class TcrNamespace extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tcr_namespace"; /** * Generates CDKTF code for importing a TcrNamespace 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 TcrNamespace to import * @param importFromId The id of the existing TcrNamespace that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TcrNamespace 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/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcr_namespace tencentcloud_tcr_namespace} 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 TcrNamespaceConfig */ constructor(scope: Construct, id: string, config: TcrNamespaceConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _isAutoScan?; get isAutoScan(): boolean | cdktf.IResolvable; set isAutoScan(value: boolean | cdktf.IResolvable); resetIsAutoScan(): void; get isAutoScanInput(): any; private _isPreventVul?; get isPreventVul(): boolean | cdktf.IResolvable; set isPreventVul(value: boolean | cdktf.IResolvable); resetIsPreventVul(): void; get isPreventVulInput(): any; private _isPublic?; get isPublic(): boolean | cdktf.IResolvable; set isPublic(value: boolean | cdktf.IResolvable); resetIsPublic(): void; get isPublicInput(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _severity?; get severity(): string; set severity(value: string); resetSeverity(): void; get severityInput(): string; private _cveWhitelistItems; get cveWhitelistItems(): TcrNamespaceCveWhitelistItemsList; putCveWhitelistItems(value: TcrNamespaceCveWhitelistItems[] | cdktf.IResolvable): void; resetCveWhitelistItems(): void; get cveWhitelistItemsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }