import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TeoBindSecurityTemplateConfig extends cdktf.TerraformMetaArguments { /** * List of domain names to bind to/unbind from a policy template. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_bind_security_template#entity TeoBindSecurityTemplate#entity} */ readonly entity: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_bind_security_template#id TeoBindSecurityTemplate#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; /** * Unbind operation option. valid values: `unbind-keep-policy`: unbind a domain name from the policy template while retaining the current policy. `unbind-use-default`: unbind a domain name from the policy template and use the default blank policy. default value: `unbind-keep-policy`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_bind_security_template#operate TeoBindSecurityTemplate#operate} */ readonly operate?: string; /** * If the passed-in domain is already bound to a policy template (including site-level protection policies), setting this parameter indicates whether to replace that template. The default value is true. Supported values are: `true`: Replace the currently bound template for the domain. `false`: Do not replace the currently bound template for the domain. Note: When set to false, if the passed-in domain is already bound to a policy template, the API will return an error; site-level protection policies are also a type of policy template. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_bind_security_template#over_write TeoBindSecurityTemplate#over_write} */ readonly overWrite?: boolean | cdktf.IResolvable; /** * Specifies the ID of the policy template or the site global policy to be bound or unbound. *
  • To bind to a policy template, or unbind from it, specify the policy template ID.
  • . *
  • To bind to the site's global policy, or unbind from it, use the @ZoneLevel@domain parameter value.
  • . * * Note: After unbinding, the domain name will use an independent policy and rule quota will be calculated separately. Please make sure there is sufficient rule quota before unbinding. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_bind_security_template#template_id TeoBindSecurityTemplate#template_id} */ readonly templateId: string; /** * Site ID of the policy template to be bound to or unbound from. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_bind_security_template#zone_id TeoBindSecurityTemplate#zone_id} */ readonly zoneId: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_bind_security_template tencentcloud_teo_bind_security_template} */ export declare class TeoBindSecurityTemplate extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_teo_bind_security_template"; /** * Generates CDKTF code for importing a TeoBindSecurityTemplate 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 TeoBindSecurityTemplate to import * @param importFromId The id of the existing TeoBindSecurityTemplate that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/teo_bind_security_template#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TeoBindSecurityTemplate 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/teo_bind_security_template tencentcloud_teo_bind_security_template} 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 TeoBindSecurityTemplateConfig */ constructor(scope: Construct, id: string, config: TeoBindSecurityTemplateConfig); private _entity?; get entity(): string; set entity(value: string); get entityInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _operate?; get operate(): string; set operate(value: string); resetOperate(): void; get operateInput(): string; private _overWrite?; get overWrite(): boolean | cdktf.IResolvable; set overWrite(value: boolean | cdktf.IResolvable); resetOverWrite(): void; get overWriteInput(): any; get status(): any; private _templateId?; get templateId(): string; set templateId(value: string); get templateIdInput(): string; private _zoneId?; get zoneId(): string; set zoneId(value: string); get zoneIdInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }