import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface SandboxRulesConfig extends cdktf.TerraformMetaArguments { /** * The threat categories to which the rule applies * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#ba_policy_categories SandboxRules#ba_policy_categories} */ readonly baPolicyCategories?: string[]; /** * The action configured for the rule that must take place if the traffic matches the rule criteria. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#ba_rule_action SandboxRules#ba_rule_action} */ readonly baRuleAction?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#by_threat_score SandboxRules#by_threat_score} */ readonly byThreatScore?: number; /** * Additional information about the Sandbox rule * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#description SandboxRules#description} */ readonly description?: string; /** * File type categories for which the policy is applied. If not set, the rule is applied across all file types. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#file_types SandboxRules#file_types} */ readonly fileTypes: string[]; /** * A Boolean value indicating whether a First-Time Action is specifically configured for the rule * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#first_time_enable SandboxRules#first_time_enable} */ readonly firstTimeEnable?: boolean | cdktf.IResolvable; /** * The action that must take place when users download unknown files for the first time * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#first_time_operation SandboxRules#first_time_operation} */ readonly firstTimeOperation?: string; /** * When set to true, this indicates that 'Machine Learning Intelligence Action' checkbox has been checked on * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#ml_action_enabled SandboxRules#ml_action_enabled} */ readonly mlActionEnabled?: boolean | cdktf.IResolvable; /** * The File Type Control policy rule name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#name SandboxRules#name} */ readonly name: string; /** * The rule order of execution for the sandbox rules with respect to other rules. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#order SandboxRules#order} */ readonly order: number; /** * Protocol for the given rule. This field is not applicable to the Lite API. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#protocols SandboxRules#protocols} */ readonly protocols: string[]; /** * Admin rank of the admin who creates this rule * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#rank SandboxRules#rank} */ readonly rank?: number; /** * Enables or disables the sandbox rules. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#state SandboxRules#state} */ readonly state?: string; /** * The list of URL Categories to which the SSL inspection rule must be applied. * See the URL Categories API for the list of available categories: * https://help.zscaler.com/zia/url-categories#/urlCategories-get * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#url_categories SandboxRules#url_categories} */ readonly urlCategories?: string[]; /** * departments block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#departments SandboxRules#departments} */ readonly departments?: SandboxRulesDepartments; /** * groups block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#groups SandboxRules#groups} */ readonly groups?: SandboxRulesGroups; /** * labels block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#labels SandboxRules#labels} */ readonly labels?: SandboxRulesLabels; /** * location_groups block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#location_groups SandboxRules#location_groups} */ readonly locationGroups?: SandboxRulesLocationGroups; /** * locations block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#locations SandboxRules#locations} */ readonly locations?: SandboxRulesLocations; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#timeouts SandboxRules#timeouts} */ readonly timeouts?: SandboxRulesTimeouts; /** * users block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#users SandboxRules#users} */ readonly users?: SandboxRulesUsers; /** * zpa_app_segments block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#zpa_app_segments SandboxRules#zpa_app_segments} */ readonly zpaAppSegments?: SandboxRulesZpaAppSegments[] | cdktf.IResolvable; } export interface SandboxRulesDepartments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#id SandboxRules#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?: number[]; } export declare function sandboxRulesDepartmentsToTerraform(struct?: SandboxRulesDepartmentsOutputReference | SandboxRulesDepartments): any; export declare function sandboxRulesDepartmentsToHclTerraform(struct?: SandboxRulesDepartmentsOutputReference | SandboxRulesDepartments): any; export declare class SandboxRulesDepartmentsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): SandboxRulesDepartments | undefined; set internalValue(value: SandboxRulesDepartments | undefined); private _id?; get id(): number[]; set id(value: number[]); resetId(): void; get idInput(): number[]; } export interface SandboxRulesGroups { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#id SandboxRules#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?: number[]; } export declare function sandboxRulesGroupsToTerraform(struct?: SandboxRulesGroupsOutputReference | SandboxRulesGroups): any; export declare function sandboxRulesGroupsToHclTerraform(struct?: SandboxRulesGroupsOutputReference | SandboxRulesGroups): any; export declare class SandboxRulesGroupsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): SandboxRulesGroups | undefined; set internalValue(value: SandboxRulesGroups | undefined); private _id?; get id(): number[]; set id(value: number[]); resetId(): void; get idInput(): number[]; } export interface SandboxRulesLabels { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#id SandboxRules#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?: number[]; } export declare function sandboxRulesLabelsToTerraform(struct?: SandboxRulesLabelsOutputReference | SandboxRulesLabels): any; export declare function sandboxRulesLabelsToHclTerraform(struct?: SandboxRulesLabelsOutputReference | SandboxRulesLabels): any; export declare class SandboxRulesLabelsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): SandboxRulesLabels | undefined; set internalValue(value: SandboxRulesLabels | undefined); private _id?; get id(): number[]; set id(value: number[]); resetId(): void; get idInput(): number[]; } export interface SandboxRulesLocationGroups { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#id SandboxRules#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?: number[]; } export declare function sandboxRulesLocationGroupsToTerraform(struct?: SandboxRulesLocationGroupsOutputReference | SandboxRulesLocationGroups): any; export declare function sandboxRulesLocationGroupsToHclTerraform(struct?: SandboxRulesLocationGroupsOutputReference | SandboxRulesLocationGroups): any; export declare class SandboxRulesLocationGroupsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): SandboxRulesLocationGroups | undefined; set internalValue(value: SandboxRulesLocationGroups | undefined); private _id?; get id(): number[]; set id(value: number[]); resetId(): void; get idInput(): number[]; } export interface SandboxRulesLocations { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#id SandboxRules#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?: number[]; } export declare function sandboxRulesLocationsToTerraform(struct?: SandboxRulesLocationsOutputReference | SandboxRulesLocations): any; export declare function sandboxRulesLocationsToHclTerraform(struct?: SandboxRulesLocationsOutputReference | SandboxRulesLocations): any; export declare class SandboxRulesLocationsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): SandboxRulesLocations | undefined; set internalValue(value: SandboxRulesLocations | undefined); private _id?; get id(): number[]; set id(value: number[]); resetId(): void; get idInput(): number[]; } export interface SandboxRulesTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#create SandboxRules#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#update SandboxRules#update} */ readonly update?: string; } export declare function sandboxRulesTimeoutsToTerraform(struct?: SandboxRulesTimeouts | cdktf.IResolvable): any; export declare function sandboxRulesTimeoutsToHclTerraform(struct?: SandboxRulesTimeouts | cdktf.IResolvable): any; export declare class SandboxRulesTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): SandboxRulesTimeouts | cdktf.IResolvable | undefined; set internalValue(value: SandboxRulesTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string; } export interface SandboxRulesUsers { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#id SandboxRules#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?: number[]; } export declare function sandboxRulesUsersToTerraform(struct?: SandboxRulesUsersOutputReference | SandboxRulesUsers): any; export declare function sandboxRulesUsersToHclTerraform(struct?: SandboxRulesUsersOutputReference | SandboxRulesUsers): any; export declare class SandboxRulesUsersOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): SandboxRulesUsers | undefined; set internalValue(value: SandboxRulesUsers | undefined); private _id?; get id(): number[]; set id(value: number[]); resetId(): void; get idInput(): number[]; } export interface SandboxRulesZpaAppSegments { /** * External ID of the application segment. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#external_id SandboxRules#external_id} */ readonly externalId: string; /** * Name of the application segment. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#name SandboxRules#name} */ readonly name: string; } export declare function sandboxRulesZpaAppSegmentsToTerraform(struct?: SandboxRulesZpaAppSegments | cdktf.IResolvable): any; export declare function sandboxRulesZpaAppSegmentsToHclTerraform(struct?: SandboxRulesZpaAppSegments | cdktf.IResolvable): any; export declare class SandboxRulesZpaAppSegmentsOutputReference 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(): SandboxRulesZpaAppSegments | cdktf.IResolvable | undefined; set internalValue(value: SandboxRulesZpaAppSegments | cdktf.IResolvable | undefined); private _externalId?; get externalId(): string; set externalId(value: string); get externalIdInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; } export declare class SandboxRulesZpaAppSegmentsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: SandboxRulesZpaAppSegments[] | 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): SandboxRulesZpaAppSegmentsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules zia_sandbox_rules} */ export declare class SandboxRules extends cdktf.TerraformResource { static readonly tfResourceType = "zia_sandbox_rules"; /** * Generates CDKTF code for importing a SandboxRules 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 SandboxRules to import * @param importFromId The id of the existing SandboxRules that should be imported. Refer to the {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/sandbox_rules#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the SandboxRules 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/zscaler/zia/4.6.5/docs/resources/sandbox_rules zia_sandbox_rules} 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 SandboxRulesConfig */ constructor(scope: Construct, id: string, config: SandboxRulesConfig); private _baPolicyCategories?; get baPolicyCategories(): string[]; set baPolicyCategories(value: string[]); resetBaPolicyCategories(): void; get baPolicyCategoriesInput(): string[]; private _baRuleAction?; get baRuleAction(): string; set baRuleAction(value: string); resetBaRuleAction(): void; get baRuleActionInput(): string; private _byThreatScore?; get byThreatScore(): number; set byThreatScore(value: number); resetByThreatScore(): void; get byThreatScoreInput(): number; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _fileTypes?; get fileTypes(): string[]; set fileTypes(value: string[]); get fileTypesInput(): string[]; private _firstTimeEnable?; get firstTimeEnable(): boolean | cdktf.IResolvable; set firstTimeEnable(value: boolean | cdktf.IResolvable); resetFirstTimeEnable(): void; get firstTimeEnableInput(): any; private _firstTimeOperation?; get firstTimeOperation(): string; set firstTimeOperation(value: string); resetFirstTimeOperation(): void; get firstTimeOperationInput(): string; get id(): any; private _mlActionEnabled?; get mlActionEnabled(): boolean | cdktf.IResolvable; set mlActionEnabled(value: boolean | cdktf.IResolvable); resetMlActionEnabled(): void; get mlActionEnabledInput(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _order?; get order(): number; set order(value: number); get orderInput(): number; private _protocols?; get protocols(): string[]; set protocols(value: string[]); get protocolsInput(): string[]; private _rank?; get rank(): number; set rank(value: number); resetRank(): void; get rankInput(): number; get ruleId(): any; private _state?; get state(): string; set state(value: string); resetState(): void; get stateInput(): string; private _urlCategories?; get urlCategories(): string[]; set urlCategories(value: string[]); resetUrlCategories(): void; get urlCategoriesInput(): string[]; private _departments; get departments(): SandboxRulesDepartmentsOutputReference; putDepartments(value: SandboxRulesDepartments): void; resetDepartments(): void; get departmentsInput(): SandboxRulesDepartments; private _groups; get groups(): SandboxRulesGroupsOutputReference; putGroups(value: SandboxRulesGroups): void; resetGroups(): void; get groupsInput(): SandboxRulesGroups; private _labels; get labels(): SandboxRulesLabelsOutputReference; putLabels(value: SandboxRulesLabels): void; resetLabels(): void; get labelsInput(): SandboxRulesLabels; private _locationGroups; get locationGroups(): SandboxRulesLocationGroupsOutputReference; putLocationGroups(value: SandboxRulesLocationGroups): void; resetLocationGroups(): void; get locationGroupsInput(): SandboxRulesLocationGroups; private _locations; get locations(): SandboxRulesLocationsOutputReference; putLocations(value: SandboxRulesLocations): void; resetLocations(): void; get locationsInput(): SandboxRulesLocations; private _timeouts; get timeouts(): SandboxRulesTimeoutsOutputReference; putTimeouts(value: SandboxRulesTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; private _users; get users(): SandboxRulesUsersOutputReference; putUsers(value: SandboxRulesUsers): void; resetUsers(): void; get usersInput(): SandboxRulesUsers; private _zpaAppSegments; get zpaAppSegments(): SandboxRulesZpaAppSegmentsList; putZpaAppSegments(value: SandboxRulesZpaAppSegments[] | cdktf.IResolvable): void; resetZpaAppSegments(): void; get zpaAppSegmentsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }