import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudAsLastActivityConfig extends cdktf.TerraformMetaArguments { /** * ID list of an auto scaling group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/as_last_activity#auto_scaling_group_ids DataTencentcloudAsLastActivity#auto_scaling_group_ids} */ readonly autoScalingGroupIds: string[]; /** * Exclude cancellation type activities when querying. The default value is false, indicating that cancellation type activities are not excluded. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/as_last_activity#exclude_cancelled_activity DataTencentcloudAsLastActivity#exclude_cancelled_activity} */ readonly excludeCancelledActivity?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/as_last_activity#id DataTencentcloudAsLastActivity#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; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/as_last_activity#result_output_file DataTencentcloudAsLastActivity#result_output_file} */ readonly resultOutputFile?: string; } export interface DataTencentcloudAsLastActivityActivitySetActivityRelatedInstanceSet { } export declare function dataTencentcloudAsLastActivityActivitySetActivityRelatedInstanceSetToTerraform(struct?: DataTencentcloudAsLastActivityActivitySetActivityRelatedInstanceSet): any; export declare function dataTencentcloudAsLastActivityActivitySetActivityRelatedInstanceSetToHclTerraform(struct?: DataTencentcloudAsLastActivityActivitySetActivityRelatedInstanceSet): any; export declare class DataTencentcloudAsLastActivityActivitySetActivityRelatedInstanceSetOutputReference 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(): DataTencentcloudAsLastActivityActivitySetActivityRelatedInstanceSet | undefined; set internalValue(value: DataTencentcloudAsLastActivityActivitySetActivityRelatedInstanceSet | undefined); get instanceId(): any; get instanceStatus(): any; } export declare class DataTencentcloudAsLastActivityActivitySetActivityRelatedInstanceSetList 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): DataTencentcloudAsLastActivityActivitySetActivityRelatedInstanceSetOutputReference; } export interface DataTencentcloudAsLastActivityActivitySetDetailedStatusMessageSet { } export declare function dataTencentcloudAsLastActivityActivitySetDetailedStatusMessageSetToTerraform(struct?: DataTencentcloudAsLastActivityActivitySetDetailedStatusMessageSet): any; export declare function dataTencentcloudAsLastActivityActivitySetDetailedStatusMessageSetToHclTerraform(struct?: DataTencentcloudAsLastActivityActivitySetDetailedStatusMessageSet): any; export declare class DataTencentcloudAsLastActivityActivitySetDetailedStatusMessageSetOutputReference 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(): DataTencentcloudAsLastActivityActivitySetDetailedStatusMessageSet | undefined; set internalValue(value: DataTencentcloudAsLastActivityActivitySetDetailedStatusMessageSet | undefined); get code(): any; get instanceChargeType(): any; get instanceId(): any; get instanceType(): any; get message(): any; get subnetId(): any; get zone(): any; } export declare class DataTencentcloudAsLastActivityActivitySetDetailedStatusMessageSetList 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): DataTencentcloudAsLastActivityActivitySetDetailedStatusMessageSetOutputReference; } export interface DataTencentcloudAsLastActivityActivitySetInvocationResultSet { } export declare function dataTencentcloudAsLastActivityActivitySetInvocationResultSetToTerraform(struct?: DataTencentcloudAsLastActivityActivitySetInvocationResultSet): any; export declare function dataTencentcloudAsLastActivityActivitySetInvocationResultSetToHclTerraform(struct?: DataTencentcloudAsLastActivityActivitySetInvocationResultSet): any; export declare class DataTencentcloudAsLastActivityActivitySetInvocationResultSetOutputReference 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(): DataTencentcloudAsLastActivityActivitySetInvocationResultSet | undefined; set internalValue(value: DataTencentcloudAsLastActivityActivitySetInvocationResultSet | undefined); get commandId(): any; get errorMessage(): any; get instanceId(): any; get invocationId(): any; get invocationTaskId(): any; get taskStatus(): any; } export declare class DataTencentcloudAsLastActivityActivitySetInvocationResultSetList 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): DataTencentcloudAsLastActivityActivitySetInvocationResultSetOutputReference; } export interface DataTencentcloudAsLastActivityActivitySetLifecycleActionResultSet { } export declare function dataTencentcloudAsLastActivityActivitySetLifecycleActionResultSetToTerraform(struct?: DataTencentcloudAsLastActivityActivitySetLifecycleActionResultSet): any; export declare function dataTencentcloudAsLastActivityActivitySetLifecycleActionResultSetToHclTerraform(struct?: DataTencentcloudAsLastActivityActivitySetLifecycleActionResultSet): any; export declare class DataTencentcloudAsLastActivityActivitySetLifecycleActionResultSetOutputReference 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(): DataTencentcloudAsLastActivityActivitySetLifecycleActionResultSet | undefined; set internalValue(value: DataTencentcloudAsLastActivityActivitySetLifecycleActionResultSet | undefined); get instanceId(): any; get invocationId(): any; get invokeCommandResult(): any; get lifecycleActionResult(): any; get lifecycleHookId(): any; get notificationResult(): any; get resultReason(): any; } export declare class DataTencentcloudAsLastActivityActivitySetLifecycleActionResultSetList 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): DataTencentcloudAsLastActivityActivitySetLifecycleActionResultSetOutputReference; } export interface DataTencentcloudAsLastActivityActivitySet { } export declare function dataTencentcloudAsLastActivityActivitySetToTerraform(struct?: DataTencentcloudAsLastActivityActivitySet): any; export declare function dataTencentcloudAsLastActivityActivitySetToHclTerraform(struct?: DataTencentcloudAsLastActivityActivitySet): any; export declare class DataTencentcloudAsLastActivityActivitySetOutputReference 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(): DataTencentcloudAsLastActivityActivitySet | undefined; set internalValue(value: DataTencentcloudAsLastActivityActivitySet | undefined); get activityId(): any; private _activityRelatedInstanceSet; get activityRelatedInstanceSet(): DataTencentcloudAsLastActivityActivitySetActivityRelatedInstanceSetList; get activityType(): any; get autoScalingGroupId(): any; get cause(): any; get createdTime(): any; get description(): any; private _detailedStatusMessageSet; get detailedStatusMessageSet(): DataTencentcloudAsLastActivityActivitySetDetailedStatusMessageSetList; get endTime(): any; private _invocationResultSet; get invocationResultSet(): DataTencentcloudAsLastActivityActivitySetInvocationResultSetList; private _lifecycleActionResultSet; get lifecycleActionResultSet(): DataTencentcloudAsLastActivityActivitySetLifecycleActionResultSetList; get startTime(): any; get statusCode(): any; get statusMessage(): any; get statusMessageSimplified(): any; } export declare class DataTencentcloudAsLastActivityActivitySetList 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): DataTencentcloudAsLastActivityActivitySetOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/as_last_activity tencentcloud_as_last_activity} */ export declare class DataTencentcloudAsLastActivity extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_as_last_activity"; /** * Generates CDKTF code for importing a DataTencentcloudAsLastActivity 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 DataTencentcloudAsLastActivity to import * @param importFromId The id of the existing DataTencentcloudAsLastActivity that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/as_last_activity#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudAsLastActivity 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/as_last_activity tencentcloud_as_last_activity} 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 DataTencentcloudAsLastActivityConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudAsLastActivityConfig); private _activitySet; get activitySet(): DataTencentcloudAsLastActivityActivitySetList; private _autoScalingGroupIds?; get autoScalingGroupIds(): string[]; set autoScalingGroupIds(value: string[]); get autoScalingGroupIdsInput(): string[]; private _excludeCancelledActivity?; get excludeCancelledActivity(): boolean | cdktf.IResolvable; set excludeCancelledActivity(value: boolean | cdktf.IResolvable); resetExcludeCancelledActivity(): void; get excludeCancelledActivityInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }