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.
- cdktf_cdktf_provider_upcloud/__init__.py +247 -0
- cdktf_cdktf_provider_upcloud/_jsii/__init__.py +45 -0
- cdktf_cdktf_provider_upcloud/_jsii/provider-upcloud@15.8.0.jsii.tgz +0 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_hosts/__init__.py +894 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_ip_addresses/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_kubernetes_cluster/__init__.py +384 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_load_balancer_dns_challenge_domain/__init__.py +319 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_mysql_sessions/__init__.py +853 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_opensearch_indices/__init__.py +717 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_postgresql_sessions/__init__.py +1084 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_database_valkey_sessions/__init__.py +898 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_policies/__init__.py +647 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_managed_object_storage_regions/__init__.py +600 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_networks/__init__.py +1093 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_storage/__init__.py +725 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_tags/__init__.py +558 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_zone/__init__.py +421 -0
- cdktf_cdktf_provider_upcloud/data_upcloud_zones/__init__.py +364 -0
- cdktf_cdktf_provider_upcloud/file_storage/__init__.py +1683 -0
- cdktf_cdktf_provider_upcloud/firewall_rules/__init__.py +1233 -0
- cdktf_cdktf_provider_upcloud/floating_ip_address/__init__.py +552 -0
- cdktf_cdktf_provider_upcloud/gateway/__init__.py +1167 -0
- cdktf_cdktf_provider_upcloud/gateway_connection/__init__.py +1299 -0
- cdktf_cdktf_provider_upcloud/gateway_connection_tunnel/__init__.py +1357 -0
- cdktf_cdktf_provider_upcloud/kubernetes_cluster/__init__.py +801 -0
- cdktf_cdktf_provider_upcloud/kubernetes_node_group/__init__.py +2674 -0
- cdktf_cdktf_provider_upcloud/loadbalancer/__init__.py +2113 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_backend/__init__.py +1426 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_backend_tls_config/__init__.py +442 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_backend_member/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_dynamic_certificate_bundle/__init__.py +459 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend/__init__.py +1290 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_rule/__init__.py +11486 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_frontend_tls_config/__init__.py +442 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_manual_certificate_bundle/__init__.py +504 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_resolver/__init__.py +659 -0
- cdktf_cdktf_provider_upcloud/loadbalancer_static_backend_member/__init__.py +633 -0
- cdktf_cdktf_provider_upcloud/managed_database_logical_database/__init__.py +536 -0
- cdktf_cdktf_provider_upcloud/managed_database_mysql/__init__.py +4644 -0
- cdktf_cdktf_provider_upcloud/managed_database_opensearch/__init__.py +13812 -0
- cdktf_cdktf_provider_upcloud/managed_database_postgresql/__init__.py +7734 -0
- cdktf_cdktf_provider_upcloud/managed_database_user/__init__.py +1541 -0
- cdktf_cdktf_provider_upcloud/managed_database_valkey/__init__.py +3355 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage/__init__.py +1198 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_bucket/__init__.py +409 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_custom_domain/__init__.py +446 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_policy/__init__.py +521 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user/__init__.py +454 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_access_key/__init__.py +505 -0
- cdktf_cdktf_provider_upcloud/managed_object_storage_user_policy/__init__.py +485 -0
- cdktf_cdktf_provider_upcloud/network/__init__.py +1554 -0
- cdktf_cdktf_provider_upcloud/network_peering/__init__.py +1084 -0
- cdktf_cdktf_provider_upcloud/provider/__init__.py +544 -0
- cdktf_cdktf_provider_upcloud/py.typed +1 -0
- cdktf_cdktf_provider_upcloud/router/__init__.py +1030 -0
- cdktf_cdktf_provider_upcloud/server/__init__.py +4542 -0
- cdktf_cdktf_provider_upcloud/server_group/__init__.py +571 -0
- cdktf_cdktf_provider_upcloud/storage/__init__.py +1850 -0
- cdktf_cdktf_provider_upcloud/storage_backup/__init__.py +483 -0
- cdktf_cdktf_provider_upcloud/storage_template/__init__.py +478 -0
- cdktf_cdktf_provider_upcloud/tag/__init__.py +493 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/LICENSE +355 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/METADATA +120 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/RECORD +66 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/WHEEL +5 -0
- cdktf_cdktf_provider_upcloud-15.8.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# `upcloud_managed_object_storage_bucket`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_managed_object_storage_bucket`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_bucket).
|
|
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 ManagedObjectStorageBucket(
|
|
43
|
+
_cdktf_9a9027ec.TerraformResource,
|
|
44
|
+
metaclass=jsii.JSIIMeta,
|
|
45
|
+
jsii_type="@cdktf/provider-upcloud.managedObjectStorageBucket.ManagedObjectStorageBucket",
|
|
46
|
+
):
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_bucket upcloud_managed_object_storage_bucket}.'''
|
|
48
|
+
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
52
|
+
id: builtins.str,
|
|
53
|
+
*,
|
|
54
|
+
name: builtins.str,
|
|
55
|
+
service_uuid: builtins.str,
|
|
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/resources/managed_object_storage_bucket upcloud_managed_object_storage_bucket} Resource.
|
|
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 name: Name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_bucket#name ManagedObjectStorageBucket#name}
|
|
69
|
+
:param service_uuid: Managed Object Storage service UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_bucket#service_uuid ManagedObjectStorageBucket#service_uuid}
|
|
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__2d7f2f1de16089d0547b4bc6f7cd98cd154ea3c17d886b9abea6bdf5ce42750b)
|
|
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 = ManagedObjectStorageBucketConfig(
|
|
83
|
+
name=name,
|
|
84
|
+
service_uuid=service_uuid,
|
|
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 ManagedObjectStorageBucket 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 ManagedObjectStorageBucket to import.
|
|
109
|
+
:param import_from_id: The id of the existing ManagedObjectStorageBucket that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_bucket#import import section} in the documentation of this resource for the id to use
|
|
110
|
+
:param provider: ? Optional instance of the provider where the ManagedObjectStorageBucket to import is found.
|
|
111
|
+
'''
|
|
112
|
+
if __debug__:
|
|
113
|
+
type_hints = typing.get_type_hints(_typecheckingstub__650fd6a04b27d02180a945ca54a2641c15397bb65ae37606e0ba5bf1c5fcc690)
|
|
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="synthesizeAttributes")
|
|
121
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
122
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
123
|
+
|
|
124
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
125
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
126
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
127
|
+
|
|
128
|
+
@jsii.python.classproperty
|
|
129
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
130
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
131
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
132
|
+
|
|
133
|
+
@builtins.property
|
|
134
|
+
@jsii.member(jsii_name="id")
|
|
135
|
+
def id(self) -> builtins.str:
|
|
136
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
137
|
+
|
|
138
|
+
@builtins.property
|
|
139
|
+
@jsii.member(jsii_name="totalObjects")
|
|
140
|
+
def total_objects(self) -> jsii.Number:
|
|
141
|
+
return typing.cast(jsii.Number, jsii.get(self, "totalObjects"))
|
|
142
|
+
|
|
143
|
+
@builtins.property
|
|
144
|
+
@jsii.member(jsii_name="totalSizeBytes")
|
|
145
|
+
def total_size_bytes(self) -> jsii.Number:
|
|
146
|
+
return typing.cast(jsii.Number, jsii.get(self, "totalSizeBytes"))
|
|
147
|
+
|
|
148
|
+
@builtins.property
|
|
149
|
+
@jsii.member(jsii_name="nameInput")
|
|
150
|
+
def name_input(self) -> typing.Optional[builtins.str]:
|
|
151
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "nameInput"))
|
|
152
|
+
|
|
153
|
+
@builtins.property
|
|
154
|
+
@jsii.member(jsii_name="serviceUuidInput")
|
|
155
|
+
def service_uuid_input(self) -> typing.Optional[builtins.str]:
|
|
156
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serviceUuidInput"))
|
|
157
|
+
|
|
158
|
+
@builtins.property
|
|
159
|
+
@jsii.member(jsii_name="name")
|
|
160
|
+
def name(self) -> builtins.str:
|
|
161
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
162
|
+
|
|
163
|
+
@name.setter
|
|
164
|
+
def name(self, value: builtins.str) -> None:
|
|
165
|
+
if __debug__:
|
|
166
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d9d278d1f668fb56fe8fbe60c7b0696794ebad1412e3fa1c2f5fea7f29133928)
|
|
167
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
168
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
169
|
+
|
|
170
|
+
@builtins.property
|
|
171
|
+
@jsii.member(jsii_name="serviceUuid")
|
|
172
|
+
def service_uuid(self) -> builtins.str:
|
|
173
|
+
return typing.cast(builtins.str, jsii.get(self, "serviceUuid"))
|
|
174
|
+
|
|
175
|
+
@service_uuid.setter
|
|
176
|
+
def service_uuid(self, value: builtins.str) -> None:
|
|
177
|
+
if __debug__:
|
|
178
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d2fd8ab7ebc6fde73d0c477feec42d81225baa4cb33b6783857dfe6e712d77f9)
|
|
179
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
180
|
+
jsii.set(self, "serviceUuid", value) # pyright: ignore[reportArgumentType]
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
@jsii.data_type(
|
|
184
|
+
jsii_type="@cdktf/provider-upcloud.managedObjectStorageBucket.ManagedObjectStorageBucketConfig",
|
|
185
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
186
|
+
name_mapping={
|
|
187
|
+
"connection": "connection",
|
|
188
|
+
"count": "count",
|
|
189
|
+
"depends_on": "dependsOn",
|
|
190
|
+
"for_each": "forEach",
|
|
191
|
+
"lifecycle": "lifecycle",
|
|
192
|
+
"provider": "provider",
|
|
193
|
+
"provisioners": "provisioners",
|
|
194
|
+
"name": "name",
|
|
195
|
+
"service_uuid": "serviceUuid",
|
|
196
|
+
},
|
|
197
|
+
)
|
|
198
|
+
class ManagedObjectStorageBucketConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
199
|
+
def __init__(
|
|
200
|
+
self,
|
|
201
|
+
*,
|
|
202
|
+
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,
|
|
203
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
204
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
205
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
206
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
207
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
208
|
+
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,
|
|
209
|
+
name: builtins.str,
|
|
210
|
+
service_uuid: builtins.str,
|
|
211
|
+
) -> None:
|
|
212
|
+
'''
|
|
213
|
+
:param connection:
|
|
214
|
+
:param count:
|
|
215
|
+
:param depends_on:
|
|
216
|
+
:param for_each:
|
|
217
|
+
:param lifecycle:
|
|
218
|
+
:param provider:
|
|
219
|
+
:param provisioners:
|
|
220
|
+
:param name: Name of the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_bucket#name ManagedObjectStorageBucket#name}
|
|
221
|
+
:param service_uuid: Managed Object Storage service UUID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_bucket#service_uuid ManagedObjectStorageBucket#service_uuid}
|
|
222
|
+
'''
|
|
223
|
+
if isinstance(lifecycle, dict):
|
|
224
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
225
|
+
if __debug__:
|
|
226
|
+
type_hints = typing.get_type_hints(_typecheckingstub__eacdf3a9a916f8fcadb4e2717cf8a998d7e9bb9dacba8240eb1f0c75e16f54dc)
|
|
227
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
228
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
229
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
230
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
231
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
232
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
233
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
234
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
235
|
+
check_type(argname="argument service_uuid", value=service_uuid, expected_type=type_hints["service_uuid"])
|
|
236
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
237
|
+
"name": name,
|
|
238
|
+
"service_uuid": service_uuid,
|
|
239
|
+
}
|
|
240
|
+
if connection is not None:
|
|
241
|
+
self._values["connection"] = connection
|
|
242
|
+
if count is not None:
|
|
243
|
+
self._values["count"] = count
|
|
244
|
+
if depends_on is not None:
|
|
245
|
+
self._values["depends_on"] = depends_on
|
|
246
|
+
if for_each is not None:
|
|
247
|
+
self._values["for_each"] = for_each
|
|
248
|
+
if lifecycle is not None:
|
|
249
|
+
self._values["lifecycle"] = lifecycle
|
|
250
|
+
if provider is not None:
|
|
251
|
+
self._values["provider"] = provider
|
|
252
|
+
if provisioners is not None:
|
|
253
|
+
self._values["provisioners"] = provisioners
|
|
254
|
+
|
|
255
|
+
@builtins.property
|
|
256
|
+
def connection(
|
|
257
|
+
self,
|
|
258
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
259
|
+
'''
|
|
260
|
+
:stability: experimental
|
|
261
|
+
'''
|
|
262
|
+
result = self._values.get("connection")
|
|
263
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
264
|
+
|
|
265
|
+
@builtins.property
|
|
266
|
+
def count(
|
|
267
|
+
self,
|
|
268
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
269
|
+
'''
|
|
270
|
+
:stability: experimental
|
|
271
|
+
'''
|
|
272
|
+
result = self._values.get("count")
|
|
273
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
274
|
+
|
|
275
|
+
@builtins.property
|
|
276
|
+
def depends_on(
|
|
277
|
+
self,
|
|
278
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
279
|
+
'''
|
|
280
|
+
:stability: experimental
|
|
281
|
+
'''
|
|
282
|
+
result = self._values.get("depends_on")
|
|
283
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
284
|
+
|
|
285
|
+
@builtins.property
|
|
286
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
287
|
+
'''
|
|
288
|
+
:stability: experimental
|
|
289
|
+
'''
|
|
290
|
+
result = self._values.get("for_each")
|
|
291
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
292
|
+
|
|
293
|
+
@builtins.property
|
|
294
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
295
|
+
'''
|
|
296
|
+
:stability: experimental
|
|
297
|
+
'''
|
|
298
|
+
result = self._values.get("lifecycle")
|
|
299
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
300
|
+
|
|
301
|
+
@builtins.property
|
|
302
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
303
|
+
'''
|
|
304
|
+
:stability: experimental
|
|
305
|
+
'''
|
|
306
|
+
result = self._values.get("provider")
|
|
307
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
308
|
+
|
|
309
|
+
@builtins.property
|
|
310
|
+
def provisioners(
|
|
311
|
+
self,
|
|
312
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
313
|
+
'''
|
|
314
|
+
:stability: experimental
|
|
315
|
+
'''
|
|
316
|
+
result = self._values.get("provisioners")
|
|
317
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
318
|
+
|
|
319
|
+
@builtins.property
|
|
320
|
+
def name(self) -> builtins.str:
|
|
321
|
+
'''Name of the bucket.
|
|
322
|
+
|
|
323
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_bucket#name ManagedObjectStorageBucket#name}
|
|
324
|
+
'''
|
|
325
|
+
result = self._values.get("name")
|
|
326
|
+
assert result is not None, "Required property 'name' is missing"
|
|
327
|
+
return typing.cast(builtins.str, result)
|
|
328
|
+
|
|
329
|
+
@builtins.property
|
|
330
|
+
def service_uuid(self) -> builtins.str:
|
|
331
|
+
'''Managed Object Storage service UUID.
|
|
332
|
+
|
|
333
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_bucket#service_uuid ManagedObjectStorageBucket#service_uuid}
|
|
334
|
+
'''
|
|
335
|
+
result = self._values.get("service_uuid")
|
|
336
|
+
assert result is not None, "Required property 'service_uuid' is missing"
|
|
337
|
+
return typing.cast(builtins.str, result)
|
|
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 "ManagedObjectStorageBucketConfig(%s)" % ", ".join(
|
|
347
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
348
|
+
)
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
__all__ = [
|
|
352
|
+
"ManagedObjectStorageBucket",
|
|
353
|
+
"ManagedObjectStorageBucketConfig",
|
|
354
|
+
]
|
|
355
|
+
|
|
356
|
+
publication.publish()
|
|
357
|
+
|
|
358
|
+
def _typecheckingstub__2d7f2f1de16089d0547b4bc6f7cd98cd154ea3c17d886b9abea6bdf5ce42750b(
|
|
359
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
360
|
+
id: builtins.str,
|
|
361
|
+
*,
|
|
362
|
+
name: builtins.str,
|
|
363
|
+
service_uuid: builtins.str,
|
|
364
|
+
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,
|
|
365
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
366
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
367
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
368
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
369
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
370
|
+
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,
|
|
371
|
+
) -> None:
|
|
372
|
+
"""Type checking stubs"""
|
|
373
|
+
pass
|
|
374
|
+
|
|
375
|
+
def _typecheckingstub__650fd6a04b27d02180a945ca54a2641c15397bb65ae37606e0ba5bf1c5fcc690(
|
|
376
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
377
|
+
import_to_id: builtins.str,
|
|
378
|
+
import_from_id: builtins.str,
|
|
379
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
380
|
+
) -> None:
|
|
381
|
+
"""Type checking stubs"""
|
|
382
|
+
pass
|
|
383
|
+
|
|
384
|
+
def _typecheckingstub__d9d278d1f668fb56fe8fbe60c7b0696794ebad1412e3fa1c2f5fea7f29133928(
|
|
385
|
+
value: builtins.str,
|
|
386
|
+
) -> None:
|
|
387
|
+
"""Type checking stubs"""
|
|
388
|
+
pass
|
|
389
|
+
|
|
390
|
+
def _typecheckingstub__d2fd8ab7ebc6fde73d0c477feec42d81225baa4cb33b6783857dfe6e712d77f9(
|
|
391
|
+
value: builtins.str,
|
|
392
|
+
) -> None:
|
|
393
|
+
"""Type checking stubs"""
|
|
394
|
+
pass
|
|
395
|
+
|
|
396
|
+
def _typecheckingstub__eacdf3a9a916f8fcadb4e2717cf8a998d7e9bb9dacba8240eb1f0c75e16f54dc(
|
|
397
|
+
*,
|
|
398
|
+
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,
|
|
399
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
400
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
401
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
402
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
403
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
404
|
+
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,
|
|
405
|
+
name: builtins.str,
|
|
406
|
+
service_uuid: builtins.str,
|
|
407
|
+
) -> None:
|
|
408
|
+
"""Type checking stubs"""
|
|
409
|
+
pass
|