pulumi-ns1 3.6.2a1744169292__py3-none-any.whl → 3.6.3a1746675071__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.
pulumi_ns1/redirect.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -19,25 +20,25 @@ __all__ = ['RedirectArgs', 'Redirect']
19
20
  @pulumi.input_type
20
21
  class RedirectArgs:
21
22
  def __init__(__self__, *,
22
- domain: pulumi.Input[str],
23
- path: pulumi.Input[str],
24
- target: pulumi.Input[str],
25
- certificate_id: Optional[pulumi.Input[str]] = None,
26
- forwarding_mode: Optional[pulumi.Input[str]] = None,
27
- forwarding_type: Optional[pulumi.Input[str]] = None,
28
- https_forced: Optional[pulumi.Input[bool]] = None,
29
- query_forwarding: Optional[pulumi.Input[bool]] = None,
30
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
23
+ domain: pulumi.Input[builtins.str],
24
+ path: pulumi.Input[builtins.str],
25
+ target: pulumi.Input[builtins.str],
26
+ certificate_id: Optional[pulumi.Input[builtins.str]] = None,
27
+ forwarding_mode: Optional[pulumi.Input[builtins.str]] = None,
28
+ forwarding_type: Optional[pulumi.Input[builtins.str]] = None,
29
+ https_forced: Optional[pulumi.Input[builtins.bool]] = None,
30
+ query_forwarding: Optional[pulumi.Input[builtins.bool]] = None,
31
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
31
32
  """
32
33
  The set of arguments for constructing a Redirect resource.
33
- :param pulumi.Input[str] domain: The domain the redirect refers to.
34
- :param pulumi.Input[str] path: The path on the domain to redirect from.
35
- :param pulumi.Input[str] target: The URL to redirect to.
36
- :param pulumi.Input[str] forwarding_mode: How the target is interpreted:
34
+ :param pulumi.Input[builtins.str] domain: The domain the redirect refers to.
35
+ :param pulumi.Input[builtins.str] path: The path on the domain to redirect from.
36
+ :param pulumi.Input[builtins.str] target: The URL to redirect to.
37
+ :param pulumi.Input[builtins.str] forwarding_mode: How the target is interpreted:
37
38
  * __all__ appends the entire incoming path to the target destination;
38
39
  * __capture__ appends only the part of the incoming path corresponding to the wildcard (*);
39
40
  * __none__ does not append any part of the incoming path.
40
- :param pulumi.Input[str] forwarding_type: How the redirect is executed:
41
+ :param pulumi.Input[builtins.str] forwarding_type: How the redirect is executed:
41
42
  * __permanent__ (HTTP 301) indicates to search engines that they should remove the old page from
42
43
  their database and replace it with the new target page (this is recommended for SEO);
43
44
  * __temporary__ (HTTP 302) less common, indicates that search engines should keep the old domain or
@@ -46,9 +47,9 @@ class RedirectArgs:
46
47
  prefer the new target page);
47
48
  * __masking__ preserves the redirected domain in the browser's address bar (this lets users see the
48
49
  address they entered, even though the displayed content comes from a different web page).
49
- :param pulumi.Input[bool] https_forced: Forces redirect for users that try to visit HTTP domain to HTTPS instead.
50
- :param pulumi.Input[bool] query_forwarding: Enables the query string of a URL to be applied directly to the new target URL.
51
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags associated with the configuration.
50
+ :param pulumi.Input[builtins.bool] https_forced: Forces redirect for users that try to visit HTTP domain to HTTPS instead.
51
+ :param pulumi.Input[builtins.bool] query_forwarding: Enables the query string of a URL to be applied directly to the new target URL.
52
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Tags associated with the configuration.
52
53
  """
53
54
  pulumi.set(__self__, "domain", domain)
54
55
  pulumi.set(__self__, "path", path)
@@ -68,52 +69,52 @@ class RedirectArgs:
68
69
 
69
70
  @property
70
71
  @pulumi.getter
71
- def domain(self) -> pulumi.Input[str]:
72
+ def domain(self) -> pulumi.Input[builtins.str]:
72
73
  """
73
74
  The domain the redirect refers to.
74
75
  """
75
76
  return pulumi.get(self, "domain")
76
77
 
77
78
  @domain.setter
78
- def domain(self, value: pulumi.Input[str]):
79
+ def domain(self, value: pulumi.Input[builtins.str]):
79
80
  pulumi.set(self, "domain", value)
80
81
 
81
82
  @property
82
83
  @pulumi.getter
83
- def path(self) -> pulumi.Input[str]:
84
+ def path(self) -> pulumi.Input[builtins.str]:
84
85
  """
85
86
  The path on the domain to redirect from.
86
87
  """
87
88
  return pulumi.get(self, "path")
88
89
 
89
90
  @path.setter
90
- def path(self, value: pulumi.Input[str]):
91
+ def path(self, value: pulumi.Input[builtins.str]):
91
92
  pulumi.set(self, "path", value)
92
93
 
93
94
  @property
94
95
  @pulumi.getter
95
- def target(self) -> pulumi.Input[str]:
96
+ def target(self) -> pulumi.Input[builtins.str]:
96
97
  """
97
98
  The URL to redirect to.
98
99
  """
99
100
  return pulumi.get(self, "target")
100
101
 
101
102
  @target.setter
102
- def target(self, value: pulumi.Input[str]):
103
+ def target(self, value: pulumi.Input[builtins.str]):
103
104
  pulumi.set(self, "target", value)
104
105
 
105
106
  @property
106
107
  @pulumi.getter(name="certificateId")
107
- def certificate_id(self) -> Optional[pulumi.Input[str]]:
108
+ def certificate_id(self) -> Optional[pulumi.Input[builtins.str]]:
108
109
  return pulumi.get(self, "certificate_id")
109
110
 
110
111
  @certificate_id.setter
111
- def certificate_id(self, value: Optional[pulumi.Input[str]]):
112
+ def certificate_id(self, value: Optional[pulumi.Input[builtins.str]]):
112
113
  pulumi.set(self, "certificate_id", value)
113
114
 
114
115
  @property
115
116
  @pulumi.getter(name="forwardingMode")
116
- def forwarding_mode(self) -> Optional[pulumi.Input[str]]:
117
+ def forwarding_mode(self) -> Optional[pulumi.Input[builtins.str]]:
117
118
  """
118
119
  How the target is interpreted:
119
120
  * __all__ appends the entire incoming path to the target destination;
@@ -123,12 +124,12 @@ class RedirectArgs:
123
124
  return pulumi.get(self, "forwarding_mode")
124
125
 
125
126
  @forwarding_mode.setter
126
- def forwarding_mode(self, value: Optional[pulumi.Input[str]]):
127
+ def forwarding_mode(self, value: Optional[pulumi.Input[builtins.str]]):
127
128
  pulumi.set(self, "forwarding_mode", value)
128
129
 
129
130
  @property
130
131
  @pulumi.getter(name="forwardingType")
131
- def forwarding_type(self) -> Optional[pulumi.Input[str]]:
132
+ def forwarding_type(self) -> Optional[pulumi.Input[builtins.str]]:
132
133
  """
133
134
  How the redirect is executed:
134
135
  * __permanent__ (HTTP 301) indicates to search engines that they should remove the old page from
@@ -143,68 +144,68 @@ class RedirectArgs:
143
144
  return pulumi.get(self, "forwarding_type")
144
145
 
145
146
  @forwarding_type.setter
146
- def forwarding_type(self, value: Optional[pulumi.Input[str]]):
147
+ def forwarding_type(self, value: Optional[pulumi.Input[builtins.str]]):
147
148
  pulumi.set(self, "forwarding_type", value)
148
149
 
149
150
  @property
150
151
  @pulumi.getter(name="httpsForced")
151
- def https_forced(self) -> Optional[pulumi.Input[bool]]:
152
+ def https_forced(self) -> Optional[pulumi.Input[builtins.bool]]:
152
153
  """
153
154
  Forces redirect for users that try to visit HTTP domain to HTTPS instead.
154
155
  """
155
156
  return pulumi.get(self, "https_forced")
156
157
 
157
158
  @https_forced.setter
158
- def https_forced(self, value: Optional[pulumi.Input[bool]]):
159
+ def https_forced(self, value: Optional[pulumi.Input[builtins.bool]]):
159
160
  pulumi.set(self, "https_forced", value)
160
161
 
161
162
  @property
162
163
  @pulumi.getter(name="queryForwarding")
163
- def query_forwarding(self) -> Optional[pulumi.Input[bool]]:
164
+ def query_forwarding(self) -> Optional[pulumi.Input[builtins.bool]]:
164
165
  """
165
166
  Enables the query string of a URL to be applied directly to the new target URL.
166
167
  """
167
168
  return pulumi.get(self, "query_forwarding")
168
169
 
169
170
  @query_forwarding.setter
170
- def query_forwarding(self, value: Optional[pulumi.Input[bool]]):
171
+ def query_forwarding(self, value: Optional[pulumi.Input[builtins.bool]]):
171
172
  pulumi.set(self, "query_forwarding", value)
172
173
 
173
174
  @property
174
175
  @pulumi.getter
175
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
176
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
176
177
  """
177
178
  Tags associated with the configuration.
178
179
  """
179
180
  return pulumi.get(self, "tags")
180
181
 
181
182
  @tags.setter
182
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
183
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
183
184
  pulumi.set(self, "tags", value)
184
185
 
185
186
 
186
187
  @pulumi.input_type
187
188
  class _RedirectState:
188
189
  def __init__(__self__, *,
189
- certificate_id: Optional[pulumi.Input[str]] = None,
190
- domain: Optional[pulumi.Input[str]] = None,
191
- forwarding_mode: Optional[pulumi.Input[str]] = None,
192
- forwarding_type: Optional[pulumi.Input[str]] = None,
193
- https_enabled: Optional[pulumi.Input[bool]] = None,
194
- https_forced: Optional[pulumi.Input[bool]] = None,
195
- last_updated: Optional[pulumi.Input[int]] = None,
196
- path: Optional[pulumi.Input[str]] = None,
197
- query_forwarding: Optional[pulumi.Input[bool]] = None,
198
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
199
- target: Optional[pulumi.Input[str]] = None):
190
+ certificate_id: Optional[pulumi.Input[builtins.str]] = None,
191
+ domain: Optional[pulumi.Input[builtins.str]] = None,
192
+ forwarding_mode: Optional[pulumi.Input[builtins.str]] = None,
193
+ forwarding_type: Optional[pulumi.Input[builtins.str]] = None,
194
+ https_enabled: Optional[pulumi.Input[builtins.bool]] = None,
195
+ https_forced: Optional[pulumi.Input[builtins.bool]] = None,
196
+ last_updated: Optional[pulumi.Input[builtins.int]] = None,
197
+ path: Optional[pulumi.Input[builtins.str]] = None,
198
+ query_forwarding: Optional[pulumi.Input[builtins.bool]] = None,
199
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
200
+ target: Optional[pulumi.Input[builtins.str]] = None):
200
201
  """
201
202
  Input properties used for looking up and filtering Redirect resources.
202
- :param pulumi.Input[str] domain: The domain the redirect refers to.
203
- :param pulumi.Input[str] forwarding_mode: How the target is interpreted:
203
+ :param pulumi.Input[builtins.str] domain: The domain the redirect refers to.
204
+ :param pulumi.Input[builtins.str] forwarding_mode: How the target is interpreted:
204
205
  * __all__ appends the entire incoming path to the target destination;
205
206
  * __capture__ appends only the part of the incoming path corresponding to the wildcard (*);
206
207
  * __none__ does not append any part of the incoming path.
207
- :param pulumi.Input[str] forwarding_type: How the redirect is executed:
208
+ :param pulumi.Input[builtins.str] forwarding_type: How the redirect is executed:
208
209
  * __permanent__ (HTTP 301) indicates to search engines that they should remove the old page from
209
210
  their database and replace it with the new target page (this is recommended for SEO);
210
211
  * __temporary__ (HTTP 302) less common, indicates that search engines should keep the old domain or
@@ -213,13 +214,13 @@ class _RedirectState:
213
214
  prefer the new target page);
214
215
  * __masking__ preserves the redirected domain in the browser's address bar (this lets users see the
215
216
  address they entered, even though the displayed content comes from a different web page).
216
- :param pulumi.Input[bool] https_enabled: True if HTTPS is supported on the source domain by using Let's Encrypt certificates.
217
- :param pulumi.Input[bool] https_forced: Forces redirect for users that try to visit HTTP domain to HTTPS instead.
218
- :param pulumi.Input[int] last_updated: The Unix timestamp representing when the certificate was last signed.
219
- :param pulumi.Input[str] path: The path on the domain to redirect from.
220
- :param pulumi.Input[bool] query_forwarding: Enables the query string of a URL to be applied directly to the new target URL.
221
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags associated with the configuration.
222
- :param pulumi.Input[str] target: The URL to redirect to.
217
+ :param pulumi.Input[builtins.bool] https_enabled: True if HTTPS is supported on the source domain by using Let's Encrypt certificates.
218
+ :param pulumi.Input[builtins.bool] https_forced: Forces redirect for users that try to visit HTTP domain to HTTPS instead.
219
+ :param pulumi.Input[builtins.int] last_updated: The Unix timestamp representing when the certificate was last signed.
220
+ :param pulumi.Input[builtins.str] path: The path on the domain to redirect from.
221
+ :param pulumi.Input[builtins.bool] query_forwarding: Enables the query string of a URL to be applied directly to the new target URL.
222
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Tags associated with the configuration.
223
+ :param pulumi.Input[builtins.str] target: The URL to redirect to.
223
224
  """
224
225
  if certificate_id is not None:
225
226
  pulumi.set(__self__, "certificate_id", certificate_id)
@@ -246,28 +247,28 @@ class _RedirectState:
246
247
 
247
248
  @property
248
249
  @pulumi.getter(name="certificateId")
249
- def certificate_id(self) -> Optional[pulumi.Input[str]]:
250
+ def certificate_id(self) -> Optional[pulumi.Input[builtins.str]]:
250
251
  return pulumi.get(self, "certificate_id")
251
252
 
252
253
  @certificate_id.setter
253
- def certificate_id(self, value: Optional[pulumi.Input[str]]):
254
+ def certificate_id(self, value: Optional[pulumi.Input[builtins.str]]):
254
255
  pulumi.set(self, "certificate_id", value)
255
256
 
256
257
  @property
257
258
  @pulumi.getter
258
- def domain(self) -> Optional[pulumi.Input[str]]:
259
+ def domain(self) -> Optional[pulumi.Input[builtins.str]]:
259
260
  """
260
261
  The domain the redirect refers to.
261
262
  """
262
263
  return pulumi.get(self, "domain")
263
264
 
264
265
  @domain.setter
265
- def domain(self, value: Optional[pulumi.Input[str]]):
266
+ def domain(self, value: Optional[pulumi.Input[builtins.str]]):
266
267
  pulumi.set(self, "domain", value)
267
268
 
268
269
  @property
269
270
  @pulumi.getter(name="forwardingMode")
270
- def forwarding_mode(self) -> Optional[pulumi.Input[str]]:
271
+ def forwarding_mode(self) -> Optional[pulumi.Input[builtins.str]]:
271
272
  """
272
273
  How the target is interpreted:
273
274
  * __all__ appends the entire incoming path to the target destination;
@@ -277,12 +278,12 @@ class _RedirectState:
277
278
  return pulumi.get(self, "forwarding_mode")
278
279
 
279
280
  @forwarding_mode.setter
280
- def forwarding_mode(self, value: Optional[pulumi.Input[str]]):
281
+ def forwarding_mode(self, value: Optional[pulumi.Input[builtins.str]]):
281
282
  pulumi.set(self, "forwarding_mode", value)
282
283
 
283
284
  @property
284
285
  @pulumi.getter(name="forwardingType")
285
- def forwarding_type(self) -> Optional[pulumi.Input[str]]:
286
+ def forwarding_type(self) -> Optional[pulumi.Input[builtins.str]]:
286
287
  """
287
288
  How the redirect is executed:
288
289
  * __permanent__ (HTTP 301) indicates to search engines that they should remove the old page from
@@ -297,108 +298,111 @@ class _RedirectState:
297
298
  return pulumi.get(self, "forwarding_type")
298
299
 
299
300
  @forwarding_type.setter
300
- def forwarding_type(self, value: Optional[pulumi.Input[str]]):
301
+ def forwarding_type(self, value: Optional[pulumi.Input[builtins.str]]):
301
302
  pulumi.set(self, "forwarding_type", value)
302
303
 
303
304
  @property
304
305
  @pulumi.getter(name="httpsEnabled")
305
- def https_enabled(self) -> Optional[pulumi.Input[bool]]:
306
+ def https_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
306
307
  """
307
308
  True if HTTPS is supported on the source domain by using Let's Encrypt certificates.
308
309
  """
309
310
  return pulumi.get(self, "https_enabled")
310
311
 
311
312
  @https_enabled.setter
312
- def https_enabled(self, value: Optional[pulumi.Input[bool]]):
313
+ def https_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
313
314
  pulumi.set(self, "https_enabled", value)
314
315
 
315
316
  @property
316
317
  @pulumi.getter(name="httpsForced")
317
- def https_forced(self) -> Optional[pulumi.Input[bool]]:
318
+ def https_forced(self) -> Optional[pulumi.Input[builtins.bool]]:
318
319
  """
319
320
  Forces redirect for users that try to visit HTTP domain to HTTPS instead.
320
321
  """
321
322
  return pulumi.get(self, "https_forced")
322
323
 
323
324
  @https_forced.setter
324
- def https_forced(self, value: Optional[pulumi.Input[bool]]):
325
+ def https_forced(self, value: Optional[pulumi.Input[builtins.bool]]):
325
326
  pulumi.set(self, "https_forced", value)
326
327
 
327
328
  @property
328
329
  @pulumi.getter(name="lastUpdated")
329
- def last_updated(self) -> Optional[pulumi.Input[int]]:
330
+ def last_updated(self) -> Optional[pulumi.Input[builtins.int]]:
330
331
  """
331
332
  The Unix timestamp representing when the certificate was last signed.
332
333
  """
333
334
  return pulumi.get(self, "last_updated")
334
335
 
335
336
  @last_updated.setter
336
- def last_updated(self, value: Optional[pulumi.Input[int]]):
337
+ def last_updated(self, value: Optional[pulumi.Input[builtins.int]]):
337
338
  pulumi.set(self, "last_updated", value)
338
339
 
339
340
  @property
340
341
  @pulumi.getter
341
- def path(self) -> Optional[pulumi.Input[str]]:
342
+ def path(self) -> Optional[pulumi.Input[builtins.str]]:
342
343
  """
343
344
  The path on the domain to redirect from.
344
345
  """
345
346
  return pulumi.get(self, "path")
346
347
 
347
348
  @path.setter
348
- def path(self, value: Optional[pulumi.Input[str]]):
349
+ def path(self, value: Optional[pulumi.Input[builtins.str]]):
349
350
  pulumi.set(self, "path", value)
350
351
 
351
352
  @property
352
353
  @pulumi.getter(name="queryForwarding")
353
- def query_forwarding(self) -> Optional[pulumi.Input[bool]]:
354
+ def query_forwarding(self) -> Optional[pulumi.Input[builtins.bool]]:
354
355
  """
355
356
  Enables the query string of a URL to be applied directly to the new target URL.
356
357
  """
357
358
  return pulumi.get(self, "query_forwarding")
358
359
 
359
360
  @query_forwarding.setter
360
- def query_forwarding(self, value: Optional[pulumi.Input[bool]]):
361
+ def query_forwarding(self, value: Optional[pulumi.Input[builtins.bool]]):
361
362
  pulumi.set(self, "query_forwarding", value)
362
363
 
363
364
  @property
364
365
  @pulumi.getter
365
- def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
366
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
366
367
  """
367
368
  Tags associated with the configuration.
368
369
  """
369
370
  return pulumi.get(self, "tags")
370
371
 
371
372
  @tags.setter
372
- def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
373
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
373
374
  pulumi.set(self, "tags", value)
374
375
 
375
376
  @property
376
377
  @pulumi.getter
377
- def target(self) -> Optional[pulumi.Input[str]]:
378
+ def target(self) -> Optional[pulumi.Input[builtins.str]]:
378
379
  """
379
380
  The URL to redirect to.
380
381
  """
381
382
  return pulumi.get(self, "target")
382
383
 
383
384
  @target.setter
384
- def target(self, value: Optional[pulumi.Input[str]]):
385
+ def target(self, value: Optional[pulumi.Input[builtins.str]]):
385
386
  pulumi.set(self, "target", value)
386
387
 
387
388
 
388
389
  class Redirect(pulumi.CustomResource):
390
+
391
+ pulumi_type = "ns1:index/redirect:Redirect"
392
+
389
393
  @overload
390
394
  def __init__(__self__,
391
395
  resource_name: str,
392
396
  opts: Optional[pulumi.ResourceOptions] = None,
393
- certificate_id: Optional[pulumi.Input[str]] = None,
394
- domain: Optional[pulumi.Input[str]] = None,
395
- forwarding_mode: Optional[pulumi.Input[str]] = None,
396
- forwarding_type: Optional[pulumi.Input[str]] = None,
397
- https_forced: Optional[pulumi.Input[bool]] = None,
398
- path: Optional[pulumi.Input[str]] = None,
399
- query_forwarding: Optional[pulumi.Input[bool]] = None,
400
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
401
- target: Optional[pulumi.Input[str]] = None,
397
+ certificate_id: Optional[pulumi.Input[builtins.str]] = None,
398
+ domain: Optional[pulumi.Input[builtins.str]] = None,
399
+ forwarding_mode: Optional[pulumi.Input[builtins.str]] = None,
400
+ forwarding_type: Optional[pulumi.Input[builtins.str]] = None,
401
+ https_forced: Optional[pulumi.Input[builtins.bool]] = None,
402
+ path: Optional[pulumi.Input[builtins.str]] = None,
403
+ query_forwarding: Optional[pulumi.Input[builtins.bool]] = None,
404
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
405
+ target: Optional[pulumi.Input[builtins.str]] = None,
402
406
  __props__=None):
403
407
  """
404
408
  Provides a NS1 Redirect resource. This can be used to create, modify, and delete redirects.
@@ -438,12 +442,12 @@ class Redirect(pulumi.CustomResource):
438
442
 
439
443
  :param str resource_name: The name of the resource.
440
444
  :param pulumi.ResourceOptions opts: Options for the resource.
441
- :param pulumi.Input[str] domain: The domain the redirect refers to.
442
- :param pulumi.Input[str] forwarding_mode: How the target is interpreted:
445
+ :param pulumi.Input[builtins.str] domain: The domain the redirect refers to.
446
+ :param pulumi.Input[builtins.str] forwarding_mode: How the target is interpreted:
443
447
  * __all__ appends the entire incoming path to the target destination;
444
448
  * __capture__ appends only the part of the incoming path corresponding to the wildcard (*);
445
449
  * __none__ does not append any part of the incoming path.
446
- :param pulumi.Input[str] forwarding_type: How the redirect is executed:
450
+ :param pulumi.Input[builtins.str] forwarding_type: How the redirect is executed:
447
451
  * __permanent__ (HTTP 301) indicates to search engines that they should remove the old page from
448
452
  their database and replace it with the new target page (this is recommended for SEO);
449
453
  * __temporary__ (HTTP 302) less common, indicates that search engines should keep the old domain or
@@ -452,11 +456,11 @@ class Redirect(pulumi.CustomResource):
452
456
  prefer the new target page);
453
457
  * __masking__ preserves the redirected domain in the browser's address bar (this lets users see the
454
458
  address they entered, even though the displayed content comes from a different web page).
455
- :param pulumi.Input[bool] https_forced: Forces redirect for users that try to visit HTTP domain to HTTPS instead.
456
- :param pulumi.Input[str] path: The path on the domain to redirect from.
457
- :param pulumi.Input[bool] query_forwarding: Enables the query string of a URL to be applied directly to the new target URL.
458
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags associated with the configuration.
459
- :param pulumi.Input[str] target: The URL to redirect to.
459
+ :param pulumi.Input[builtins.bool] https_forced: Forces redirect for users that try to visit HTTP domain to HTTPS instead.
460
+ :param pulumi.Input[builtins.str] path: The path on the domain to redirect from.
461
+ :param pulumi.Input[builtins.bool] query_forwarding: Enables the query string of a URL to be applied directly to the new target URL.
462
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Tags associated with the configuration.
463
+ :param pulumi.Input[builtins.str] target: The URL to redirect to.
460
464
  """
461
465
  ...
462
466
  @overload
@@ -515,15 +519,15 @@ class Redirect(pulumi.CustomResource):
515
519
  def _internal_init(__self__,
516
520
  resource_name: str,
517
521
  opts: Optional[pulumi.ResourceOptions] = None,
518
- certificate_id: Optional[pulumi.Input[str]] = None,
519
- domain: Optional[pulumi.Input[str]] = None,
520
- forwarding_mode: Optional[pulumi.Input[str]] = None,
521
- forwarding_type: Optional[pulumi.Input[str]] = None,
522
- https_forced: Optional[pulumi.Input[bool]] = None,
523
- path: Optional[pulumi.Input[str]] = None,
524
- query_forwarding: Optional[pulumi.Input[bool]] = None,
525
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
526
- target: Optional[pulumi.Input[str]] = None,
522
+ certificate_id: Optional[pulumi.Input[builtins.str]] = None,
523
+ domain: Optional[pulumi.Input[builtins.str]] = None,
524
+ forwarding_mode: Optional[pulumi.Input[builtins.str]] = None,
525
+ forwarding_type: Optional[pulumi.Input[builtins.str]] = None,
526
+ https_forced: Optional[pulumi.Input[builtins.bool]] = None,
527
+ path: Optional[pulumi.Input[builtins.str]] = None,
528
+ query_forwarding: Optional[pulumi.Input[builtins.bool]] = None,
529
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
530
+ target: Optional[pulumi.Input[builtins.str]] = None,
527
531
  __props__=None):
528
532
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
529
533
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -560,17 +564,17 @@ class Redirect(pulumi.CustomResource):
560
564
  def get(resource_name: str,
561
565
  id: pulumi.Input[str],
562
566
  opts: Optional[pulumi.ResourceOptions] = None,
563
- certificate_id: Optional[pulumi.Input[str]] = None,
564
- domain: Optional[pulumi.Input[str]] = None,
565
- forwarding_mode: Optional[pulumi.Input[str]] = None,
566
- forwarding_type: Optional[pulumi.Input[str]] = None,
567
- https_enabled: Optional[pulumi.Input[bool]] = None,
568
- https_forced: Optional[pulumi.Input[bool]] = None,
569
- last_updated: Optional[pulumi.Input[int]] = None,
570
- path: Optional[pulumi.Input[str]] = None,
571
- query_forwarding: Optional[pulumi.Input[bool]] = None,
572
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
573
- target: Optional[pulumi.Input[str]] = None) -> 'Redirect':
567
+ certificate_id: Optional[pulumi.Input[builtins.str]] = None,
568
+ domain: Optional[pulumi.Input[builtins.str]] = None,
569
+ forwarding_mode: Optional[pulumi.Input[builtins.str]] = None,
570
+ forwarding_type: Optional[pulumi.Input[builtins.str]] = None,
571
+ https_enabled: Optional[pulumi.Input[builtins.bool]] = None,
572
+ https_forced: Optional[pulumi.Input[builtins.bool]] = None,
573
+ last_updated: Optional[pulumi.Input[builtins.int]] = None,
574
+ path: Optional[pulumi.Input[builtins.str]] = None,
575
+ query_forwarding: Optional[pulumi.Input[builtins.bool]] = None,
576
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
577
+ target: Optional[pulumi.Input[builtins.str]] = None) -> 'Redirect':
574
578
  """
575
579
  Get an existing Redirect resource's state with the given name, id, and optional extra
576
580
  properties used to qualify the lookup.
@@ -578,12 +582,12 @@ class Redirect(pulumi.CustomResource):
578
582
  :param str resource_name: The unique name of the resulting resource.
579
583
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
580
584
  :param pulumi.ResourceOptions opts: Options for the resource.
581
- :param pulumi.Input[str] domain: The domain the redirect refers to.
582
- :param pulumi.Input[str] forwarding_mode: How the target is interpreted:
585
+ :param pulumi.Input[builtins.str] domain: The domain the redirect refers to.
586
+ :param pulumi.Input[builtins.str] forwarding_mode: How the target is interpreted:
583
587
  * __all__ appends the entire incoming path to the target destination;
584
588
  * __capture__ appends only the part of the incoming path corresponding to the wildcard (*);
585
589
  * __none__ does not append any part of the incoming path.
586
- :param pulumi.Input[str] forwarding_type: How the redirect is executed:
590
+ :param pulumi.Input[builtins.str] forwarding_type: How the redirect is executed:
587
591
  * __permanent__ (HTTP 301) indicates to search engines that they should remove the old page from
588
592
  their database and replace it with the new target page (this is recommended for SEO);
589
593
  * __temporary__ (HTTP 302) less common, indicates that search engines should keep the old domain or
@@ -592,13 +596,13 @@ class Redirect(pulumi.CustomResource):
592
596
  prefer the new target page);
593
597
  * __masking__ preserves the redirected domain in the browser's address bar (this lets users see the
594
598
  address they entered, even though the displayed content comes from a different web page).
595
- :param pulumi.Input[bool] https_enabled: True if HTTPS is supported on the source domain by using Let's Encrypt certificates.
596
- :param pulumi.Input[bool] https_forced: Forces redirect for users that try to visit HTTP domain to HTTPS instead.
597
- :param pulumi.Input[int] last_updated: The Unix timestamp representing when the certificate was last signed.
598
- :param pulumi.Input[str] path: The path on the domain to redirect from.
599
- :param pulumi.Input[bool] query_forwarding: Enables the query string of a URL to be applied directly to the new target URL.
600
- :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags associated with the configuration.
601
- :param pulumi.Input[str] target: The URL to redirect to.
599
+ :param pulumi.Input[builtins.bool] https_enabled: True if HTTPS is supported on the source domain by using Let's Encrypt certificates.
600
+ :param pulumi.Input[builtins.bool] https_forced: Forces redirect for users that try to visit HTTP domain to HTTPS instead.
601
+ :param pulumi.Input[builtins.int] last_updated: The Unix timestamp representing when the certificate was last signed.
602
+ :param pulumi.Input[builtins.str] path: The path on the domain to redirect from.
603
+ :param pulumi.Input[builtins.bool] query_forwarding: Enables the query string of a URL to be applied directly to the new target URL.
604
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Tags associated with the configuration.
605
+ :param pulumi.Input[builtins.str] target: The URL to redirect to.
602
606
  """
603
607
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
604
608
 
@@ -619,12 +623,12 @@ class Redirect(pulumi.CustomResource):
619
623
 
620
624
  @property
621
625
  @pulumi.getter(name="certificateId")
622
- def certificate_id(self) -> pulumi.Output[str]:
626
+ def certificate_id(self) -> pulumi.Output[builtins.str]:
623
627
  return pulumi.get(self, "certificate_id")
624
628
 
625
629
  @property
626
630
  @pulumi.getter
627
- def domain(self) -> pulumi.Output[str]:
631
+ def domain(self) -> pulumi.Output[builtins.str]:
628
632
  """
629
633
  The domain the redirect refers to.
630
634
  """
@@ -632,7 +636,7 @@ class Redirect(pulumi.CustomResource):
632
636
 
633
637
  @property
634
638
  @pulumi.getter(name="forwardingMode")
635
- def forwarding_mode(self) -> pulumi.Output[Optional[str]]:
639
+ def forwarding_mode(self) -> pulumi.Output[Optional[builtins.str]]:
636
640
  """
637
641
  How the target is interpreted:
638
642
  * __all__ appends the entire incoming path to the target destination;
@@ -643,7 +647,7 @@ class Redirect(pulumi.CustomResource):
643
647
 
644
648
  @property
645
649
  @pulumi.getter(name="forwardingType")
646
- def forwarding_type(self) -> pulumi.Output[Optional[str]]:
650
+ def forwarding_type(self) -> pulumi.Output[Optional[builtins.str]]:
647
651
  """
648
652
  How the redirect is executed:
649
653
  * __permanent__ (HTTP 301) indicates to search engines that they should remove the old page from
@@ -659,7 +663,7 @@ class Redirect(pulumi.CustomResource):
659
663
 
660
664
  @property
661
665
  @pulumi.getter(name="httpsEnabled")
662
- def https_enabled(self) -> pulumi.Output[bool]:
666
+ def https_enabled(self) -> pulumi.Output[builtins.bool]:
663
667
  """
664
668
  True if HTTPS is supported on the source domain by using Let's Encrypt certificates.
665
669
  """
@@ -667,7 +671,7 @@ class Redirect(pulumi.CustomResource):
667
671
 
668
672
  @property
669
673
  @pulumi.getter(name="httpsForced")
670
- def https_forced(self) -> pulumi.Output[bool]:
674
+ def https_forced(self) -> pulumi.Output[builtins.bool]:
671
675
  """
672
676
  Forces redirect for users that try to visit HTTP domain to HTTPS instead.
673
677
  """
@@ -675,7 +679,7 @@ class Redirect(pulumi.CustomResource):
675
679
 
676
680
  @property
677
681
  @pulumi.getter(name="lastUpdated")
678
- def last_updated(self) -> pulumi.Output[int]:
682
+ def last_updated(self) -> pulumi.Output[builtins.int]:
679
683
  """
680
684
  The Unix timestamp representing when the certificate was last signed.
681
685
  """
@@ -683,7 +687,7 @@ class Redirect(pulumi.CustomResource):
683
687
 
684
688
  @property
685
689
  @pulumi.getter
686
- def path(self) -> pulumi.Output[str]:
690
+ def path(self) -> pulumi.Output[builtins.str]:
687
691
  """
688
692
  The path on the domain to redirect from.
689
693
  """
@@ -691,7 +695,7 @@ class Redirect(pulumi.CustomResource):
691
695
 
692
696
  @property
693
697
  @pulumi.getter(name="queryForwarding")
694
- def query_forwarding(self) -> pulumi.Output[Optional[bool]]:
698
+ def query_forwarding(self) -> pulumi.Output[Optional[builtins.bool]]:
695
699
  """
696
700
  Enables the query string of a URL to be applied directly to the new target URL.
697
701
  """
@@ -699,7 +703,7 @@ class Redirect(pulumi.CustomResource):
699
703
 
700
704
  @property
701
705
  @pulumi.getter
702
- def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
706
+ def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
703
707
  """
704
708
  Tags associated with the configuration.
705
709
  """
@@ -707,7 +711,7 @@ class Redirect(pulumi.CustomResource):
707
711
 
708
712
  @property
709
713
  @pulumi.getter
710
- def target(self) -> pulumi.Output[str]:
714
+ def target(self) -> pulumi.Output[builtins.str]:
711
715
  """
712
716
  The URL to redirect to.
713
717
  """