import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudCamPoliciesConfig extends cdktf.TerraformMetaArguments { /** * Mode of creation of policy strategy. Valid values: `1`, `2`. `1` means policy was created with console, and `2` means it was created by strategies. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cam_policies#create_mode DataTencentcloudCamPolicies#create_mode} */ readonly createMode?: number; /** * The description of the CAM policy. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cam_policies#description DataTencentcloudCamPolicies#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cam_policies#id DataTencentcloudCamPolicies#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 CAM policy to be queried. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cam_policies#name DataTencentcloudCamPolicies#name} */ readonly name?: string; /** * ID of CAM policy to be queried. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cam_policies#policy_id DataTencentcloudCamPolicies#policy_id} */ readonly policyId?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cam_policies#result_output_file DataTencentcloudCamPolicies#result_output_file} */ readonly resultOutputFile?: string; /** * Type of the policy strategy. Valid values: `1`, `2`. `1` means customer strategy and `2` means preset strategy. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cam_policies#type DataTencentcloudCamPolicies#type} */ readonly type?: number; } export interface DataTencentcloudCamPoliciesPolicyListStruct { } export declare function dataTencentcloudCamPoliciesPolicyListStructToTerraform(struct?: DataTencentcloudCamPoliciesPolicyListStruct): any; export declare function dataTencentcloudCamPoliciesPolicyListStructToHclTerraform(struct?: DataTencentcloudCamPoliciesPolicyListStruct): any; export declare class DataTencentcloudCamPoliciesPolicyListStructOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): DataTencentcloudCamPoliciesPolicyListStruct | undefined; set internalValue(value: DataTencentcloudCamPoliciesPolicyListStruct | undefined); get attachments(): any; get createMode(): any; get createTime(): any; get description(): any; get name(): any; get policyId(): any; get serviceType(): any; get type(): any; } export declare class DataTencentcloudCamPoliciesPolicyListStructList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): DataTencentcloudCamPoliciesPolicyListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cam_policies tencentcloud_cam_policies} */ export declare class DataTencentcloudCamPolicies extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_cam_policies"; /** * Generates CDKTF code for importing a DataTencentcloudCamPolicies 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 DataTencentcloudCamPolicies to import * @param importFromId The id of the existing DataTencentcloudCamPolicies that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cam_policies#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudCamPolicies 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/data-sources/cam_policies tencentcloud_cam_policies} Data Source * * @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 DataTencentcloudCamPoliciesConfig = {} */ constructor(scope: Construct, id: string, config?: DataTencentcloudCamPoliciesConfig); private _createMode?; get createMode(): number; set createMode(value: number); resetCreateMode(): void; get createModeInput(): number; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _policyId?; get policyId(): string; set policyId(value: string); resetPolicyId(): void; get policyIdInput(): string; private _policyList; get policyList(): DataTencentcloudCamPoliciesPolicyListStructList; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _type?; get type(): number; set type(value: number); resetType(): void; get typeInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }