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,505 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# `upcloud_managed_object_storage_user_access_key`
|
|
3
|
+
|
|
4
|
+
Refer to the Terraform Registry for docs: [`upcloud_managed_object_storage_user_access_key`](https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key).
|
|
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 ManagedObjectStorageUserAccessKey(
|
|
43
|
+
_cdktf_9a9027ec.TerraformResource,
|
|
44
|
+
metaclass=jsii.JSIIMeta,
|
|
45
|
+
jsii_type="@cdktf/provider-upcloud.managedObjectStorageUserAccessKey.ManagedObjectStorageUserAccessKey",
|
|
46
|
+
):
|
|
47
|
+
'''Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key upcloud_managed_object_storage_user_access_key}.'''
|
|
48
|
+
|
|
49
|
+
def __init__(
|
|
50
|
+
self,
|
|
51
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
52
|
+
id_: builtins.str,
|
|
53
|
+
*,
|
|
54
|
+
service_uuid: builtins.str,
|
|
55
|
+
status: builtins.str,
|
|
56
|
+
username: builtins.str,
|
|
57
|
+
id: typing.Optional[builtins.str] = None,
|
|
58
|
+
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,
|
|
59
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
60
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
61
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
62
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
63
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
64
|
+
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,
|
|
65
|
+
) -> None:
|
|
66
|
+
'''Create a new {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key upcloud_managed_object_storage_user_access_key} Resource.
|
|
67
|
+
|
|
68
|
+
:param scope: The scope in which to define this construct.
|
|
69
|
+
:param id_: The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
70
|
+
: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_user_access_key#service_uuid ManagedObjectStorageUserAccessKey#service_uuid}
|
|
71
|
+
:param status: Status of the key. Valid values: ``Active``|``Inactive``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key#status ManagedObjectStorageUserAccessKey#status}
|
|
72
|
+
:param username: Username. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key#username ManagedObjectStorageUserAccessKey#username}
|
|
73
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key#id ManagedObjectStorageUserAccessKey#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
74
|
+
:param connection:
|
|
75
|
+
:param count:
|
|
76
|
+
:param depends_on:
|
|
77
|
+
:param for_each:
|
|
78
|
+
:param lifecycle:
|
|
79
|
+
:param provider:
|
|
80
|
+
:param provisioners:
|
|
81
|
+
'''
|
|
82
|
+
if __debug__:
|
|
83
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4511701f0a97cbfe36f6106aac7d027c91d504abc8beec146a09e58d97af1da4)
|
|
84
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
85
|
+
check_type(argname="argument id_", value=id_, expected_type=type_hints["id_"])
|
|
86
|
+
config = ManagedObjectStorageUserAccessKeyConfig(
|
|
87
|
+
service_uuid=service_uuid,
|
|
88
|
+
status=status,
|
|
89
|
+
username=username,
|
|
90
|
+
id=id,
|
|
91
|
+
connection=connection,
|
|
92
|
+
count=count,
|
|
93
|
+
depends_on=depends_on,
|
|
94
|
+
for_each=for_each,
|
|
95
|
+
lifecycle=lifecycle,
|
|
96
|
+
provider=provider,
|
|
97
|
+
provisioners=provisioners,
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
jsii.create(self.__class__, self, [scope, id_, config])
|
|
101
|
+
|
|
102
|
+
@jsii.member(jsii_name="generateConfigForImport")
|
|
103
|
+
@builtins.classmethod
|
|
104
|
+
def generate_config_for_import(
|
|
105
|
+
cls,
|
|
106
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
107
|
+
import_to_id: builtins.str,
|
|
108
|
+
import_from_id: builtins.str,
|
|
109
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
110
|
+
) -> _cdktf_9a9027ec.ImportableResource:
|
|
111
|
+
'''Generates CDKTF code for importing a ManagedObjectStorageUserAccessKey resource upon running "cdktf plan ".
|
|
112
|
+
|
|
113
|
+
:param scope: The scope in which to define this construct.
|
|
114
|
+
:param import_to_id: The construct id used in the generated config for the ManagedObjectStorageUserAccessKey to import.
|
|
115
|
+
:param import_from_id: The id of the existing ManagedObjectStorageUserAccessKey that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key#import import section} in the documentation of this resource for the id to use
|
|
116
|
+
:param provider: ? Optional instance of the provider where the ManagedObjectStorageUserAccessKey to import is found.
|
|
117
|
+
'''
|
|
118
|
+
if __debug__:
|
|
119
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f07f47acdf5e912aee41ba3102761cab568fc10ba25ed1593baafb23f583648d)
|
|
120
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
121
|
+
check_type(argname="argument import_to_id", value=import_to_id, expected_type=type_hints["import_to_id"])
|
|
122
|
+
check_type(argname="argument import_from_id", value=import_from_id, expected_type=type_hints["import_from_id"])
|
|
123
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
124
|
+
return typing.cast(_cdktf_9a9027ec.ImportableResource, jsii.sinvoke(cls, "generateConfigForImport", [scope, import_to_id, import_from_id, provider]))
|
|
125
|
+
|
|
126
|
+
@jsii.member(jsii_name="resetId")
|
|
127
|
+
def reset_id(self) -> None:
|
|
128
|
+
return typing.cast(None, jsii.invoke(self, "resetId", []))
|
|
129
|
+
|
|
130
|
+
@jsii.member(jsii_name="synthesizeAttributes")
|
|
131
|
+
def _synthesize_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
132
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeAttributes", []))
|
|
133
|
+
|
|
134
|
+
@jsii.member(jsii_name="synthesizeHclAttributes")
|
|
135
|
+
def _synthesize_hcl_attributes(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
136
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "synthesizeHclAttributes", []))
|
|
137
|
+
|
|
138
|
+
@jsii.python.classproperty
|
|
139
|
+
@jsii.member(jsii_name="tfResourceType")
|
|
140
|
+
def TF_RESOURCE_TYPE(cls) -> builtins.str:
|
|
141
|
+
return typing.cast(builtins.str, jsii.sget(cls, "tfResourceType"))
|
|
142
|
+
|
|
143
|
+
@builtins.property
|
|
144
|
+
@jsii.member(jsii_name="accessKeyId")
|
|
145
|
+
def access_key_id(self) -> builtins.str:
|
|
146
|
+
return typing.cast(builtins.str, jsii.get(self, "accessKeyId"))
|
|
147
|
+
|
|
148
|
+
@builtins.property
|
|
149
|
+
@jsii.member(jsii_name="createdAt")
|
|
150
|
+
def created_at(self) -> builtins.str:
|
|
151
|
+
return typing.cast(builtins.str, jsii.get(self, "createdAt"))
|
|
152
|
+
|
|
153
|
+
@builtins.property
|
|
154
|
+
@jsii.member(jsii_name="lastUsedAt")
|
|
155
|
+
def last_used_at(self) -> builtins.str:
|
|
156
|
+
return typing.cast(builtins.str, jsii.get(self, "lastUsedAt"))
|
|
157
|
+
|
|
158
|
+
@builtins.property
|
|
159
|
+
@jsii.member(jsii_name="secretAccessKey")
|
|
160
|
+
def secret_access_key(self) -> builtins.str:
|
|
161
|
+
return typing.cast(builtins.str, jsii.get(self, "secretAccessKey"))
|
|
162
|
+
|
|
163
|
+
@builtins.property
|
|
164
|
+
@jsii.member(jsii_name="idInput")
|
|
165
|
+
def id_input(self) -> typing.Optional[builtins.str]:
|
|
166
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "idInput"))
|
|
167
|
+
|
|
168
|
+
@builtins.property
|
|
169
|
+
@jsii.member(jsii_name="serviceUuidInput")
|
|
170
|
+
def service_uuid_input(self) -> typing.Optional[builtins.str]:
|
|
171
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serviceUuidInput"))
|
|
172
|
+
|
|
173
|
+
@builtins.property
|
|
174
|
+
@jsii.member(jsii_name="statusInput")
|
|
175
|
+
def status_input(self) -> typing.Optional[builtins.str]:
|
|
176
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "statusInput"))
|
|
177
|
+
|
|
178
|
+
@builtins.property
|
|
179
|
+
@jsii.member(jsii_name="usernameInput")
|
|
180
|
+
def username_input(self) -> typing.Optional[builtins.str]:
|
|
181
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "usernameInput"))
|
|
182
|
+
|
|
183
|
+
@builtins.property
|
|
184
|
+
@jsii.member(jsii_name="id")
|
|
185
|
+
def id(self) -> builtins.str:
|
|
186
|
+
return typing.cast(builtins.str, jsii.get(self, "id"))
|
|
187
|
+
|
|
188
|
+
@id.setter
|
|
189
|
+
def id(self, value: builtins.str) -> None:
|
|
190
|
+
if __debug__:
|
|
191
|
+
type_hints = typing.get_type_hints(_typecheckingstub__236c808609f43786b6b1694393230a9541a85d67eb11bbbf5665fdea8989d621)
|
|
192
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
193
|
+
jsii.set(self, "id", value) # pyright: ignore[reportArgumentType]
|
|
194
|
+
|
|
195
|
+
@builtins.property
|
|
196
|
+
@jsii.member(jsii_name="serviceUuid")
|
|
197
|
+
def service_uuid(self) -> builtins.str:
|
|
198
|
+
return typing.cast(builtins.str, jsii.get(self, "serviceUuid"))
|
|
199
|
+
|
|
200
|
+
@service_uuid.setter
|
|
201
|
+
def service_uuid(self, value: builtins.str) -> None:
|
|
202
|
+
if __debug__:
|
|
203
|
+
type_hints = typing.get_type_hints(_typecheckingstub__40f9f1415f9540c13bca8f06e20e60d1b0a601075df666eb3d75ea3924dd7267)
|
|
204
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
205
|
+
jsii.set(self, "serviceUuid", value) # pyright: ignore[reportArgumentType]
|
|
206
|
+
|
|
207
|
+
@builtins.property
|
|
208
|
+
@jsii.member(jsii_name="status")
|
|
209
|
+
def status(self) -> builtins.str:
|
|
210
|
+
return typing.cast(builtins.str, jsii.get(self, "status"))
|
|
211
|
+
|
|
212
|
+
@status.setter
|
|
213
|
+
def status(self, value: builtins.str) -> None:
|
|
214
|
+
if __debug__:
|
|
215
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3b97aa2d9b30326054921166e337168254609e7c2c7276449dc3bfd34708984f)
|
|
216
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
217
|
+
jsii.set(self, "status", value) # pyright: ignore[reportArgumentType]
|
|
218
|
+
|
|
219
|
+
@builtins.property
|
|
220
|
+
@jsii.member(jsii_name="username")
|
|
221
|
+
def username(self) -> builtins.str:
|
|
222
|
+
return typing.cast(builtins.str, jsii.get(self, "username"))
|
|
223
|
+
|
|
224
|
+
@username.setter
|
|
225
|
+
def username(self, value: builtins.str) -> None:
|
|
226
|
+
if __debug__:
|
|
227
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1b4dfaad762c31ddba1f81f7bd118059b279ca3ef9cba16c9ad35783acef7e90)
|
|
228
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
229
|
+
jsii.set(self, "username", value) # pyright: ignore[reportArgumentType]
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
@jsii.data_type(
|
|
233
|
+
jsii_type="@cdktf/provider-upcloud.managedObjectStorageUserAccessKey.ManagedObjectStorageUserAccessKeyConfig",
|
|
234
|
+
jsii_struct_bases=[_cdktf_9a9027ec.TerraformMetaArguments],
|
|
235
|
+
name_mapping={
|
|
236
|
+
"connection": "connection",
|
|
237
|
+
"count": "count",
|
|
238
|
+
"depends_on": "dependsOn",
|
|
239
|
+
"for_each": "forEach",
|
|
240
|
+
"lifecycle": "lifecycle",
|
|
241
|
+
"provider": "provider",
|
|
242
|
+
"provisioners": "provisioners",
|
|
243
|
+
"service_uuid": "serviceUuid",
|
|
244
|
+
"status": "status",
|
|
245
|
+
"username": "username",
|
|
246
|
+
"id": "id",
|
|
247
|
+
},
|
|
248
|
+
)
|
|
249
|
+
class ManagedObjectStorageUserAccessKeyConfig(_cdktf_9a9027ec.TerraformMetaArguments):
|
|
250
|
+
def __init__(
|
|
251
|
+
self,
|
|
252
|
+
*,
|
|
253
|
+
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,
|
|
254
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
255
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
256
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
257
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
258
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
259
|
+
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,
|
|
260
|
+
service_uuid: builtins.str,
|
|
261
|
+
status: builtins.str,
|
|
262
|
+
username: builtins.str,
|
|
263
|
+
id: typing.Optional[builtins.str] = None,
|
|
264
|
+
) -> None:
|
|
265
|
+
'''
|
|
266
|
+
:param connection:
|
|
267
|
+
:param count:
|
|
268
|
+
:param depends_on:
|
|
269
|
+
:param for_each:
|
|
270
|
+
:param lifecycle:
|
|
271
|
+
:param provider:
|
|
272
|
+
:param provisioners:
|
|
273
|
+
: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_user_access_key#service_uuid ManagedObjectStorageUserAccessKey#service_uuid}
|
|
274
|
+
:param status: Status of the key. Valid values: ``Active``|``Inactive``. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key#status ManagedObjectStorageUserAccessKey#status}
|
|
275
|
+
:param username: Username. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key#username ManagedObjectStorageUserAccessKey#username}
|
|
276
|
+
:param id: Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key#id ManagedObjectStorageUserAccessKey#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.
|
|
277
|
+
'''
|
|
278
|
+
if isinstance(lifecycle, dict):
|
|
279
|
+
lifecycle = _cdktf_9a9027ec.TerraformResourceLifecycle(**lifecycle)
|
|
280
|
+
if __debug__:
|
|
281
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6abae01da610922f9088c20803581a6b7635141ae5c59088cfd5f6c5a190ab05)
|
|
282
|
+
check_type(argname="argument connection", value=connection, expected_type=type_hints["connection"])
|
|
283
|
+
check_type(argname="argument count", value=count, expected_type=type_hints["count"])
|
|
284
|
+
check_type(argname="argument depends_on", value=depends_on, expected_type=type_hints["depends_on"])
|
|
285
|
+
check_type(argname="argument for_each", value=for_each, expected_type=type_hints["for_each"])
|
|
286
|
+
check_type(argname="argument lifecycle", value=lifecycle, expected_type=type_hints["lifecycle"])
|
|
287
|
+
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
288
|
+
check_type(argname="argument provisioners", value=provisioners, expected_type=type_hints["provisioners"])
|
|
289
|
+
check_type(argname="argument service_uuid", value=service_uuid, expected_type=type_hints["service_uuid"])
|
|
290
|
+
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
291
|
+
check_type(argname="argument username", value=username, expected_type=type_hints["username"])
|
|
292
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
293
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
294
|
+
"service_uuid": service_uuid,
|
|
295
|
+
"status": status,
|
|
296
|
+
"username": username,
|
|
297
|
+
}
|
|
298
|
+
if connection is not None:
|
|
299
|
+
self._values["connection"] = connection
|
|
300
|
+
if count is not None:
|
|
301
|
+
self._values["count"] = count
|
|
302
|
+
if depends_on is not None:
|
|
303
|
+
self._values["depends_on"] = depends_on
|
|
304
|
+
if for_each is not None:
|
|
305
|
+
self._values["for_each"] = for_each
|
|
306
|
+
if lifecycle is not None:
|
|
307
|
+
self._values["lifecycle"] = lifecycle
|
|
308
|
+
if provider is not None:
|
|
309
|
+
self._values["provider"] = provider
|
|
310
|
+
if provisioners is not None:
|
|
311
|
+
self._values["provisioners"] = provisioners
|
|
312
|
+
if id is not None:
|
|
313
|
+
self._values["id"] = id
|
|
314
|
+
|
|
315
|
+
@builtins.property
|
|
316
|
+
def connection(
|
|
317
|
+
self,
|
|
318
|
+
) -> typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]]:
|
|
319
|
+
'''
|
|
320
|
+
:stability: experimental
|
|
321
|
+
'''
|
|
322
|
+
result = self._values.get("connection")
|
|
323
|
+
return typing.cast(typing.Optional[typing.Union[_cdktf_9a9027ec.SSHProvisionerConnection, _cdktf_9a9027ec.WinrmProvisionerConnection]], result)
|
|
324
|
+
|
|
325
|
+
@builtins.property
|
|
326
|
+
def count(
|
|
327
|
+
self,
|
|
328
|
+
) -> typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]]:
|
|
329
|
+
'''
|
|
330
|
+
:stability: experimental
|
|
331
|
+
'''
|
|
332
|
+
result = self._values.get("count")
|
|
333
|
+
return typing.cast(typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]], result)
|
|
334
|
+
|
|
335
|
+
@builtins.property
|
|
336
|
+
def depends_on(
|
|
337
|
+
self,
|
|
338
|
+
) -> typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]]:
|
|
339
|
+
'''
|
|
340
|
+
:stability: experimental
|
|
341
|
+
'''
|
|
342
|
+
result = self._values.get("depends_on")
|
|
343
|
+
return typing.cast(typing.Optional[typing.List[_cdktf_9a9027ec.ITerraformDependable]], result)
|
|
344
|
+
|
|
345
|
+
@builtins.property
|
|
346
|
+
def for_each(self) -> typing.Optional[_cdktf_9a9027ec.ITerraformIterator]:
|
|
347
|
+
'''
|
|
348
|
+
:stability: experimental
|
|
349
|
+
'''
|
|
350
|
+
result = self._values.get("for_each")
|
|
351
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.ITerraformIterator], result)
|
|
352
|
+
|
|
353
|
+
@builtins.property
|
|
354
|
+
def lifecycle(self) -> typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle]:
|
|
355
|
+
'''
|
|
356
|
+
:stability: experimental
|
|
357
|
+
'''
|
|
358
|
+
result = self._values.get("lifecycle")
|
|
359
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformResourceLifecycle], result)
|
|
360
|
+
|
|
361
|
+
@builtins.property
|
|
362
|
+
def provider(self) -> typing.Optional[_cdktf_9a9027ec.TerraformProvider]:
|
|
363
|
+
'''
|
|
364
|
+
:stability: experimental
|
|
365
|
+
'''
|
|
366
|
+
result = self._values.get("provider")
|
|
367
|
+
return typing.cast(typing.Optional[_cdktf_9a9027ec.TerraformProvider], result)
|
|
368
|
+
|
|
369
|
+
@builtins.property
|
|
370
|
+
def provisioners(
|
|
371
|
+
self,
|
|
372
|
+
) -> typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]]:
|
|
373
|
+
'''
|
|
374
|
+
:stability: experimental
|
|
375
|
+
'''
|
|
376
|
+
result = self._values.get("provisioners")
|
|
377
|
+
return typing.cast(typing.Optional[typing.List[typing.Union[_cdktf_9a9027ec.FileProvisioner, _cdktf_9a9027ec.LocalExecProvisioner, _cdktf_9a9027ec.RemoteExecProvisioner]]], result)
|
|
378
|
+
|
|
379
|
+
@builtins.property
|
|
380
|
+
def service_uuid(self) -> builtins.str:
|
|
381
|
+
'''Managed Object Storage service UUID.
|
|
382
|
+
|
|
383
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key#service_uuid ManagedObjectStorageUserAccessKey#service_uuid}
|
|
384
|
+
'''
|
|
385
|
+
result = self._values.get("service_uuid")
|
|
386
|
+
assert result is not None, "Required property 'service_uuid' is missing"
|
|
387
|
+
return typing.cast(builtins.str, result)
|
|
388
|
+
|
|
389
|
+
@builtins.property
|
|
390
|
+
def status(self) -> builtins.str:
|
|
391
|
+
'''Status of the key. Valid values: ``Active``|``Inactive``.
|
|
392
|
+
|
|
393
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key#status ManagedObjectStorageUserAccessKey#status}
|
|
394
|
+
'''
|
|
395
|
+
result = self._values.get("status")
|
|
396
|
+
assert result is not None, "Required property 'status' is missing"
|
|
397
|
+
return typing.cast(builtins.str, result)
|
|
398
|
+
|
|
399
|
+
@builtins.property
|
|
400
|
+
def username(self) -> builtins.str:
|
|
401
|
+
'''Username.
|
|
402
|
+
|
|
403
|
+
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key#username ManagedObjectStorageUserAccessKey#username}
|
|
404
|
+
'''
|
|
405
|
+
result = self._values.get("username")
|
|
406
|
+
assert result is not None, "Required property 'username' is missing"
|
|
407
|
+
return typing.cast(builtins.str, result)
|
|
408
|
+
|
|
409
|
+
@builtins.property
|
|
410
|
+
def id(self) -> typing.Optional[builtins.str]:
|
|
411
|
+
'''Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.31.0/docs/resources/managed_object_storage_user_access_key#id ManagedObjectStorageUserAccessKey#id}.
|
|
412
|
+
|
|
413
|
+
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
414
|
+
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.
|
|
415
|
+
'''
|
|
416
|
+
result = self._values.get("id")
|
|
417
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
418
|
+
|
|
419
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
420
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
421
|
+
|
|
422
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
423
|
+
return not (rhs == self)
|
|
424
|
+
|
|
425
|
+
def __repr__(self) -> str:
|
|
426
|
+
return "ManagedObjectStorageUserAccessKeyConfig(%s)" % ", ".join(
|
|
427
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
428
|
+
)
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
__all__ = [
|
|
432
|
+
"ManagedObjectStorageUserAccessKey",
|
|
433
|
+
"ManagedObjectStorageUserAccessKeyConfig",
|
|
434
|
+
]
|
|
435
|
+
|
|
436
|
+
publication.publish()
|
|
437
|
+
|
|
438
|
+
def _typecheckingstub__4511701f0a97cbfe36f6106aac7d027c91d504abc8beec146a09e58d97af1da4(
|
|
439
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
440
|
+
id_: builtins.str,
|
|
441
|
+
*,
|
|
442
|
+
service_uuid: builtins.str,
|
|
443
|
+
status: builtins.str,
|
|
444
|
+
username: builtins.str,
|
|
445
|
+
id: typing.Optional[builtins.str] = None,
|
|
446
|
+
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,
|
|
447
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
448
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
449
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
450
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
451
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
452
|
+
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,
|
|
453
|
+
) -> None:
|
|
454
|
+
"""Type checking stubs"""
|
|
455
|
+
pass
|
|
456
|
+
|
|
457
|
+
def _typecheckingstub__f07f47acdf5e912aee41ba3102761cab568fc10ba25ed1593baafb23f583648d(
|
|
458
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
459
|
+
import_to_id: builtins.str,
|
|
460
|
+
import_from_id: builtins.str,
|
|
461
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
462
|
+
) -> None:
|
|
463
|
+
"""Type checking stubs"""
|
|
464
|
+
pass
|
|
465
|
+
|
|
466
|
+
def _typecheckingstub__236c808609f43786b6b1694393230a9541a85d67eb11bbbf5665fdea8989d621(
|
|
467
|
+
value: builtins.str,
|
|
468
|
+
) -> None:
|
|
469
|
+
"""Type checking stubs"""
|
|
470
|
+
pass
|
|
471
|
+
|
|
472
|
+
def _typecheckingstub__40f9f1415f9540c13bca8f06e20e60d1b0a601075df666eb3d75ea3924dd7267(
|
|
473
|
+
value: builtins.str,
|
|
474
|
+
) -> None:
|
|
475
|
+
"""Type checking stubs"""
|
|
476
|
+
pass
|
|
477
|
+
|
|
478
|
+
def _typecheckingstub__3b97aa2d9b30326054921166e337168254609e7c2c7276449dc3bfd34708984f(
|
|
479
|
+
value: builtins.str,
|
|
480
|
+
) -> None:
|
|
481
|
+
"""Type checking stubs"""
|
|
482
|
+
pass
|
|
483
|
+
|
|
484
|
+
def _typecheckingstub__1b4dfaad762c31ddba1f81f7bd118059b279ca3ef9cba16c9ad35783acef7e90(
|
|
485
|
+
value: builtins.str,
|
|
486
|
+
) -> None:
|
|
487
|
+
"""Type checking stubs"""
|
|
488
|
+
pass
|
|
489
|
+
|
|
490
|
+
def _typecheckingstub__6abae01da610922f9088c20803581a6b7635141ae5c59088cfd5f6c5a190ab05(
|
|
491
|
+
*,
|
|
492
|
+
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,
|
|
493
|
+
count: typing.Optional[typing.Union[jsii.Number, _cdktf_9a9027ec.TerraformCount]] = None,
|
|
494
|
+
depends_on: typing.Optional[typing.Sequence[_cdktf_9a9027ec.ITerraformDependable]] = None,
|
|
495
|
+
for_each: typing.Optional[_cdktf_9a9027ec.ITerraformIterator] = None,
|
|
496
|
+
lifecycle: typing.Optional[typing.Union[_cdktf_9a9027ec.TerraformResourceLifecycle, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
497
|
+
provider: typing.Optional[_cdktf_9a9027ec.TerraformProvider] = None,
|
|
498
|
+
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,
|
|
499
|
+
service_uuid: builtins.str,
|
|
500
|
+
status: builtins.str,
|
|
501
|
+
username: builtins.str,
|
|
502
|
+
id: typing.Optional[builtins.str] = None,
|
|
503
|
+
) -> None:
|
|
504
|
+
"""Type checking stubs"""
|
|
505
|
+
pass
|