pulumiverse-scaleway 1.17.0a1730194779__py3-none-any.whl → 1.18.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 pulumiverse-scaleway might be problematic. Click here for more details.
- pulumiverse_scaleway/__init__.py +9 -0
- pulumiverse_scaleway/_inputs.py +133 -107
- pulumiverse_scaleway/account_project.py +17 -17
- pulumiverse_scaleway/account_ssh_key.py +8 -4
- pulumiverse_scaleway/container.py +146 -160
- pulumiverse_scaleway/container_cron.py +42 -77
- pulumiverse_scaleway/container_domain.py +30 -24
- pulumiverse_scaleway/container_namespace.py +42 -42
- pulumiverse_scaleway/container_token.py +36 -38
- pulumiverse_scaleway/container_trigger.py +45 -43
- pulumiverse_scaleway/function.py +112 -154
- pulumiverse_scaleway/function_cron.py +42 -60
- pulumiverse_scaleway/function_domain.py +56 -47
- pulumiverse_scaleway/function_namespace.py +49 -49
- pulumiverse_scaleway/function_token.py +36 -38
- pulumiverse_scaleway/function_trigger.py +45 -43
- pulumiverse_scaleway/get_account_project.py +14 -8
- pulumiverse_scaleway/get_account_ssh_key.py +14 -10
- pulumiverse_scaleway/get_availability_zones.py +17 -9
- pulumiverse_scaleway/get_container.py +50 -30
- pulumiverse_scaleway/get_container_namespace.py +26 -16
- pulumiverse_scaleway/get_function.py +20 -12
- pulumiverse_scaleway/get_function_namespace.py +14 -14
- pulumiverse_scaleway/get_object_bucket.py +22 -10
- pulumiverse_scaleway/get_object_bucket_policy.py +15 -9
- pulumiverse_scaleway/get_tem_domain.py +12 -1
- pulumiverse_scaleway/instance_server.py +32 -0
- pulumiverse_scaleway/object_bucket.py +67 -81
- pulumiverse_scaleway/object_bucket_acl.py +21 -17
- pulumiverse_scaleway/object_bucket_lock_configuration.py +21 -19
- pulumiverse_scaleway/object_bucket_policy.py +10 -8
- pulumiverse_scaleway/object_bucket_website_configuration.py +24 -22
- pulumiverse_scaleway/object_item.py +78 -62
- pulumiverse_scaleway/outputs.py +102 -73
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/sdb_database.py +26 -22
- pulumiverse_scaleway/tem_domain.py +75 -0
- pulumiverse_scaleway/vpc_private_network.py +2 -2
- pulumiverse_scaleway/vpc_route.py +577 -0
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/RECORD +43 -42
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/WHEEL +1 -1
- {pulumiverse_scaleway-1.17.0a1730194779.dist-info → pulumiverse_scaleway-1.18.0.dist-info}/top_level.txt +0 -0
|
@@ -28,7 +28,7 @@ class ObjectBucketLockConfigurationArgs:
|
|
|
28
28
|
"""
|
|
29
29
|
The set of arguments for constructing a ObjectBucketLockConfiguration resource.
|
|
30
30
|
:param pulumi.Input[str] bucket: The bucket's name or regional ID.
|
|
31
|
-
:param pulumi.Input['ObjectBucketLockConfigurationRuleArgs'] rule: Specifies the
|
|
31
|
+
:param pulumi.Input['ObjectBucketLockConfigurationRuleArgs'] rule: Specifies the object lock rule for the specified object.
|
|
32
32
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
33
33
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
|
34
34
|
"""
|
|
@@ -55,7 +55,7 @@ class ObjectBucketLockConfigurationArgs:
|
|
|
55
55
|
@pulumi.getter
|
|
56
56
|
def rule(self) -> pulumi.Input['ObjectBucketLockConfigurationRuleArgs']:
|
|
57
57
|
"""
|
|
58
|
-
Specifies the
|
|
58
|
+
Specifies the object lock rule for the specified object.
|
|
59
59
|
"""
|
|
60
60
|
return pulumi.get(self, "rule")
|
|
61
61
|
|
|
@@ -100,7 +100,7 @@ class _ObjectBucketLockConfigurationState:
|
|
|
100
100
|
:param pulumi.Input[str] bucket: The bucket's name or regional ID.
|
|
101
101
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
102
102
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
|
103
|
-
:param pulumi.Input['ObjectBucketLockConfigurationRuleArgs'] rule: Specifies the
|
|
103
|
+
:param pulumi.Input['ObjectBucketLockConfigurationRuleArgs'] rule: Specifies the object lock rule for the specified object.
|
|
104
104
|
"""
|
|
105
105
|
if bucket is not None:
|
|
106
106
|
pulumi.set(__self__, "bucket", bucket)
|
|
@@ -151,7 +151,7 @@ class _ObjectBucketLockConfigurationState:
|
|
|
151
151
|
@pulumi.getter
|
|
152
152
|
def rule(self) -> Optional[pulumi.Input['ObjectBucketLockConfigurationRuleArgs']]:
|
|
153
153
|
"""
|
|
154
|
-
Specifies the
|
|
154
|
+
Specifies the object lock rule for the specified object.
|
|
155
155
|
"""
|
|
156
156
|
return pulumi.get(self, "rule")
|
|
157
157
|
|
|
@@ -171,14 +171,15 @@ class ObjectBucketLockConfiguration(pulumi.CustomResource):
|
|
|
171
171
|
rule: Optional[pulumi.Input[Union['ObjectBucketLockConfigurationRuleArgs', 'ObjectBucketLockConfigurationRuleArgsDict']]] = None,
|
|
172
172
|
__props__=None):
|
|
173
173
|
"""
|
|
174
|
-
|
|
175
|
-
|
|
174
|
+
The `ObjectBucketLockConfiguration` resource allows you to create and manage an object lock configuration for [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
175
|
+
|
|
176
|
+
Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/api-cli/object-lock/) for more information on object lock.
|
|
176
177
|
|
|
177
178
|
## Example Usage
|
|
178
179
|
|
|
179
180
|
### Configure an Object Lock for a new bucket
|
|
180
181
|
|
|
181
|
-
|
|
182
|
+
> **Note:** `object_lock_enabled` must be set to `true` before configuring the lock.
|
|
182
183
|
|
|
183
184
|
```python
|
|
184
185
|
import pulumi
|
|
@@ -198,13 +199,13 @@ class ObjectBucketLockConfiguration(pulumi.CustomResource):
|
|
|
198
199
|
})
|
|
199
200
|
```
|
|
200
201
|
|
|
201
|
-
### Configure an
|
|
202
|
+
### Configure an object Lock for an existing bucket
|
|
202
203
|
|
|
203
|
-
|
|
204
|
+
[Contact Scaleway support](https://console.scaleway.com/support/tickets/create) to enable object lock on an existing bucket.
|
|
204
205
|
|
|
205
206
|
## Import
|
|
206
207
|
|
|
207
|
-
Bucket lock configurations can be imported using the `{region}/{bucketName}` identifier,
|
|
208
|
+
Bucket lock configurations can be imported using the `{region}/{bucketName}` identifier, as shown below:
|
|
208
209
|
|
|
209
210
|
bash
|
|
210
211
|
|
|
@@ -227,7 +228,7 @@ class ObjectBucketLockConfiguration(pulumi.CustomResource):
|
|
|
227
228
|
:param pulumi.Input[str] bucket: The bucket's name or regional ID.
|
|
228
229
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
229
230
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
|
230
|
-
:param pulumi.Input[Union['ObjectBucketLockConfigurationRuleArgs', 'ObjectBucketLockConfigurationRuleArgsDict']] rule: Specifies the
|
|
231
|
+
:param pulumi.Input[Union['ObjectBucketLockConfigurationRuleArgs', 'ObjectBucketLockConfigurationRuleArgsDict']] rule: Specifies the object lock rule for the specified object.
|
|
231
232
|
"""
|
|
232
233
|
...
|
|
233
234
|
@overload
|
|
@@ -236,14 +237,15 @@ class ObjectBucketLockConfiguration(pulumi.CustomResource):
|
|
|
236
237
|
args: ObjectBucketLockConfigurationArgs,
|
|
237
238
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
238
239
|
"""
|
|
239
|
-
|
|
240
|
-
|
|
240
|
+
The `ObjectBucketLockConfiguration` resource allows you to create and manage an object lock configuration for [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
241
|
+
|
|
242
|
+
Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/api-cli/object-lock/) for more information on object lock.
|
|
241
243
|
|
|
242
244
|
## Example Usage
|
|
243
245
|
|
|
244
246
|
### Configure an Object Lock for a new bucket
|
|
245
247
|
|
|
246
|
-
|
|
248
|
+
> **Note:** `object_lock_enabled` must be set to `true` before configuring the lock.
|
|
247
249
|
|
|
248
250
|
```python
|
|
249
251
|
import pulumi
|
|
@@ -263,13 +265,13 @@ class ObjectBucketLockConfiguration(pulumi.CustomResource):
|
|
|
263
265
|
})
|
|
264
266
|
```
|
|
265
267
|
|
|
266
|
-
### Configure an
|
|
268
|
+
### Configure an object Lock for an existing bucket
|
|
267
269
|
|
|
268
|
-
|
|
270
|
+
[Contact Scaleway support](https://console.scaleway.com/support/tickets/create) to enable object lock on an existing bucket.
|
|
269
271
|
|
|
270
272
|
## Import
|
|
271
273
|
|
|
272
|
-
Bucket lock configurations can be imported using the `{region}/{bucketName}` identifier,
|
|
274
|
+
Bucket lock configurations can be imported using the `{region}/{bucketName}` identifier, as shown below:
|
|
273
275
|
|
|
274
276
|
bash
|
|
275
277
|
|
|
@@ -347,7 +349,7 @@ class ObjectBucketLockConfiguration(pulumi.CustomResource):
|
|
|
347
349
|
:param pulumi.Input[str] bucket: The bucket's name or regional ID.
|
|
348
350
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
349
351
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
|
350
|
-
:param pulumi.Input[Union['ObjectBucketLockConfigurationRuleArgs', 'ObjectBucketLockConfigurationRuleArgsDict']] rule: Specifies the
|
|
352
|
+
:param pulumi.Input[Union['ObjectBucketLockConfigurationRuleArgs', 'ObjectBucketLockConfigurationRuleArgsDict']] rule: Specifies the object lock rule for the specified object.
|
|
351
353
|
"""
|
|
352
354
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
353
355
|
|
|
@@ -387,7 +389,7 @@ class ObjectBucketLockConfiguration(pulumi.CustomResource):
|
|
|
387
389
|
@pulumi.getter
|
|
388
390
|
def rule(self) -> pulumi.Output['outputs.ObjectBucketLockConfigurationRule']:
|
|
389
391
|
"""
|
|
390
|
-
Specifies the
|
|
392
|
+
Specifies the object lock rule for the specified object.
|
|
391
393
|
"""
|
|
392
394
|
return pulumi.get(self, "rule")
|
|
393
395
|
|
|
@@ -169,8 +169,9 @@ class ObjectBucketPolicy(pulumi.CustomResource):
|
|
|
169
169
|
region: Optional[pulumi.Input[str]] = None,
|
|
170
170
|
__props__=None):
|
|
171
171
|
"""
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
The `ObjectBucketPolicy` resource allows you to create and manage bucket policies for [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
173
|
+
|
|
174
|
+
Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/api-cli/bucket-policy/) for more information on Object Storage bucket policies.
|
|
174
175
|
|
|
175
176
|
## Example Usage
|
|
176
177
|
|
|
@@ -338,11 +339,11 @@ class ObjectBucketPolicy(pulumi.CustomResource):
|
|
|
338
339
|
}))
|
|
339
340
|
```
|
|
340
341
|
|
|
341
|
-
**NB:** To configure the AWS provider with Scaleway credentials,
|
|
342
|
+
**NB:** To configure the AWS provider with Scaleway credentials, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/api-cli/object-storage-aws-cli/).
|
|
342
343
|
|
|
343
344
|
## Import
|
|
344
345
|
|
|
345
|
-
Bucket policies can be imported using the `{region}/{bucketName}` identifier,
|
|
346
|
+
Bucket policies can be imported using the `{region}/{bucketName}` identifier, as shown below:
|
|
346
347
|
|
|
347
348
|
bash
|
|
348
349
|
|
|
@@ -374,8 +375,9 @@ class ObjectBucketPolicy(pulumi.CustomResource):
|
|
|
374
375
|
args: ObjectBucketPolicyArgs,
|
|
375
376
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
376
377
|
"""
|
|
377
|
-
|
|
378
|
-
|
|
378
|
+
The `ObjectBucketPolicy` resource allows you to create and manage bucket policies for [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
379
|
+
|
|
380
|
+
Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/api-cli/bucket-policy/) for more information on Object Storage bucket policies.
|
|
379
381
|
|
|
380
382
|
## Example Usage
|
|
381
383
|
|
|
@@ -543,11 +545,11 @@ class ObjectBucketPolicy(pulumi.CustomResource):
|
|
|
543
545
|
}))
|
|
544
546
|
```
|
|
545
547
|
|
|
546
|
-
**NB:** To configure the AWS provider with Scaleway credentials,
|
|
548
|
+
**NB:** To configure the AWS provider with Scaleway credentials, refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/api-cli/object-storage-aws-cli/).
|
|
547
549
|
|
|
548
550
|
## Import
|
|
549
551
|
|
|
550
|
-
Bucket policies can be imported using the `{region}/{bucketName}` identifier,
|
|
552
|
+
Bucket policies can be imported using the `{region}/{bucketName}` identifier, as shown below:
|
|
551
553
|
|
|
552
554
|
bash
|
|
553
555
|
|
|
@@ -29,8 +29,8 @@ class ObjectBucketWebsiteConfigurationArgs:
|
|
|
29
29
|
"""
|
|
30
30
|
The set of arguments for constructing a ObjectBucketWebsiteConfiguration resource.
|
|
31
31
|
:param pulumi.Input[str] bucket: The name of the bucket.
|
|
32
|
-
:param pulumi.Input['ObjectBucketWebsiteConfigurationIndexDocumentArgs'] index_document: The name of the index
|
|
33
|
-
:param pulumi.Input['ObjectBucketWebsiteConfigurationErrorDocumentArgs'] error_document: The name of the error
|
|
32
|
+
:param pulumi.Input['ObjectBucketWebsiteConfigurationIndexDocumentArgs'] index_document: The name of the index file for the website detailed below.
|
|
33
|
+
:param pulumi.Input['ObjectBucketWebsiteConfigurationErrorDocumentArgs'] error_document: The name of the error file for the website detailed below.
|
|
34
34
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
35
35
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
|
36
36
|
"""
|
|
@@ -59,7 +59,7 @@ class ObjectBucketWebsiteConfigurationArgs:
|
|
|
59
59
|
@pulumi.getter(name="indexDocument")
|
|
60
60
|
def index_document(self) -> pulumi.Input['ObjectBucketWebsiteConfigurationIndexDocumentArgs']:
|
|
61
61
|
"""
|
|
62
|
-
The name of the index
|
|
62
|
+
The name of the index file for the website detailed below.
|
|
63
63
|
"""
|
|
64
64
|
return pulumi.get(self, "index_document")
|
|
65
65
|
|
|
@@ -71,7 +71,7 @@ class ObjectBucketWebsiteConfigurationArgs:
|
|
|
71
71
|
@pulumi.getter(name="errorDocument")
|
|
72
72
|
def error_document(self) -> Optional[pulumi.Input['ObjectBucketWebsiteConfigurationErrorDocumentArgs']]:
|
|
73
73
|
"""
|
|
74
|
-
The name of the error
|
|
74
|
+
The name of the error file for the website detailed below.
|
|
75
75
|
"""
|
|
76
76
|
return pulumi.get(self, "error_document")
|
|
77
77
|
|
|
@@ -117,8 +117,8 @@ class _ObjectBucketWebsiteConfigurationState:
|
|
|
117
117
|
"""
|
|
118
118
|
Input properties used for looking up and filtering ObjectBucketWebsiteConfiguration resources.
|
|
119
119
|
:param pulumi.Input[str] bucket: The name of the bucket.
|
|
120
|
-
:param pulumi.Input['ObjectBucketWebsiteConfigurationErrorDocumentArgs'] error_document: The name of the error
|
|
121
|
-
:param pulumi.Input['ObjectBucketWebsiteConfigurationIndexDocumentArgs'] index_document: The name of the index
|
|
120
|
+
:param pulumi.Input['ObjectBucketWebsiteConfigurationErrorDocumentArgs'] error_document: The name of the error file for the website detailed below.
|
|
121
|
+
:param pulumi.Input['ObjectBucketWebsiteConfigurationIndexDocumentArgs'] index_document: The name of the index file for the website detailed below.
|
|
122
122
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
123
123
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
|
124
124
|
:param pulumi.Input[str] website_domain: The domain of the website endpoint. This is used to create DNS alias [records](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/).
|
|
@@ -155,7 +155,7 @@ class _ObjectBucketWebsiteConfigurationState:
|
|
|
155
155
|
@pulumi.getter(name="errorDocument")
|
|
156
156
|
def error_document(self) -> Optional[pulumi.Input['ObjectBucketWebsiteConfigurationErrorDocumentArgs']]:
|
|
157
157
|
"""
|
|
158
|
-
The name of the error
|
|
158
|
+
The name of the error file for the website detailed below.
|
|
159
159
|
"""
|
|
160
160
|
return pulumi.get(self, "error_document")
|
|
161
161
|
|
|
@@ -167,7 +167,7 @@ class _ObjectBucketWebsiteConfigurationState:
|
|
|
167
167
|
@pulumi.getter(name="indexDocument")
|
|
168
168
|
def index_document(self) -> Optional[pulumi.Input['ObjectBucketWebsiteConfigurationIndexDocumentArgs']]:
|
|
169
169
|
"""
|
|
170
|
-
The name of the index
|
|
170
|
+
The name of the index file for the website detailed below.
|
|
171
171
|
"""
|
|
172
172
|
return pulumi.get(self, "index_document")
|
|
173
173
|
|
|
@@ -236,8 +236,9 @@ class ObjectBucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
236
236
|
region: Optional[pulumi.Input[str]] = None,
|
|
237
237
|
__props__=None):
|
|
238
238
|
"""
|
|
239
|
-
|
|
240
|
-
|
|
239
|
+
The `ObjectBucketWebsiteConfiguration` resource allows you to deploy and manage a bucket website with [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
240
|
+
|
|
241
|
+
Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/how-to/use-bucket-website/) for more information on bucket websites.
|
|
241
242
|
|
|
242
243
|
## Example Usage
|
|
243
244
|
|
|
@@ -255,7 +256,7 @@ class ObjectBucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
255
256
|
})
|
|
256
257
|
```
|
|
257
258
|
|
|
258
|
-
### With
|
|
259
|
+
### With A Bucket Policy
|
|
259
260
|
|
|
260
261
|
```python
|
|
261
262
|
import pulumi
|
|
@@ -287,7 +288,7 @@ class ObjectBucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
287
288
|
|
|
288
289
|
## Import
|
|
289
290
|
|
|
290
|
-
Bucket website configurations can be imported using the `{region}/{bucketName}` identifier,
|
|
291
|
+
Bucket website configurations can be imported using the `{region}/{bucketName}` identifier, as shown below:
|
|
291
292
|
|
|
292
293
|
bash
|
|
293
294
|
|
|
@@ -308,8 +309,8 @@ class ObjectBucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
308
309
|
:param str resource_name: The name of the resource.
|
|
309
310
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
310
311
|
:param pulumi.Input[str] bucket: The name of the bucket.
|
|
311
|
-
:param pulumi.Input[Union['ObjectBucketWebsiteConfigurationErrorDocumentArgs', 'ObjectBucketWebsiteConfigurationErrorDocumentArgsDict']] error_document: The name of the error
|
|
312
|
-
:param pulumi.Input[Union['ObjectBucketWebsiteConfigurationIndexDocumentArgs', 'ObjectBucketWebsiteConfigurationIndexDocumentArgsDict']] index_document: The name of the index
|
|
312
|
+
:param pulumi.Input[Union['ObjectBucketWebsiteConfigurationErrorDocumentArgs', 'ObjectBucketWebsiteConfigurationErrorDocumentArgsDict']] error_document: The name of the error file for the website detailed below.
|
|
313
|
+
:param pulumi.Input[Union['ObjectBucketWebsiteConfigurationIndexDocumentArgs', 'ObjectBucketWebsiteConfigurationIndexDocumentArgsDict']] index_document: The name of the index file for the website detailed below.
|
|
313
314
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
314
315
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
|
315
316
|
"""
|
|
@@ -320,8 +321,9 @@ class ObjectBucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
320
321
|
args: ObjectBucketWebsiteConfigurationArgs,
|
|
321
322
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
322
323
|
"""
|
|
323
|
-
|
|
324
|
-
|
|
324
|
+
The `ObjectBucketWebsiteConfiguration` resource allows you to deploy and manage a bucket website with [Scaleway Object storage](https://www.scaleway.com/en/docs/storage/object/).
|
|
325
|
+
|
|
326
|
+
Refer to the [dedicated documentation](https://www.scaleway.com/en/docs/storage/object/how-to/use-bucket-website/) for more information on bucket websites.
|
|
325
327
|
|
|
326
328
|
## Example Usage
|
|
327
329
|
|
|
@@ -339,7 +341,7 @@ class ObjectBucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
339
341
|
})
|
|
340
342
|
```
|
|
341
343
|
|
|
342
|
-
### With
|
|
344
|
+
### With A Bucket Policy
|
|
343
345
|
|
|
344
346
|
```python
|
|
345
347
|
import pulumi
|
|
@@ -371,7 +373,7 @@ class ObjectBucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
371
373
|
|
|
372
374
|
## Import
|
|
373
375
|
|
|
374
|
-
Bucket website configurations can be imported using the `{region}/{bucketName}` identifier,
|
|
376
|
+
Bucket website configurations can be imported using the `{region}/{bucketName}` identifier, as shown below:
|
|
375
377
|
|
|
376
378
|
bash
|
|
377
379
|
|
|
@@ -454,8 +456,8 @@ class ObjectBucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
454
456
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
455
457
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
456
458
|
:param pulumi.Input[str] bucket: The name of the bucket.
|
|
457
|
-
:param pulumi.Input[Union['ObjectBucketWebsiteConfigurationErrorDocumentArgs', 'ObjectBucketWebsiteConfigurationErrorDocumentArgsDict']] error_document: The name of the error
|
|
458
|
-
:param pulumi.Input[Union['ObjectBucketWebsiteConfigurationIndexDocumentArgs', 'ObjectBucketWebsiteConfigurationIndexDocumentArgsDict']] index_document: The name of the index
|
|
459
|
+
:param pulumi.Input[Union['ObjectBucketWebsiteConfigurationErrorDocumentArgs', 'ObjectBucketWebsiteConfigurationErrorDocumentArgsDict']] error_document: The name of the error file for the website detailed below.
|
|
460
|
+
:param pulumi.Input[Union['ObjectBucketWebsiteConfigurationIndexDocumentArgs', 'ObjectBucketWebsiteConfigurationIndexDocumentArgsDict']] index_document: The name of the index file for the website detailed below.
|
|
459
461
|
:param pulumi.Input[str] project_id: The project_id you want to attach the resource to
|
|
460
462
|
:param pulumi.Input[str] region: The region you want to attach the resource to
|
|
461
463
|
:param pulumi.Input[str] website_domain: The domain of the website endpoint. This is used to create DNS alias [records](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/).
|
|
@@ -486,7 +488,7 @@ class ObjectBucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
486
488
|
@pulumi.getter(name="errorDocument")
|
|
487
489
|
def error_document(self) -> pulumi.Output[Optional['outputs.ObjectBucketWebsiteConfigurationErrorDocument']]:
|
|
488
490
|
"""
|
|
489
|
-
The name of the error
|
|
491
|
+
The name of the error file for the website detailed below.
|
|
490
492
|
"""
|
|
491
493
|
return pulumi.get(self, "error_document")
|
|
492
494
|
|
|
@@ -494,7 +496,7 @@ class ObjectBucketWebsiteConfiguration(pulumi.CustomResource):
|
|
|
494
496
|
@pulumi.getter(name="indexDocument")
|
|
495
497
|
def index_document(self) -> pulumi.Output['outputs.ObjectBucketWebsiteConfigurationIndexDocument']:
|
|
496
498
|
"""
|
|
497
|
-
The name of the index
|
|
499
|
+
The name of the index file for the website detailed below.
|
|
498
500
|
"""
|
|
499
501
|
return pulumi.get(self, "index_document")
|
|
500
502
|
|