pulumi-docker-build 0.0.6__py3-none-any.whl → 0.1.0a1767073522__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.
@@ -2,11 +2,16 @@
2
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
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
  from ._enums import *
@@ -44,10 +49,10 @@ __all__ = [
44
49
  @pulumi.output_type
45
50
  class BuildContext(dict):
46
51
  def __init__(__self__, *,
47
- location: str,
52
+ location: _builtins.str,
48
53
  named: Optional[Mapping[str, 'outputs.Context']] = None):
49
54
  """
50
- :param str location: Resources to use for build context.
55
+ :param _builtins.str location: Resources to use for build context.
51
56
 
52
57
  The location can be:
53
58
  * A relative or absolute path to a local directory (`.`, `./app`,
@@ -66,9 +71,9 @@ class BuildContext(dict):
66
71
  if named is not None:
67
72
  pulumi.set(__self__, "named", named)
68
73
 
69
- @property
74
+ @_builtins.property
70
75
  @pulumi.getter
71
- def location(self) -> str:
76
+ def location(self) -> _builtins.str:
72
77
  """
73
78
  Resources to use for build context.
74
79
 
@@ -81,7 +86,7 @@ class BuildContext(dict):
81
86
  """
82
87
  return pulumi.get(self, "location")
83
88
 
84
- @property
89
+ @_builtins.property
85
90
  @pulumi.getter
86
91
  def named(self) -> Optional[Mapping[str, 'outputs.Context']]:
87
92
  """
@@ -98,9 +103,9 @@ class BuildContext(dict):
98
103
  @pulumi.output_type
99
104
  class BuilderConfig(dict):
100
105
  def __init__(__self__, *,
101
- name: Optional[str] = None):
106
+ name: Optional[_builtins.str] = None):
102
107
  """
103
- :param str name: Name of an existing buildx builder to use.
108
+ :param _builtins.str name: Name of an existing buildx builder to use.
104
109
 
105
110
  Only `docker-container`, `kubernetes`, or `remote` drivers are
106
111
  supported. The legacy `docker` driver is not supported.
@@ -110,9 +115,9 @@ class BuilderConfig(dict):
110
115
  if name is not None:
111
116
  pulumi.set(__self__, "name", name)
112
117
 
113
- @property
118
+ @_builtins.property
114
119
  @pulumi.getter
115
- def name(self) -> Optional[str]:
120
+ def name(self) -> Optional[_builtins.str]:
116
121
  """
117
122
  Name of an existing buildx builder to use.
118
123
 
@@ -128,21 +133,21 @@ class BuilderConfig(dict):
128
133
  class CacheFrom(dict):
129
134
  def __init__(__self__, *,
130
135
  azblob: Optional['outputs.CacheFromAzureBlob'] = None,
131
- disabled: Optional[bool] = None,
136
+ disabled: Optional[_builtins.bool] = None,
132
137
  gha: Optional['outputs.CacheFromGitHubActions'] = None,
133
138
  local: Optional['outputs.CacheFromLocal'] = None,
134
- raw: Optional[str] = None,
139
+ raw: Optional[_builtins.str] = None,
135
140
  registry: Optional['outputs.CacheFromRegistry'] = None,
136
141
  s3: Optional['outputs.CacheFromS3'] = None):
137
142
  """
138
143
  :param 'CacheFromAzureBlob' azblob: Upload build caches to Azure's blob storage service.
139
- :param bool disabled: When `true` this entry will be excluded. Defaults to `false`.
144
+ :param _builtins.bool disabled: When `true` this entry will be excluded. Defaults to `false`.
140
145
  :param 'CacheFromGitHubActions' gha: Recommended for use with GitHub Actions workflows.
141
146
 
142
147
  An action like `crazy-max/ghaction-github-runtime` is recommended to
143
148
  expose appropriate credentials to your GitHub workflow.
144
149
  :param 'CacheFromLocal' local: A simple backend which caches images on your local filesystem.
145
- :param str raw: A raw string as you would provide it to the Docker CLI (e.g.,
150
+ :param _builtins.str raw: A raw string as you would provide it to the Docker CLI (e.g.,
146
151
  `type=inline`).
147
152
  :param 'CacheFromRegistry' registry: Upload build caches to remote registries.
148
153
  :param 'CacheFromS3' s3: Upload build caches to AWS S3 or an S3-compatible services such as
@@ -163,7 +168,7 @@ class CacheFrom(dict):
163
168
  if s3 is not None:
164
169
  pulumi.set(__self__, "s3", s3)
165
170
 
166
- @property
171
+ @_builtins.property
167
172
  @pulumi.getter
168
173
  def azblob(self) -> Optional['outputs.CacheFromAzureBlob']:
169
174
  """
@@ -171,15 +176,15 @@ class CacheFrom(dict):
171
176
  """
172
177
  return pulumi.get(self, "azblob")
173
178
 
174
- @property
179
+ @_builtins.property
175
180
  @pulumi.getter
176
- def disabled(self) -> Optional[bool]:
181
+ def disabled(self) -> Optional[_builtins.bool]:
177
182
  """
178
183
  When `true` this entry will be excluded. Defaults to `false`.
179
184
  """
180
185
  return pulumi.get(self, "disabled")
181
186
 
182
- @property
187
+ @_builtins.property
183
188
  @pulumi.getter
184
189
  def gha(self) -> Optional['outputs.CacheFromGitHubActions']:
185
190
  """
@@ -190,7 +195,7 @@ class CacheFrom(dict):
190
195
  """
191
196
  return pulumi.get(self, "gha")
192
197
 
193
- @property
198
+ @_builtins.property
194
199
  @pulumi.getter
195
200
  def local(self) -> Optional['outputs.CacheFromLocal']:
196
201
  """
@@ -198,16 +203,16 @@ class CacheFrom(dict):
198
203
  """
199
204
  return pulumi.get(self, "local")
200
205
 
201
- @property
206
+ @_builtins.property
202
207
  @pulumi.getter
203
- def raw(self) -> Optional[str]:
208
+ def raw(self) -> Optional[_builtins.str]:
204
209
  """
205
210
  A raw string as you would provide it to the Docker CLI (e.g.,
206
211
  `type=inline`).
207
212
  """
208
213
  return pulumi.get(self, "raw")
209
214
 
210
- @property
215
+ @_builtins.property
211
216
  @pulumi.getter
212
217
  def registry(self) -> Optional['outputs.CacheFromRegistry']:
213
218
  """
@@ -215,7 +220,7 @@ class CacheFrom(dict):
215
220
  """
216
221
  return pulumi.get(self, "registry")
217
222
 
218
- @property
223
+ @_builtins.property
219
224
  @pulumi.getter
220
225
  def s3(self) -> Optional['outputs.CacheFromS3']:
221
226
  """
@@ -247,13 +252,13 @@ class CacheFromAzureBlob(dict):
247
252
  return super().get(key, default)
248
253
 
249
254
  def __init__(__self__, *,
250
- name: str,
251
- account_url: Optional[str] = None,
252
- secret_access_key: Optional[str] = None):
255
+ name: _builtins.str,
256
+ account_url: Optional[_builtins.str] = None,
257
+ secret_access_key: Optional[_builtins.str] = None):
253
258
  """
254
- :param str name: The name of the cache image.
255
- :param str account_url: Base URL of the storage account.
256
- :param str secret_access_key: Blob storage account key.
259
+ :param _builtins.str name: The name of the cache image.
260
+ :param _builtins.str account_url: Base URL of the storage account.
261
+ :param _builtins.str secret_access_key: Blob storage account key.
257
262
  """
258
263
  pulumi.set(__self__, "name", name)
259
264
  if account_url is not None:
@@ -261,25 +266,25 @@ class CacheFromAzureBlob(dict):
261
266
  if secret_access_key is not None:
262
267
  pulumi.set(__self__, "secret_access_key", secret_access_key)
263
268
 
264
- @property
269
+ @_builtins.property
265
270
  @pulumi.getter
266
- def name(self) -> str:
271
+ def name(self) -> _builtins.str:
267
272
  """
268
273
  The name of the cache image.
269
274
  """
270
275
  return pulumi.get(self, "name")
271
276
 
272
- @property
277
+ @_builtins.property
273
278
  @pulumi.getter(name="accountUrl")
274
- def account_url(self) -> Optional[str]:
279
+ def account_url(self) -> Optional[_builtins.str]:
275
280
  """
276
281
  Base URL of the storage account.
277
282
  """
278
283
  return pulumi.get(self, "account_url")
279
284
 
280
- @property
285
+ @_builtins.property
281
286
  @pulumi.getter(name="secretAccessKey")
282
- def secret_access_key(self) -> Optional[str]:
287
+ def secret_access_key(self) -> Optional[_builtins.str]:
283
288
  """
284
289
  Blob storage account key.
285
290
  """
@@ -288,43 +293,32 @@ class CacheFromAzureBlob(dict):
288
293
 
289
294
  @pulumi.output_type
290
295
  class CacheFromGitHubActions(dict):
296
+ """
297
+ Recommended for use with GitHub Actions workflows.
298
+
299
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
300
+ appropriate credentials to your GitHub workflow.
301
+ """
291
302
  def __init__(__self__, *,
292
- scope: Optional[str] = None,
293
- token: Optional[str] = None,
294
- url: Optional[str] = None):
303
+ scope: Optional[_builtins.str] = None):
295
304
  """
296
- :param str scope: The scope to use for cache keys. Defaults to `buildkit`.
305
+ Recommended for use with GitHub Actions workflows.
306
+
307
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
308
+ appropriate credentials to your GitHub workflow.
309
+ :param _builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
297
310
 
298
311
  This should be set if building and caching multiple images in one
299
312
  workflow, otherwise caches will overwrite each other.
300
- :param str token: The GitHub Actions token to use. This is not a personal access tokens
301
- and is typically generated automatically as part of each job.
302
-
303
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
304
- `crazy-max/ghaction-github-runtime` is recommended to expose this
305
- environment variable to your jobs.
306
- :param str url: The cache server URL to use for artifacts.
307
-
308
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
309
- `crazy-max/ghaction-github-runtime` is recommended to expose this
310
- environment variable to your jobs.
311
313
  """
312
314
  if scope is None:
313
- scope = (_utilities.get_env('buildkit') or '')
315
+ scope = 'buildkit'
314
316
  if scope is not None:
315
317
  pulumi.set(__self__, "scope", scope)
316
- if token is None:
317
- token = (_utilities.get_env('ACTIONS_RUNTIME_TOKEN') or '')
318
- if token is not None:
319
- pulumi.set(__self__, "token", token)
320
- if url is None:
321
- url = (_utilities.get_env('ACTIONS_CACHE_URL') or '')
322
- if url is not None:
323
- pulumi.set(__self__, "url", url)
324
318
 
325
- @property
319
+ @_builtins.property
326
320
  @pulumi.getter
327
- def scope(self) -> Optional[str]:
321
+ def scope(self) -> Optional[_builtins.str]:
328
322
  """
329
323
  The scope to use for cache keys. Defaults to `buildkit`.
330
324
 
@@ -333,56 +327,31 @@ class CacheFromGitHubActions(dict):
333
327
  """
334
328
  return pulumi.get(self, "scope")
335
329
 
336
- @property
337
- @pulumi.getter
338
- def token(self) -> Optional[str]:
339
- """
340
- The GitHub Actions token to use. This is not a personal access tokens
341
- and is typically generated automatically as part of each job.
342
-
343
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
344
- `crazy-max/ghaction-github-runtime` is recommended to expose this
345
- environment variable to your jobs.
346
- """
347
- return pulumi.get(self, "token")
348
-
349
- @property
350
- @pulumi.getter
351
- def url(self) -> Optional[str]:
352
- """
353
- The cache server URL to use for artifacts.
354
-
355
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
356
- `crazy-max/ghaction-github-runtime` is recommended to expose this
357
- environment variable to your jobs.
358
- """
359
- return pulumi.get(self, "url")
360
-
361
330
 
362
331
  @pulumi.output_type
363
332
  class CacheFromLocal(dict):
364
333
  def __init__(__self__, *,
365
- src: str,
366
- digest: Optional[str] = None):
334
+ src: _builtins.str,
335
+ digest: Optional[_builtins.str] = None):
367
336
  """
368
- :param str src: Path of the local directory where cache gets imported from.
369
- :param str digest: Digest of manifest to import.
337
+ :param _builtins.str src: Path of the local directory where cache gets imported from.
338
+ :param _builtins.str digest: Digest of manifest to import.
370
339
  """
371
340
  pulumi.set(__self__, "src", src)
372
341
  if digest is not None:
373
342
  pulumi.set(__self__, "digest", digest)
374
343
 
375
- @property
344
+ @_builtins.property
376
345
  @pulumi.getter
377
- def src(self) -> str:
346
+ def src(self) -> _builtins.str:
378
347
  """
379
348
  Path of the local directory where cache gets imported from.
380
349
  """
381
350
  return pulumi.get(self, "src")
382
351
 
383
- @property
352
+ @_builtins.property
384
353
  @pulumi.getter
385
- def digest(self) -> Optional[str]:
354
+ def digest(self) -> Optional[_builtins.str]:
386
355
  """
387
356
  Digest of manifest to import.
388
357
  """
@@ -392,15 +361,15 @@ class CacheFromLocal(dict):
392
361
  @pulumi.output_type
393
362
  class CacheFromRegistry(dict):
394
363
  def __init__(__self__, *,
395
- ref: str):
364
+ ref: _builtins.str):
396
365
  """
397
- :param str ref: Fully qualified name of the cache image to import.
366
+ :param _builtins.str ref: Fully qualified name of the cache image to import.
398
367
  """
399
368
  pulumi.set(__self__, "ref", ref)
400
369
 
401
- @property
370
+ @_builtins.property
402
371
  @pulumi.getter
403
- def ref(self) -> str:
372
+ def ref(self) -> _builtins.str:
404
373
  """
405
374
  Fully qualified name of the cache image to import.
406
375
  """
@@ -439,27 +408,27 @@ class CacheFromS3(dict):
439
408
  return super().get(key, default)
440
409
 
441
410
  def __init__(__self__, *,
442
- bucket: str,
443
- region: Optional[str] = None,
444
- access_key_id: Optional[str] = None,
445
- blobs_prefix: Optional[str] = None,
446
- endpoint_url: Optional[str] = None,
447
- manifests_prefix: Optional[str] = None,
448
- name: Optional[str] = None,
449
- secret_access_key: Optional[str] = None,
450
- session_token: Optional[str] = None,
451
- use_path_style: Optional[bool] = None):
452
- """
453
- :param str bucket: Name of the S3 bucket.
454
- :param str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
455
- :param str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
456
- :param str blobs_prefix: Prefix to prepend to blob filenames.
457
- :param str endpoint_url: Endpoint of the S3 bucket.
458
- :param str manifests_prefix: Prefix to prepend on manifest filenames.
459
- :param str name: Name of the cache image.
460
- :param str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
461
- :param str session_token: Defaults to `$AWS_SESSION_TOKEN`.
462
- :param bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
411
+ bucket: _builtins.str,
412
+ region: Optional[_builtins.str] = None,
413
+ access_key_id: Optional[_builtins.str] = None,
414
+ blobs_prefix: Optional[_builtins.str] = None,
415
+ endpoint_url: Optional[_builtins.str] = None,
416
+ manifests_prefix: Optional[_builtins.str] = None,
417
+ name: Optional[_builtins.str] = None,
418
+ secret_access_key: Optional[_builtins.str] = None,
419
+ session_token: Optional[_builtins.str] = None,
420
+ use_path_style: Optional[_builtins.bool] = None):
421
+ """
422
+ :param _builtins.str bucket: Name of the S3 bucket.
423
+ :param _builtins.str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
424
+ :param _builtins.str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
425
+ :param _builtins.str blobs_prefix: Prefix to prepend to blob filenames.
426
+ :param _builtins.str endpoint_url: Endpoint of the S3 bucket.
427
+ :param _builtins.str manifests_prefix: Prefix to prepend on manifest filenames.
428
+ :param _builtins.str name: Name of the cache image.
429
+ :param _builtins.str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
430
+ :param _builtins.str session_token: Defaults to `$AWS_SESSION_TOKEN`.
431
+ :param _builtins.bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
463
432
  """
464
433
  pulumi.set(__self__, "bucket", bucket)
465
434
  if region is None:
@@ -488,81 +457,81 @@ class CacheFromS3(dict):
488
457
  if use_path_style is not None:
489
458
  pulumi.set(__self__, "use_path_style", use_path_style)
490
459
 
491
- @property
460
+ @_builtins.property
492
461
  @pulumi.getter
493
- def bucket(self) -> str:
462
+ def bucket(self) -> _builtins.str:
494
463
  """
495
464
  Name of the S3 bucket.
496
465
  """
497
466
  return pulumi.get(self, "bucket")
498
467
 
499
- @property
468
+ @_builtins.property
500
469
  @pulumi.getter
501
- def region(self) -> str:
470
+ def region(self) -> _builtins.str:
502
471
  """
503
472
  The geographic location of the bucket. Defaults to `$AWS_REGION`.
504
473
  """
505
474
  return pulumi.get(self, "region")
506
475
 
507
- @property
476
+ @_builtins.property
508
477
  @pulumi.getter(name="accessKeyId")
509
- def access_key_id(self) -> Optional[str]:
478
+ def access_key_id(self) -> Optional[_builtins.str]:
510
479
  """
511
480
  Defaults to `$AWS_ACCESS_KEY_ID`.
512
481
  """
513
482
  return pulumi.get(self, "access_key_id")
514
483
 
515
- @property
484
+ @_builtins.property
516
485
  @pulumi.getter(name="blobsPrefix")
517
- def blobs_prefix(self) -> Optional[str]:
486
+ def blobs_prefix(self) -> Optional[_builtins.str]:
518
487
  """
519
488
  Prefix to prepend to blob filenames.
520
489
  """
521
490
  return pulumi.get(self, "blobs_prefix")
522
491
 
523
- @property
492
+ @_builtins.property
524
493
  @pulumi.getter(name="endpointUrl")
525
- def endpoint_url(self) -> Optional[str]:
494
+ def endpoint_url(self) -> Optional[_builtins.str]:
526
495
  """
527
496
  Endpoint of the S3 bucket.
528
497
  """
529
498
  return pulumi.get(self, "endpoint_url")
530
499
 
531
- @property
500
+ @_builtins.property
532
501
  @pulumi.getter(name="manifestsPrefix")
533
- def manifests_prefix(self) -> Optional[str]:
502
+ def manifests_prefix(self) -> Optional[_builtins.str]:
534
503
  """
535
504
  Prefix to prepend on manifest filenames.
536
505
  """
537
506
  return pulumi.get(self, "manifests_prefix")
538
507
 
539
- @property
508
+ @_builtins.property
540
509
  @pulumi.getter
541
- def name(self) -> Optional[str]:
510
+ def name(self) -> Optional[_builtins.str]:
542
511
  """
543
512
  Name of the cache image.
544
513
  """
545
514
  return pulumi.get(self, "name")
546
515
 
547
- @property
516
+ @_builtins.property
548
517
  @pulumi.getter(name="secretAccessKey")
549
- def secret_access_key(self) -> Optional[str]:
518
+ def secret_access_key(self) -> Optional[_builtins.str]:
550
519
  """
551
520
  Defaults to `$AWS_SECRET_ACCESS_KEY`.
552
521
  """
553
522
  return pulumi.get(self, "secret_access_key")
554
523
 
555
- @property
524
+ @_builtins.property
556
525
  @pulumi.getter(name="sessionToken")
557
- def session_token(self) -> Optional[str]:
526
+ def session_token(self) -> Optional[_builtins.str]:
558
527
  """
559
528
  Defaults to `$AWS_SESSION_TOKEN`.
560
529
  """
561
530
  return pulumi.get(self, "session_token")
562
531
 
563
- @property
532
+ @_builtins.property
564
533
  @pulumi.getter(name="usePathStyle")
565
- def use_path_style(self) -> Optional[bool]:
534
+ def use_path_style(self) -> Optional[_builtins.bool]:
566
535
  """
567
536
  Uses `bucket` in the URL instead of hostname when `true`.
568
537
  """
@@ -573,16 +542,16 @@ class CacheFromS3(dict):
573
542
  class CacheTo(dict):
574
543
  def __init__(__self__, *,
575
544
  azblob: Optional['outputs.CacheToAzureBlob'] = None,
576
- disabled: Optional[bool] = None,
545
+ disabled: Optional[_builtins.bool] = None,
577
546
  gha: Optional['outputs.CacheToGitHubActions'] = None,
578
547
  inline: Optional['outputs.CacheToInline'] = None,
579
548
  local: Optional['outputs.CacheToLocal'] = None,
580
- raw: Optional[str] = None,
549
+ raw: Optional[_builtins.str] = None,
581
550
  registry: Optional['outputs.CacheToRegistry'] = None,
582
551
  s3: Optional['outputs.CacheToS3'] = None):
583
552
  """
584
553
  :param 'CacheToAzureBlob' azblob: Push cache to Azure's blob storage service.
585
- :param bool disabled: When `true` this entry will be excluded. Defaults to `false`.
554
+ :param _builtins.bool disabled: When `true` this entry will be excluded. Defaults to `false`.
586
555
  :param 'CacheToGitHubActions' gha: Recommended for use with GitHub Actions workflows.
587
556
 
588
557
  An action like `crazy-max/ghaction-github-runtime` is recommended to
@@ -591,7 +560,7 @@ class CacheTo(dict):
591
560
  started with, but it does not handle multi-stage builds. Consider the
592
561
  `registry` cache backend instead.
593
562
  :param 'CacheToLocal' local: A simple backend which caches imagines on your local filesystem.
594
- :param str raw: A raw string as you would provide it to the Docker CLI (e.g.,
563
+ :param _builtins.str raw: A raw string as you would provide it to the Docker CLI (e.g.,
595
564
  `type=inline`)
596
565
  :param 'CacheToRegistry' registry: Push caches to remote registries. Incompatible with the `docker` build
597
566
  driver.
@@ -614,7 +583,7 @@ class CacheTo(dict):
614
583
  if s3 is not None:
615
584
  pulumi.set(__self__, "s3", s3)
616
585
 
617
- @property
586
+ @_builtins.property
618
587
  @pulumi.getter
619
588
  def azblob(self) -> Optional['outputs.CacheToAzureBlob']:
620
589
  """
@@ -622,15 +591,15 @@ class CacheTo(dict):
622
591
  """
623
592
  return pulumi.get(self, "azblob")
624
593
 
625
- @property
594
+ @_builtins.property
626
595
  @pulumi.getter
627
- def disabled(self) -> Optional[bool]:
596
+ def disabled(self) -> Optional[_builtins.bool]:
628
597
  """
629
598
  When `true` this entry will be excluded. Defaults to `false`.
630
599
  """
631
600
  return pulumi.get(self, "disabled")
632
601
 
633
- @property
602
+ @_builtins.property
634
603
  @pulumi.getter
635
604
  def gha(self) -> Optional['outputs.CacheToGitHubActions']:
636
605
  """
@@ -641,7 +610,7 @@ class CacheTo(dict):
641
610
  """
642
611
  return pulumi.get(self, "gha")
643
612
 
644
- @property
613
+ @_builtins.property
645
614
  @pulumi.getter
646
615
  def inline(self) -> Optional['outputs.CacheToInline']:
647
616
  """
@@ -651,7 +620,7 @@ class CacheTo(dict):
651
620
  """
652
621
  return pulumi.get(self, "inline")
653
622
 
654
- @property
623
+ @_builtins.property
655
624
  @pulumi.getter
656
625
  def local(self) -> Optional['outputs.CacheToLocal']:
657
626
  """
@@ -659,16 +628,16 @@ class CacheTo(dict):
659
628
  """
660
629
  return pulumi.get(self, "local")
661
630
 
662
- @property
631
+ @_builtins.property
663
632
  @pulumi.getter
664
- def raw(self) -> Optional[str]:
633
+ def raw(self) -> Optional[_builtins.str]:
665
634
  """
666
635
  A raw string as you would provide it to the Docker CLI (e.g.,
667
636
  `type=inline`)
668
637
  """
669
638
  return pulumi.get(self, "raw")
670
639
 
671
- @property
640
+ @_builtins.property
672
641
  @pulumi.getter
673
642
  def registry(self) -> Optional['outputs.CacheToRegistry']:
674
643
  """
@@ -677,7 +646,7 @@ class CacheTo(dict):
677
646
  """
678
647
  return pulumi.get(self, "registry")
679
648
 
680
- @property
649
+ @_builtins.property
681
650
  @pulumi.getter
682
651
  def s3(self) -> Optional['outputs.CacheToS3']:
683
652
  """
@@ -710,17 +679,17 @@ class CacheToAzureBlob(dict):
710
679
  return super().get(key, default)
711
680
 
712
681
  def __init__(__self__, *,
713
- name: str,
714
- account_url: Optional[str] = None,
715
- ignore_error: Optional[bool] = None,
682
+ name: _builtins.str,
683
+ account_url: Optional[_builtins.str] = None,
684
+ ignore_error: Optional[_builtins.bool] = None,
716
685
  mode: Optional['CacheMode'] = None,
717
- secret_access_key: Optional[str] = None):
686
+ secret_access_key: Optional[_builtins.str] = None):
718
687
  """
719
- :param str name: The name of the cache image.
720
- :param str account_url: Base URL of the storage account.
721
- :param bool ignore_error: Ignore errors caused by failed cache exports.
688
+ :param _builtins.str name: The name of the cache image.
689
+ :param _builtins.str account_url: Base URL of the storage account.
690
+ :param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
722
691
  :param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
723
- :param str secret_access_key: Blob storage account key.
692
+ :param _builtins.str secret_access_key: Blob storage account key.
724
693
  """
725
694
  pulumi.set(__self__, "name", name)
726
695
  if account_url is not None:
@@ -736,31 +705,31 @@ class CacheToAzureBlob(dict):
736
705
  if secret_access_key is not None:
737
706
  pulumi.set(__self__, "secret_access_key", secret_access_key)
738
707
 
739
- @property
708
+ @_builtins.property
740
709
  @pulumi.getter
741
- def name(self) -> str:
710
+ def name(self) -> _builtins.str:
742
711
  """
743
712
  The name of the cache image.
744
713
  """
745
714
  return pulumi.get(self, "name")
746
715
 
747
- @property
716
+ @_builtins.property
748
717
  @pulumi.getter(name="accountUrl")
749
- def account_url(self) -> Optional[str]:
718
+ def account_url(self) -> Optional[_builtins.str]:
750
719
  """
751
720
  Base URL of the storage account.
752
721
  """
753
722
  return pulumi.get(self, "account_url")
754
723
 
755
- @property
724
+ @_builtins.property
756
725
  @pulumi.getter(name="ignoreError")
757
- def ignore_error(self) -> Optional[bool]:
726
+ def ignore_error(self) -> Optional[_builtins.bool]:
758
727
  """
759
728
  Ignore errors caused by failed cache exports.
760
729
  """
761
730
  return pulumi.get(self, "ignore_error")
762
731
 
763
- @property
732
+ @_builtins.property
764
733
  @pulumi.getter
765
734
  def mode(self) -> Optional['CacheMode']:
766
735
  """
@@ -768,9 +737,9 @@ class CacheToAzureBlob(dict):
768
737
  """
769
738
  return pulumi.get(self, "mode")
770
739
 
771
- @property
740
+ @_builtins.property
772
741
  @pulumi.getter(name="secretAccessKey")
773
- def secret_access_key(self) -> Optional[str]:
742
+ def secret_access_key(self) -> Optional[_builtins.str]:
774
743
  """
775
744
  Blob storage account key.
776
745
  """
@@ -779,6 +748,12 @@ class CacheToAzureBlob(dict):
779
748
 
780
749
  @pulumi.output_type
781
750
  class CacheToGitHubActions(dict):
751
+ """
752
+ Recommended for use with GitHub Actions workflows.
753
+
754
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
755
+ appropriate credentials to your GitHub workflow.
756
+ """
782
757
  @staticmethod
783
758
  def __key_warning(key: str):
784
759
  suggest = None
@@ -797,29 +772,20 @@ class CacheToGitHubActions(dict):
797
772
  return super().get(key, default)
798
773
 
799
774
  def __init__(__self__, *,
800
- ignore_error: Optional[bool] = None,
775
+ ignore_error: Optional[_builtins.bool] = None,
801
776
  mode: Optional['CacheMode'] = None,
802
- scope: Optional[str] = None,
803
- token: Optional[str] = None,
804
- url: Optional[str] = None):
777
+ scope: Optional[_builtins.str] = None):
805
778
  """
806
- :param bool ignore_error: Ignore errors caused by failed cache exports.
779
+ Recommended for use with GitHub Actions workflows.
780
+
781
+ An action like `crazy-max/ghaction-github-runtime` is recommended to expose
782
+ appropriate credentials to your GitHub workflow.
783
+ :param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
807
784
  :param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
808
- :param str scope: The scope to use for cache keys. Defaults to `buildkit`.
785
+ :param _builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
809
786
 
810
787
  This should be set if building and caching multiple images in one
811
788
  workflow, otherwise caches will overwrite each other.
812
- :param str token: The GitHub Actions token to use. This is not a personal access tokens
813
- and is typically generated automatically as part of each job.
814
-
815
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
816
- `crazy-max/ghaction-github-runtime` is recommended to expose this
817
- environment variable to your jobs.
818
- :param str url: The cache server URL to use for artifacts.
819
-
820
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
821
- `crazy-max/ghaction-github-runtime` is recommended to expose this
822
- environment variable to your jobs.
823
789
  """
824
790
  if ignore_error is None:
825
791
  ignore_error = False
@@ -830,27 +796,19 @@ class CacheToGitHubActions(dict):
830
796
  if mode is not None:
831
797
  pulumi.set(__self__, "mode", mode)
832
798
  if scope is None:
833
- scope = (_utilities.get_env('buildkit') or '')
799
+ scope = 'buildkit'
834
800
  if scope is not None:
835
801
  pulumi.set(__self__, "scope", scope)
836
- if token is None:
837
- token = (_utilities.get_env('ACTIONS_RUNTIME_TOKEN') or '')
838
- if token is not None:
839
- pulumi.set(__self__, "token", token)
840
- if url is None:
841
- url = (_utilities.get_env('ACTIONS_CACHE_URL') or '')
842
- if url is not None:
843
- pulumi.set(__self__, "url", url)
844
-
845
- @property
802
+
803
+ @_builtins.property
846
804
  @pulumi.getter(name="ignoreError")
847
- def ignore_error(self) -> Optional[bool]:
805
+ def ignore_error(self) -> Optional[_builtins.bool]:
848
806
  """
849
807
  Ignore errors caused by failed cache exports.
850
808
  """
851
809
  return pulumi.get(self, "ignore_error")
852
810
 
853
- @property
811
+ @_builtins.property
854
812
  @pulumi.getter
855
813
  def mode(self) -> Optional['CacheMode']:
856
814
  """
@@ -858,9 +816,9 @@ class CacheToGitHubActions(dict):
858
816
  """
859
817
  return pulumi.get(self, "mode")
860
818
 
861
- @property
819
+ @_builtins.property
862
820
  @pulumi.getter
863
- def scope(self) -> Optional[str]:
821
+ def scope(self) -> Optional[_builtins.str]:
864
822
  """
865
823
  The scope to use for cache keys. Defaults to `buildkit`.
866
824
 
@@ -869,31 +827,6 @@ class CacheToGitHubActions(dict):
869
827
  """
870
828
  return pulumi.get(self, "scope")
871
829
 
872
- @property
873
- @pulumi.getter
874
- def token(self) -> Optional[str]:
875
- """
876
- The GitHub Actions token to use. This is not a personal access tokens
877
- and is typically generated automatically as part of each job.
878
-
879
- Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
880
- `crazy-max/ghaction-github-runtime` is recommended to expose this
881
- environment variable to your jobs.
882
- """
883
- return pulumi.get(self, "token")
884
-
885
- @property
886
- @pulumi.getter
887
- def url(self) -> Optional[str]:
888
- """
889
- The cache server URL to use for artifacts.
890
-
891
- Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
892
- `crazy-max/ghaction-github-runtime` is recommended to expose this
893
- environment variable to your jobs.
894
- """
895
- return pulumi.get(self, "url")
896
-
897
830
 
898
831
  @pulumi.output_type
899
832
  class CacheToInline(dict):
@@ -931,18 +864,18 @@ class CacheToLocal(dict):
931
864
  return super().get(key, default)
932
865
 
933
866
  def __init__(__self__, *,
934
- dest: str,
867
+ dest: _builtins.str,
935
868
  compression: Optional['CompressionType'] = None,
936
- compression_level: Optional[int] = None,
937
- force_compression: Optional[bool] = None,
938
- ignore_error: Optional[bool] = None,
869
+ compression_level: Optional[_builtins.int] = None,
870
+ force_compression: Optional[_builtins.bool] = None,
871
+ ignore_error: Optional[_builtins.bool] = None,
939
872
  mode: Optional['CacheMode'] = None):
940
873
  """
941
- :param str dest: Path of the local directory to export the cache.
874
+ :param _builtins.str dest: Path of the local directory to export the cache.
942
875
  :param 'CompressionType' compression: The compression type to use.
943
- :param int compression_level: Compression level from 0 to 22.
944
- :param bool force_compression: Forcefully apply compression.
945
- :param bool ignore_error: Ignore errors caused by failed cache exports.
876
+ :param _builtins.int compression_level: Compression level from 0 to 22.
877
+ :param _builtins.bool force_compression: Forcefully apply compression.
878
+ :param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
946
879
  :param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
947
880
  """
948
881
  pulumi.set(__self__, "dest", dest)
@@ -967,15 +900,15 @@ class CacheToLocal(dict):
967
900
  if mode is not None:
968
901
  pulumi.set(__self__, "mode", mode)
969
902
 
970
- @property
903
+ @_builtins.property
971
904
  @pulumi.getter
972
- def dest(self) -> str:
905
+ def dest(self) -> _builtins.str:
973
906
  """
974
907
  Path of the local directory to export the cache.
975
908
  """
976
909
  return pulumi.get(self, "dest")
977
910
 
978
- @property
911
+ @_builtins.property
979
912
  @pulumi.getter
980
913
  def compression(self) -> Optional['CompressionType']:
981
914
  """
@@ -983,31 +916,31 @@ class CacheToLocal(dict):
983
916
  """
984
917
  return pulumi.get(self, "compression")
985
918
 
986
- @property
919
+ @_builtins.property
987
920
  @pulumi.getter(name="compressionLevel")
988
- def compression_level(self) -> Optional[int]:
921
+ def compression_level(self) -> Optional[_builtins.int]:
989
922
  """
990
923
  Compression level from 0 to 22.
991
924
  """
992
925
  return pulumi.get(self, "compression_level")
993
926
 
994
- @property
927
+ @_builtins.property
995
928
  @pulumi.getter(name="forceCompression")
996
- def force_compression(self) -> Optional[bool]:
929
+ def force_compression(self) -> Optional[_builtins.bool]:
997
930
  """
998
931
  Forcefully apply compression.
999
932
  """
1000
933
  return pulumi.get(self, "force_compression")
1001
934
 
1002
- @property
935
+ @_builtins.property
1003
936
  @pulumi.getter(name="ignoreError")
1004
- def ignore_error(self) -> Optional[bool]:
937
+ def ignore_error(self) -> Optional[_builtins.bool]:
1005
938
  """
1006
939
  Ignore errors caused by failed cache exports.
1007
940
  """
1008
941
  return pulumi.get(self, "ignore_error")
1009
942
 
1010
- @property
943
+ @_builtins.property
1011
944
  @pulumi.getter
1012
945
  def mode(self) -> Optional['CacheMode']:
1013
946
  """
@@ -1044,21 +977,21 @@ class CacheToRegistry(dict):
1044
977
  return super().get(key, default)
1045
978
 
1046
979
  def __init__(__self__, *,
1047
- ref: str,
980
+ ref: _builtins.str,
1048
981
  compression: Optional['CompressionType'] = None,
1049
- compression_level: Optional[int] = None,
1050
- force_compression: Optional[bool] = None,
1051
- ignore_error: Optional[bool] = None,
1052
- image_manifest: Optional[bool] = None,
982
+ compression_level: Optional[_builtins.int] = None,
983
+ force_compression: Optional[_builtins.bool] = None,
984
+ ignore_error: Optional[_builtins.bool] = None,
985
+ image_manifest: Optional[_builtins.bool] = None,
1053
986
  mode: Optional['CacheMode'] = None,
1054
- oci_media_types: Optional[bool] = None):
987
+ oci_media_types: Optional[_builtins.bool] = None):
1055
988
  """
1056
- :param str ref: Fully qualified name of the cache image to import.
989
+ :param _builtins.str ref: Fully qualified name of the cache image to import.
1057
990
  :param 'CompressionType' compression: The compression type to use.
1058
- :param int compression_level: Compression level from 0 to 22.
1059
- :param bool force_compression: Forcefully apply compression.
1060
- :param bool ignore_error: Ignore errors caused by failed cache exports.
1061
- :param bool image_manifest: Export cache manifest as an OCI-compatible image manifest instead of a
991
+ :param _builtins.int compression_level: Compression level from 0 to 22.
992
+ :param _builtins.bool force_compression: Forcefully apply compression.
993
+ :param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
994
+ :param _builtins.bool image_manifest: Export cache manifest as an OCI-compatible image manifest instead of a
1062
995
  manifest list. Requires `ociMediaTypes` to also be `true`.
1063
996
 
1064
997
  Some registries like AWS ECR will not work with caching if this is
@@ -1066,7 +999,7 @@ class CacheToRegistry(dict):
1066
999
 
1067
1000
  Defaults to `false` to match Docker's default behavior.
1068
1001
  :param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
1069
- :param bool oci_media_types: Whether to use OCI media types in exported manifests. Defaults to
1002
+ :param _builtins.bool oci_media_types: Whether to use OCI media types in exported manifests. Defaults to
1070
1003
  `true`.
1071
1004
  """
1072
1005
  pulumi.set(__self__, "ref", ref)
@@ -1099,15 +1032,15 @@ class CacheToRegistry(dict):
1099
1032
  if oci_media_types is not None:
1100
1033
  pulumi.set(__self__, "oci_media_types", oci_media_types)
1101
1034
 
1102
- @property
1035
+ @_builtins.property
1103
1036
  @pulumi.getter
1104
- def ref(self) -> str:
1037
+ def ref(self) -> _builtins.str:
1105
1038
  """
1106
1039
  Fully qualified name of the cache image to import.
1107
1040
  """
1108
1041
  return pulumi.get(self, "ref")
1109
1042
 
1110
- @property
1043
+ @_builtins.property
1111
1044
  @pulumi.getter
1112
1045
  def compression(self) -> Optional['CompressionType']:
1113
1046
  """
@@ -1115,33 +1048,33 @@ class CacheToRegistry(dict):
1115
1048
  """
1116
1049
  return pulumi.get(self, "compression")
1117
1050
 
1118
- @property
1051
+ @_builtins.property
1119
1052
  @pulumi.getter(name="compressionLevel")
1120
- def compression_level(self) -> Optional[int]:
1053
+ def compression_level(self) -> Optional[_builtins.int]:
1121
1054
  """
1122
1055
  Compression level from 0 to 22.
1123
1056
  """
1124
1057
  return pulumi.get(self, "compression_level")
1125
1058
 
1126
- @property
1059
+ @_builtins.property
1127
1060
  @pulumi.getter(name="forceCompression")
1128
- def force_compression(self) -> Optional[bool]:
1061
+ def force_compression(self) -> Optional[_builtins.bool]:
1129
1062
  """
1130
1063
  Forcefully apply compression.
1131
1064
  """
1132
1065
  return pulumi.get(self, "force_compression")
1133
1066
 
1134
- @property
1067
+ @_builtins.property
1135
1068
  @pulumi.getter(name="ignoreError")
1136
- def ignore_error(self) -> Optional[bool]:
1069
+ def ignore_error(self) -> Optional[_builtins.bool]:
1137
1070
  """
1138
1071
  Ignore errors caused by failed cache exports.
1139
1072
  """
1140
1073
  return pulumi.get(self, "ignore_error")
1141
1074
 
1142
- @property
1075
+ @_builtins.property
1143
1076
  @pulumi.getter(name="imageManifest")
1144
- def image_manifest(self) -> Optional[bool]:
1077
+ def image_manifest(self) -> Optional[_builtins.bool]:
1145
1078
  """
1146
1079
  Export cache manifest as an OCI-compatible image manifest instead of a
1147
1080
  manifest list. Requires `ociMediaTypes` to also be `true`.
@@ -1153,7 +1086,7 @@ class CacheToRegistry(dict):
1153
1086
  """
1154
1087
  return pulumi.get(self, "image_manifest")
1155
1088
 
1156
- @property
1089
+ @_builtins.property
1157
1090
  @pulumi.getter
1158
1091
  def mode(self) -> Optional['CacheMode']:
1159
1092
  """
@@ -1161,9 +1094,9 @@ class CacheToRegistry(dict):
1161
1094
  """
1162
1095
  return pulumi.get(self, "mode")
1163
1096
 
1164
- @property
1097
+ @_builtins.property
1165
1098
  @pulumi.getter(name="ociMediaTypes")
1166
- def oci_media_types(self) -> Optional[bool]:
1099
+ def oci_media_types(self) -> Optional[_builtins.bool]:
1167
1100
  """
1168
1101
  Whether to use OCI media types in exported manifests. Defaults to
1169
1102
  `true`.
@@ -1205,31 +1138,31 @@ class CacheToS3(dict):
1205
1138
  return super().get(key, default)
1206
1139
 
1207
1140
  def __init__(__self__, *,
1208
- bucket: str,
1209
- region: Optional[str] = None,
1210
- access_key_id: Optional[str] = None,
1211
- blobs_prefix: Optional[str] = None,
1212
- endpoint_url: Optional[str] = None,
1213
- ignore_error: Optional[bool] = None,
1214
- manifests_prefix: Optional[str] = None,
1141
+ bucket: _builtins.str,
1142
+ region: Optional[_builtins.str] = None,
1143
+ access_key_id: Optional[_builtins.str] = None,
1144
+ blobs_prefix: Optional[_builtins.str] = None,
1145
+ endpoint_url: Optional[_builtins.str] = None,
1146
+ ignore_error: Optional[_builtins.bool] = None,
1147
+ manifests_prefix: Optional[_builtins.str] = None,
1215
1148
  mode: Optional['CacheMode'] = None,
1216
- name: Optional[str] = None,
1217
- secret_access_key: Optional[str] = None,
1218
- session_token: Optional[str] = None,
1219
- use_path_style: Optional[bool] = None):
1220
- """
1221
- :param str bucket: Name of the S3 bucket.
1222
- :param str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
1223
- :param str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
1224
- :param str blobs_prefix: Prefix to prepend to blob filenames.
1225
- :param str endpoint_url: Endpoint of the S3 bucket.
1226
- :param bool ignore_error: Ignore errors caused by failed cache exports.
1227
- :param str manifests_prefix: Prefix to prepend on manifest filenames.
1149
+ name: Optional[_builtins.str] = None,
1150
+ secret_access_key: Optional[_builtins.str] = None,
1151
+ session_token: Optional[_builtins.str] = None,
1152
+ use_path_style: Optional[_builtins.bool] = None):
1153
+ """
1154
+ :param _builtins.str bucket: Name of the S3 bucket.
1155
+ :param _builtins.str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
1156
+ :param _builtins.str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
1157
+ :param _builtins.str blobs_prefix: Prefix to prepend to blob filenames.
1158
+ :param _builtins.str endpoint_url: Endpoint of the S3 bucket.
1159
+ :param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
1160
+ :param _builtins.str manifests_prefix: Prefix to prepend on manifest filenames.
1228
1161
  :param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
1229
- :param str name: Name of the cache image.
1230
- :param str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
1231
- :param str session_token: Defaults to `$AWS_SESSION_TOKEN`.
1232
- :param bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
1162
+ :param _builtins.str name: Name of the cache image.
1163
+ :param _builtins.str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
1164
+ :param _builtins.str session_token: Defaults to `$AWS_SESSION_TOKEN`.
1165
+ :param _builtins.bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
1233
1166
  """
1234
1167
  pulumi.set(__self__, "bucket", bucket)
1235
1168
  if region is None:
@@ -1266,63 +1199,63 @@ class CacheToS3(dict):
1266
1199
  if use_path_style is not None:
1267
1200
  pulumi.set(__self__, "use_path_style", use_path_style)
1268
1201
 
1269
- @property
1202
+ @_builtins.property
1270
1203
  @pulumi.getter
1271
- def bucket(self) -> str:
1204
+ def bucket(self) -> _builtins.str:
1272
1205
  """
1273
1206
  Name of the S3 bucket.
1274
1207
  """
1275
1208
  return pulumi.get(self, "bucket")
1276
1209
 
1277
- @property
1210
+ @_builtins.property
1278
1211
  @pulumi.getter
1279
- def region(self) -> str:
1212
+ def region(self) -> _builtins.str:
1280
1213
  """
1281
1214
  The geographic location of the bucket. Defaults to `$AWS_REGION`.
1282
1215
  """
1283
1216
  return pulumi.get(self, "region")
1284
1217
 
1285
- @property
1218
+ @_builtins.property
1286
1219
  @pulumi.getter(name="accessKeyId")
1287
- def access_key_id(self) -> Optional[str]:
1220
+ def access_key_id(self) -> Optional[_builtins.str]:
1288
1221
  """
1289
1222
  Defaults to `$AWS_ACCESS_KEY_ID`.
1290
1223
  """
1291
1224
  return pulumi.get(self, "access_key_id")
1292
1225
 
1293
- @property
1226
+ @_builtins.property
1294
1227
  @pulumi.getter(name="blobsPrefix")
1295
- def blobs_prefix(self) -> Optional[str]:
1228
+ def blobs_prefix(self) -> Optional[_builtins.str]:
1296
1229
  """
1297
1230
  Prefix to prepend to blob filenames.
1298
1231
  """
1299
1232
  return pulumi.get(self, "blobs_prefix")
1300
1233
 
1301
- @property
1234
+ @_builtins.property
1302
1235
  @pulumi.getter(name="endpointUrl")
1303
- def endpoint_url(self) -> Optional[str]:
1236
+ def endpoint_url(self) -> Optional[_builtins.str]:
1304
1237
  """
1305
1238
  Endpoint of the S3 bucket.
1306
1239
  """
1307
1240
  return pulumi.get(self, "endpoint_url")
1308
1241
 
1309
- @property
1242
+ @_builtins.property
1310
1243
  @pulumi.getter(name="ignoreError")
1311
- def ignore_error(self) -> Optional[bool]:
1244
+ def ignore_error(self) -> Optional[_builtins.bool]:
1312
1245
  """
1313
1246
  Ignore errors caused by failed cache exports.
1314
1247
  """
1315
1248
  return pulumi.get(self, "ignore_error")
1316
1249
 
1317
- @property
1250
+ @_builtins.property
1318
1251
  @pulumi.getter(name="manifestsPrefix")
1319
- def manifests_prefix(self) -> Optional[str]:
1252
+ def manifests_prefix(self) -> Optional[_builtins.str]:
1320
1253
  """
1321
1254
  Prefix to prepend on manifest filenames.
1322
1255
  """
1323
1256
  return pulumi.get(self, "manifests_prefix")
1324
1257
 
1325
- @property
1258
+ @_builtins.property
1326
1259
  @pulumi.getter
1327
1260
  def mode(self) -> Optional['CacheMode']:
1328
1261
  """
@@ -1330,33 +1263,33 @@ class CacheToS3(dict):
1330
1263
  """
1331
1264
  return pulumi.get(self, "mode")
1332
1265
 
1333
- @property
1266
+ @_builtins.property
1334
1267
  @pulumi.getter
1335
- def name(self) -> Optional[str]:
1268
+ def name(self) -> Optional[_builtins.str]:
1336
1269
  """
1337
1270
  Name of the cache image.
1338
1271
  """
1339
1272
  return pulumi.get(self, "name")
1340
1273
 
1341
- @property
1274
+ @_builtins.property
1342
1275
  @pulumi.getter(name="secretAccessKey")
1343
- def secret_access_key(self) -> Optional[str]:
1276
+ def secret_access_key(self) -> Optional[_builtins.str]:
1344
1277
  """
1345
1278
  Defaults to `$AWS_SECRET_ACCESS_KEY`.
1346
1279
  """
1347
1280
  return pulumi.get(self, "secret_access_key")
1348
1281
 
1349
- @property
1282
+ @_builtins.property
1350
1283
  @pulumi.getter(name="sessionToken")
1351
- def session_token(self) -> Optional[str]:
1284
+ def session_token(self) -> Optional[_builtins.str]:
1352
1285
  """
1353
1286
  Defaults to `$AWS_SESSION_TOKEN`.
1354
1287
  """
1355
1288
  return pulumi.get(self, "session_token")
1356
1289
 
1357
- @property
1290
+ @_builtins.property
1358
1291
  @pulumi.getter(name="usePathStyle")
1359
- def use_path_style(self) -> Optional[bool]:
1292
+ def use_path_style(self) -> Optional[_builtins.bool]:
1360
1293
  """
1361
1294
  Uses `bucket` in the URL instead of hostname when `true`.
1362
1295
  """
@@ -1366,9 +1299,9 @@ class CacheToS3(dict):
1366
1299
  @pulumi.output_type
1367
1300
  class Context(dict):
1368
1301
  def __init__(__self__, *,
1369
- location: str):
1302
+ location: _builtins.str):
1370
1303
  """
1371
- :param str location: Resources to use for build context.
1304
+ :param _builtins.str location: Resources to use for build context.
1372
1305
 
1373
1306
  The location can be:
1374
1307
  * A relative or absolute path to a local directory (`.`, `./app`,
@@ -1379,9 +1312,9 @@ class Context(dict):
1379
1312
  """
1380
1313
  pulumi.set(__self__, "location", location)
1381
1314
 
1382
- @property
1315
+ @_builtins.property
1383
1316
  @pulumi.getter
1384
- def location(self) -> str:
1317
+ def location(self) -> _builtins.str:
1385
1318
  """
1386
1319
  Resources to use for build context.
1387
1320
 
@@ -1398,15 +1331,15 @@ class Context(dict):
1398
1331
  @pulumi.output_type
1399
1332
  class Dockerfile(dict):
1400
1333
  def __init__(__self__, *,
1401
- inline: Optional[str] = None,
1402
- location: Optional[str] = None):
1334
+ inline: Optional[_builtins.str] = None,
1335
+ location: Optional[_builtins.str] = None):
1403
1336
  """
1404
- :param str inline: Raw Dockerfile contents.
1337
+ :param _builtins.str inline: Raw Dockerfile contents.
1405
1338
 
1406
1339
  Conflicts with `location`.
1407
1340
 
1408
1341
  Equivalent to invoking Docker with `-f -`.
1409
- :param str location: Location of the Dockerfile to use.
1342
+ :param _builtins.str location: Location of the Dockerfile to use.
1410
1343
 
1411
1344
  Can be a relative or absolute path to a local file, or a remote URL.
1412
1345
 
@@ -1419,9 +1352,9 @@ class Dockerfile(dict):
1419
1352
  if location is not None:
1420
1353
  pulumi.set(__self__, "location", location)
1421
1354
 
1422
- @property
1355
+ @_builtins.property
1423
1356
  @pulumi.getter
1424
- def inline(self) -> Optional[str]:
1357
+ def inline(self) -> Optional[_builtins.str]:
1425
1358
  """
1426
1359
  Raw Dockerfile contents.
1427
1360
 
@@ -1431,9 +1364,9 @@ class Dockerfile(dict):
1431
1364
  """
1432
1365
  return pulumi.get(self, "inline")
1433
1366
 
1434
- @property
1367
+ @_builtins.property
1435
1368
  @pulumi.getter
1436
- def location(self) -> Optional[str]:
1369
+ def location(self) -> Optional[_builtins.str]:
1437
1370
  """
1438
1371
  Location of the Dockerfile to use.
1439
1372
 
@@ -1450,23 +1383,23 @@ class Dockerfile(dict):
1450
1383
  class Export(dict):
1451
1384
  def __init__(__self__, *,
1452
1385
  cacheonly: Optional['outputs.ExportCacheOnly'] = None,
1453
- disabled: Optional[bool] = None,
1386
+ disabled: Optional[_builtins.bool] = None,
1454
1387
  docker: Optional['outputs.ExportDocker'] = None,
1455
1388
  image: Optional['outputs.ExportImage'] = None,
1456
1389
  local: Optional['outputs.ExportLocal'] = None,
1457
1390
  oci: Optional['outputs.ExportOCI'] = None,
1458
- raw: Optional[str] = None,
1391
+ raw: Optional[_builtins.str] = None,
1459
1392
  registry: Optional['outputs.ExportRegistry'] = None,
1460
1393
  tar: Optional['outputs.ExportTar'] = None):
1461
1394
  """
1462
1395
  :param 'ExportCacheOnly' cacheonly: A no-op export. Helpful for silencing the 'no exports' warning if you
1463
1396
  just want to populate caches.
1464
- :param bool disabled: When `true` this entry will be excluded. Defaults to `false`.
1397
+ :param _builtins.bool disabled: When `true` this entry will be excluded. Defaults to `false`.
1465
1398
  :param 'ExportDocker' docker: Export as a Docker image layout.
1466
1399
  :param 'ExportImage' image: Outputs the build result into a container image format.
1467
1400
  :param 'ExportLocal' local: Export to a local directory as files and directories.
1468
1401
  :param 'ExportOCI' oci: Identical to the Docker exporter but uses OCI media types by default.
1469
- :param str raw: A raw string as you would provide it to the Docker CLI (e.g.,
1402
+ :param _builtins.str raw: A raw string as you would provide it to the Docker CLI (e.g.,
1470
1403
  `type=docker`)
1471
1404
  :param 'ExportRegistry' registry: Identical to the Image exporter, but pushes by default.
1472
1405
  :param 'ExportTar' tar: Export to a local directory as a tarball.
@@ -1490,7 +1423,7 @@ class Export(dict):
1490
1423
  if tar is not None:
1491
1424
  pulumi.set(__self__, "tar", tar)
1492
1425
 
1493
- @property
1426
+ @_builtins.property
1494
1427
  @pulumi.getter
1495
1428
  def cacheonly(self) -> Optional['outputs.ExportCacheOnly']:
1496
1429
  """
@@ -1499,15 +1432,15 @@ class Export(dict):
1499
1432
  """
1500
1433
  return pulumi.get(self, "cacheonly")
1501
1434
 
1502
- @property
1435
+ @_builtins.property
1503
1436
  @pulumi.getter
1504
- def disabled(self) -> Optional[bool]:
1437
+ def disabled(self) -> Optional[_builtins.bool]:
1505
1438
  """
1506
1439
  When `true` this entry will be excluded. Defaults to `false`.
1507
1440
  """
1508
1441
  return pulumi.get(self, "disabled")
1509
1442
 
1510
- @property
1443
+ @_builtins.property
1511
1444
  @pulumi.getter
1512
1445
  def docker(self) -> Optional['outputs.ExportDocker']:
1513
1446
  """
@@ -1515,7 +1448,7 @@ class Export(dict):
1515
1448
  """
1516
1449
  return pulumi.get(self, "docker")
1517
1450
 
1518
- @property
1451
+ @_builtins.property
1519
1452
  @pulumi.getter
1520
1453
  def image(self) -> Optional['outputs.ExportImage']:
1521
1454
  """
@@ -1523,7 +1456,7 @@ class Export(dict):
1523
1456
  """
1524
1457
  return pulumi.get(self, "image")
1525
1458
 
1526
- @property
1459
+ @_builtins.property
1527
1460
  @pulumi.getter
1528
1461
  def local(self) -> Optional['outputs.ExportLocal']:
1529
1462
  """
@@ -1531,7 +1464,7 @@ class Export(dict):
1531
1464
  """
1532
1465
  return pulumi.get(self, "local")
1533
1466
 
1534
- @property
1467
+ @_builtins.property
1535
1468
  @pulumi.getter
1536
1469
  def oci(self) -> Optional['outputs.ExportOCI']:
1537
1470
  """
@@ -1539,16 +1472,16 @@ class Export(dict):
1539
1472
  """
1540
1473
  return pulumi.get(self, "oci")
1541
1474
 
1542
- @property
1475
+ @_builtins.property
1543
1476
  @pulumi.getter
1544
- def raw(self) -> Optional[str]:
1477
+ def raw(self) -> Optional[_builtins.str]:
1545
1478
  """
1546
1479
  A raw string as you would provide it to the Docker CLI (e.g.,
1547
1480
  `type=docker`)
1548
1481
  """
1549
1482
  return pulumi.get(self, "raw")
1550
1483
 
1551
- @property
1484
+ @_builtins.property
1552
1485
  @pulumi.getter
1553
1486
  def registry(self) -> Optional['outputs.ExportRegistry']:
1554
1487
  """
@@ -1556,7 +1489,7 @@ class Export(dict):
1556
1489
  """
1557
1490
  return pulumi.get(self, "registry")
1558
1491
 
1559
- @property
1492
+ @_builtins.property
1560
1493
  @pulumi.getter
1561
1494
  def tar(self) -> Optional['outputs.ExportTar']:
1562
1495
  """
@@ -1595,23 +1528,23 @@ class ExportDocker(dict):
1595
1528
  return super().get(key, default)
1596
1529
 
1597
1530
  def __init__(__self__, *,
1598
- annotations: Optional[Mapping[str, str]] = None,
1531
+ annotations: Optional[Mapping[str, _builtins.str]] = None,
1599
1532
  compression: Optional['CompressionType'] = None,
1600
- compression_level: Optional[int] = None,
1601
- dest: Optional[str] = None,
1602
- force_compression: Optional[bool] = None,
1603
- names: Optional[Sequence[str]] = None,
1604
- oci_media_types: Optional[bool] = None,
1605
- tar: Optional[bool] = None):
1606
- """
1607
- :param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
1533
+ compression_level: Optional[_builtins.int] = None,
1534
+ dest: Optional[_builtins.str] = None,
1535
+ force_compression: Optional[_builtins.bool] = None,
1536
+ names: Optional[Sequence[_builtins.str]] = None,
1537
+ oci_media_types: Optional[_builtins.bool] = None,
1538
+ tar: Optional[_builtins.bool] = None):
1539
+ """
1540
+ :param Mapping[str, _builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
1608
1541
  :param 'CompressionType' compression: The compression type to use.
1609
- :param int compression_level: Compression level from 0 to 22.
1610
- :param str dest: The local export path.
1611
- :param bool force_compression: Forcefully apply compression.
1612
- :param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
1613
- :param bool oci_media_types: Use OCI media types in exporter manifests.
1614
- :param bool tar: Bundle the output into a tarball layout.
1542
+ :param _builtins.int compression_level: Compression level from 0 to 22.
1543
+ :param _builtins.str dest: The local export path.
1544
+ :param _builtins.bool force_compression: Forcefully apply compression.
1545
+ :param Sequence[_builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
1546
+ :param _builtins.bool oci_media_types: Use OCI media types in exporter manifests.
1547
+ :param _builtins.bool tar: Bundle the output into a tarball layout.
1615
1548
  """
1616
1549
  if annotations is not None:
1617
1550
  pulumi.set(__self__, "annotations", annotations)
@@ -1640,15 +1573,15 @@ class ExportDocker(dict):
1640
1573
  if tar is not None:
1641
1574
  pulumi.set(__self__, "tar", tar)
1642
1575
 
1643
- @property
1576
+ @_builtins.property
1644
1577
  @pulumi.getter
1645
- def annotations(self) -> Optional[Mapping[str, str]]:
1578
+ def annotations(self) -> Optional[Mapping[str, _builtins.str]]:
1646
1579
  """
1647
1580
  Attach an arbitrary key/value annotation to the image.
1648
1581
  """
1649
1582
  return pulumi.get(self, "annotations")
1650
1583
 
1651
- @property
1584
+ @_builtins.property
1652
1585
  @pulumi.getter
1653
1586
  def compression(self) -> Optional['CompressionType']:
1654
1587
  """
@@ -1656,49 +1589,49 @@ class ExportDocker(dict):
1656
1589
  """
1657
1590
  return pulumi.get(self, "compression")
1658
1591
 
1659
- @property
1592
+ @_builtins.property
1660
1593
  @pulumi.getter(name="compressionLevel")
1661
- def compression_level(self) -> Optional[int]:
1594
+ def compression_level(self) -> Optional[_builtins.int]:
1662
1595
  """
1663
1596
  Compression level from 0 to 22.
1664
1597
  """
1665
1598
  return pulumi.get(self, "compression_level")
1666
1599
 
1667
- @property
1600
+ @_builtins.property
1668
1601
  @pulumi.getter
1669
- def dest(self) -> Optional[str]:
1602
+ def dest(self) -> Optional[_builtins.str]:
1670
1603
  """
1671
1604
  The local export path.
1672
1605
  """
1673
1606
  return pulumi.get(self, "dest")
1674
1607
 
1675
- @property
1608
+ @_builtins.property
1676
1609
  @pulumi.getter(name="forceCompression")
1677
- def force_compression(self) -> Optional[bool]:
1610
+ def force_compression(self) -> Optional[_builtins.bool]:
1678
1611
  """
1679
1612
  Forcefully apply compression.
1680
1613
  """
1681
1614
  return pulumi.get(self, "force_compression")
1682
1615
 
1683
- @property
1616
+ @_builtins.property
1684
1617
  @pulumi.getter
1685
- def names(self) -> Optional[Sequence[str]]:
1618
+ def names(self) -> Optional[Sequence[_builtins.str]]:
1686
1619
  """
1687
1620
  Specify images names to export. This is overridden if tags are already specified.
1688
1621
  """
1689
1622
  return pulumi.get(self, "names")
1690
1623
 
1691
- @property
1624
+ @_builtins.property
1692
1625
  @pulumi.getter(name="ociMediaTypes")
1693
- def oci_media_types(self) -> Optional[bool]:
1626
+ def oci_media_types(self) -> Optional[_builtins.bool]:
1694
1627
  """
1695
1628
  Use OCI media types in exporter manifests.
1696
1629
  """
1697
1630
  return pulumi.get(self, "oci_media_types")
1698
1631
 
1699
- @property
1632
+ @_builtins.property
1700
1633
  @pulumi.getter
1701
- def tar(self) -> Optional[bool]:
1634
+ def tar(self) -> Optional[_builtins.bool]:
1702
1635
  """
1703
1636
  Bundle the output into a tarball layout.
1704
1637
  """
@@ -1735,39 +1668,39 @@ class ExportImage(dict):
1735
1668
  return super().get(key, default)
1736
1669
 
1737
1670
  def __init__(__self__, *,
1738
- annotations: Optional[Mapping[str, str]] = None,
1671
+ annotations: Optional[Mapping[str, _builtins.str]] = None,
1739
1672
  compression: Optional['CompressionType'] = None,
1740
- compression_level: Optional[int] = None,
1741
- dangling_name_prefix: Optional[str] = None,
1742
- force_compression: Optional[bool] = None,
1743
- insecure: Optional[bool] = None,
1744
- name_canonical: Optional[bool] = None,
1745
- names: Optional[Sequence[str]] = None,
1746
- oci_media_types: Optional[bool] = None,
1747
- push: Optional[bool] = None,
1748
- push_by_digest: Optional[bool] = None,
1749
- store: Optional[bool] = None,
1750
- unpack: Optional[bool] = None):
1751
- """
1752
- :param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
1673
+ compression_level: Optional[_builtins.int] = None,
1674
+ dangling_name_prefix: Optional[_builtins.str] = None,
1675
+ force_compression: Optional[_builtins.bool] = None,
1676
+ insecure: Optional[_builtins.bool] = None,
1677
+ name_canonical: Optional[_builtins.bool] = None,
1678
+ names: Optional[Sequence[_builtins.str]] = None,
1679
+ oci_media_types: Optional[_builtins.bool] = None,
1680
+ push: Optional[_builtins.bool] = None,
1681
+ push_by_digest: Optional[_builtins.bool] = None,
1682
+ store: Optional[_builtins.bool] = None,
1683
+ unpack: Optional[_builtins.bool] = None):
1684
+ """
1685
+ :param Mapping[str, _builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
1753
1686
  :param 'CompressionType' compression: The compression type to use.
1754
- :param int compression_level: Compression level from 0 to 22.
1755
- :param str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
1756
- :param bool force_compression: Forcefully apply compression.
1757
- :param bool insecure: Allow pushing to an insecure registry.
1758
- :param bool name_canonical: Add additional canonical name (`name@<digest>`).
1759
- :param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
1760
- :param bool oci_media_types: Use OCI media types in exporter manifests.
1761
- :param bool push: Push after creating the image. Defaults to `false`.
1762
- :param bool push_by_digest: Push image without name.
1763
- :param bool store: Store resulting images to the worker's image store and ensure all of
1687
+ :param _builtins.int compression_level: Compression level from 0 to 22.
1688
+ :param _builtins.str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
1689
+ :param _builtins.bool force_compression: Forcefully apply compression.
1690
+ :param _builtins.bool insecure: Allow pushing to an insecure registry.
1691
+ :param _builtins.bool name_canonical: Add additional canonical name (`name@<digest>`).
1692
+ :param Sequence[_builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
1693
+ :param _builtins.bool oci_media_types: Use OCI media types in exporter manifests.
1694
+ :param _builtins.bool push: Push after creating the image. Defaults to `false`.
1695
+ :param _builtins.bool push_by_digest: Push image without name.
1696
+ :param _builtins.bool store: Store resulting images to the worker's image store and ensure all of
1764
1697
  its blobs are in the content store.
1765
1698
 
1766
1699
  Defaults to `true`.
1767
1700
 
1768
1701
  Ignored if the worker doesn't have image store (when using OCI workers,
1769
1702
  for example).
1770
- :param bool unpack: Unpack image after creation (for use with containerd). Defaults to
1703
+ :param _builtins.bool unpack: Unpack image after creation (for use with containerd). Defaults to
1771
1704
  `false`.
1772
1705
  """
1773
1706
  if annotations is not None:
@@ -1807,15 +1740,15 @@ class ExportImage(dict):
1807
1740
  if unpack is not None:
1808
1741
  pulumi.set(__self__, "unpack", unpack)
1809
1742
 
1810
- @property
1743
+ @_builtins.property
1811
1744
  @pulumi.getter
1812
- def annotations(self) -> Optional[Mapping[str, str]]:
1745
+ def annotations(self) -> Optional[Mapping[str, _builtins.str]]:
1813
1746
  """
1814
1747
  Attach an arbitrary key/value annotation to the image.
1815
1748
  """
1816
1749
  return pulumi.get(self, "annotations")
1817
1750
 
1818
- @property
1751
+ @_builtins.property
1819
1752
  @pulumi.getter
1820
1753
  def compression(self) -> Optional['CompressionType']:
1821
1754
  """
@@ -1823,81 +1756,81 @@ class ExportImage(dict):
1823
1756
  """
1824
1757
  return pulumi.get(self, "compression")
1825
1758
 
1826
- @property
1759
+ @_builtins.property
1827
1760
  @pulumi.getter(name="compressionLevel")
1828
- def compression_level(self) -> Optional[int]:
1761
+ def compression_level(self) -> Optional[_builtins.int]:
1829
1762
  """
1830
1763
  Compression level from 0 to 22.
1831
1764
  """
1832
1765
  return pulumi.get(self, "compression_level")
1833
1766
 
1834
- @property
1767
+ @_builtins.property
1835
1768
  @pulumi.getter(name="danglingNamePrefix")
1836
- def dangling_name_prefix(self) -> Optional[str]:
1769
+ def dangling_name_prefix(self) -> Optional[_builtins.str]:
1837
1770
  """
1838
1771
  Name image with `prefix@<digest>`, used for anonymous images.
1839
1772
  """
1840
1773
  return pulumi.get(self, "dangling_name_prefix")
1841
1774
 
1842
- @property
1775
+ @_builtins.property
1843
1776
  @pulumi.getter(name="forceCompression")
1844
- def force_compression(self) -> Optional[bool]:
1777
+ def force_compression(self) -> Optional[_builtins.bool]:
1845
1778
  """
1846
1779
  Forcefully apply compression.
1847
1780
  """
1848
1781
  return pulumi.get(self, "force_compression")
1849
1782
 
1850
- @property
1783
+ @_builtins.property
1851
1784
  @pulumi.getter
1852
- def insecure(self) -> Optional[bool]:
1785
+ def insecure(self) -> Optional[_builtins.bool]:
1853
1786
  """
1854
1787
  Allow pushing to an insecure registry.
1855
1788
  """
1856
1789
  return pulumi.get(self, "insecure")
1857
1790
 
1858
- @property
1791
+ @_builtins.property
1859
1792
  @pulumi.getter(name="nameCanonical")
1860
- def name_canonical(self) -> Optional[bool]:
1793
+ def name_canonical(self) -> Optional[_builtins.bool]:
1861
1794
  """
1862
1795
  Add additional canonical name (`name@<digest>`).
1863
1796
  """
1864
1797
  return pulumi.get(self, "name_canonical")
1865
1798
 
1866
- @property
1799
+ @_builtins.property
1867
1800
  @pulumi.getter
1868
- def names(self) -> Optional[Sequence[str]]:
1801
+ def names(self) -> Optional[Sequence[_builtins.str]]:
1869
1802
  """
1870
1803
  Specify images names to export. This is overridden if tags are already specified.
1871
1804
  """
1872
1805
  return pulumi.get(self, "names")
1873
1806
 
1874
- @property
1807
+ @_builtins.property
1875
1808
  @pulumi.getter(name="ociMediaTypes")
1876
- def oci_media_types(self) -> Optional[bool]:
1809
+ def oci_media_types(self) -> Optional[_builtins.bool]:
1877
1810
  """
1878
1811
  Use OCI media types in exporter manifests.
1879
1812
  """
1880
1813
  return pulumi.get(self, "oci_media_types")
1881
1814
 
1882
- @property
1815
+ @_builtins.property
1883
1816
  @pulumi.getter
1884
- def push(self) -> Optional[bool]:
1817
+ def push(self) -> Optional[_builtins.bool]:
1885
1818
  """
1886
1819
  Push after creating the image. Defaults to `false`.
1887
1820
  """
1888
1821
  return pulumi.get(self, "push")
1889
1822
 
1890
- @property
1823
+ @_builtins.property
1891
1824
  @pulumi.getter(name="pushByDigest")
1892
- def push_by_digest(self) -> Optional[bool]:
1825
+ def push_by_digest(self) -> Optional[_builtins.bool]:
1893
1826
  """
1894
1827
  Push image without name.
1895
1828
  """
1896
1829
  return pulumi.get(self, "push_by_digest")
1897
1830
 
1898
- @property
1831
+ @_builtins.property
1899
1832
  @pulumi.getter
1900
- def store(self) -> Optional[bool]:
1833
+ def store(self) -> Optional[_builtins.bool]:
1901
1834
  """
1902
1835
  Store resulting images to the worker's image store and ensure all of
1903
1836
  its blobs are in the content store.
@@ -1909,9 +1842,9 @@ class ExportImage(dict):
1909
1842
  """
1910
1843
  return pulumi.get(self, "store")
1911
1844
 
1912
- @property
1845
+ @_builtins.property
1913
1846
  @pulumi.getter
1914
- def unpack(self) -> Optional[bool]:
1847
+ def unpack(self) -> Optional[_builtins.bool]:
1915
1848
  """
1916
1849
  Unpack image after creation (for use with containerd). Defaults to
1917
1850
  `false`.
@@ -1922,15 +1855,15 @@ class ExportImage(dict):
1922
1855
  @pulumi.output_type
1923
1856
  class ExportLocal(dict):
1924
1857
  def __init__(__self__, *,
1925
- dest: str):
1858
+ dest: _builtins.str):
1926
1859
  """
1927
- :param str dest: Output path.
1860
+ :param _builtins.str dest: Output path.
1928
1861
  """
1929
1862
  pulumi.set(__self__, "dest", dest)
1930
1863
 
1931
- @property
1864
+ @_builtins.property
1932
1865
  @pulumi.getter
1933
- def dest(self) -> str:
1866
+ def dest(self) -> _builtins.str:
1934
1867
  """
1935
1868
  Output path.
1936
1869
  """
@@ -1961,23 +1894,23 @@ class ExportOCI(dict):
1961
1894
  return super().get(key, default)
1962
1895
 
1963
1896
  def __init__(__self__, *,
1964
- annotations: Optional[Mapping[str, str]] = None,
1897
+ annotations: Optional[Mapping[str, _builtins.str]] = None,
1965
1898
  compression: Optional['CompressionType'] = None,
1966
- compression_level: Optional[int] = None,
1967
- dest: Optional[str] = None,
1968
- force_compression: Optional[bool] = None,
1969
- names: Optional[Sequence[str]] = None,
1970
- oci_media_types: Optional[bool] = None,
1971
- tar: Optional[bool] = None):
1972
- """
1973
- :param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
1899
+ compression_level: Optional[_builtins.int] = None,
1900
+ dest: Optional[_builtins.str] = None,
1901
+ force_compression: Optional[_builtins.bool] = None,
1902
+ names: Optional[Sequence[_builtins.str]] = None,
1903
+ oci_media_types: Optional[_builtins.bool] = None,
1904
+ tar: Optional[_builtins.bool] = None):
1905
+ """
1906
+ :param Mapping[str, _builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
1974
1907
  :param 'CompressionType' compression: The compression type to use.
1975
- :param int compression_level: Compression level from 0 to 22.
1976
- :param str dest: The local export path.
1977
- :param bool force_compression: Forcefully apply compression.
1978
- :param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
1979
- :param bool oci_media_types: Use OCI media types in exporter manifests.
1980
- :param bool tar: Bundle the output into a tarball layout.
1908
+ :param _builtins.int compression_level: Compression level from 0 to 22.
1909
+ :param _builtins.str dest: The local export path.
1910
+ :param _builtins.bool force_compression: Forcefully apply compression.
1911
+ :param Sequence[_builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
1912
+ :param _builtins.bool oci_media_types: Use OCI media types in exporter manifests.
1913
+ :param _builtins.bool tar: Bundle the output into a tarball layout.
1981
1914
  """
1982
1915
  if annotations is not None:
1983
1916
  pulumi.set(__self__, "annotations", annotations)
@@ -2006,15 +1939,15 @@ class ExportOCI(dict):
2006
1939
  if tar is not None:
2007
1940
  pulumi.set(__self__, "tar", tar)
2008
1941
 
2009
- @property
1942
+ @_builtins.property
2010
1943
  @pulumi.getter
2011
- def annotations(self) -> Optional[Mapping[str, str]]:
1944
+ def annotations(self) -> Optional[Mapping[str, _builtins.str]]:
2012
1945
  """
2013
1946
  Attach an arbitrary key/value annotation to the image.
2014
1947
  """
2015
1948
  return pulumi.get(self, "annotations")
2016
1949
 
2017
- @property
1950
+ @_builtins.property
2018
1951
  @pulumi.getter
2019
1952
  def compression(self) -> Optional['CompressionType']:
2020
1953
  """
@@ -2022,49 +1955,49 @@ class ExportOCI(dict):
2022
1955
  """
2023
1956
  return pulumi.get(self, "compression")
2024
1957
 
2025
- @property
1958
+ @_builtins.property
2026
1959
  @pulumi.getter(name="compressionLevel")
2027
- def compression_level(self) -> Optional[int]:
1960
+ def compression_level(self) -> Optional[_builtins.int]:
2028
1961
  """
2029
1962
  Compression level from 0 to 22.
2030
1963
  """
2031
1964
  return pulumi.get(self, "compression_level")
2032
1965
 
2033
- @property
1966
+ @_builtins.property
2034
1967
  @pulumi.getter
2035
- def dest(self) -> Optional[str]:
1968
+ def dest(self) -> Optional[_builtins.str]:
2036
1969
  """
2037
1970
  The local export path.
2038
1971
  """
2039
1972
  return pulumi.get(self, "dest")
2040
1973
 
2041
- @property
1974
+ @_builtins.property
2042
1975
  @pulumi.getter(name="forceCompression")
2043
- def force_compression(self) -> Optional[bool]:
1976
+ def force_compression(self) -> Optional[_builtins.bool]:
2044
1977
  """
2045
1978
  Forcefully apply compression.
2046
1979
  """
2047
1980
  return pulumi.get(self, "force_compression")
2048
1981
 
2049
- @property
1982
+ @_builtins.property
2050
1983
  @pulumi.getter
2051
- def names(self) -> Optional[Sequence[str]]:
1984
+ def names(self) -> Optional[Sequence[_builtins.str]]:
2052
1985
  """
2053
1986
  Specify images names to export. This is overridden if tags are already specified.
2054
1987
  """
2055
1988
  return pulumi.get(self, "names")
2056
1989
 
2057
- @property
1990
+ @_builtins.property
2058
1991
  @pulumi.getter(name="ociMediaTypes")
2059
- def oci_media_types(self) -> Optional[bool]:
1992
+ def oci_media_types(self) -> Optional[_builtins.bool]:
2060
1993
  """
2061
1994
  Use OCI media types in exporter manifests.
2062
1995
  """
2063
1996
  return pulumi.get(self, "oci_media_types")
2064
1997
 
2065
- @property
1998
+ @_builtins.property
2066
1999
  @pulumi.getter
2067
- def tar(self) -> Optional[bool]:
2000
+ def tar(self) -> Optional[_builtins.bool]:
2068
2001
  """
2069
2002
  Bundle the output into a tarball layout.
2070
2003
  """
@@ -2101,39 +2034,39 @@ class ExportRegistry(dict):
2101
2034
  return super().get(key, default)
2102
2035
 
2103
2036
  def __init__(__self__, *,
2104
- annotations: Optional[Mapping[str, str]] = None,
2037
+ annotations: Optional[Mapping[str, _builtins.str]] = None,
2105
2038
  compression: Optional['CompressionType'] = None,
2106
- compression_level: Optional[int] = None,
2107
- dangling_name_prefix: Optional[str] = None,
2108
- force_compression: Optional[bool] = None,
2109
- insecure: Optional[bool] = None,
2110
- name_canonical: Optional[bool] = None,
2111
- names: Optional[Sequence[str]] = None,
2112
- oci_media_types: Optional[bool] = None,
2113
- push: Optional[bool] = None,
2114
- push_by_digest: Optional[bool] = None,
2115
- store: Optional[bool] = None,
2116
- unpack: Optional[bool] = None):
2117
- """
2118
- :param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
2039
+ compression_level: Optional[_builtins.int] = None,
2040
+ dangling_name_prefix: Optional[_builtins.str] = None,
2041
+ force_compression: Optional[_builtins.bool] = None,
2042
+ insecure: Optional[_builtins.bool] = None,
2043
+ name_canonical: Optional[_builtins.bool] = None,
2044
+ names: Optional[Sequence[_builtins.str]] = None,
2045
+ oci_media_types: Optional[_builtins.bool] = None,
2046
+ push: Optional[_builtins.bool] = None,
2047
+ push_by_digest: Optional[_builtins.bool] = None,
2048
+ store: Optional[_builtins.bool] = None,
2049
+ unpack: Optional[_builtins.bool] = None):
2050
+ """
2051
+ :param Mapping[str, _builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
2119
2052
  :param 'CompressionType' compression: The compression type to use.
2120
- :param int compression_level: Compression level from 0 to 22.
2121
- :param str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
2122
- :param bool force_compression: Forcefully apply compression.
2123
- :param bool insecure: Allow pushing to an insecure registry.
2124
- :param bool name_canonical: Add additional canonical name (`name@<digest>`).
2125
- :param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
2126
- :param bool oci_media_types: Use OCI media types in exporter manifests.
2127
- :param bool push: Push after creating the image. Defaults to `true`.
2128
- :param bool push_by_digest: Push image without name.
2129
- :param bool store: Store resulting images to the worker's image store and ensure all of
2053
+ :param _builtins.int compression_level: Compression level from 0 to 22.
2054
+ :param _builtins.str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
2055
+ :param _builtins.bool force_compression: Forcefully apply compression.
2056
+ :param _builtins.bool insecure: Allow pushing to an insecure registry.
2057
+ :param _builtins.bool name_canonical: Add additional canonical name (`name@<digest>`).
2058
+ :param Sequence[_builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
2059
+ :param _builtins.bool oci_media_types: Use OCI media types in exporter manifests.
2060
+ :param _builtins.bool push: Push after creating the image. Defaults to `true`.
2061
+ :param _builtins.bool push_by_digest: Push image without name.
2062
+ :param _builtins.bool store: Store resulting images to the worker's image store and ensure all of
2130
2063
  its blobs are in the content store.
2131
2064
 
2132
2065
  Defaults to `true`.
2133
2066
 
2134
2067
  Ignored if the worker doesn't have image store (when using OCI workers,
2135
2068
  for example).
2136
- :param bool unpack: Unpack image after creation (for use with containerd). Defaults to
2069
+ :param _builtins.bool unpack: Unpack image after creation (for use with containerd). Defaults to
2137
2070
  `false`.
2138
2071
  """
2139
2072
  if annotations is not None:
@@ -2175,15 +2108,15 @@ class ExportRegistry(dict):
2175
2108
  if unpack is not None:
2176
2109
  pulumi.set(__self__, "unpack", unpack)
2177
2110
 
2178
- @property
2111
+ @_builtins.property
2179
2112
  @pulumi.getter
2180
- def annotations(self) -> Optional[Mapping[str, str]]:
2113
+ def annotations(self) -> Optional[Mapping[str, _builtins.str]]:
2181
2114
  """
2182
2115
  Attach an arbitrary key/value annotation to the image.
2183
2116
  """
2184
2117
  return pulumi.get(self, "annotations")
2185
2118
 
2186
- @property
2119
+ @_builtins.property
2187
2120
  @pulumi.getter
2188
2121
  def compression(self) -> Optional['CompressionType']:
2189
2122
  """
@@ -2191,81 +2124,81 @@ class ExportRegistry(dict):
2191
2124
  """
2192
2125
  return pulumi.get(self, "compression")
2193
2126
 
2194
- @property
2127
+ @_builtins.property
2195
2128
  @pulumi.getter(name="compressionLevel")
2196
- def compression_level(self) -> Optional[int]:
2129
+ def compression_level(self) -> Optional[_builtins.int]:
2197
2130
  """
2198
2131
  Compression level from 0 to 22.
2199
2132
  """
2200
2133
  return pulumi.get(self, "compression_level")
2201
2134
 
2202
- @property
2135
+ @_builtins.property
2203
2136
  @pulumi.getter(name="danglingNamePrefix")
2204
- def dangling_name_prefix(self) -> Optional[str]:
2137
+ def dangling_name_prefix(self) -> Optional[_builtins.str]:
2205
2138
  """
2206
2139
  Name image with `prefix@<digest>`, used for anonymous images.
2207
2140
  """
2208
2141
  return pulumi.get(self, "dangling_name_prefix")
2209
2142
 
2210
- @property
2143
+ @_builtins.property
2211
2144
  @pulumi.getter(name="forceCompression")
2212
- def force_compression(self) -> Optional[bool]:
2145
+ def force_compression(self) -> Optional[_builtins.bool]:
2213
2146
  """
2214
2147
  Forcefully apply compression.
2215
2148
  """
2216
2149
  return pulumi.get(self, "force_compression")
2217
2150
 
2218
- @property
2151
+ @_builtins.property
2219
2152
  @pulumi.getter
2220
- def insecure(self) -> Optional[bool]:
2153
+ def insecure(self) -> Optional[_builtins.bool]:
2221
2154
  """
2222
2155
  Allow pushing to an insecure registry.
2223
2156
  """
2224
2157
  return pulumi.get(self, "insecure")
2225
2158
 
2226
- @property
2159
+ @_builtins.property
2227
2160
  @pulumi.getter(name="nameCanonical")
2228
- def name_canonical(self) -> Optional[bool]:
2161
+ def name_canonical(self) -> Optional[_builtins.bool]:
2229
2162
  """
2230
2163
  Add additional canonical name (`name@<digest>`).
2231
2164
  """
2232
2165
  return pulumi.get(self, "name_canonical")
2233
2166
 
2234
- @property
2167
+ @_builtins.property
2235
2168
  @pulumi.getter
2236
- def names(self) -> Optional[Sequence[str]]:
2169
+ def names(self) -> Optional[Sequence[_builtins.str]]:
2237
2170
  """
2238
2171
  Specify images names to export. This is overridden if tags are already specified.
2239
2172
  """
2240
2173
  return pulumi.get(self, "names")
2241
2174
 
2242
- @property
2175
+ @_builtins.property
2243
2176
  @pulumi.getter(name="ociMediaTypes")
2244
- def oci_media_types(self) -> Optional[bool]:
2177
+ def oci_media_types(self) -> Optional[_builtins.bool]:
2245
2178
  """
2246
2179
  Use OCI media types in exporter manifests.
2247
2180
  """
2248
2181
  return pulumi.get(self, "oci_media_types")
2249
2182
 
2250
- @property
2183
+ @_builtins.property
2251
2184
  @pulumi.getter
2252
- def push(self) -> Optional[bool]:
2185
+ def push(self) -> Optional[_builtins.bool]:
2253
2186
  """
2254
2187
  Push after creating the image. Defaults to `true`.
2255
2188
  """
2256
2189
  return pulumi.get(self, "push")
2257
2190
 
2258
- @property
2191
+ @_builtins.property
2259
2192
  @pulumi.getter(name="pushByDigest")
2260
- def push_by_digest(self) -> Optional[bool]:
2193
+ def push_by_digest(self) -> Optional[_builtins.bool]:
2261
2194
  """
2262
2195
  Push image without name.
2263
2196
  """
2264
2197
  return pulumi.get(self, "push_by_digest")
2265
2198
 
2266
- @property
2199
+ @_builtins.property
2267
2200
  @pulumi.getter
2268
- def store(self) -> Optional[bool]:
2201
+ def store(self) -> Optional[_builtins.bool]:
2269
2202
  """
2270
2203
  Store resulting images to the worker's image store and ensure all of
2271
2204
  its blobs are in the content store.
@@ -2277,9 +2210,9 @@ class ExportRegistry(dict):
2277
2210
  """
2278
2211
  return pulumi.get(self, "store")
2279
2212
 
2280
- @property
2213
+ @_builtins.property
2281
2214
  @pulumi.getter
2282
- def unpack(self) -> Optional[bool]:
2215
+ def unpack(self) -> Optional[_builtins.bool]:
2283
2216
  """
2284
2217
  Unpack image after creation (for use with containerd). Defaults to
2285
2218
  `false`.
@@ -2290,15 +2223,15 @@ class ExportRegistry(dict):
2290
2223
  @pulumi.output_type
2291
2224
  class ExportTar(dict):
2292
2225
  def __init__(__self__, *,
2293
- dest: str):
2226
+ dest: _builtins.str):
2294
2227
  """
2295
- :param str dest: Output path.
2228
+ :param _builtins.str dest: Output path.
2296
2229
  """
2297
2230
  pulumi.set(__self__, "dest", dest)
2298
2231
 
2299
- @property
2232
+ @_builtins.property
2300
2233
  @pulumi.getter
2301
- def dest(self) -> str:
2234
+ def dest(self) -> _builtins.str:
2302
2235
  """
2303
2236
  Output path.
2304
2237
  """
@@ -2308,13 +2241,13 @@ class ExportTar(dict):
2308
2241
  @pulumi.output_type
2309
2242
  class Registry(dict):
2310
2243
  def __init__(__self__, *,
2311
- address: str,
2312
- password: Optional[str] = None,
2313
- username: Optional[str] = None):
2244
+ address: _builtins.str,
2245
+ password: Optional[_builtins.str] = None,
2246
+ username: Optional[_builtins.str] = None):
2314
2247
  """
2315
- :param str address: The registry's address (e.g. "docker.io").
2316
- :param str password: Password or token for the registry.
2317
- :param str username: Username for the registry.
2248
+ :param _builtins.str address: The registry's address (e.g. "docker.io").
2249
+ :param _builtins.str password: Password or token for the registry.
2250
+ :param _builtins.str username: Username for the registry.
2318
2251
  """
2319
2252
  pulumi.set(__self__, "address", address)
2320
2253
  if password is not None:
@@ -2322,25 +2255,25 @@ class Registry(dict):
2322
2255
  if username is not None:
2323
2256
  pulumi.set(__self__, "username", username)
2324
2257
 
2325
- @property
2258
+ @_builtins.property
2326
2259
  @pulumi.getter
2327
- def address(self) -> str:
2260
+ def address(self) -> _builtins.str:
2328
2261
  """
2329
2262
  The registry's address (e.g. "docker.io").
2330
2263
  """
2331
2264
  return pulumi.get(self, "address")
2332
2265
 
2333
- @property
2266
+ @_builtins.property
2334
2267
  @pulumi.getter
2335
- def password(self) -> Optional[str]:
2268
+ def password(self) -> Optional[_builtins.str]:
2336
2269
  """
2337
2270
  Password or token for the registry.
2338
2271
  """
2339
2272
  return pulumi.get(self, "password")
2340
2273
 
2341
- @property
2274
+ @_builtins.property
2342
2275
  @pulumi.getter
2343
- def username(self) -> Optional[str]:
2276
+ def username(self) -> Optional[_builtins.str]:
2344
2277
  """
2345
2278
  Username for the registry.
2346
2279
  """
@@ -2350,14 +2283,14 @@ class Registry(dict):
2350
2283
  @pulumi.output_type
2351
2284
  class SSH(dict):
2352
2285
  def __init__(__self__, *,
2353
- id: str,
2354
- paths: Optional[Sequence[str]] = None):
2286
+ id: _builtins.str,
2287
+ paths: Optional[Sequence[_builtins.str]] = None):
2355
2288
  """
2356
- :param str id: Useful for distinguishing different servers that are part of the same
2289
+ :param _builtins.str id: Useful for distinguishing different servers that are part of the same
2357
2290
  build.
2358
2291
 
2359
2292
  A value of `default` is appropriate if only dealing with a single host.
2360
- :param Sequence[str] paths: SSH agent socket or private keys to expose to the build under the given
2293
+ :param Sequence[_builtins.str] paths: SSH agent socket or private keys to expose to the build under the given
2361
2294
  identifier.
2362
2295
 
2363
2296
  Defaults to `[$SSH_AUTH_SOCK]`.
@@ -2370,9 +2303,9 @@ class SSH(dict):
2370
2303
  if paths is not None:
2371
2304
  pulumi.set(__self__, "paths", paths)
2372
2305
 
2373
- @property
2306
+ @_builtins.property
2374
2307
  @pulumi.getter
2375
- def id(self) -> str:
2308
+ def id(self) -> _builtins.str:
2376
2309
  """
2377
2310
  Useful for distinguishing different servers that are part of the same
2378
2311
  build.
@@ -2381,9 +2314,9 @@ class SSH(dict):
2381
2314
  """
2382
2315
  return pulumi.get(self, "id")
2383
2316
 
2384
- @property
2317
+ @_builtins.property
2385
2318
  @pulumi.getter
2386
- def paths(self) -> Optional[Sequence[str]]:
2319
+ def paths(self) -> Optional[Sequence[_builtins.str]]:
2387
2320
  """
2388
2321
  SSH agent socket or private keys to expose to the build under the given
2389
2322
  identifier.