pulumi-digitalocean 4.45.0a1747374323__py3-none-any.whl → 4.46.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 pulumi-digitalocean might be problematic. Click here for more details.

Files changed (115) hide show
  1. pulumi_digitalocean/__init__.py +20 -1
  2. pulumi_digitalocean/_enums.py +1 -1
  3. pulumi_digitalocean/_inputs.py +200 -19
  4. pulumi_digitalocean/_utilities.py +1 -1
  5. pulumi_digitalocean/app.py +1 -1
  6. pulumi_digitalocean/cdn.py +1 -1
  7. pulumi_digitalocean/certificate.py +1 -1
  8. pulumi_digitalocean/config/__init__.py +1 -1
  9. pulumi_digitalocean/config/__init__.pyi +1 -1
  10. pulumi_digitalocean/config/vars.py +1 -1
  11. pulumi_digitalocean/container_registry.py +1 -1
  12. pulumi_digitalocean/container_registry_docker_credentials.py +1 -1
  13. pulumi_digitalocean/custom_image.py +1 -1
  14. pulumi_digitalocean/database_cluster.py +1 -1
  15. pulumi_digitalocean/database_connection_pool.py +1 -1
  16. pulumi_digitalocean/database_db.py +1 -1
  17. pulumi_digitalocean/database_firewall.py +1 -1
  18. pulumi_digitalocean/database_kafka_config.py +1 -1
  19. pulumi_digitalocean/database_kafka_topic.py +1 -1
  20. pulumi_digitalocean/database_mongodb_config.py +1 -1
  21. pulumi_digitalocean/database_mysql_config.py +1 -1
  22. pulumi_digitalocean/database_opensearch_config.py +1 -1
  23. pulumi_digitalocean/database_postgresql_config.py +1 -1
  24. pulumi_digitalocean/database_redis_config.py +1 -1
  25. pulumi_digitalocean/database_replica.py +1 -1
  26. pulumi_digitalocean/database_user.py +1 -1
  27. pulumi_digitalocean/dns_record.py +1 -1
  28. pulumi_digitalocean/domain.py +1 -1
  29. pulumi_digitalocean/droplet.py +1 -1
  30. pulumi_digitalocean/droplet_autoscale.py +1 -1
  31. pulumi_digitalocean/droplet_snapshot.py +1 -1
  32. pulumi_digitalocean/firewall.py +1 -1
  33. pulumi_digitalocean/floating_ip.py +1 -1
  34. pulumi_digitalocean/floating_ip_assignment.py +1 -1
  35. pulumi_digitalocean/get_account.py +1 -1
  36. pulumi_digitalocean/get_app.py +1 -1
  37. pulumi_digitalocean/get_certificate.py +1 -1
  38. pulumi_digitalocean/get_container_registry.py +1 -1
  39. pulumi_digitalocean/get_database_ca.py +1 -1
  40. pulumi_digitalocean/get_database_cluster.py +1 -1
  41. pulumi_digitalocean/get_database_connection_pool.py +1 -1
  42. pulumi_digitalocean/get_database_replica.py +1 -1
  43. pulumi_digitalocean/get_database_user.py +1 -1
  44. pulumi_digitalocean/get_domain.py +1 -1
  45. pulumi_digitalocean/get_domains.py +1 -1
  46. pulumi_digitalocean/get_droplet.py +1 -1
  47. pulumi_digitalocean/get_droplet_autoscale.py +1 -1
  48. pulumi_digitalocean/get_droplet_snapshot.py +1 -1
  49. pulumi_digitalocean/get_droplets.py +1 -1
  50. pulumi_digitalocean/get_firewall.py +1 -1
  51. pulumi_digitalocean/get_floating_ip.py +1 -1
  52. pulumi_digitalocean/get_image.py +1 -1
  53. pulumi_digitalocean/get_images.py +1 -1
  54. pulumi_digitalocean/get_kubernetes_cluster.py +1 -1
  55. pulumi_digitalocean/get_kubernetes_versions.py +1 -1
  56. pulumi_digitalocean/get_load_balancer.py +1 -1
  57. pulumi_digitalocean/get_partner_attachment.py +17 -2
  58. pulumi_digitalocean/get_project.py +1 -1
  59. pulumi_digitalocean/get_projects.py +1 -1
  60. pulumi_digitalocean/get_record.py +1 -1
  61. pulumi_digitalocean/get_records.py +1 -1
  62. pulumi_digitalocean/get_region.py +1 -1
  63. pulumi_digitalocean/get_regions.py +1 -1
  64. pulumi_digitalocean/get_reserved_ip.py +1 -1
  65. pulumi_digitalocean/get_reserved_ipv6.py +1 -1
  66. pulumi_digitalocean/get_sizes.py +1 -1
  67. pulumi_digitalocean/get_spaces_bucket.py +1 -1
  68. pulumi_digitalocean/get_spaces_bucket_object.py +1 -1
  69. pulumi_digitalocean/get_spaces_bucket_objects.py +1 -1
  70. pulumi_digitalocean/get_spaces_buckets.py +1 -1
  71. pulumi_digitalocean/get_spaces_key.py +1 -1
  72. pulumi_digitalocean/get_ssh_key.py +1 -1
  73. pulumi_digitalocean/get_ssh_keys.py +1 -1
  74. pulumi_digitalocean/get_tag.py +1 -1
  75. pulumi_digitalocean/get_tags.py +1 -1
  76. pulumi_digitalocean/get_volume.py +1 -1
  77. pulumi_digitalocean/get_volume_snapshot.py +1 -1
  78. pulumi_digitalocean/get_vpc.py +1 -1
  79. pulumi_digitalocean/get_vpc_nat_gateway.py +253 -0
  80. pulumi_digitalocean/get_vpc_peering.py +1 -1
  81. pulumi_digitalocean/kubernetes_cluster.py +27 -1
  82. pulumi_digitalocean/kubernetes_node_pool.py +1 -1
  83. pulumi_digitalocean/load_balancer.py +1 -1
  84. pulumi_digitalocean/monitor_alert.py +1 -1
  85. pulumi_digitalocean/outputs.py +250 -24
  86. pulumi_digitalocean/partner_attachment.py +49 -2
  87. pulumi_digitalocean/project.py +1 -1
  88. pulumi_digitalocean/project_resources.py +1 -1
  89. pulumi_digitalocean/provider.py +1 -1
  90. pulumi_digitalocean/pulumi-plugin.json +1 -1
  91. pulumi_digitalocean/reserved_ip.py +1 -1
  92. pulumi_digitalocean/reserved_ip_assignment.py +1 -1
  93. pulumi_digitalocean/reserved_ipv6.py +1 -1
  94. pulumi_digitalocean/reserved_ipv6_assignment.py +1 -1
  95. pulumi_digitalocean/spaces_bucket.py +1 -1
  96. pulumi_digitalocean/spaces_bucket_cors_configuration.py +1 -1
  97. pulumi_digitalocean/spaces_bucket_logging.py +347 -0
  98. pulumi_digitalocean/spaces_bucket_object.py +1 -1
  99. pulumi_digitalocean/spaces_bucket_policy.py +1 -1
  100. pulumi_digitalocean/spaces_key.py +1 -1
  101. pulumi_digitalocean/ssh_key.py +1 -1
  102. pulumi_digitalocean/tag.py +1 -1
  103. pulumi_digitalocean/uptime_alert.py +1 -1
  104. pulumi_digitalocean/uptime_check.py +1 -1
  105. pulumi_digitalocean/volume.py +1 -1
  106. pulumi_digitalocean/volume_attachment.py +1 -1
  107. pulumi_digitalocean/volume_snapshot.py +1 -1
  108. pulumi_digitalocean/vpc.py +1 -1
  109. pulumi_digitalocean/vpc_nat_gateway.py +672 -0
  110. pulumi_digitalocean/vpc_peering.py +1 -1
  111. {pulumi_digitalocean-4.45.0a1747374323.dist-info → pulumi_digitalocean-4.46.0.dist-info}/METADATA +1 -1
  112. pulumi_digitalocean-4.46.0.dist-info/RECORD +115 -0
  113. {pulumi_digitalocean-4.45.0a1747374323.dist-info → pulumi_digitalocean-4.46.0.dist-info}/WHEEL +1 -1
  114. pulumi_digitalocean-4.45.0a1747374323.dist-info/RECORD +0 -112
  115. {pulumi_digitalocean-4.45.0a1747374323.dist-info → pulumi_digitalocean-4.46.0.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "digitalocean",
4
- "version": "4.45.0-alpha.1747374323"
4
+ "version": "4.46.0"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -0,0 +1,347 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from . import _utilities
17
+
18
+ __all__ = ['SpacesBucketLoggingArgs', 'SpacesBucketLogging']
19
+
20
+ @pulumi.input_type
21
+ class SpacesBucketLoggingArgs:
22
+ def __init__(__self__, *,
23
+ bucket: pulumi.Input[builtins.str],
24
+ region: pulumi.Input[builtins.str],
25
+ target_bucket: pulumi.Input[builtins.str],
26
+ target_prefix: pulumi.Input[builtins.str]):
27
+ """
28
+ The set of arguments for constructing a SpacesBucketLogging resource.
29
+ :param pulumi.Input[builtins.str] bucket: The name of the bucket which will be logged.
30
+ :param pulumi.Input[builtins.str] region: The region where the bucket resides.
31
+ :param pulumi.Input[builtins.str] target_bucket: The name of the bucket which will store the logs.
32
+ :param pulumi.Input[builtins.str] target_prefix: The prefix for the log files.
33
+ """
34
+ pulumi.set(__self__, "bucket", bucket)
35
+ pulumi.set(__self__, "region", region)
36
+ pulumi.set(__self__, "target_bucket", target_bucket)
37
+ pulumi.set(__self__, "target_prefix", target_prefix)
38
+
39
+ @property
40
+ @pulumi.getter
41
+ def bucket(self) -> pulumi.Input[builtins.str]:
42
+ """
43
+ The name of the bucket which will be logged.
44
+ """
45
+ return pulumi.get(self, "bucket")
46
+
47
+ @bucket.setter
48
+ def bucket(self, value: pulumi.Input[builtins.str]):
49
+ pulumi.set(self, "bucket", value)
50
+
51
+ @property
52
+ @pulumi.getter
53
+ def region(self) -> pulumi.Input[builtins.str]:
54
+ """
55
+ The region where the bucket resides.
56
+ """
57
+ return pulumi.get(self, "region")
58
+
59
+ @region.setter
60
+ def region(self, value: pulumi.Input[builtins.str]):
61
+ pulumi.set(self, "region", value)
62
+
63
+ @property
64
+ @pulumi.getter(name="targetBucket")
65
+ def target_bucket(self) -> pulumi.Input[builtins.str]:
66
+ """
67
+ The name of the bucket which will store the logs.
68
+ """
69
+ return pulumi.get(self, "target_bucket")
70
+
71
+ @target_bucket.setter
72
+ def target_bucket(self, value: pulumi.Input[builtins.str]):
73
+ pulumi.set(self, "target_bucket", value)
74
+
75
+ @property
76
+ @pulumi.getter(name="targetPrefix")
77
+ def target_prefix(self) -> pulumi.Input[builtins.str]:
78
+ """
79
+ The prefix for the log files.
80
+ """
81
+ return pulumi.get(self, "target_prefix")
82
+
83
+ @target_prefix.setter
84
+ def target_prefix(self, value: pulumi.Input[builtins.str]):
85
+ pulumi.set(self, "target_prefix", value)
86
+
87
+
88
+ @pulumi.input_type
89
+ class _SpacesBucketLoggingState:
90
+ def __init__(__self__, *,
91
+ bucket: Optional[pulumi.Input[builtins.str]] = None,
92
+ region: Optional[pulumi.Input[builtins.str]] = None,
93
+ target_bucket: Optional[pulumi.Input[builtins.str]] = None,
94
+ target_prefix: Optional[pulumi.Input[builtins.str]] = None):
95
+ """
96
+ Input properties used for looking up and filtering SpacesBucketLogging resources.
97
+ :param pulumi.Input[builtins.str] bucket: The name of the bucket which will be logged.
98
+ :param pulumi.Input[builtins.str] region: The region where the bucket resides.
99
+ :param pulumi.Input[builtins.str] target_bucket: The name of the bucket which will store the logs.
100
+ :param pulumi.Input[builtins.str] target_prefix: The prefix for the log files.
101
+ """
102
+ if bucket is not None:
103
+ pulumi.set(__self__, "bucket", bucket)
104
+ if region is not None:
105
+ pulumi.set(__self__, "region", region)
106
+ if target_bucket is not None:
107
+ pulumi.set(__self__, "target_bucket", target_bucket)
108
+ if target_prefix is not None:
109
+ pulumi.set(__self__, "target_prefix", target_prefix)
110
+
111
+ @property
112
+ @pulumi.getter
113
+ def bucket(self) -> Optional[pulumi.Input[builtins.str]]:
114
+ """
115
+ The name of the bucket which will be logged.
116
+ """
117
+ return pulumi.get(self, "bucket")
118
+
119
+ @bucket.setter
120
+ def bucket(self, value: Optional[pulumi.Input[builtins.str]]):
121
+ pulumi.set(self, "bucket", value)
122
+
123
+ @property
124
+ @pulumi.getter
125
+ def region(self) -> Optional[pulumi.Input[builtins.str]]:
126
+ """
127
+ The region where the bucket resides.
128
+ """
129
+ return pulumi.get(self, "region")
130
+
131
+ @region.setter
132
+ def region(self, value: Optional[pulumi.Input[builtins.str]]):
133
+ pulumi.set(self, "region", value)
134
+
135
+ @property
136
+ @pulumi.getter(name="targetBucket")
137
+ def target_bucket(self) -> Optional[pulumi.Input[builtins.str]]:
138
+ """
139
+ The name of the bucket which will store the logs.
140
+ """
141
+ return pulumi.get(self, "target_bucket")
142
+
143
+ @target_bucket.setter
144
+ def target_bucket(self, value: Optional[pulumi.Input[builtins.str]]):
145
+ pulumi.set(self, "target_bucket", value)
146
+
147
+ @property
148
+ @pulumi.getter(name="targetPrefix")
149
+ def target_prefix(self) -> Optional[pulumi.Input[builtins.str]]:
150
+ """
151
+ The prefix for the log files.
152
+ """
153
+ return pulumi.get(self, "target_prefix")
154
+
155
+ @target_prefix.setter
156
+ def target_prefix(self, value: Optional[pulumi.Input[builtins.str]]):
157
+ pulumi.set(self, "target_prefix", value)
158
+
159
+
160
+ @pulumi.type_token("digitalocean:index/spacesBucketLogging:SpacesBucketLogging")
161
+ class SpacesBucketLogging(pulumi.CustomResource):
162
+ @overload
163
+ def __init__(__self__,
164
+ resource_name: str,
165
+ opts: Optional[pulumi.ResourceOptions] = None,
166
+ bucket: Optional[pulumi.Input[builtins.str]] = None,
167
+ region: Optional[pulumi.Input[builtins.str]] = None,
168
+ target_bucket: Optional[pulumi.Input[builtins.str]] = None,
169
+ target_prefix: Optional[pulumi.Input[builtins.str]] = None,
170
+ __props__=None):
171
+ """
172
+ ## Example Usage
173
+
174
+ ```python
175
+ import pulumi
176
+ import pulumi_digitalocean as digitalocean
177
+
178
+ assets = digitalocean.SpacesBucket("assets",
179
+ name="assets",
180
+ region=digitalocean.Region.NYC3)
181
+ logs = digitalocean.SpacesBucket("logs",
182
+ name="logs",
183
+ region=digitalocean.Region.NYC3)
184
+ example = digitalocean.SpacesBucketLogging("example",
185
+ region="%s",
186
+ bucket=assets.id,
187
+ target_bucket=logs.id,
188
+ target_prefix="access-logs/")
189
+ ```
190
+
191
+ ## Import
192
+
193
+ Spaces bucket logging can be imported using the `region` and `bucket` attributes (delimited by a comma):
194
+
195
+ ```sh
196
+ $ pulumi import digitalocean:index/spacesBucketLogging:SpacesBucketLogging example `region`,`bucket`
197
+ ```
198
+
199
+ :param str resource_name: The name of the resource.
200
+ :param pulumi.ResourceOptions opts: Options for the resource.
201
+ :param pulumi.Input[builtins.str] bucket: The name of the bucket which will be logged.
202
+ :param pulumi.Input[builtins.str] region: The region where the bucket resides.
203
+ :param pulumi.Input[builtins.str] target_bucket: The name of the bucket which will store the logs.
204
+ :param pulumi.Input[builtins.str] target_prefix: The prefix for the log files.
205
+ """
206
+ ...
207
+ @overload
208
+ def __init__(__self__,
209
+ resource_name: str,
210
+ args: SpacesBucketLoggingArgs,
211
+ opts: Optional[pulumi.ResourceOptions] = None):
212
+ """
213
+ ## Example Usage
214
+
215
+ ```python
216
+ import pulumi
217
+ import pulumi_digitalocean as digitalocean
218
+
219
+ assets = digitalocean.SpacesBucket("assets",
220
+ name="assets",
221
+ region=digitalocean.Region.NYC3)
222
+ logs = digitalocean.SpacesBucket("logs",
223
+ name="logs",
224
+ region=digitalocean.Region.NYC3)
225
+ example = digitalocean.SpacesBucketLogging("example",
226
+ region="%s",
227
+ bucket=assets.id,
228
+ target_bucket=logs.id,
229
+ target_prefix="access-logs/")
230
+ ```
231
+
232
+ ## Import
233
+
234
+ Spaces bucket logging can be imported using the `region` and `bucket` attributes (delimited by a comma):
235
+
236
+ ```sh
237
+ $ pulumi import digitalocean:index/spacesBucketLogging:SpacesBucketLogging example `region`,`bucket`
238
+ ```
239
+
240
+ :param str resource_name: The name of the resource.
241
+ :param SpacesBucketLoggingArgs args: The arguments to use to populate this resource's properties.
242
+ :param pulumi.ResourceOptions opts: Options for the resource.
243
+ """
244
+ ...
245
+ def __init__(__self__, resource_name: str, *args, **kwargs):
246
+ resource_args, opts = _utilities.get_resource_args_opts(SpacesBucketLoggingArgs, pulumi.ResourceOptions, *args, **kwargs)
247
+ if resource_args is not None:
248
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
249
+ else:
250
+ __self__._internal_init(resource_name, *args, **kwargs)
251
+
252
+ def _internal_init(__self__,
253
+ resource_name: str,
254
+ opts: Optional[pulumi.ResourceOptions] = None,
255
+ bucket: Optional[pulumi.Input[builtins.str]] = None,
256
+ region: Optional[pulumi.Input[builtins.str]] = None,
257
+ target_bucket: Optional[pulumi.Input[builtins.str]] = None,
258
+ target_prefix: Optional[pulumi.Input[builtins.str]] = None,
259
+ __props__=None):
260
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
261
+ if not isinstance(opts, pulumi.ResourceOptions):
262
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
263
+ if opts.id is None:
264
+ if __props__ is not None:
265
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
266
+ __props__ = SpacesBucketLoggingArgs.__new__(SpacesBucketLoggingArgs)
267
+
268
+ if bucket is None and not opts.urn:
269
+ raise TypeError("Missing required property 'bucket'")
270
+ __props__.__dict__["bucket"] = bucket
271
+ if region is None and not opts.urn:
272
+ raise TypeError("Missing required property 'region'")
273
+ __props__.__dict__["region"] = region
274
+ if target_bucket is None and not opts.urn:
275
+ raise TypeError("Missing required property 'target_bucket'")
276
+ __props__.__dict__["target_bucket"] = target_bucket
277
+ if target_prefix is None and not opts.urn:
278
+ raise TypeError("Missing required property 'target_prefix'")
279
+ __props__.__dict__["target_prefix"] = target_prefix
280
+ super(SpacesBucketLogging, __self__).__init__(
281
+ 'digitalocean:index/spacesBucketLogging:SpacesBucketLogging',
282
+ resource_name,
283
+ __props__,
284
+ opts)
285
+
286
+ @staticmethod
287
+ def get(resource_name: str,
288
+ id: pulumi.Input[str],
289
+ opts: Optional[pulumi.ResourceOptions] = None,
290
+ bucket: Optional[pulumi.Input[builtins.str]] = None,
291
+ region: Optional[pulumi.Input[builtins.str]] = None,
292
+ target_bucket: Optional[pulumi.Input[builtins.str]] = None,
293
+ target_prefix: Optional[pulumi.Input[builtins.str]] = None) -> 'SpacesBucketLogging':
294
+ """
295
+ Get an existing SpacesBucketLogging resource's state with the given name, id, and optional extra
296
+ properties used to qualify the lookup.
297
+
298
+ :param str resource_name: The unique name of the resulting resource.
299
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
300
+ :param pulumi.ResourceOptions opts: Options for the resource.
301
+ :param pulumi.Input[builtins.str] bucket: The name of the bucket which will be logged.
302
+ :param pulumi.Input[builtins.str] region: The region where the bucket resides.
303
+ :param pulumi.Input[builtins.str] target_bucket: The name of the bucket which will store the logs.
304
+ :param pulumi.Input[builtins.str] target_prefix: The prefix for the log files.
305
+ """
306
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
307
+
308
+ __props__ = _SpacesBucketLoggingState.__new__(_SpacesBucketLoggingState)
309
+
310
+ __props__.__dict__["bucket"] = bucket
311
+ __props__.__dict__["region"] = region
312
+ __props__.__dict__["target_bucket"] = target_bucket
313
+ __props__.__dict__["target_prefix"] = target_prefix
314
+ return SpacesBucketLogging(resource_name, opts=opts, __props__=__props__)
315
+
316
+ @property
317
+ @pulumi.getter
318
+ def bucket(self) -> pulumi.Output[builtins.str]:
319
+ """
320
+ The name of the bucket which will be logged.
321
+ """
322
+ return pulumi.get(self, "bucket")
323
+
324
+ @property
325
+ @pulumi.getter
326
+ def region(self) -> pulumi.Output[builtins.str]:
327
+ """
328
+ The region where the bucket resides.
329
+ """
330
+ return pulumi.get(self, "region")
331
+
332
+ @property
333
+ @pulumi.getter(name="targetBucket")
334
+ def target_bucket(self) -> pulumi.Output[builtins.str]:
335
+ """
336
+ The name of the bucket which will store the logs.
337
+ """
338
+ return pulumi.get(self, "target_bucket")
339
+
340
+ @property
341
+ @pulumi.getter(name="targetPrefix")
342
+ def target_prefix(self) -> pulumi.Output[builtins.str]:
343
+ """
344
+ The prefix for the log files.
345
+ """
346
+ return pulumi.get(self, "target_prefix")
347
+
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins
@@ -1,5 +1,5 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
  import builtins