cdktf-cdktf-provider-upcloud 13.1.0__py3-none-any.whl → 14.0.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.

Potentially problematic release.


This version of cdktf-cdktf-provider-upcloud might be problematic. Click here for more details.

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