import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface LoggingGroupConfig extends cdktf.TerraformMetaArguments { /** * Log group cloud ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#cloud_id LoggingGroup#cloud_id} */ readonly cloudId?: string; /** * Data stream name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#data_stream LoggingGroup#data_stream} */ readonly dataStream?: string; /** * Log group description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#description LoggingGroup#description} */ readonly description?: string; /** * Log group folder ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#folder_id LoggingGroup#folder_id} */ readonly folderId?: string; /** * ID of the log group to return. * * To get a log group ID make a [LogGroupService.List] request. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#id LoggingGroup#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; /** * Log group labels. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#labels LoggingGroup#labels} */ readonly labels?: { [key: string]: string; }; /** * ID of the log group to return. * * To get a log group ID make a [LogGroupService.List] request. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#log_group_id LoggingGroup#log_group_id} */ readonly logGroupId?: string; /** * Log group name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#name LoggingGroup#name} */ readonly name?: string; /** * Log group entry retention period. * * Entries will be present in group during this period. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#retention_period LoggingGroup#retention_period} */ readonly retentionPeriod?: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#timeouts LoggingGroup#timeouts} */ readonly timeouts?: LoggingGroupTimeouts; } export interface LoggingGroupTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#create LoggingGroup#create} */ readonly create?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#delete LoggingGroup#delete} */ readonly delete?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#read LoggingGroup#read} */ readonly read?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#update LoggingGroup#update} */ readonly update?: string; } export declare function loggingGroupTimeoutsToTerraform(struct?: LoggingGroupTimeouts | cdktf.IResolvable): any; export declare function loggingGroupTimeoutsToHclTerraform(struct?: LoggingGroupTimeouts | cdktf.IResolvable): any; export declare class LoggingGroupTimeoutsOutputReference 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(): LoggingGroupTimeouts | cdktf.IResolvable | undefined; set internalValue(value: LoggingGroupTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string; private _read?; get read(): string; set read(value: string); resetRead(): void; get readInput(): string; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group yandex_logging_group} */ export declare class LoggingGroup extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_logging_group"; /** * Generates CDKTF code for importing a LoggingGroup 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 LoggingGroup to import * @param importFromId The id of the existing LoggingGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/logging_group#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the LoggingGroup 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/yandex-cloud/yandex/0.177.0/docs/resources/logging_group yandex_logging_group} 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 LoggingGroupConfig = {} */ constructor(scope: Construct, id: string, config?: LoggingGroupConfig); private _cloudId?; get cloudId(): string; set cloudId(value: string); resetCloudId(): void; get cloudIdInput(): string; get createdAt(): any; private _dataStream?; get dataStream(): string; set dataStream(value: string); resetDataStream(): void; get dataStreamInput(): string; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _folderId?; get folderId(): string; set folderId(value: string); resetFolderId(): void; get folderIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; }; private _logGroupId?; get logGroupId(): string; set logGroupId(value: string); resetLogGroupId(): void; get logGroupIdInput(): string; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _retentionPeriod?; get retentionPeriod(): string; set retentionPeriod(value: string); resetRetentionPeriod(): void; get retentionPeriodInput(): string; get status(): any; private _timeouts; get timeouts(): LoggingGroupTimeoutsOutputReference; putTimeouts(value: LoggingGroupTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }