import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudSsmSecretsConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/ssm_secrets#id DataTencentcloudSsmSecrets#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; /** * The order to sort the create time of secret. `0` - desc, `1` - asc. Default value is `0`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/ssm_secrets#order_type DataTencentcloudSsmSecrets#order_type} */ readonly orderType?: number; /** * This parameter only takes effect when the SecretType parameter value is 1. When the SecretType value is 1, if the Product Name value is empty, it means to query all types of cloud product credentials. If the Product Name value is MySQL, it means to query MySQL database credentials. If the Product Name value is Tdsql mysql, it means to query Tdsql (MySQL version) credentials. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/ssm_secrets#product_name DataTencentcloudSsmSecrets#product_name} */ readonly productName?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/ssm_secrets#result_output_file DataTencentcloudSsmSecrets#result_output_file} */ readonly resultOutputFile?: string; /** * Secret name used to filter result. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/ssm_secrets#secret_name DataTencentcloudSsmSecrets#secret_name} */ readonly secretName?: string; /** * 0- represents user-defined credentials, defaults to 0. 1- represents the user's cloud product credentials. 2- represents SSH key pair credentials. 3- represents cloud API key pair credentials. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/ssm_secrets#secret_type DataTencentcloudSsmSecrets#secret_type} */ readonly secretType?: number; /** * Filter by state of secret. `0` - all secrets are queried, `1` - only Enabled secrets are queried, `2` - only Disabled secrets are queried, `3` - only PendingDelete secrets are queried. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/ssm_secrets#state DataTencentcloudSsmSecrets#state} */ readonly state?: number; /** * Tags to filter secret. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/ssm_secrets#tags DataTencentcloudSsmSecrets#tags} */ readonly tags?: { [key: string]: string; }; } export interface DataTencentcloudSsmSecretsSecretListStruct { } export declare function dataTencentcloudSsmSecretsSecretListStructToTerraform(struct?: DataTencentcloudSsmSecretsSecretListStruct): any; export declare function dataTencentcloudSsmSecretsSecretListStructToHclTerraform(struct?: DataTencentcloudSsmSecretsSecretListStruct): any; export declare class DataTencentcloudSsmSecretsSecretListStructOutputReference 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(): DataTencentcloudSsmSecretsSecretListStruct | undefined; set internalValue(value: DataTencentcloudSsmSecretsSecretListStruct | undefined); get associatedInstanceIds(): any; get createTime(): any; get createUin(): any; get deleteTime(): any; get description(): any; get kmsKeyId(): any; get kmsKeyType(): any; get nextRotationTime(): any; get productName(): any; get projectId(): any; get resourceId(): any; get resourceName(): any; get rotationBeginTime(): any; get rotationFrequency(): any; get rotationStatus(): any; get secretName(): any; get secretType(): any; get status(): any; get targetUin(): any; } export declare class DataTencentcloudSsmSecretsSecretListStructList 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): DataTencentcloudSsmSecretsSecretListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/ssm_secrets tencentcloud_ssm_secrets} */ export declare class DataTencentcloudSsmSecrets extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_ssm_secrets"; /** * Generates CDKTF code for importing a DataTencentcloudSsmSecrets 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 DataTencentcloudSsmSecrets to import * @param importFromId The id of the existing DataTencentcloudSsmSecrets that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/ssm_secrets#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudSsmSecrets 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/ssm_secrets tencentcloud_ssm_secrets} 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 DataTencentcloudSsmSecretsConfig = {} */ constructor(scope: Construct, id: string, config?: DataTencentcloudSsmSecretsConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _orderType?; get orderType(): number; set orderType(value: number); resetOrderType(): void; get orderTypeInput(): number; private _productName?; get productName(): string; set productName(value: string); resetProductName(): void; get productNameInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _secretList; get secretList(): DataTencentcloudSsmSecretsSecretListStructList; private _secretName?; get secretName(): string; set secretName(value: string); resetSecretName(): void; get secretNameInput(): string; private _secretType?; get secretType(): number; set secretType(value: number); resetSecretType(): void; get secretTypeInput(): number; private _state?; get state(): number; set state(value: number); resetState(): void; get stateInput(): number; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }