import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudAuditEventsConfig extends cdktf.TerraformMetaArguments { /** * End timestamp in seconds (the time range for query is less than 30 days). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/audit_events#end_time DataTencentcloudAuditEvents#end_time} */ readonly endTime: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/audit_events#id DataTencentcloudAuditEvents#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; /** * Whether to return the IP location. `1`: yes, `0`: no. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/audit_events#is_return_location DataTencentcloudAuditEvents#is_return_location} */ readonly isReturnLocation?: number; /** * Max number of returned logs (up to 50). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/audit_events#max_results DataTencentcloudAuditEvents#max_results} */ readonly maxResults?: number; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/audit_events#result_output_file DataTencentcloudAuditEvents#result_output_file} */ readonly resultOutputFile?: string; /** * Start timestamp in seconds (cannot be 90 days after the current time). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/audit_events#start_time DataTencentcloudAuditEvents#start_time} */ readonly startTime: number; /** * lookup_attributes block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/audit_events#lookup_attributes DataTencentcloudAuditEvents#lookup_attributes} */ readonly lookupAttributes?: DataTencentcloudAuditEventsLookupAttributes[] | cdktf.IResolvable; } export interface DataTencentcloudAuditEventsEventsResources { } export declare function dataTencentcloudAuditEventsEventsResourcesToTerraform(struct?: DataTencentcloudAuditEventsEventsResources): any; export declare function dataTencentcloudAuditEventsEventsResourcesToHclTerraform(struct?: DataTencentcloudAuditEventsEventsResources): any; export declare class DataTencentcloudAuditEventsEventsResourcesOutputReference 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(): DataTencentcloudAuditEventsEventsResources | undefined; set internalValue(value: DataTencentcloudAuditEventsEventsResources | undefined); get resourceName(): any; get resourceType(): any; } export declare class DataTencentcloudAuditEventsEventsResourcesList 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): DataTencentcloudAuditEventsEventsResourcesOutputReference; } export interface DataTencentcloudAuditEventsEvents { } export declare function dataTencentcloudAuditEventsEventsToTerraform(struct?: DataTencentcloudAuditEventsEvents): any; export declare function dataTencentcloudAuditEventsEventsToHclTerraform(struct?: DataTencentcloudAuditEventsEvents): any; export declare class DataTencentcloudAuditEventsEventsOutputReference 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(): DataTencentcloudAuditEventsEvents | undefined; set internalValue(value: DataTencentcloudAuditEventsEvents | undefined); get accountId(): any; get cloudAuditEvent(): any; get errorCode(): any; get eventId(): any; get eventName(): any; get eventNameCn(): any; get eventRegion(): any; get eventSource(): any; get eventTime(): any; get location(): any; get requestId(): any; get resourceRegion(): any; get resourceTypeCn(): any; private _resources; get resources(): DataTencentcloudAuditEventsEventsResourcesList; get secretId(): any; get sourceIpAddress(): any; get username(): any; } export declare class DataTencentcloudAuditEventsEventsList 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): DataTencentcloudAuditEventsEventsOutputReference; } export interface DataTencentcloudAuditEventsLookupAttributes { /** * Valid values: RequestId, EventName, ReadOnly, Username, ResourceType, ResourceName, AccessKeyId, and EventId * Note: `null` may be returned for this field, indicating that no valid values can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/audit_events#attribute_key DataTencentcloudAuditEvents#attribute_key} */ readonly attributeKey: string; /** * Value of `AttributeValue` * Note: `null` may be returned for this field, indicating that no valid values can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/audit_events#attribute_value DataTencentcloudAuditEvents#attribute_value} */ readonly attributeValue?: string; } export declare function dataTencentcloudAuditEventsLookupAttributesToTerraform(struct?: DataTencentcloudAuditEventsLookupAttributes | cdktf.IResolvable): any; export declare function dataTencentcloudAuditEventsLookupAttributesToHclTerraform(struct?: DataTencentcloudAuditEventsLookupAttributes | cdktf.IResolvable): any; export declare class DataTencentcloudAuditEventsLookupAttributesOutputReference 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(): DataTencentcloudAuditEventsLookupAttributes | cdktf.IResolvable | undefined; set internalValue(value: DataTencentcloudAuditEventsLookupAttributes | cdktf.IResolvable | undefined); private _attributeKey?; get attributeKey(): string; set attributeKey(value: string); get attributeKeyInput(): string; private _attributeValue?; get attributeValue(): string; set attributeValue(value: string); resetAttributeValue(): void; get attributeValueInput(): string; } export declare class DataTencentcloudAuditEventsLookupAttributesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataTencentcloudAuditEventsLookupAttributes[] | 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): DataTencentcloudAuditEventsLookupAttributesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/audit_events tencentcloud_audit_events} */ export declare class DataTencentcloudAuditEvents extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_audit_events"; /** * Generates CDKTF code for importing a DataTencentcloudAuditEvents 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 DataTencentcloudAuditEvents to import * @param importFromId The id of the existing DataTencentcloudAuditEvents that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/audit_events#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudAuditEvents 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/audit_events tencentcloud_audit_events} 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 DataTencentcloudAuditEventsConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudAuditEventsConfig); private _endTime?; get endTime(): number; set endTime(value: number); get endTimeInput(): number; private _events; get events(): DataTencentcloudAuditEventsEventsList; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _isReturnLocation?; get isReturnLocation(): number; set isReturnLocation(value: number); resetIsReturnLocation(): void; get isReturnLocationInput(): number; private _maxResults?; get maxResults(): number; set maxResults(value: number); resetMaxResults(): void; get maxResultsInput(): number; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _startTime?; get startTime(): number; set startTime(value: number); get startTimeInput(): number; private _lookupAttributes; get lookupAttributes(): DataTencentcloudAuditEventsLookupAttributesList; putLookupAttributes(value: DataTencentcloudAuditEventsLookupAttributes[] | cdktf.IResolvable): void; resetLookupAttributes(): void; get lookupAttributesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }