cdktf-cdktf-provider-upcloud 15.8.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. cdktf_cdktf_provider_upcloud/__init__.py +247 -0
  2. cdktf_cdktf_provider_upcloud/_jsii/__init__.py +45 -0
  3. cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.8.0.jsii.tgz +0 -0
  4. cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +894 -0
  5. cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +633 -0
  6. cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +384 -0
  7. cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +319 -0
  8. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +853 -0
  9. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +717 -0
  10. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +1084 -0
  11. cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +898 -0
  12. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +647 -0
  13. cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +600 -0
  14. cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +1093 -0
  15. cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +725 -0
  16. cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +558 -0
  17. cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +421 -0
  18. cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +364 -0
  19. cdktf_cdktf_provider_upcloud/file_storage/__init__.py +1683 -0
  20. cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +1233 -0
  21. cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +552 -0
  22. cdktf_cdktf_provider_upcloud/gateway/__init__.py +1167 -0
  23. cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +1299 -0
  24. cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +1357 -0
  25. cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +801 -0
  26. cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +2674 -0
  27. cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +2113 -0
  28. cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +1426 -0
  29. cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +442 -0
  30. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +633 -0
  31. cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +459 -0
  32. cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +1290 -0
  33. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +11486 -0
  34. cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +442 -0
  35. cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +504 -0
  36. cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +659 -0
  37. cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +633 -0
  38. cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +536 -0
  39. cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +4644 -0
  40. cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +13812 -0
  41. cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +7734 -0
  42. cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +1541 -0
  43. cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +3355 -0
  44. cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +1198 -0
  45. cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +409 -0
  46. cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +446 -0
  47. cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +521 -0
  48. cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +454 -0
  49. cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +505 -0
  50. cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +485 -0
  51. cdktf_cdktf_provider_upcloud/network/__init__.py +1554 -0
  52. cdktf_cdktf_provider_upcloud/network_peering/__init__.py +1084 -0
  53. cdktf_cdktf_provider_upcloud/provider/__init__.py +544 -0
  54. cdktf_cdktf_provider_upcloud/py.typed +1 -0
  55. cdktf_cdktf_provider_upcloud/router/__init__.py +1030 -0
  56. cdktf_cdktf_provider_upcloud/server/__init__.py +4542 -0
  57. cdktf_cdktf_provider_upcloud/server_group/__init__.py +571 -0
  58. cdktf_cdktf_provider_upcloud/storage/__init__.py +1850 -0
  59. cdktf_cdktf_provider_upcloud/storage_backup/__init__.py +483 -0
  60. cdktf_cdktf_provider_upcloud/storage_template/__init__.py +478 -0
  61. cdktf_cdktf_provider_upcloud/tag/__init__.py +493 -0
  62. cdktf_cdktf_provider_upcloud-15.8.0.dist-info/LICENSE +355 -0
  63. cdktf_cdktf_provider_upcloud-15.8.0.dist-info/METADATA +120 -0
  64. cdktf_cdktf_provider_upcloud-15.8.0.dist-info/RECORD +66 -0
  65. cdktf_cdktf_provider_upcloud-15.8.0.dist-info/WHEEL +5 -0
  66. cdktf_cdktf_provider_upcloud-15.8.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,898 @@
1
+ r'''
2
+ # `data_upcloud_managed_database_valkey_sessions`
3
+
4
+ Refer to the Terraform Registry for docs: [`data_upcloud_managed_database_valkey_sessions`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions).
5
+ '''
6
+ from pkgutil import extend_path
7
+ __path__ = extend_path(__path__, __name__)
8
+
9
+ import abc
10
+ import builtins
11
+ import datetime
12
+ import enum
13
+ import typing
14
+
15
+ import jsii
16
+ import publication
17
+ import typing_extensions
18
+
19
+ import typeguard
20
+ from importlib.metadata import version as _metadata_package_version
21
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
22
+
23
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
24
+ if TYPEGUARD_MAJOR_VERSION <= 2:
25
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
26
+ else:
27
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
28
+ pass
29
+ else:
30
+ if TYPEGUARD_MAJOR_VERSION == 3:
31
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
32
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
33
+ else:
34
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
35
+
36
+ from .._jsii import *
37
+
38
+ import cdktf as _cdktf_9a9027ec
39
+ import constructs as _constructs_77d1e7e8
40
+
41
+
42
+ class DataUpcloudManagedDatabaseValkeySessions(
43
+ _cdktf_9a9027ec.TerraformDataSource,
44
+ metaclass=jsii.JSIIMeta,
45
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabaseValkeySessions.DataUpcloudManagedDatabaseValkeySessions",
46
+ ):
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions upcloud_managed_database_valkey_sessions}.'''
48
+
49
+ def __init__(
50
+ self,
51
+ scope: _constructs_77d1e7e8.Construct,
52
+ id_: builtins.str,
53
+ *,
54
+ service: builtins.str,
55
+ id: typing.Optional[builtins.str] = None,
56
+ limit: typing.Optional[jsii.Number] = None,
57
+ offset: typing.Optional[jsii.Number] = None,
58
+ order: typing.Optional[builtins.str] = None,
59
+ sessions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["DataUpcloudManagedDatabaseValkeySessionsSessions", typing.Dict[builtins.str, typing.Any]]]]] = None,
60
+ connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
61
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
62
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
63
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
64
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
65
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
66
+ provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
67
+ ) -> None:
68
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions upcloud_managed_database_valkey_sessions} Data Source.
69
+
70
+ :param scope: The scope in which to define this construct.
71
+ :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
72
+ :param service: Service's UUID for which these sessions belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#service DataUpcloudManagedDatabaseValkeySessions#service}
73
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#id DataUpcloudManagedDatabaseValkeySessions#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.
74
+ :param limit: Number of entries to receive at most. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#limit DataUpcloudManagedDatabaseValkeySessions#limit}
75
+ :param offset: Offset for retrieved results based on sort order. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#offset DataUpcloudManagedDatabaseValkeySessions#offset}
76
+ :param order: Order by session field and sort retrieved results. Limited variables can be used for ordering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#order DataUpcloudManagedDatabaseValkeySessions#order}
77
+ :param sessions: sessions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#sessions DataUpcloudManagedDatabaseValkeySessions#sessions}
78
+ :param connection:
79
+ :param count:
80
+ :param depends_on:
81
+ :param for_each:
82
+ :param lifecycle:
83
+ :param provider:
84
+ :param provisioners:
85
+ '''
86
+ if __debug__:
87
+ type_hints = typing.get_type_hints(_typecheckingstub__2764b10ad6196bbafe181e09aa02467ed282a731ddbb4ac6c891b77f07e03cb3)
88
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
89
+ check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
90
+ config = DataUpcloudManagedDatabaseValkeySessionsConfig(
91
+ service=service,
92
+ id=id,
93
+ limit=limit,
94
+ offset=offset,
95
+ order=order,
96
+ sessions=sessions,
97
+ connection=connection,
98
+ count=count,
99
+ depends_on=depends_on,
100
+ for_each=for_each,
101
+ lifecycle=lifecycle,
102
+ provider=provider,
103
+ provisioners=provisioners,
104
+ )
105
+
106
+ jsii.create(self.__class__, self, [scope, id_, config])
107
+
108
+ @jsii.member(jsii_name="generateConfigForImport")
109
+ @builtins.classmethod
110
+ def generate_config_for_import(
111
+ cls,
112
+ scope: _constructs_77d1e7e8.Construct,
113
+ import_to_id: builtins.str,
114
+ import_from_id: builtins.str,
115
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
116
+ ) -> _cdktf_9a9027ec.ImportableResource:
117
+ '''Generates CDKTF code for importing a DataUpcloudManagedDatabaseValkeySessions resource upon running "cdktf plan ".
118
+
119
+ :param scope: The scope in which to define this construct.
120
+ :param import_to_id: The construct id used in the generated config for the DataUpcloudManagedDatabaseValkeySessions to import.
121
+ :param import_from_id: The id of the existing DataUpcloudManagedDatabaseValkeySessions that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#import import section} in the documentation of this resource for the id to use
122
+ :param provider: ? Optional instance of the provider where the DataUpcloudManagedDatabaseValkeySessions to import is found.
123
+ '''
124
+ if __debug__:
125
+ type_hints = typing.get_type_hints(_typecheckingstub__ad95febf3933ac392cb10798aea05a57402bc3966f35ab069fd1044fe4ec0952)
126
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
127
+ check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
128
+ check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
129
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
130
+ return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
131
+
132
+ @jsii.member(jsii_name="putSessions")
133
+ def put_sessions(
134
+ self,
135
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["DataUpcloudManagedDatabaseValkeySessionsSessions", typing.Dict[builtins.str, typing.Any]]]],
136
+ ) -> None:
137
+ '''
138
+ :param value: -
139
+ '''
140
+ if __debug__:
141
+ type_hints = typing.get_type_hints(_typecheckingstub__8b1bab145ed9d8d21adb26a20bb03af2587c3001752efbc9ae16f70e1fbb1dad)
142
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
143
+ return typing.cast(None, jsii.invoke(self, "putSessions", [value]))
144
+
145
+ @jsii.member(jsii_name="resetId")
146
+ def reset_id(self) -> None:
147
+ return typing.cast(None, jsii.invoke(self, "resetId", []))
148
+
149
+ @jsii.member(jsii_name="resetLimit")
150
+ def reset_limit(self) -> None:
151
+ return typing.cast(None, jsii.invoke(self, "resetLimit", []))
152
+
153
+ @jsii.member(jsii_name="resetOffset")
154
+ def reset_offset(self) -> None:
155
+ return typing.cast(None, jsii.invoke(self, "resetOffset", []))
156
+
157
+ @jsii.member(jsii_name="resetOrder")
158
+ def reset_order(self) -> None:
159
+ return typing.cast(None, jsii.invoke(self, "resetOrder", []))
160
+
161
+ @jsii.member(jsii_name="resetSessions")
162
+ def reset_sessions(self) -> None:
163
+ return typing.cast(None, jsii.invoke(self, "resetSessions", []))
164
+
165
+ @jsii.member(jsii_name="synthesizeAttributes")
166
+ def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
167
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
168
+
169
+ @jsii.member(jsii_name="synthesizeHclAttributes")
170
+ def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
171
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
172
+
173
+ @jsii.python.classproperty
174
+ @jsii.member(jsii_name="tfResourceType")
175
+ def TF_RESOURCE_TYPE(cls) -> builtins.str:
176
+ return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
177
+
178
+ @builtins.property
179
+ @jsii.member(jsii_name="sessions")
180
+ def sessions(self) -> "DataUpcloudManagedDatabaseValkeySessionsSessionsList":
181
+ return typing.cast("DataUpcloudManagedDatabaseValkeySessionsSessionsList", jsii.get(self, "sessions"))
182
+
183
+ @builtins.property
184
+ @jsii.member(jsii_name="idInput")
185
+ def id_input(self) -> typing.Optional[builtins.str]:
186
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
187
+
188
+ @builtins.property
189
+ @jsii.member(jsii_name="limitInput")
190
+ def limit_input(self) -> typing.Optional[jsii.Number]:
191
+ return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "limitInput"))
192
+
193
+ @builtins.property
194
+ @jsii.member(jsii_name="offsetInput")
195
+ def offset_input(self) -> typing.Optional[jsii.Number]:
196
+ return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "offsetInput"))
197
+
198
+ @builtins.property
199
+ @jsii.member(jsii_name="orderInput")
200
+ def order_input(self) -> typing.Optional[builtins.str]:
201
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "orderInput"))
202
+
203
+ @builtins.property
204
+ @jsii.member(jsii_name="serviceInput")
205
+ def service_input(self) -> typing.Optional[builtins.str]:
206
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serviceInput"))
207
+
208
+ @builtins.property
209
+ @jsii.member(jsii_name="sessionsInput")
210
+ def sessions_input(
211
+ self,
212
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabaseValkeySessionsSessions"]]]:
213
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabaseValkeySessionsSessions"]]], jsii.get(self, "sessionsInput"))
214
+
215
+ @builtins.property
216
+ @jsii.member(jsii_name="id")
217
+ def id(self) -> builtins.str:
218
+ return typing.cast(builtins.str, jsii.get(self, "id"))
219
+
220
+ @id.setter
221
+ def id(self, value: builtins.str) -> None:
222
+ if __debug__:
223
+ type_hints = typing.get_type_hints(_typecheckingstub__1b7e552da6145207ddd2843b0aa1479b0635241bf3b9a4b3d7784d76887810cc)
224
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
225
+ jsii.set(self, "id", value) # pyright: ignore[reportArgumentType]
226
+
227
+ @builtins.property
228
+ @jsii.member(jsii_name="limit")
229
+ def limit(self) -> jsii.Number:
230
+ return typing.cast(jsii.Number, jsii.get(self, "limit"))
231
+
232
+ @limit.setter
233
+ def limit(self, value: jsii.Number) -> None:
234
+ if __debug__:
235
+ type_hints = typing.get_type_hints(_typecheckingstub__adc206296d4fe383f09f5d434aedcc970a3c878dc7cdc0fc550d5a53b19bb84b)
236
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
237
+ jsii.set(self, "limit", value) # pyright: ignore[reportArgumentType]
238
+
239
+ @builtins.property
240
+ @jsii.member(jsii_name="offset")
241
+ def offset(self) -> jsii.Number:
242
+ return typing.cast(jsii.Number, jsii.get(self, "offset"))
243
+
244
+ @offset.setter
245
+ def offset(self, value: jsii.Number) -> None:
246
+ if __debug__:
247
+ type_hints = typing.get_type_hints(_typecheckingstub__565bacb6ce63655a40a507a932e8a919afe973939347389ab08bb5ea109cdb6d)
248
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
249
+ jsii.set(self, "offset", value) # pyright: ignore[reportArgumentType]
250
+
251
+ @builtins.property
252
+ @jsii.member(jsii_name="order")
253
+ def order(self) -> builtins.str:
254
+ return typing.cast(builtins.str, jsii.get(self, "order"))
255
+
256
+ @order.setter
257
+ def order(self, value: builtins.str) -> None:
258
+ if __debug__:
259
+ type_hints = typing.get_type_hints(_typecheckingstub__35e9fe139bbdf0e0c0e7b1ef50bf79e3e6037cee05d57eaea86bf561a698e4c1)
260
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
261
+ jsii.set(self, "order", value) # pyright: ignore[reportArgumentType]
262
+
263
+ @builtins.property
264
+ @jsii.member(jsii_name="service")
265
+ def service(self) -> builtins.str:
266
+ return typing.cast(builtins.str, jsii.get(self, "service"))
267
+
268
+ @service.setter
269
+ def service(self, value: builtins.str) -> None:
270
+ if __debug__:
271
+ type_hints = typing.get_type_hints(_typecheckingstub__d520a033658be28761fdcf1f43bab642ebdeef14938528dfdcdb2c4260938cf3)
272
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
273
+ jsii.set(self, "service", value) # pyright: ignore[reportArgumentType]
274
+
275
+
276
+ @jsii.data_type(
277
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabaseValkeySessions.DataUpcloudManagedDatabaseValkeySessionsConfig",
278
+ jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
279
+ name_mapping={
280
+ "connection": "connection",
281
+ "count": "count",
282
+ "depends_on": "dependsOn",
283
+ "for_each": "forEach",
284
+ "lifecycle": "lifecycle",
285
+ "provider": "provider",
286
+ "provisioners": "provisioners",
287
+ "service": "service",
288
+ "id": "id",
289
+ "limit": "limit",
290
+ "offset": "offset",
291
+ "order": "order",
292
+ "sessions": "sessions",
293
+ },
294
+ )
295
+ class DataUpcloudManagedDatabaseValkeySessionsConfig(
296
+ _cdktf_9a9027ec.TerraformMetaArguments,
297
+ ):
298
+ def __init__(
299
+ self,
300
+ *,
301
+ connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
302
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
303
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
304
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
305
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
306
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
307
+ provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
308
+ service: builtins.str,
309
+ id: typing.Optional[builtins.str] = None,
310
+ limit: typing.Optional[jsii.Number] = None,
311
+ offset: typing.Optional[jsii.Number] = None,
312
+ order: typing.Optional[builtins.str] = None,
313
+ sessions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union["DataUpcloudManagedDatabaseValkeySessionsSessions", typing.Dict[builtins.str, typing.Any]]]]] = None,
314
+ ) -> None:
315
+ '''
316
+ :param connection:
317
+ :param count:
318
+ :param depends_on:
319
+ :param for_each:
320
+ :param lifecycle:
321
+ :param provider:
322
+ :param provisioners:
323
+ :param service: Service's UUID for which these sessions belongs to. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#service DataUpcloudManagedDatabaseValkeySessions#service}
324
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#id DataUpcloudManagedDatabaseValkeySessions#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.
325
+ :param limit: Number of entries to receive at most. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#limit DataUpcloudManagedDatabaseValkeySessions#limit}
326
+ :param offset: Offset for retrieved results based on sort order. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#offset DataUpcloudManagedDatabaseValkeySessions#offset}
327
+ :param order: Order by session field and sort retrieved results. Limited variables can be used for ordering. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#order DataUpcloudManagedDatabaseValkeySessions#order}
328
+ :param sessions: sessions block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#sessions DataUpcloudManagedDatabaseValkeySessions#sessions}
329
+ '''
330
+ if isinstance(lifecycle, dict):
331
+ lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
332
+ if __debug__:
333
+ type_hints = typing.get_type_hints(_typecheckingstub__90c85ded123ddd829217286dd6b4ffbde19b7e8c75434b6e4c8edf8a765a64d5)
334
+ check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
335
+ check_type(argname="argument count", value=count, expected_type=type_hints["count"])
336
+ check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
337
+ check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
338
+ check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
339
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
340
+ check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
341
+ check_type(argname="argument service", value=service, expected_type=type_hints["service"])
342
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
343
+ check_type(argname="argument limit", value=limit, expected_type=type_hints["limit"])
344
+ check_type(argname="argument offset", value=offset, expected_type=type_hints["offset"])
345
+ check_type(argname="argument order", value=order, expected_type=type_hints["order"])
346
+ check_type(argname="argument sessions", value=sessions, expected_type=type_hints["sessions"])
347
+ self._values: typing.Dict[builtins.str, typing.Any] = {
348
+ "service": service,
349
+ }
350
+ if connection is not None:
351
+ self._values["connection"] = connection
352
+ if count is not None:
353
+ self._values["count"] = count
354
+ if depends_on is not None:
355
+ self._values["depends_on"] = depends_on
356
+ if for_each is not None:
357
+ self._values["for_each"] = for_each
358
+ if lifecycle is not None:
359
+ self._values["lifecycle"] = lifecycle
360
+ if provider is not None:
361
+ self._values["provider"] = provider
362
+ if provisioners is not None:
363
+ self._values["provisioners"] = provisioners
364
+ if id is not None:
365
+ self._values["id"] = id
366
+ if limit is not None:
367
+ self._values["limit"] = limit
368
+ if offset is not None:
369
+ self._values["offset"] = offset
370
+ if order is not None:
371
+ self._values["order"] = order
372
+ if sessions is not None:
373
+ self._values["sessions"] = sessions
374
+
375
+ @builtins.property
376
+ def connection(
377
+ self,
378
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
379
+ '''
380
+ :stability: experimental
381
+ '''
382
+ result = self._values.get("connection")
383
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
384
+
385
+ @builtins.property
386
+ def count(
387
+ self,
388
+ ) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
389
+ '''
390
+ :stability: experimental
391
+ '''
392
+ result = self._values.get("count")
393
+ return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
394
+
395
+ @builtins.property
396
+ def depends_on(
397
+ self,
398
+ ) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
399
+ '''
400
+ :stability: experimental
401
+ '''
402
+ result = self._values.get("depends_on")
403
+ return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
404
+
405
+ @builtins.property
406
+ def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
407
+ '''
408
+ :stability: experimental
409
+ '''
410
+ result = self._values.get("for_each")
411
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
412
+
413
+ @builtins.property
414
+ def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
415
+ '''
416
+ :stability: experimental
417
+ '''
418
+ result = self._values.get("lifecycle")
419
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
420
+
421
+ @builtins.property
422
+ def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
423
+ '''
424
+ :stability: experimental
425
+ '''
426
+ result = self._values.get("provider")
427
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
428
+
429
+ @builtins.property
430
+ def provisioners(
431
+ self,
432
+ ) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
433
+ '''
434
+ :stability: experimental
435
+ '''
436
+ result = self._values.get("provisioners")
437
+ return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
438
+
439
+ @builtins.property
440
+ def service(self) -> builtins.str:
441
+ '''Service's UUID for which these sessions belongs to.
442
+
443
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#service DataUpcloudManagedDatabaseValkeySessions#service}
444
+ '''
445
+ result = self._values.get("service")
446
+ assert result is not None, "Required property 'service' is missing"
447
+ return typing.cast(builtins.str, result)
448
+
449
+ @builtins.property
450
+ def id(self) -> typing.Optional[builtins.str]:
451
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#id DataUpcloudManagedDatabaseValkeySessions#id}.
452
+
453
+ Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
454
+ 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.
455
+ '''
456
+ result = self._values.get("id")
457
+ return typing.cast(typing.Optional[builtins.str], result)
458
+
459
+ @builtins.property
460
+ def limit(self) -> typing.Optional[jsii.Number]:
461
+ '''Number of entries to receive at most.
462
+
463
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#limit DataUpcloudManagedDatabaseValkeySessions#limit}
464
+ '''
465
+ result = self._values.get("limit")
466
+ return typing.cast(typing.Optional[jsii.Number], result)
467
+
468
+ @builtins.property
469
+ def offset(self) -> typing.Optional[jsii.Number]:
470
+ '''Offset for retrieved results based on sort order.
471
+
472
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#offset DataUpcloudManagedDatabaseValkeySessions#offset}
473
+ '''
474
+ result = self._values.get("offset")
475
+ return typing.cast(typing.Optional[jsii.Number], result)
476
+
477
+ @builtins.property
478
+ def order(self) -> typing.Optional[builtins.str]:
479
+ '''Order by session field and sort retrieved results. Limited variables can be used for ordering.
480
+
481
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#order DataUpcloudManagedDatabaseValkeySessions#order}
482
+ '''
483
+ result = self._values.get("order")
484
+ return typing.cast(typing.Optional[builtins.str], result)
485
+
486
+ @builtins.property
487
+ def sessions(
488
+ self,
489
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabaseValkeySessionsSessions"]]]:
490
+ '''sessions block.
491
+
492
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_database_valkey_sessions#sessions DataUpcloudManagedDatabaseValkeySessions#sessions}
493
+ '''
494
+ result = self._values.get("sessions")
495
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List["DataUpcloudManagedDatabaseValkeySessionsSessions"]]], result)
496
+
497
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
498
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
499
+
500
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
501
+ return not (rhs == self)
502
+
503
+ def __repr__(self) -> str:
504
+ return "DataUpcloudManagedDatabaseValkeySessionsConfig(%s)" % ", ".join(
505
+ k + "=" + repr(v) for k, v in self._values.items()
506
+ )
507
+
508
+
509
+ @jsii.data_type(
510
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabaseValkeySessions.DataUpcloudManagedDatabaseValkeySessionsSessions",
511
+ jsii_struct_bases=[],
512
+ name_mapping={},
513
+ )
514
+ class DataUpcloudManagedDatabaseValkeySessionsSessions:
515
+ def __init__(self) -> None:
516
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
517
+
518
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
519
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
520
+
521
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
522
+ return not (rhs == self)
523
+
524
+ def __repr__(self) -> str:
525
+ return "DataUpcloudManagedDatabaseValkeySessionsSessions(%s)" % ", ".join(
526
+ k + "=" + repr(v) for k, v in self._values.items()
527
+ )
528
+
529
+
530
+ class DataUpcloudManagedDatabaseValkeySessionsSessionsList(
531
+ _cdktf_9a9027ec.ComplexList,
532
+ metaclass=jsii.JSIIMeta,
533
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabaseValkeySessions.DataUpcloudManagedDatabaseValkeySessionsSessionsList",
534
+ ):
535
+ def __init__(
536
+ self,
537
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
538
+ terraform_attribute: builtins.str,
539
+ wraps_set: builtins.bool,
540
+ ) -> None:
541
+ '''
542
+ :param terraform_resource: The parent resource.
543
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
544
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
545
+ '''
546
+ if __debug__:
547
+ type_hints = typing.get_type_hints(_typecheckingstub__a89075982d6ff11bad384bbd0440f38603af238b0e30e4f5ad1f10364f6c86ef)
548
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
549
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
550
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
551
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
552
+
553
+ @jsii.member(jsii_name="get")
554
+ def get(
555
+ self,
556
+ index: jsii.Number,
557
+ ) -> "DataUpcloudManagedDatabaseValkeySessionsSessionsOutputReference":
558
+ '''
559
+ :param index: the index of the item to return.
560
+ '''
561
+ if __debug__:
562
+ type_hints = typing.get_type_hints(_typecheckingstub__91d3ae22b533eee771149a537da934657676455b5da4da79cd427aeccbe0711c)
563
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
564
+ return typing.cast("DataUpcloudManagedDatabaseValkeySessionsSessionsOutputReference", jsii.invoke(self, "get", [index]))
565
+
566
+ @builtins.property
567
+ @jsii.member(jsii_name="terraformAttribute")
568
+ def _terraform_attribute(self) -> builtins.str:
569
+ '''The attribute on the parent resource this class is referencing.'''
570
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
571
+
572
+ @_terraform_attribute.setter
573
+ def _terraform_attribute(self, value: builtins.str) -> None:
574
+ if __debug__:
575
+ type_hints = typing.get_type_hints(_typecheckingstub__97fa2e14f3d58addbefb036aed5ad68bd7d6cbceb883f2b782b3f2156671f969)
576
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
577
+ jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
578
+
579
+ @builtins.property
580
+ @jsii.member(jsii_name="terraformResource")
581
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
582
+ '''The parent resource.'''
583
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
584
+
585
+ @_terraform_resource.setter
586
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
587
+ if __debug__:
588
+ type_hints = typing.get_type_hints(_typecheckingstub__a8a3f50946674121f6f718f4f208b85e3802a1e5a9fec491a633e9d7182d28d2)
589
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
590
+ jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
591
+
592
+ @builtins.property
593
+ @jsii.member(jsii_name="wrapsSet")
594
+ def _wraps_set(self) -> builtins.bool:
595
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
596
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
597
+
598
+ @_wraps_set.setter
599
+ def _wraps_set(self, value: builtins.bool) -> None:
600
+ if __debug__:
601
+ type_hints = typing.get_type_hints(_typecheckingstub__d455e20d7fb319eda89a9d033874f47aaeb14e828376881656bfc2e1e85fdf86)
602
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
603
+ jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
604
+
605
+ @builtins.property
606
+ @jsii.member(jsii_name="internalValue")
607
+ def internal_value(
608
+ self,
609
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabaseValkeySessionsSessions]]]:
610
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabaseValkeySessionsSessions]]], jsii.get(self, "internalValue"))
611
+
612
+ @internal_value.setter
613
+ def internal_value(
614
+ self,
615
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabaseValkeySessionsSessions]]],
616
+ ) -> None:
617
+ if __debug__:
618
+ type_hints = typing.get_type_hints(_typecheckingstub__09c4a7d31a97a7d9be682ebb196f05638c5cea9c748f2164f71a1d190f856e10)
619
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
620
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
621
+
622
+
623
+ class DataUpcloudManagedDatabaseValkeySessionsSessionsOutputReference(
624
+ _cdktf_9a9027ec.ComplexObject,
625
+ metaclass=jsii.JSIIMeta,
626
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedDatabaseValkeySessions.DataUpcloudManagedDatabaseValkeySessionsSessionsOutputReference",
627
+ ):
628
+ def __init__(
629
+ self,
630
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
631
+ terraform_attribute: builtins.str,
632
+ complex_object_index: jsii.Number,
633
+ complex_object_is_from_set: builtins.bool,
634
+ ) -> None:
635
+ '''
636
+ :param terraform_resource: The parent resource.
637
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
638
+ :param complex_object_index: the index of this item in the list.
639
+ :param complex_object_is_from_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
640
+ '''
641
+ if __debug__:
642
+ type_hints = typing.get_type_hints(_typecheckingstub__161ae9e9e4b1a99f788acfe1862436768028400e7bd9a5530ad8893bab6a43ba)
643
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
644
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
645
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
646
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
647
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
648
+
649
+ @builtins.property
650
+ @jsii.member(jsii_name="activeChannelSubscriptions")
651
+ def active_channel_subscriptions(self) -> jsii.Number:
652
+ return typing.cast(jsii.Number, jsii.get(self, "activeChannelSubscriptions"))
653
+
654
+ @builtins.property
655
+ @jsii.member(jsii_name="activeDatabase")
656
+ def active_database(self) -> builtins.str:
657
+ return typing.cast(builtins.str, jsii.get(self, "activeDatabase"))
658
+
659
+ @builtins.property
660
+ @jsii.member(jsii_name="activePatternMatchingChannelSubscriptions")
661
+ def active_pattern_matching_channel_subscriptions(self) -> jsii.Number:
662
+ return typing.cast(jsii.Number, jsii.get(self, "activePatternMatchingChannelSubscriptions"))
663
+
664
+ @builtins.property
665
+ @jsii.member(jsii_name="applicationName")
666
+ def application_name(self) -> builtins.str:
667
+ return typing.cast(builtins.str, jsii.get(self, "applicationName"))
668
+
669
+ @builtins.property
670
+ @jsii.member(jsii_name="clientAddr")
671
+ def client_addr(self) -> builtins.str:
672
+ return typing.cast(builtins.str, jsii.get(self, "clientAddr"))
673
+
674
+ @builtins.property
675
+ @jsii.member(jsii_name="connectionAge")
676
+ def connection_age(self) -> jsii.Number:
677
+ return typing.cast(jsii.Number, jsii.get(self, "connectionAge"))
678
+
679
+ @builtins.property
680
+ @jsii.member(jsii_name="connectionIdle")
681
+ def connection_idle(self) -> jsii.Number:
682
+ return typing.cast(jsii.Number, jsii.get(self, "connectionIdle"))
683
+
684
+ @builtins.property
685
+ @jsii.member(jsii_name="flags")
686
+ def flags(self) -> typing.List[builtins.str]:
687
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "flags"))
688
+
689
+ @builtins.property
690
+ @jsii.member(jsii_name="flagsRaw")
691
+ def flags_raw(self) -> builtins.str:
692
+ return typing.cast(builtins.str, jsii.get(self, "flagsRaw"))
693
+
694
+ @builtins.property
695
+ @jsii.member(jsii_name="id")
696
+ def id(self) -> builtins.str:
697
+ return typing.cast(builtins.str, jsii.get(self, "id"))
698
+
699
+ @builtins.property
700
+ @jsii.member(jsii_name="multiExecCommands")
701
+ def multi_exec_commands(self) -> jsii.Number:
702
+ return typing.cast(jsii.Number, jsii.get(self, "multiExecCommands"))
703
+
704
+ @builtins.property
705
+ @jsii.member(jsii_name="outputBuffer")
706
+ def output_buffer(self) -> jsii.Number:
707
+ return typing.cast(jsii.Number, jsii.get(self, "outputBuffer"))
708
+
709
+ @builtins.property
710
+ @jsii.member(jsii_name="outputBufferMemory")
711
+ def output_buffer_memory(self) -> jsii.Number:
712
+ return typing.cast(jsii.Number, jsii.get(self, "outputBufferMemory"))
713
+
714
+ @builtins.property
715
+ @jsii.member(jsii_name="outputListLength")
716
+ def output_list_length(self) -> jsii.Number:
717
+ return typing.cast(jsii.Number, jsii.get(self, "outputListLength"))
718
+
719
+ @builtins.property
720
+ @jsii.member(jsii_name="query")
721
+ def query(self) -> builtins.str:
722
+ return typing.cast(builtins.str, jsii.get(self, "query"))
723
+
724
+ @builtins.property
725
+ @jsii.member(jsii_name="queryBuffer")
726
+ def query_buffer(self) -> jsii.Number:
727
+ return typing.cast(jsii.Number, jsii.get(self, "queryBuffer"))
728
+
729
+ @builtins.property
730
+ @jsii.member(jsii_name="queryBufferFree")
731
+ def query_buffer_free(self) -> jsii.Number:
732
+ return typing.cast(jsii.Number, jsii.get(self, "queryBufferFree"))
733
+
734
+ @builtins.property
735
+ @jsii.member(jsii_name="internalValue")
736
+ def internal_value(
737
+ self,
738
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabaseValkeySessionsSessions]]:
739
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabaseValkeySessionsSessions]], jsii.get(self, "internalValue"))
740
+
741
+ @internal_value.setter
742
+ def internal_value(
743
+ self,
744
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabaseValkeySessionsSessions]],
745
+ ) -> None:
746
+ if __debug__:
747
+ type_hints = typing.get_type_hints(_typecheckingstub__bac585e530803c24634d6be474e360e0c6caf93ba7e1b70c2f4d7619f6066ffc)
748
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
749
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
750
+
751
+
752
+ __all__ = [
753
+ "DataUpcloudManagedDatabaseValkeySessions",
754
+ "DataUpcloudManagedDatabaseValkeySessionsConfig",
755
+ "DataUpcloudManagedDatabaseValkeySessionsSessions",
756
+ "DataUpcloudManagedDatabaseValkeySessionsSessionsList",
757
+ "DataUpcloudManagedDatabaseValkeySessionsSessionsOutputReference",
758
+ ]
759
+
760
+ publication.publish()
761
+
762
+ def _typecheckingstub__2764b10ad6196bbafe181e09aa02467ed282a731ddbb4ac6c891b77f07e03cb3(
763
+ scope: _constructs_77d1e7e8.Construct,
764
+ id_: builtins.str,
765
+ *,
766
+ service: builtins.str,
767
+ id: typing.Optional[builtins.str] = None,
768
+ limit: typing.Optional[jsii.Number] = None,
769
+ offset: typing.Optional[jsii.Number] = None,
770
+ order: typing.Optional[builtins.str] = None,
771
+ sessions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedDatabaseValkeySessionsSessions, typing.Dict[builtins.str, typing.Any]]]]] = None,
772
+ connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
773
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
774
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
775
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
776
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
777
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
778
+ provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
779
+ ) -> None:
780
+ """Type checking stubs"""
781
+ pass
782
+
783
+ def _typecheckingstub__ad95febf3933ac392cb10798aea05a57402bc3966f35ab069fd1044fe4ec0952(
784
+ scope: _constructs_77d1e7e8.Construct,
785
+ import_to_id: builtins.str,
786
+ import_from_id: builtins.str,
787
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
788
+ ) -> None:
789
+ """Type checking stubs"""
790
+ pass
791
+
792
+ def _typecheckingstub__8b1bab145ed9d8d21adb26a20bb03af2587c3001752efbc9ae16f70e1fbb1dad(
793
+ value: typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedDatabaseValkeySessionsSessions, typing.Dict[builtins.str, typing.Any]]]],
794
+ ) -> None:
795
+ """Type checking stubs"""
796
+ pass
797
+
798
+ def _typecheckingstub__1b7e552da6145207ddd2843b0aa1479b0635241bf3b9a4b3d7784d76887810cc(
799
+ value: builtins.str,
800
+ ) -> None:
801
+ """Type checking stubs"""
802
+ pass
803
+
804
+ def _typecheckingstub__adc206296d4fe383f09f5d434aedcc970a3c878dc7cdc0fc550d5a53b19bb84b(
805
+ value: jsii.Number,
806
+ ) -> None:
807
+ """Type checking stubs"""
808
+ pass
809
+
810
+ def _typecheckingstub__565bacb6ce63655a40a507a932e8a919afe973939347389ab08bb5ea109cdb6d(
811
+ value: jsii.Number,
812
+ ) -> None:
813
+ """Type checking stubs"""
814
+ pass
815
+
816
+ def _typecheckingstub__35e9fe139bbdf0e0c0e7b1ef50bf79e3e6037cee05d57eaea86bf561a698e4c1(
817
+ value: builtins.str,
818
+ ) -> None:
819
+ """Type checking stubs"""
820
+ pass
821
+
822
+ def _typecheckingstub__d520a033658be28761fdcf1f43bab642ebdeef14938528dfdcdb2c4260938cf3(
823
+ value: builtins.str,
824
+ ) -> None:
825
+ """Type checking stubs"""
826
+ pass
827
+
828
+ def _typecheckingstub__90c85ded123ddd829217286dd6b4ffbde19b7e8c75434b6e4c8edf8a765a64d5(
829
+ *,
830
+ connection: typing.Optional[typing.Union[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.WinrmProvisionerConnection, typing.Dict[builtins.str, typing.Any]]]] = None,
831
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
832
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
833
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
834
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
835
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
836
+ provisioners: typing.Optional[typing.Sequence[typing.Union[typing.Union[_cdktf_9a9027ec.FileProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.LocalExecProvisioner, typing.Dict[builtins.str, typing.Any]], typing.Union[_cdktf_9a9027ec.RemoteExecProvisioner, typing.Dict[builtins.str, typing.Any]]]]] = None,
837
+ service: builtins.str,
838
+ id: typing.Optional[builtins.str] = None,
839
+ limit: typing.Optional[jsii.Number] = None,
840
+ offset: typing.Optional[jsii.Number] = None,
841
+ order: typing.Optional[builtins.str] = None,
842
+ sessions: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.Sequence[typing.Union[DataUpcloudManagedDatabaseValkeySessionsSessions, typing.Dict[builtins.str, typing.Any]]]]] = None,
843
+ ) -> None:
844
+ """Type checking stubs"""
845
+ pass
846
+
847
+ def _typecheckingstub__a89075982d6ff11bad384bbd0440f38603af238b0e30e4f5ad1f10364f6c86ef(
848
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
849
+ terraform_attribute: builtins.str,
850
+ wraps_set: builtins.bool,
851
+ ) -> None:
852
+ """Type checking stubs"""
853
+ pass
854
+
855
+ def _typecheckingstub__91d3ae22b533eee771149a537da934657676455b5da4da79cd427aeccbe0711c(
856
+ index: jsii.Number,
857
+ ) -> None:
858
+ """Type checking stubs"""
859
+ pass
860
+
861
+ def _typecheckingstub__97fa2e14f3d58addbefb036aed5ad68bd7d6cbceb883f2b782b3f2156671f969(
862
+ value: builtins.str,
863
+ ) -> None:
864
+ """Type checking stubs"""
865
+ pass
866
+
867
+ def _typecheckingstub__a8a3f50946674121f6f718f4f208b85e3802a1e5a9fec491a633e9d7182d28d2(
868
+ value: _cdktf_9a9027ec.IInterpolatingParent,
869
+ ) -> None:
870
+ """Type checking stubs"""
871
+ pass
872
+
873
+ def _typecheckingstub__d455e20d7fb319eda89a9d033874f47aaeb14e828376881656bfc2e1e85fdf86(
874
+ value: builtins.bool,
875
+ ) -> None:
876
+ """Type checking stubs"""
877
+ pass
878
+
879
+ def _typecheckingstub__09c4a7d31a97a7d9be682ebb196f05638c5cea9c748f2164f71a1d190f856e10(
880
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, typing.List[DataUpcloudManagedDatabaseValkeySessionsSessions]]],
881
+ ) -> None:
882
+ """Type checking stubs"""
883
+ pass
884
+
885
+ def _typecheckingstub__161ae9e9e4b1a99f788acfe1862436768028400e7bd9a5530ad8893bab6a43ba(
886
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
887
+ terraform_attribute: builtins.str,
888
+ complex_object_index: jsii.Number,
889
+ complex_object_is_from_set: builtins.bool,
890
+ ) -> None:
891
+ """Type checking stubs"""
892
+ pass
893
+
894
+ def _typecheckingstub__bac585e530803c24634d6be474e360e0c6caf93ba7e1b70c2f4d7619f6066ffc(
895
+ value: typing.Optional[typing.Union[_cdktf_9a9027ec.IResolvable, DataUpcloudManagedDatabaseValkeySessionsSessions]],
896
+ ) -> None:
897
+ """Type checking stubs"""
898
+ pass