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,647 @@
1
+ r'''
2
+ # `data_upcloud_managed_object_storage_policies`
3
+
4
+ Refer to the Terraform Registry for docs: [`data_upcloud_managed_object_storage_policies`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_policies).
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 DataUpcloudManagedObjectStoragePolicies(
43
+ _cdktf_9a9027ec.TerraformDataSource,
44
+ metaclass=jsii.JSIIMeta,
45
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedObjectStoragePolicies.DataUpcloudManagedObjectStoragePolicies",
46
+ ):
47
+ '''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_policies upcloud_managed_object_storage_policies}.'''
48
+
49
+ def __init__(
50
+ self,
51
+ scope: _constructs_77d1e7e8.Construct,
52
+ id_: builtins.str,
53
+ *,
54
+ service_uuid: builtins.str,
55
+ id: typing.Optional[builtins.str] = None,
56
+ 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,
57
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
58
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
59
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
60
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
61
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
62
+ 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,
63
+ ) -> None:
64
+ '''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_policies upcloud_managed_object_storage_policies} Data Source.
65
+
66
+ :param scope: The scope in which to define this construct.
67
+ :param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
68
+ :param service_uuid: Service UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_policies#service_uuid DataUpcloudManagedObjectStoragePolicies#service_uuid}
69
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_policies#id DataUpcloudManagedObjectStoragePolicies#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.
70
+ :param connection:
71
+ :param count:
72
+ :param depends_on:
73
+ :param for_each:
74
+ :param lifecycle:
75
+ :param provider:
76
+ :param provisioners:
77
+ '''
78
+ if __debug__:
79
+ type_hints = typing.get_type_hints(_typecheckingstub__4cf3efc4d40eedff7cf881a08a10ddc63f163a01a284c8db7b1d4daacd63ea27)
80
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
81
+ check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
82
+ config = DataUpcloudManagedObjectStoragePoliciesConfig(
83
+ service_uuid=service_uuid,
84
+ id=id,
85
+ connection=connection,
86
+ count=count,
87
+ depends_on=depends_on,
88
+ for_each=for_each,
89
+ lifecycle=lifecycle,
90
+ provider=provider,
91
+ provisioners=provisioners,
92
+ )
93
+
94
+ jsii.create(self.__class__, self, [scope, id_, config])
95
+
96
+ @jsii.member(jsii_name="generateConfigForImport")
97
+ @builtins.classmethod
98
+ def generate_config_for_import(
99
+ cls,
100
+ scope: _constructs_77d1e7e8.Construct,
101
+ import_to_id: builtins.str,
102
+ import_from_id: builtins.str,
103
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
104
+ ) -> _cdktf_9a9027ec.ImportableResource:
105
+ '''Generates CDKTF code for importing a DataUpcloudManagedObjectStoragePolicies resource upon running "cdktf plan ".
106
+
107
+ :param scope: The scope in which to define this construct.
108
+ :param import_to_id: The construct id used in the generated config for the DataUpcloudManagedObjectStoragePolicies to import.
109
+ :param import_from_id: The id of the existing DataUpcloudManagedObjectStoragePolicies that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_policies#import import section} in the documentation of this resource for the id to use
110
+ :param provider: ? Optional instance of the provider where the DataUpcloudManagedObjectStoragePolicies to import is found.
111
+ '''
112
+ if __debug__:
113
+ type_hints = typing.get_type_hints(_typecheckingstub__760b653b2ba54514d9599ab6032fedd9508e5b6e0a702c1ed01b02fbebe23423)
114
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
115
+ check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
116
+ check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
117
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
118
+ return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
119
+
120
+ @jsii.member(jsii_name="resetId")
121
+ def reset_id(self) -> None:
122
+ return typing.cast(None, jsii.invoke(self, "resetId", []))
123
+
124
+ @jsii.member(jsii_name="synthesizeAttributes")
125
+ def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
126
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
127
+
128
+ @jsii.member(jsii_name="synthesizeHclAttributes")
129
+ def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
130
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
131
+
132
+ @jsii.python.classproperty
133
+ @jsii.member(jsii_name="tfResourceType")
134
+ def TF_RESOURCE_TYPE(cls) -> builtins.str:
135
+ return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
136
+
137
+ @builtins.property
138
+ @jsii.member(jsii_name="policies")
139
+ def policies(self) -> "DataUpcloudManagedObjectStoragePoliciesPoliciesList":
140
+ return typing.cast("DataUpcloudManagedObjectStoragePoliciesPoliciesList", jsii.get(self, "policies"))
141
+
142
+ @builtins.property
143
+ @jsii.member(jsii_name="idInput")
144
+ def id_input(self) -> typing.Optional[builtins.str]:
145
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
146
+
147
+ @builtins.property
148
+ @jsii.member(jsii_name="serviceUuidInput")
149
+ def service_uuid_input(self) -> typing.Optional[builtins.str]:
150
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serviceUuidInput"))
151
+
152
+ @builtins.property
153
+ @jsii.member(jsii_name="id")
154
+ def id(self) -> builtins.str:
155
+ return typing.cast(builtins.str, jsii.get(self, "id"))
156
+
157
+ @id.setter
158
+ def id(self, value: builtins.str) -> None:
159
+ if __debug__:
160
+ type_hints = typing.get_type_hints(_typecheckingstub__9177cdc73872d143b057a3a1176760a8cb47f4f0ded39ecb6e6088f94850353d)
161
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
162
+ jsii.set(self, "id", value) # pyright: ignore[reportArgumentType]
163
+
164
+ @builtins.property
165
+ @jsii.member(jsii_name="serviceUuid")
166
+ def service_uuid(self) -> builtins.str:
167
+ return typing.cast(builtins.str, jsii.get(self, "serviceUuid"))
168
+
169
+ @service_uuid.setter
170
+ def service_uuid(self, value: builtins.str) -> None:
171
+ if __debug__:
172
+ type_hints = typing.get_type_hints(_typecheckingstub__cb69a18098a1301d120f5d4bd98ebd708c8dc1dbad8888cb4778ae076a22bb71)
173
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
174
+ jsii.set(self, "serviceUuid", value) # pyright: ignore[reportArgumentType]
175
+
176
+
177
+ @jsii.data_type(
178
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedObjectStoragePolicies.DataUpcloudManagedObjectStoragePoliciesConfig",
179
+ jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
180
+ name_mapping={
181
+ "connection": "connection",
182
+ "count": "count",
183
+ "depends_on": "dependsOn",
184
+ "for_each": "forEach",
185
+ "lifecycle": "lifecycle",
186
+ "provider": "provider",
187
+ "provisioners": "provisioners",
188
+ "service_uuid": "serviceUuid",
189
+ "id": "id",
190
+ },
191
+ )
192
+ class DataUpcloudManagedObjectStoragePoliciesConfig(
193
+ _cdktf_9a9027ec.TerraformMetaArguments,
194
+ ):
195
+ def __init__(
196
+ self,
197
+ *,
198
+ 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,
199
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
200
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
201
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
202
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
203
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
204
+ 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,
205
+ service_uuid: builtins.str,
206
+ id: typing.Optional[builtins.str] = None,
207
+ ) -> None:
208
+ '''
209
+ :param connection:
210
+ :param count:
211
+ :param depends_on:
212
+ :param for_each:
213
+ :param lifecycle:
214
+ :param provider:
215
+ :param provisioners:
216
+ :param service_uuid: Service UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_policies#service_uuid DataUpcloudManagedObjectStoragePolicies#service_uuid}
217
+ :param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_policies#id DataUpcloudManagedObjectStoragePolicies#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.
218
+ '''
219
+ if isinstance(lifecycle, dict):
220
+ lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
221
+ if __debug__:
222
+ type_hints = typing.get_type_hints(_typecheckingstub__f97397007b8f74cc33c98b809ba4ebee9953fef9852e105c3017294f15099313)
223
+ check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
224
+ check_type(argname="argument count", value=count, expected_type=type_hints["count"])
225
+ check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
226
+ check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
227
+ check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
228
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
229
+ check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
230
+ check_type(argname="argument service_uuid", value=service_uuid, expected_type=type_hints["service_uuid"])
231
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
232
+ self._values: typing.Dict[builtins.str, typing.Any] = {
233
+ "service_uuid": service_uuid,
234
+ }
235
+ if connection is not None:
236
+ self._values["connection"] = connection
237
+ if count is not None:
238
+ self._values["count"] = count
239
+ if depends_on is not None:
240
+ self._values["depends_on"] = depends_on
241
+ if for_each is not None:
242
+ self._values["for_each"] = for_each
243
+ if lifecycle is not None:
244
+ self._values["lifecycle"] = lifecycle
245
+ if provider is not None:
246
+ self._values["provider"] = provider
247
+ if provisioners is not None:
248
+ self._values["provisioners"] = provisioners
249
+ if id is not None:
250
+ self._values["id"] = id
251
+
252
+ @builtins.property
253
+ def connection(
254
+ self,
255
+ ) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
256
+ '''
257
+ :stability: experimental
258
+ '''
259
+ result = self._values.get("connection")
260
+ return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
261
+
262
+ @builtins.property
263
+ def count(
264
+ self,
265
+ ) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
266
+ '''
267
+ :stability: experimental
268
+ '''
269
+ result = self._values.get("count")
270
+ return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
271
+
272
+ @builtins.property
273
+ def depends_on(
274
+ self,
275
+ ) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
276
+ '''
277
+ :stability: experimental
278
+ '''
279
+ result = self._values.get("depends_on")
280
+ return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
281
+
282
+ @builtins.property
283
+ def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
284
+ '''
285
+ :stability: experimental
286
+ '''
287
+ result = self._values.get("for_each")
288
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
289
+
290
+ @builtins.property
291
+ def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
292
+ '''
293
+ :stability: experimental
294
+ '''
295
+ result = self._values.get("lifecycle")
296
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
297
+
298
+ @builtins.property
299
+ def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
300
+ '''
301
+ :stability: experimental
302
+ '''
303
+ result = self._values.get("provider")
304
+ return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
305
+
306
+ @builtins.property
307
+ def provisioners(
308
+ self,
309
+ ) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
310
+ '''
311
+ :stability: experimental
312
+ '''
313
+ result = self._values.get("provisioners")
314
+ return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
315
+
316
+ @builtins.property
317
+ def service_uuid(self) -> builtins.str:
318
+ '''Service UUID.
319
+
320
+ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_policies#service_uuid DataUpcloudManagedObjectStoragePolicies#service_uuid}
321
+ '''
322
+ result = self._values.get("service_uuid")
323
+ assert result is not None, "Required property 'service_uuid' is missing"
324
+ return typing.cast(builtins.str, result)
325
+
326
+ @builtins.property
327
+ def id(self) -> typing.Optional[builtins.str]:
328
+ '''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/data-sources/managed_object_storage_policies#id DataUpcloudManagedObjectStoragePolicies#id}.
329
+
330
+ Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
331
+ 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.
332
+ '''
333
+ result = self._values.get("id")
334
+ return typing.cast(typing.Optional[builtins.str], result)
335
+
336
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
337
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
338
+
339
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
340
+ return not (rhs == self)
341
+
342
+ def __repr__(self) -> str:
343
+ return "DataUpcloudManagedObjectStoragePoliciesConfig(%s)" % ", ".join(
344
+ k + "=" + repr(v) for k, v in self._values.items()
345
+ )
346
+
347
+
348
+ @jsii.data_type(
349
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedObjectStoragePolicies.DataUpcloudManagedObjectStoragePoliciesPolicies",
350
+ jsii_struct_bases=[],
351
+ name_mapping={},
352
+ )
353
+ class DataUpcloudManagedObjectStoragePoliciesPolicies:
354
+ def __init__(self) -> None:
355
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
356
+
357
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
358
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
359
+
360
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
361
+ return not (rhs == self)
362
+
363
+ def __repr__(self) -> str:
364
+ return "DataUpcloudManagedObjectStoragePoliciesPolicies(%s)" % ", ".join(
365
+ k + "=" + repr(v) for k, v in self._values.items()
366
+ )
367
+
368
+
369
+ class DataUpcloudManagedObjectStoragePoliciesPoliciesList(
370
+ _cdktf_9a9027ec.ComplexList,
371
+ metaclass=jsii.JSIIMeta,
372
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedObjectStoragePolicies.DataUpcloudManagedObjectStoragePoliciesPoliciesList",
373
+ ):
374
+ def __init__(
375
+ self,
376
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
377
+ terraform_attribute: builtins.str,
378
+ wraps_set: builtins.bool,
379
+ ) -> None:
380
+ '''
381
+ :param terraform_resource: The parent resource.
382
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
383
+ :param wraps_set: whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
384
+ '''
385
+ if __debug__:
386
+ type_hints = typing.get_type_hints(_typecheckingstub__9073a8d9b7be003521f4c469cd77261be76272fa44cb8ee64e850ba9846b07c4)
387
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
388
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
389
+ check_type(argname="argument wraps_set", value=wraps_set, expected_type=type_hints["wraps_set"])
390
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, wraps_set])
391
+
392
+ @jsii.member(jsii_name="get")
393
+ def get(
394
+ self,
395
+ index: jsii.Number,
396
+ ) -> "DataUpcloudManagedObjectStoragePoliciesPoliciesOutputReference":
397
+ '''
398
+ :param index: the index of the item to return.
399
+ '''
400
+ if __debug__:
401
+ type_hints = typing.get_type_hints(_typecheckingstub__7ff98a08c3213311cf53737f4555e116f7869a6f4dfd046dd736666005b8f17e)
402
+ check_type(argname="argument index", value=index, expected_type=type_hints["index"])
403
+ return typing.cast("DataUpcloudManagedObjectStoragePoliciesPoliciesOutputReference", jsii.invoke(self, "get", [index]))
404
+
405
+ @builtins.property
406
+ @jsii.member(jsii_name="terraformAttribute")
407
+ def _terraform_attribute(self) -> builtins.str:
408
+ '''The attribute on the parent resource this class is referencing.'''
409
+ return typing.cast(builtins.str, jsii.get(self, "terraformAttribute"))
410
+
411
+ @_terraform_attribute.setter
412
+ def _terraform_attribute(self, value: builtins.str) -> None:
413
+ if __debug__:
414
+ type_hints = typing.get_type_hints(_typecheckingstub__7db3efc258c92ec8618b3217e0489fa33d5cabeb7105f02bee9ca99a95deba09)
415
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
416
+ jsii.set(self, "terraformAttribute", value) # pyright: ignore[reportArgumentType]
417
+
418
+ @builtins.property
419
+ @jsii.member(jsii_name="terraformResource")
420
+ def _terraform_resource(self) -> _cdktf_9a9027ec.IInterpolatingParent:
421
+ '''The parent resource.'''
422
+ return typing.cast(_cdktf_9a9027ec.IInterpolatingParent, jsii.get(self, "terraformResource"))
423
+
424
+ @_terraform_resource.setter
425
+ def _terraform_resource(self, value: _cdktf_9a9027ec.IInterpolatingParent) -> None:
426
+ if __debug__:
427
+ type_hints = typing.get_type_hints(_typecheckingstub__8cdf1087b8a7a423f2feab21f83607387d768bf56a9010509690cbda61d7f63d)
428
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
429
+ jsii.set(self, "terraformResource", value) # pyright: ignore[reportArgumentType]
430
+
431
+ @builtins.property
432
+ @jsii.member(jsii_name="wrapsSet")
433
+ def _wraps_set(self) -> builtins.bool:
434
+ '''whether the list is wrapping a set (will add tolist() to be able to access an item via an index).'''
435
+ return typing.cast(builtins.bool, jsii.get(self, "wrapsSet"))
436
+
437
+ @_wraps_set.setter
438
+ def _wraps_set(self, value: builtins.bool) -> None:
439
+ if __debug__:
440
+ type_hints = typing.get_type_hints(_typecheckingstub__70110eea44e4290b304884ba035af4c2021af4b6381ec90e5f043b9ed10c83f4)
441
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
442
+ jsii.set(self, "wrapsSet", value) # pyright: ignore[reportArgumentType]
443
+
444
+
445
+ class DataUpcloudManagedObjectStoragePoliciesPoliciesOutputReference(
446
+ _cdktf_9a9027ec.ComplexObject,
447
+ metaclass=jsii.JSIIMeta,
448
+ jsii_type="@cdktf/provider-upcloud.dataUpcloudManagedObjectStoragePolicies.DataUpcloudManagedObjectStoragePoliciesPoliciesOutputReference",
449
+ ):
450
+ def __init__(
451
+ self,
452
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
453
+ terraform_attribute: builtins.str,
454
+ complex_object_index: jsii.Number,
455
+ complex_object_is_from_set: builtins.bool,
456
+ ) -> None:
457
+ '''
458
+ :param terraform_resource: The parent resource.
459
+ :param terraform_attribute: The attribute on the parent resource this class is referencing.
460
+ :param complex_object_index: the index of this item in the list.
461
+ :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).
462
+ '''
463
+ if __debug__:
464
+ type_hints = typing.get_type_hints(_typecheckingstub__d4e30adaaa5219d9f79843ce3e86ff1c8873691577e28aeb1733f66d74ab2556)
465
+ check_type(argname="argument terraform_resource", value=terraform_resource, expected_type=type_hints["terraform_resource"])
466
+ check_type(argname="argument terraform_attribute", value=terraform_attribute, expected_type=type_hints["terraform_attribute"])
467
+ check_type(argname="argument complex_object_index", value=complex_object_index, expected_type=type_hints["complex_object_index"])
468
+ check_type(argname="argument complex_object_is_from_set", value=complex_object_is_from_set, expected_type=type_hints["complex_object_is_from_set"])
469
+ jsii.create(self.__class__, self, [terraform_resource, terraform_attribute, complex_object_index, complex_object_is_from_set])
470
+
471
+ @builtins.property
472
+ @jsii.member(jsii_name="arn")
473
+ def arn(self) -> builtins.str:
474
+ return typing.cast(builtins.str, jsii.get(self, "arn"))
475
+
476
+ @builtins.property
477
+ @jsii.member(jsii_name="attachmentCount")
478
+ def attachment_count(self) -> jsii.Number:
479
+ return typing.cast(jsii.Number, jsii.get(self, "attachmentCount"))
480
+
481
+ @builtins.property
482
+ @jsii.member(jsii_name="createdAt")
483
+ def created_at(self) -> builtins.str:
484
+ return typing.cast(builtins.str, jsii.get(self, "createdAt"))
485
+
486
+ @builtins.property
487
+ @jsii.member(jsii_name="defaultVersionId")
488
+ def default_version_id(self) -> builtins.str:
489
+ return typing.cast(builtins.str, jsii.get(self, "defaultVersionId"))
490
+
491
+ @builtins.property
492
+ @jsii.member(jsii_name="description")
493
+ def description(self) -> builtins.str:
494
+ return typing.cast(builtins.str, jsii.get(self, "description"))
495
+
496
+ @builtins.property
497
+ @jsii.member(jsii_name="document")
498
+ def document(self) -> builtins.str:
499
+ return typing.cast(builtins.str, jsii.get(self, "document"))
500
+
501
+ @builtins.property
502
+ @jsii.member(jsii_name="name")
503
+ def name(self) -> builtins.str:
504
+ return typing.cast(builtins.str, jsii.get(self, "name"))
505
+
506
+ @builtins.property
507
+ @jsii.member(jsii_name="serviceUuid")
508
+ def service_uuid(self) -> builtins.str:
509
+ return typing.cast(builtins.str, jsii.get(self, "serviceUuid"))
510
+
511
+ @builtins.property
512
+ @jsii.member(jsii_name="systemAttribute")
513
+ def system_attribute(self) -> _cdktf_9a9027ec.IResolvable:
514
+ return typing.cast(_cdktf_9a9027ec.IResolvable, jsii.get(self, "systemAttribute"))
515
+
516
+ @builtins.property
517
+ @jsii.member(jsii_name="updatedAt")
518
+ def updated_at(self) -> builtins.str:
519
+ return typing.cast(builtins.str, jsii.get(self, "updatedAt"))
520
+
521
+ @builtins.property
522
+ @jsii.member(jsii_name="internalValue")
523
+ def internal_value(
524
+ self,
525
+ ) -> typing.Optional[DataUpcloudManagedObjectStoragePoliciesPolicies]:
526
+ return typing.cast(typing.Optional[DataUpcloudManagedObjectStoragePoliciesPolicies], jsii.get(self, "internalValue"))
527
+
528
+ @internal_value.setter
529
+ def internal_value(
530
+ self,
531
+ value: typing.Optional[DataUpcloudManagedObjectStoragePoliciesPolicies],
532
+ ) -> None:
533
+ if __debug__:
534
+ type_hints = typing.get_type_hints(_typecheckingstub__b796ca9d6b817535879bb6ec6874208a5c643d4292b522bde24ce5cc758edde3)
535
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
536
+ jsii.set(self, "internalValue", value) # pyright: ignore[reportArgumentType]
537
+
538
+
539
+ __all__ = [
540
+ "DataUpcloudManagedObjectStoragePolicies",
541
+ "DataUpcloudManagedObjectStoragePoliciesConfig",
542
+ "DataUpcloudManagedObjectStoragePoliciesPolicies",
543
+ "DataUpcloudManagedObjectStoragePoliciesPoliciesList",
544
+ "DataUpcloudManagedObjectStoragePoliciesPoliciesOutputReference",
545
+ ]
546
+
547
+ publication.publish()
548
+
549
+ def _typecheckingstub__4cf3efc4d40eedff7cf881a08a10ddc63f163a01a284c8db7b1d4daacd63ea27(
550
+ scope: _constructs_77d1e7e8.Construct,
551
+ id_: builtins.str,
552
+ *,
553
+ service_uuid: builtins.str,
554
+ id: typing.Optional[builtins.str] = None,
555
+ 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,
556
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
557
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
558
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
559
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
560
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
561
+ 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,
562
+ ) -> None:
563
+ """Type checking stubs"""
564
+ pass
565
+
566
+ def _typecheckingstub__760b653b2ba54514d9599ab6032fedd9508e5b6e0a702c1ed01b02fbebe23423(
567
+ scope: _constructs_77d1e7e8.Construct,
568
+ import_to_id: builtins.str,
569
+ import_from_id: builtins.str,
570
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
571
+ ) -> None:
572
+ """Type checking stubs"""
573
+ pass
574
+
575
+ def _typecheckingstub__9177cdc73872d143b057a3a1176760a8cb47f4f0ded39ecb6e6088f94850353d(
576
+ value: builtins.str,
577
+ ) -> None:
578
+ """Type checking stubs"""
579
+ pass
580
+
581
+ def _typecheckingstub__cb69a18098a1301d120f5d4bd98ebd708c8dc1dbad8888cb4778ae076a22bb71(
582
+ value: builtins.str,
583
+ ) -> None:
584
+ """Type checking stubs"""
585
+ pass
586
+
587
+ def _typecheckingstub__f97397007b8f74cc33c98b809ba4ebee9953fef9852e105c3017294f15099313(
588
+ *,
589
+ 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,
590
+ count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
591
+ depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
592
+ for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
593
+ lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
594
+ provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
595
+ 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,
596
+ service_uuid: builtins.str,
597
+ id: typing.Optional[builtins.str] = None,
598
+ ) -> None:
599
+ """Type checking stubs"""
600
+ pass
601
+
602
+ def _typecheckingstub__9073a8d9b7be003521f4c469cd77261be76272fa44cb8ee64e850ba9846b07c4(
603
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
604
+ terraform_attribute: builtins.str,
605
+ wraps_set: builtins.bool,
606
+ ) -> None:
607
+ """Type checking stubs"""
608
+ pass
609
+
610
+ def _typecheckingstub__7ff98a08c3213311cf53737f4555e116f7869a6f4dfd046dd736666005b8f17e(
611
+ index: jsii.Number,
612
+ ) -> None:
613
+ """Type checking stubs"""
614
+ pass
615
+
616
+ def _typecheckingstub__7db3efc258c92ec8618b3217e0489fa33d5cabeb7105f02bee9ca99a95deba09(
617
+ value: builtins.str,
618
+ ) -> None:
619
+ """Type checking stubs"""
620
+ pass
621
+
622
+ def _typecheckingstub__8cdf1087b8a7a423f2feab21f83607387d768bf56a9010509690cbda61d7f63d(
623
+ value: _cdktf_9a9027ec.IInterpolatingParent,
624
+ ) -> None:
625
+ """Type checking stubs"""
626
+ pass
627
+
628
+ def _typecheckingstub__70110eea44e4290b304884ba035af4c2021af4b6381ec90e5f043b9ed10c83f4(
629
+ value: builtins.bool,
630
+ ) -> None:
631
+ """Type checking stubs"""
632
+ pass
633
+
634
+ def _typecheckingstub__d4e30adaaa5219d9f79843ce3e86ff1c8873691577e28aeb1733f66d74ab2556(
635
+ terraform_resource: _cdktf_9a9027ec.IInterpolatingParent,
636
+ terraform_attribute: builtins.str,
637
+ complex_object_index: jsii.Number,
638
+ complex_object_is_from_set: builtins.bool,
639
+ ) -> None:
640
+ """Type checking stubs"""
641
+ pass
642
+
643
+ def _typecheckingstub__b796ca9d6b817535879bb6ec6874208a5c643d4292b522bde24ce5cc758edde3(
644
+ value: typing.Optional[DataUpcloudManagedObjectStoragePoliciesPolicies],
645
+ ) -> None:
646
+ """Type checking stubs"""
647
+ pass