import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DayuCcHttpsPolicyConfig extends cdktf.TerraformMetaArguments { /** * Action mode. Valid values are `alg` and `drop`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#action DayuCcHttpsPolicy#action} */ readonly action?: string; /** * Domain that the CC self-define https policy works for, only valid when `protocol` is `https`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#domain DayuCcHttpsPolicy#domain} */ readonly domain: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#id DayuCcHttpsPolicy#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; /** * Name of the CC self-define https policy. Length should between 1 and 20. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#name DayuCcHttpsPolicy#name} */ readonly name: string; /** * ID of the resource that the CC self-define https policy works for. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#resource_id DayuCcHttpsPolicy#resource_id} */ readonly resourceId: string; /** * Type of the resource that the CC self-define https policy works for, valid value is `bgpip`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#resource_type DayuCcHttpsPolicy#resource_type} */ readonly resourceType: string; /** * Rule id of the domain that the CC self-define https policy works for, only valid when `protocol` is `https`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#rule_id DayuCcHttpsPolicy#rule_id} */ readonly ruleId: string; /** * Indicate the CC self-define https policy takes effect or not. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#switch DayuCcHttpsPolicy#switch} */ readonly switch?: boolean | cdktf.IResolvable; /** * rule_list block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#rule_list DayuCcHttpsPolicy#rule_list} */ readonly ruleList: DayuCcHttpsPolicyRuleListStruct[] | cdktf.IResolvable; } export interface DayuCcHttpsPolicyRuleListStruct { /** * Operator of the rule. Valid values are `include` and `equal`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#operator DayuCcHttpsPolicy#operator} */ readonly operator: string; /** * Key of the rule. Valid values are `cgi`, `ua` and `referer`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#skey DayuCcHttpsPolicy#skey} */ readonly skey: string; /** * Rule value, then length should be less than 31 bytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#value DayuCcHttpsPolicy#value} */ readonly value: string; } export declare function dayuCcHttpsPolicyRuleListStructToTerraform(struct?: DayuCcHttpsPolicyRuleListStruct | cdktf.IResolvable): any; export declare function dayuCcHttpsPolicyRuleListStructToHclTerraform(struct?: DayuCcHttpsPolicyRuleListStruct | cdktf.IResolvable): any; export declare class DayuCcHttpsPolicyRuleListStructOutputReference 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(): DayuCcHttpsPolicyRuleListStruct | cdktf.IResolvable | undefined; set internalValue(value: DayuCcHttpsPolicyRuleListStruct | cdktf.IResolvable | undefined); private _operator?; get operator(): string; set operator(value: string); get operatorInput(): string; private _skey?; get skey(): string; set skey(value: string); get skeyInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class DayuCcHttpsPolicyRuleListStructList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DayuCcHttpsPolicyRuleListStruct[] | 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): DayuCcHttpsPolicyRuleListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy tencentcloud_dayu_cc_https_policy} */ export declare class DayuCcHttpsPolicy extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_dayu_cc_https_policy"; /** * Generates CDKTF code for importing a DayuCcHttpsPolicy 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 DayuCcHttpsPolicy to import * @param importFromId The id of the existing DayuCcHttpsPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dayu_cc_https_policy#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DayuCcHttpsPolicy 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/dayu_cc_https_policy tencentcloud_dayu_cc_https_policy} 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 DayuCcHttpsPolicyConfig */ constructor(scope: Construct, id: string, config: DayuCcHttpsPolicyConfig); private _action?; get action(): string; set action(value: string); resetAction(): void; get actionInput(): string; get createTime(): any; private _domain?; get domain(): string; set domain(value: string); get domainInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get ipList(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; get policyId(): any; private _resourceId?; get resourceId(): string; set resourceId(value: string); get resourceIdInput(): string; private _resourceType?; get resourceType(): string; set resourceType(value: string); get resourceTypeInput(): string; private _ruleId?; get ruleId(): string; set ruleId(value: string); get ruleIdInput(): string; private _switch?; get switch(): boolean | cdktf.IResolvable; set switch(value: boolean | cdktf.IResolvable); resetSwitch(): void; get switchInput(): any; private _ruleList; get ruleList(): DayuCcHttpsPolicyRuleListStructList; putRuleList(value: DayuCcHttpsPolicyRuleListStruct[] | cdktf.IResolvable): void; get ruleListInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }