import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CcnRouteTableInputPoliciesConfig extends cdktf.TerraformMetaArguments { /** * CCN Instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies#ccn_id CcnRouteTableInputPolicies#ccn_id} */ readonly ccnId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies#id CcnRouteTableInputPolicies#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; /** * CCN Route table ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies#route_table_id CcnRouteTableInputPolicies#route_table_id} */ readonly routeTableId: string; /** * policies block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies#policies CcnRouteTableInputPolicies#policies} */ readonly policies?: CcnRouteTableInputPoliciesPolicies[] | cdktf.IResolvable; } export interface CcnRouteTableInputPoliciesPoliciesRouteConditions { /** * Matching mode, `1` precise matching, `0` fuzzy matching. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies#match_pattern CcnRouteTableInputPolicies#match_pattern} */ readonly matchPattern: number; /** * Condition type. Example value: `instance-type`, `instance-region`, `instance-id`, `cidr-block`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies#name CcnRouteTableInputPolicies#name} */ readonly name: string; /** * List of conditional values. Example value: * `instance-type`: `VPC`, `VPNGW`, `DIRECTCONNECT` * `instance-region`: `ap-guangzhou` * `instance-id`: `vpc-axrsmmrv`, `dcg-oxad32f7`, `vpngw-33p5vnwd` * `cidr-block`: `172.0.0.0/8`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies#values CcnRouteTableInputPolicies#values} */ readonly values: string[]; } export declare function ccnRouteTableInputPoliciesPoliciesRouteConditionsToTerraform(struct?: CcnRouteTableInputPoliciesPoliciesRouteConditions | cdktf.IResolvable): any; export declare function ccnRouteTableInputPoliciesPoliciesRouteConditionsToHclTerraform(struct?: CcnRouteTableInputPoliciesPoliciesRouteConditions | cdktf.IResolvable): any; export declare class CcnRouteTableInputPoliciesPoliciesRouteConditionsOutputReference 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(): CcnRouteTableInputPoliciesPoliciesRouteConditions | cdktf.IResolvable | undefined; set internalValue(value: CcnRouteTableInputPoliciesPoliciesRouteConditions | cdktf.IResolvable | undefined); private _matchPattern?; get matchPattern(): number; set matchPattern(value: number); get matchPatternInput(): number; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _values?; get values(): string[]; set values(value: string[]); get valuesInput(): string[]; } export declare class CcnRouteTableInputPoliciesPoliciesRouteConditionsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CcnRouteTableInputPoliciesPoliciesRouteConditions[] | 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): CcnRouteTableInputPoliciesPoliciesRouteConditionsOutputReference; } export interface CcnRouteTableInputPoliciesPolicies { /** * Routing behavior, `accept` allows, `drop` rejects. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies#action CcnRouteTableInputPolicies#action} */ readonly action: string; /** * Policy description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies#description CcnRouteTableInputPolicies#description} */ readonly description: string; /** * route_conditions block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies#route_conditions CcnRouteTableInputPolicies#route_conditions} */ readonly routeConditions: CcnRouteTableInputPoliciesPoliciesRouteConditions[] | cdktf.IResolvable; } export declare function ccnRouteTableInputPoliciesPoliciesToTerraform(struct?: CcnRouteTableInputPoliciesPolicies | cdktf.IResolvable): any; export declare function ccnRouteTableInputPoliciesPoliciesToHclTerraform(struct?: CcnRouteTableInputPoliciesPolicies | cdktf.IResolvable): any; export declare class CcnRouteTableInputPoliciesPoliciesOutputReference 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(): CcnRouteTableInputPoliciesPolicies | cdktf.IResolvable | undefined; set internalValue(value: CcnRouteTableInputPoliciesPolicies | cdktf.IResolvable | undefined); private _action?; get action(): string; set action(value: string); get actionInput(): string; private _description?; get description(): string; set description(value: string); get descriptionInput(): string; private _routeConditions; get routeConditions(): CcnRouteTableInputPoliciesPoliciesRouteConditionsList; putRouteConditions(value: CcnRouteTableInputPoliciesPoliciesRouteConditions[] | cdktf.IResolvable): void; get routeConditionsInput(): any; } export declare class CcnRouteTableInputPoliciesPoliciesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CcnRouteTableInputPoliciesPolicies[] | 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): CcnRouteTableInputPoliciesPoliciesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies tencentcloud_ccn_route_table_input_policies} */ export declare class CcnRouteTableInputPolicies extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_ccn_route_table_input_policies"; /** * Generates CDKTF code for importing a CcnRouteTableInputPolicies 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 CcnRouteTableInputPolicies to import * @param importFromId The id of the existing CcnRouteTableInputPolicies that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ccn_route_table_input_policies#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CcnRouteTableInputPolicies 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/ccn_route_table_input_policies tencentcloud_ccn_route_table_input_policies} 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 CcnRouteTableInputPoliciesConfig */ constructor(scope: Construct, id: string, config: CcnRouteTableInputPoliciesConfig); private _ccnId?; get ccnId(): string; set ccnId(value: string); get ccnIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _routeTableId?; get routeTableId(): string; set routeTableId(value: string); get routeTableIdInput(): string; private _policies; get policies(): CcnRouteTableInputPoliciesPoliciesList; putPolicies(value: CcnRouteTableInputPoliciesPolicies[] | cdktf.IResolvable): void; resetPolicies(): void; get policiesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }