pulumi-docker-build 0.0.11__py3-none-any.whl → 0.0.13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-docker-build might be problematic. Click here for more details.

@@ -2,7 +2,7 @@
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
7
  import sys
8
8
  import pulumi
@@ -49,10 +49,10 @@ __all__ = [
49
49
  @pulumi.output_type
50
50
  class BuildContext(dict):
51
51
  def __init__(__self__, *,
52
- location: str,
52
+ location: _builtins.str,
53
53
  named: Optional[Mapping[str, 'outputs.Context']] = None):
54
54
  """
55
- :param str location: Resources to use for build context.
55
+ :param _builtins.str location: Resources to use for build context.
56
56
 
57
57
  The location can be:
58
58
  * A relative or absolute path to a local directory (`.`, `./app`,
@@ -71,9 +71,9 @@ class BuildContext(dict):
71
71
  if named is not None:
72
72
  pulumi.set(__self__, "named", named)
73
73
 
74
- @property
74
+ @_builtins.property
75
75
  @pulumi.getter
76
- def location(self) -> str:
76
+ def location(self) -> _builtins.str:
77
77
  """
78
78
  Resources to use for build context.
79
79
 
@@ -86,7 +86,7 @@ class BuildContext(dict):
86
86
  """
87
87
  return pulumi.get(self, "location")
88
88
 
89
- @property
89
+ @_builtins.property
90
90
  @pulumi.getter
91
91
  def named(self) -> Optional[Mapping[str, 'outputs.Context']]:
92
92
  """
@@ -103,9 +103,9 @@ class BuildContext(dict):
103
103
  @pulumi.output_type
104
104
  class BuilderConfig(dict):
105
105
  def __init__(__self__, *,
106
- name: Optional[str] = None):
106
+ name: Optional[_builtins.str] = None):
107
107
  """
108
- :param str name: Name of an existing buildx builder to use.
108
+ :param _builtins.str name: Name of an existing buildx builder to use.
109
109
 
110
110
  Only `docker-container`, `kubernetes`, or `remote` drivers are
111
111
  supported. The legacy `docker` driver is not supported.
@@ -115,9 +115,9 @@ class BuilderConfig(dict):
115
115
  if name is not None:
116
116
  pulumi.set(__self__, "name", name)
117
117
 
118
- @property
118
+ @_builtins.property
119
119
  @pulumi.getter
120
- def name(self) -> Optional[str]:
120
+ def name(self) -> Optional[_builtins.str]:
121
121
  """
122
122
  Name of an existing buildx builder to use.
123
123
 
@@ -133,21 +133,21 @@ class BuilderConfig(dict):
133
133
  class CacheFrom(dict):
134
134
  def __init__(__self__, *,
135
135
  azblob: Optional['outputs.CacheFromAzureBlob'] = None,
136
- disabled: Optional[bool] = None,
136
+ disabled: Optional[_builtins.bool] = None,
137
137
  gha: Optional['outputs.CacheFromGitHubActions'] = None,
138
138
  local: Optional['outputs.CacheFromLocal'] = None,
139
- raw: Optional[str] = None,
139
+ raw: Optional[_builtins.str] = None,
140
140
  registry: Optional['outputs.CacheFromRegistry'] = None,
141
141
  s3: Optional['outputs.CacheFromS3'] = None):
142
142
  """
143
143
  :param 'CacheFromAzureBlob' azblob: Upload build caches to Azure's blob storage service.
144
- :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`.
145
145
  :param 'CacheFromGitHubActions' gha: Recommended for use with GitHub Actions workflows.
146
146
 
147
147
  An action like `crazy-max/ghaction-github-runtime` is recommended to
148
148
  expose appropriate credentials to your GitHub workflow.
149
149
  :param 'CacheFromLocal' local: A simple backend which caches images on your local filesystem.
150
- :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.,
151
151
  `type=inline`).
152
152
  :param 'CacheFromRegistry' registry: Upload build caches to remote registries.
153
153
  :param 'CacheFromS3' s3: Upload build caches to AWS S3 or an S3-compatible services such as
@@ -168,7 +168,7 @@ class CacheFrom(dict):
168
168
  if s3 is not None:
169
169
  pulumi.set(__self__, "s3", s3)
170
170
 
171
- @property
171
+ @_builtins.property
172
172
  @pulumi.getter
173
173
  def azblob(self) -> Optional['outputs.CacheFromAzureBlob']:
174
174
  """
@@ -176,15 +176,15 @@ class CacheFrom(dict):
176
176
  """
177
177
  return pulumi.get(self, "azblob")
178
178
 
179
- @property
179
+ @_builtins.property
180
180
  @pulumi.getter
181
- def disabled(self) -> Optional[bool]:
181
+ def disabled(self) -> Optional[_builtins.bool]:
182
182
  """
183
183
  When `true` this entry will be excluded. Defaults to `false`.
184
184
  """
185
185
  return pulumi.get(self, "disabled")
186
186
 
187
- @property
187
+ @_builtins.property
188
188
  @pulumi.getter
189
189
  def gha(self) -> Optional['outputs.CacheFromGitHubActions']:
190
190
  """
@@ -195,7 +195,7 @@ class CacheFrom(dict):
195
195
  """
196
196
  return pulumi.get(self, "gha")
197
197
 
198
- @property
198
+ @_builtins.property
199
199
  @pulumi.getter
200
200
  def local(self) -> Optional['outputs.CacheFromLocal']:
201
201
  """
@@ -203,16 +203,16 @@ class CacheFrom(dict):
203
203
  """
204
204
  return pulumi.get(self, "local")
205
205
 
206
- @property
206
+ @_builtins.property
207
207
  @pulumi.getter
208
- def raw(self) -> Optional[str]:
208
+ def raw(self) -> Optional[_builtins.str]:
209
209
  """
210
210
  A raw string as you would provide it to the Docker CLI (e.g.,
211
211
  `type=inline`).
212
212
  """
213
213
  return pulumi.get(self, "raw")
214
214
 
215
- @property
215
+ @_builtins.property
216
216
  @pulumi.getter
217
217
  def registry(self) -> Optional['outputs.CacheFromRegistry']:
218
218
  """
@@ -220,7 +220,7 @@ class CacheFrom(dict):
220
220
  """
221
221
  return pulumi.get(self, "registry")
222
222
 
223
- @property
223
+ @_builtins.property
224
224
  @pulumi.getter
225
225
  def s3(self) -> Optional['outputs.CacheFromS3']:
226
226
  """
@@ -252,13 +252,13 @@ class CacheFromAzureBlob(dict):
252
252
  return super().get(key, default)
253
253
 
254
254
  def __init__(__self__, *,
255
- name: str,
256
- account_url: Optional[str] = None,
257
- 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):
258
258
  """
259
- :param str name: The name of the cache image.
260
- :param str account_url: Base URL of the storage account.
261
- :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.
262
262
  """
263
263
  pulumi.set(__self__, "name", name)
264
264
  if account_url is not None:
@@ -266,25 +266,25 @@ class CacheFromAzureBlob(dict):
266
266
  if secret_access_key is not None:
267
267
  pulumi.set(__self__, "secret_access_key", secret_access_key)
268
268
 
269
- @property
269
+ @_builtins.property
270
270
  @pulumi.getter
271
- def name(self) -> str:
271
+ def name(self) -> _builtins.str:
272
272
  """
273
273
  The name of the cache image.
274
274
  """
275
275
  return pulumi.get(self, "name")
276
276
 
277
- @property
277
+ @_builtins.property
278
278
  @pulumi.getter(name="accountUrl")
279
- def account_url(self) -> Optional[str]:
279
+ def account_url(self) -> Optional[_builtins.str]:
280
280
  """
281
281
  Base URL of the storage account.
282
282
  """
283
283
  return pulumi.get(self, "account_url")
284
284
 
285
- @property
285
+ @_builtins.property
286
286
  @pulumi.getter(name="secretAccessKey")
287
- def secret_access_key(self) -> Optional[str]:
287
+ def secret_access_key(self) -> Optional[_builtins.str]:
288
288
  """
289
289
  Blob storage account key.
290
290
  """
@@ -294,21 +294,21 @@ class CacheFromAzureBlob(dict):
294
294
  @pulumi.output_type
295
295
  class CacheFromGitHubActions(dict):
296
296
  def __init__(__self__, *,
297
- scope: Optional[str] = None,
298
- token: Optional[str] = None,
299
- url: Optional[str] = None):
297
+ scope: Optional[_builtins.str] = None,
298
+ token: Optional[_builtins.str] = None,
299
+ url: Optional[_builtins.str] = None):
300
300
  """
301
- :param str scope: The scope to use for cache keys. Defaults to `buildkit`.
301
+ :param _builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
302
302
 
303
303
  This should be set if building and caching multiple images in one
304
304
  workflow, otherwise caches will overwrite each other.
305
- :param str token: The GitHub Actions token to use. This is not a personal access tokens
305
+ :param _builtins.str token: The GitHub Actions token to use. This is not a personal access tokens
306
306
  and is typically generated automatically as part of each job.
307
307
 
308
308
  Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
309
309
  `crazy-max/ghaction-github-runtime` is recommended to expose this
310
310
  environment variable to your jobs.
311
- :param str url: The cache server URL to use for artifacts.
311
+ :param _builtins.str url: The cache server URL to use for artifacts.
312
312
 
313
313
  Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
314
314
  `crazy-max/ghaction-github-runtime` is recommended to expose this
@@ -327,9 +327,9 @@ class CacheFromGitHubActions(dict):
327
327
  if url is not None:
328
328
  pulumi.set(__self__, "url", url)
329
329
 
330
- @property
330
+ @_builtins.property
331
331
  @pulumi.getter
332
- def scope(self) -> Optional[str]:
332
+ def scope(self) -> Optional[_builtins.str]:
333
333
  """
334
334
  The scope to use for cache keys. Defaults to `buildkit`.
335
335
 
@@ -338,9 +338,9 @@ class CacheFromGitHubActions(dict):
338
338
  """
339
339
  return pulumi.get(self, "scope")
340
340
 
341
- @property
341
+ @_builtins.property
342
342
  @pulumi.getter
343
- def token(self) -> Optional[str]:
343
+ def token(self) -> Optional[_builtins.str]:
344
344
  """
345
345
  The GitHub Actions token to use. This is not a personal access tokens
346
346
  and is typically generated automatically as part of each job.
@@ -351,9 +351,9 @@ class CacheFromGitHubActions(dict):
351
351
  """
352
352
  return pulumi.get(self, "token")
353
353
 
354
- @property
354
+ @_builtins.property
355
355
  @pulumi.getter
356
- def url(self) -> Optional[str]:
356
+ def url(self) -> Optional[_builtins.str]:
357
357
  """
358
358
  The cache server URL to use for artifacts.
359
359
 
@@ -367,27 +367,27 @@ class CacheFromGitHubActions(dict):
367
367
  @pulumi.output_type
368
368
  class CacheFromLocal(dict):
369
369
  def __init__(__self__, *,
370
- src: str,
371
- digest: Optional[str] = None):
370
+ src: _builtins.str,
371
+ digest: Optional[_builtins.str] = None):
372
372
  """
373
- :param str src: Path of the local directory where cache gets imported from.
374
- :param str digest: Digest of manifest to import.
373
+ :param _builtins.str src: Path of the local directory where cache gets imported from.
374
+ :param _builtins.str digest: Digest of manifest to import.
375
375
  """
376
376
  pulumi.set(__self__, "src", src)
377
377
  if digest is not None:
378
378
  pulumi.set(__self__, "digest", digest)
379
379
 
380
- @property
380
+ @_builtins.property
381
381
  @pulumi.getter
382
- def src(self) -> str:
382
+ def src(self) -> _builtins.str:
383
383
  """
384
384
  Path of the local directory where cache gets imported from.
385
385
  """
386
386
  return pulumi.get(self, "src")
387
387
 
388
- @property
388
+ @_builtins.property
389
389
  @pulumi.getter
390
- def digest(self) -> Optional[str]:
390
+ def digest(self) -> Optional[_builtins.str]:
391
391
  """
392
392
  Digest of manifest to import.
393
393
  """
@@ -397,15 +397,15 @@ class CacheFromLocal(dict):
397
397
  @pulumi.output_type
398
398
  class CacheFromRegistry(dict):
399
399
  def __init__(__self__, *,
400
- ref: str):
400
+ ref: _builtins.str):
401
401
  """
402
- :param str ref: Fully qualified name of the cache image to import.
402
+ :param _builtins.str ref: Fully qualified name of the cache image to import.
403
403
  """
404
404
  pulumi.set(__self__, "ref", ref)
405
405
 
406
- @property
406
+ @_builtins.property
407
407
  @pulumi.getter
408
- def ref(self) -> str:
408
+ def ref(self) -> _builtins.str:
409
409
  """
410
410
  Fully qualified name of the cache image to import.
411
411
  """
@@ -444,27 +444,27 @@ class CacheFromS3(dict):
444
444
  return super().get(key, default)
445
445
 
446
446
  def __init__(__self__, *,
447
- bucket: str,
448
- region: Optional[str] = None,
449
- access_key_id: Optional[str] = None,
450
- blobs_prefix: Optional[str] = None,
451
- endpoint_url: Optional[str] = None,
452
- manifests_prefix: Optional[str] = None,
453
- name: Optional[str] = None,
454
- secret_access_key: Optional[str] = None,
455
- session_token: Optional[str] = None,
456
- use_path_style: Optional[bool] = None):
457
- """
458
- :param str bucket: Name of the S3 bucket.
459
- :param str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
460
- :param str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
461
- :param str blobs_prefix: Prefix to prepend to blob filenames.
462
- :param str endpoint_url: Endpoint of the S3 bucket.
463
- :param str manifests_prefix: Prefix to prepend on manifest filenames.
464
- :param str name: Name of the cache image.
465
- :param str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
466
- :param str session_token: Defaults to `$AWS_SESSION_TOKEN`.
467
- :param bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
447
+ bucket: _builtins.str,
448
+ region: Optional[_builtins.str] = None,
449
+ access_key_id: Optional[_builtins.str] = None,
450
+ blobs_prefix: Optional[_builtins.str] = None,
451
+ endpoint_url: Optional[_builtins.str] = None,
452
+ manifests_prefix: Optional[_builtins.str] = None,
453
+ name: Optional[_builtins.str] = None,
454
+ secret_access_key: Optional[_builtins.str] = None,
455
+ session_token: Optional[_builtins.str] = None,
456
+ use_path_style: Optional[_builtins.bool] = None):
457
+ """
458
+ :param _builtins.str bucket: Name of the S3 bucket.
459
+ :param _builtins.str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
460
+ :param _builtins.str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
461
+ :param _builtins.str blobs_prefix: Prefix to prepend to blob filenames.
462
+ :param _builtins.str endpoint_url: Endpoint of the S3 bucket.
463
+ :param _builtins.str manifests_prefix: Prefix to prepend on manifest filenames.
464
+ :param _builtins.str name: Name of the cache image.
465
+ :param _builtins.str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
466
+ :param _builtins.str session_token: Defaults to `$AWS_SESSION_TOKEN`.
467
+ :param _builtins.bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
468
468
  """
469
469
  pulumi.set(__self__, "bucket", bucket)
470
470
  if region is None:
@@ -493,81 +493,81 @@ class CacheFromS3(dict):
493
493
  if use_path_style is not None:
494
494
  pulumi.set(__self__, "use_path_style", use_path_style)
495
495
 
496
- @property
496
+ @_builtins.property
497
497
  @pulumi.getter
498
- def bucket(self) -> str:
498
+ def bucket(self) -> _builtins.str:
499
499
  """
500
500
  Name of the S3 bucket.
501
501
  """
502
502
  return pulumi.get(self, "bucket")
503
503
 
504
- @property
504
+ @_builtins.property
505
505
  @pulumi.getter
506
- def region(self) -> str:
506
+ def region(self) -> _builtins.str:
507
507
  """
508
508
  The geographic location of the bucket. Defaults to `$AWS_REGION`.
509
509
  """
510
510
  return pulumi.get(self, "region")
511
511
 
512
- @property
512
+ @_builtins.property
513
513
  @pulumi.getter(name="accessKeyId")
514
- def access_key_id(self) -> Optional[str]:
514
+ def access_key_id(self) -> Optional[_builtins.str]:
515
515
  """
516
516
  Defaults to `$AWS_ACCESS_KEY_ID`.
517
517
  """
518
518
  return pulumi.get(self, "access_key_id")
519
519
 
520
- @property
520
+ @_builtins.property
521
521
  @pulumi.getter(name="blobsPrefix")
522
- def blobs_prefix(self) -> Optional[str]:
522
+ def blobs_prefix(self) -> Optional[_builtins.str]:
523
523
  """
524
524
  Prefix to prepend to blob filenames.
525
525
  """
526
526
  return pulumi.get(self, "blobs_prefix")
527
527
 
528
- @property
528
+ @_builtins.property
529
529
  @pulumi.getter(name="endpointUrl")
530
- def endpoint_url(self) -> Optional[str]:
530
+ def endpoint_url(self) -> Optional[_builtins.str]:
531
531
  """
532
532
  Endpoint of the S3 bucket.
533
533
  """
534
534
  return pulumi.get(self, "endpoint_url")
535
535
 
536
- @property
536
+ @_builtins.property
537
537
  @pulumi.getter(name="manifestsPrefix")
538
- def manifests_prefix(self) -> Optional[str]:
538
+ def manifests_prefix(self) -> Optional[_builtins.str]:
539
539
  """
540
540
  Prefix to prepend on manifest filenames.
541
541
  """
542
542
  return pulumi.get(self, "manifests_prefix")
543
543
 
544
- @property
544
+ @_builtins.property
545
545
  @pulumi.getter
546
- def name(self) -> Optional[str]:
546
+ def name(self) -> Optional[_builtins.str]:
547
547
  """
548
548
  Name of the cache image.
549
549
  """
550
550
  return pulumi.get(self, "name")
551
551
 
552
- @property
552
+ @_builtins.property
553
553
  @pulumi.getter(name="secretAccessKey")
554
- def secret_access_key(self) -> Optional[str]:
554
+ def secret_access_key(self) -> Optional[_builtins.str]:
555
555
  """
556
556
  Defaults to `$AWS_SECRET_ACCESS_KEY`.
557
557
  """
558
558
  return pulumi.get(self, "secret_access_key")
559
559
 
560
- @property
560
+ @_builtins.property
561
561
  @pulumi.getter(name="sessionToken")
562
- def session_token(self) -> Optional[str]:
562
+ def session_token(self) -> Optional[_builtins.str]:
563
563
  """
564
564
  Defaults to `$AWS_SESSION_TOKEN`.
565
565
  """
566
566
  return pulumi.get(self, "session_token")
567
567
 
568
- @property
568
+ @_builtins.property
569
569
  @pulumi.getter(name="usePathStyle")
570
- def use_path_style(self) -> Optional[bool]:
570
+ def use_path_style(self) -> Optional[_builtins.bool]:
571
571
  """
572
572
  Uses `bucket` in the URL instead of hostname when `true`.
573
573
  """
@@ -578,16 +578,16 @@ class CacheFromS3(dict):
578
578
  class CacheTo(dict):
579
579
  def __init__(__self__, *,
580
580
  azblob: Optional['outputs.CacheToAzureBlob'] = None,
581
- disabled: Optional[bool] = None,
581
+ disabled: Optional[_builtins.bool] = None,
582
582
  gha: Optional['outputs.CacheToGitHubActions'] = None,
583
583
  inline: Optional['outputs.CacheToInline'] = None,
584
584
  local: Optional['outputs.CacheToLocal'] = None,
585
- raw: Optional[str] = None,
585
+ raw: Optional[_builtins.str] = None,
586
586
  registry: Optional['outputs.CacheToRegistry'] = None,
587
587
  s3: Optional['outputs.CacheToS3'] = None):
588
588
  """
589
589
  :param 'CacheToAzureBlob' azblob: Push cache to Azure's blob storage service.
590
- :param bool disabled: When `true` this entry will be excluded. Defaults to `false`.
590
+ :param _builtins.bool disabled: When `true` this entry will be excluded. Defaults to `false`.
591
591
  :param 'CacheToGitHubActions' gha: Recommended for use with GitHub Actions workflows.
592
592
 
593
593
  An action like `crazy-max/ghaction-github-runtime` is recommended to
@@ -596,7 +596,7 @@ class CacheTo(dict):
596
596
  started with, but it does not handle multi-stage builds. Consider the
597
597
  `registry` cache backend instead.
598
598
  :param 'CacheToLocal' local: A simple backend which caches imagines on your local filesystem.
599
- :param str raw: A raw string as you would provide it to the Docker CLI (e.g.,
599
+ :param _builtins.str raw: A raw string as you would provide it to the Docker CLI (e.g.,
600
600
  `type=inline`)
601
601
  :param 'CacheToRegistry' registry: Push caches to remote registries. Incompatible with the `docker` build
602
602
  driver.
@@ -619,7 +619,7 @@ class CacheTo(dict):
619
619
  if s3 is not None:
620
620
  pulumi.set(__self__, "s3", s3)
621
621
 
622
- @property
622
+ @_builtins.property
623
623
  @pulumi.getter
624
624
  def azblob(self) -> Optional['outputs.CacheToAzureBlob']:
625
625
  """
@@ -627,15 +627,15 @@ class CacheTo(dict):
627
627
  """
628
628
  return pulumi.get(self, "azblob")
629
629
 
630
- @property
630
+ @_builtins.property
631
631
  @pulumi.getter
632
- def disabled(self) -> Optional[bool]:
632
+ def disabled(self) -> Optional[_builtins.bool]:
633
633
  """
634
634
  When `true` this entry will be excluded. Defaults to `false`.
635
635
  """
636
636
  return pulumi.get(self, "disabled")
637
637
 
638
- @property
638
+ @_builtins.property
639
639
  @pulumi.getter
640
640
  def gha(self) -> Optional['outputs.CacheToGitHubActions']:
641
641
  """
@@ -646,7 +646,7 @@ class CacheTo(dict):
646
646
  """
647
647
  return pulumi.get(self, "gha")
648
648
 
649
- @property
649
+ @_builtins.property
650
650
  @pulumi.getter
651
651
  def inline(self) -> Optional['outputs.CacheToInline']:
652
652
  """
@@ -656,7 +656,7 @@ class CacheTo(dict):
656
656
  """
657
657
  return pulumi.get(self, "inline")
658
658
 
659
- @property
659
+ @_builtins.property
660
660
  @pulumi.getter
661
661
  def local(self) -> Optional['outputs.CacheToLocal']:
662
662
  """
@@ -664,16 +664,16 @@ class CacheTo(dict):
664
664
  """
665
665
  return pulumi.get(self, "local")
666
666
 
667
- @property
667
+ @_builtins.property
668
668
  @pulumi.getter
669
- def raw(self) -> Optional[str]:
669
+ def raw(self) -> Optional[_builtins.str]:
670
670
  """
671
671
  A raw string as you would provide it to the Docker CLI (e.g.,
672
672
  `type=inline`)
673
673
  """
674
674
  return pulumi.get(self, "raw")
675
675
 
676
- @property
676
+ @_builtins.property
677
677
  @pulumi.getter
678
678
  def registry(self) -> Optional['outputs.CacheToRegistry']:
679
679
  """
@@ -682,7 +682,7 @@ class CacheTo(dict):
682
682
  """
683
683
  return pulumi.get(self, "registry")
684
684
 
685
- @property
685
+ @_builtins.property
686
686
  @pulumi.getter
687
687
  def s3(self) -> Optional['outputs.CacheToS3']:
688
688
  """
@@ -715,17 +715,17 @@ class CacheToAzureBlob(dict):
715
715
  return super().get(key, default)
716
716
 
717
717
  def __init__(__self__, *,
718
- name: str,
719
- account_url: Optional[str] = None,
720
- ignore_error: Optional[bool] = None,
718
+ name: _builtins.str,
719
+ account_url: Optional[_builtins.str] = None,
720
+ ignore_error: Optional[_builtins.bool] = None,
721
721
  mode: Optional['CacheMode'] = None,
722
- secret_access_key: Optional[str] = None):
722
+ secret_access_key: Optional[_builtins.str] = None):
723
723
  """
724
- :param str name: The name of the cache image.
725
- :param str account_url: Base URL of the storage account.
726
- :param bool ignore_error: Ignore errors caused by failed cache exports.
724
+ :param _builtins.str name: The name of the cache image.
725
+ :param _builtins.str account_url: Base URL of the storage account.
726
+ :param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
727
727
  :param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
728
- :param str secret_access_key: Blob storage account key.
728
+ :param _builtins.str secret_access_key: Blob storage account key.
729
729
  """
730
730
  pulumi.set(__self__, "name", name)
731
731
  if account_url is not None:
@@ -741,31 +741,31 @@ class CacheToAzureBlob(dict):
741
741
  if secret_access_key is not None:
742
742
  pulumi.set(__self__, "secret_access_key", secret_access_key)
743
743
 
744
- @property
744
+ @_builtins.property
745
745
  @pulumi.getter
746
- def name(self) -> str:
746
+ def name(self) -> _builtins.str:
747
747
  """
748
748
  The name of the cache image.
749
749
  """
750
750
  return pulumi.get(self, "name")
751
751
 
752
- @property
752
+ @_builtins.property
753
753
  @pulumi.getter(name="accountUrl")
754
- def account_url(self) -> Optional[str]:
754
+ def account_url(self) -> Optional[_builtins.str]:
755
755
  """
756
756
  Base URL of the storage account.
757
757
  """
758
758
  return pulumi.get(self, "account_url")
759
759
 
760
- @property
760
+ @_builtins.property
761
761
  @pulumi.getter(name="ignoreError")
762
- def ignore_error(self) -> Optional[bool]:
762
+ def ignore_error(self) -> Optional[_builtins.bool]:
763
763
  """
764
764
  Ignore errors caused by failed cache exports.
765
765
  """
766
766
  return pulumi.get(self, "ignore_error")
767
767
 
768
- @property
768
+ @_builtins.property
769
769
  @pulumi.getter
770
770
  def mode(self) -> Optional['CacheMode']:
771
771
  """
@@ -773,9 +773,9 @@ class CacheToAzureBlob(dict):
773
773
  """
774
774
  return pulumi.get(self, "mode")
775
775
 
776
- @property
776
+ @_builtins.property
777
777
  @pulumi.getter(name="secretAccessKey")
778
- def secret_access_key(self) -> Optional[str]:
778
+ def secret_access_key(self) -> Optional[_builtins.str]:
779
779
  """
780
780
  Blob storage account key.
781
781
  """
@@ -802,25 +802,25 @@ class CacheToGitHubActions(dict):
802
802
  return super().get(key, default)
803
803
 
804
804
  def __init__(__self__, *,
805
- ignore_error: Optional[bool] = None,
805
+ ignore_error: Optional[_builtins.bool] = None,
806
806
  mode: Optional['CacheMode'] = None,
807
- scope: Optional[str] = None,
808
- token: Optional[str] = None,
809
- url: Optional[str] = None):
807
+ scope: Optional[_builtins.str] = None,
808
+ token: Optional[_builtins.str] = None,
809
+ url: Optional[_builtins.str] = None):
810
810
  """
811
- :param bool ignore_error: Ignore errors caused by failed cache exports.
811
+ :param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
812
812
  :param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
813
- :param str scope: The scope to use for cache keys. Defaults to `buildkit`.
813
+ :param _builtins.str scope: The scope to use for cache keys. Defaults to `buildkit`.
814
814
 
815
815
  This should be set if building and caching multiple images in one
816
816
  workflow, otherwise caches will overwrite each other.
817
- :param str token: The GitHub Actions token to use. This is not a personal access tokens
817
+ :param _builtins.str token: The GitHub Actions token to use. This is not a personal access tokens
818
818
  and is typically generated automatically as part of each job.
819
819
 
820
820
  Defaults to `$ACTIONS_RUNTIME_TOKEN`, although a separate action like
821
821
  `crazy-max/ghaction-github-runtime` is recommended to expose this
822
822
  environment variable to your jobs.
823
- :param str url: The cache server URL to use for artifacts.
823
+ :param _builtins.str url: The cache server URL to use for artifacts.
824
824
 
825
825
  Defaults to `$ACTIONS_CACHE_URL`, although a separate action like
826
826
  `crazy-max/ghaction-github-runtime` is recommended to expose this
@@ -847,15 +847,15 @@ class CacheToGitHubActions(dict):
847
847
  if url is not None:
848
848
  pulumi.set(__self__, "url", url)
849
849
 
850
- @property
850
+ @_builtins.property
851
851
  @pulumi.getter(name="ignoreError")
852
- def ignore_error(self) -> Optional[bool]:
852
+ def ignore_error(self) -> Optional[_builtins.bool]:
853
853
  """
854
854
  Ignore errors caused by failed cache exports.
855
855
  """
856
856
  return pulumi.get(self, "ignore_error")
857
857
 
858
- @property
858
+ @_builtins.property
859
859
  @pulumi.getter
860
860
  def mode(self) -> Optional['CacheMode']:
861
861
  """
@@ -863,9 +863,9 @@ class CacheToGitHubActions(dict):
863
863
  """
864
864
  return pulumi.get(self, "mode")
865
865
 
866
- @property
866
+ @_builtins.property
867
867
  @pulumi.getter
868
- def scope(self) -> Optional[str]:
868
+ def scope(self) -> Optional[_builtins.str]:
869
869
  """
870
870
  The scope to use for cache keys. Defaults to `buildkit`.
871
871
 
@@ -874,9 +874,9 @@ class CacheToGitHubActions(dict):
874
874
  """
875
875
  return pulumi.get(self, "scope")
876
876
 
877
- @property
877
+ @_builtins.property
878
878
  @pulumi.getter
879
- def token(self) -> Optional[str]:
879
+ def token(self) -> Optional[_builtins.str]:
880
880
  """
881
881
  The GitHub Actions token to use. This is not a personal access tokens
882
882
  and is typically generated automatically as part of each job.
@@ -887,9 +887,9 @@ class CacheToGitHubActions(dict):
887
887
  """
888
888
  return pulumi.get(self, "token")
889
889
 
890
- @property
890
+ @_builtins.property
891
891
  @pulumi.getter
892
- def url(self) -> Optional[str]:
892
+ def url(self) -> Optional[_builtins.str]:
893
893
  """
894
894
  The cache server URL to use for artifacts.
895
895
 
@@ -936,18 +936,18 @@ class CacheToLocal(dict):
936
936
  return super().get(key, default)
937
937
 
938
938
  def __init__(__self__, *,
939
- dest: str,
939
+ dest: _builtins.str,
940
940
  compression: Optional['CompressionType'] = None,
941
- compression_level: Optional[int] = None,
942
- force_compression: Optional[bool] = None,
943
- ignore_error: Optional[bool] = None,
941
+ compression_level: Optional[_builtins.int] = None,
942
+ force_compression: Optional[_builtins.bool] = None,
943
+ ignore_error: Optional[_builtins.bool] = None,
944
944
  mode: Optional['CacheMode'] = None):
945
945
  """
946
- :param str dest: Path of the local directory to export the cache.
946
+ :param _builtins.str dest: Path of the local directory to export the cache.
947
947
  :param 'CompressionType' compression: The compression type to use.
948
- :param int compression_level: Compression level from 0 to 22.
949
- :param bool force_compression: Forcefully apply compression.
950
- :param bool ignore_error: Ignore errors caused by failed cache exports.
948
+ :param _builtins.int compression_level: Compression level from 0 to 22.
949
+ :param _builtins.bool force_compression: Forcefully apply compression.
950
+ :param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
951
951
  :param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
952
952
  """
953
953
  pulumi.set(__self__, "dest", dest)
@@ -972,15 +972,15 @@ class CacheToLocal(dict):
972
972
  if mode is not None:
973
973
  pulumi.set(__self__, "mode", mode)
974
974
 
975
- @property
975
+ @_builtins.property
976
976
  @pulumi.getter
977
- def dest(self) -> str:
977
+ def dest(self) -> _builtins.str:
978
978
  """
979
979
  Path of the local directory to export the cache.
980
980
  """
981
981
  return pulumi.get(self, "dest")
982
982
 
983
- @property
983
+ @_builtins.property
984
984
  @pulumi.getter
985
985
  def compression(self) -> Optional['CompressionType']:
986
986
  """
@@ -988,31 +988,31 @@ class CacheToLocal(dict):
988
988
  """
989
989
  return pulumi.get(self, "compression")
990
990
 
991
- @property
991
+ @_builtins.property
992
992
  @pulumi.getter(name="compressionLevel")
993
- def compression_level(self) -> Optional[int]:
993
+ def compression_level(self) -> Optional[_builtins.int]:
994
994
  """
995
995
  Compression level from 0 to 22.
996
996
  """
997
997
  return pulumi.get(self, "compression_level")
998
998
 
999
- @property
999
+ @_builtins.property
1000
1000
  @pulumi.getter(name="forceCompression")
1001
- def force_compression(self) -> Optional[bool]:
1001
+ def force_compression(self) -> Optional[_builtins.bool]:
1002
1002
  """
1003
1003
  Forcefully apply compression.
1004
1004
  """
1005
1005
  return pulumi.get(self, "force_compression")
1006
1006
 
1007
- @property
1007
+ @_builtins.property
1008
1008
  @pulumi.getter(name="ignoreError")
1009
- def ignore_error(self) -> Optional[bool]:
1009
+ def ignore_error(self) -> Optional[_builtins.bool]:
1010
1010
  """
1011
1011
  Ignore errors caused by failed cache exports.
1012
1012
  """
1013
1013
  return pulumi.get(self, "ignore_error")
1014
1014
 
1015
- @property
1015
+ @_builtins.property
1016
1016
  @pulumi.getter
1017
1017
  def mode(self) -> Optional['CacheMode']:
1018
1018
  """
@@ -1049,21 +1049,21 @@ class CacheToRegistry(dict):
1049
1049
  return super().get(key, default)
1050
1050
 
1051
1051
  def __init__(__self__, *,
1052
- ref: str,
1052
+ ref: _builtins.str,
1053
1053
  compression: Optional['CompressionType'] = None,
1054
- compression_level: Optional[int] = None,
1055
- force_compression: Optional[bool] = None,
1056
- ignore_error: Optional[bool] = None,
1057
- image_manifest: Optional[bool] = None,
1054
+ compression_level: Optional[_builtins.int] = None,
1055
+ force_compression: Optional[_builtins.bool] = None,
1056
+ ignore_error: Optional[_builtins.bool] = None,
1057
+ image_manifest: Optional[_builtins.bool] = None,
1058
1058
  mode: Optional['CacheMode'] = None,
1059
- oci_media_types: Optional[bool] = None):
1059
+ oci_media_types: Optional[_builtins.bool] = None):
1060
1060
  """
1061
- :param str ref: Fully qualified name of the cache image to import.
1061
+ :param _builtins.str ref: Fully qualified name of the cache image to import.
1062
1062
  :param 'CompressionType' compression: The compression type to use.
1063
- :param int compression_level: Compression level from 0 to 22.
1064
- :param bool force_compression: Forcefully apply compression.
1065
- :param bool ignore_error: Ignore errors caused by failed cache exports.
1066
- :param bool image_manifest: Export cache manifest as an OCI-compatible image manifest instead of a
1063
+ :param _builtins.int compression_level: Compression level from 0 to 22.
1064
+ :param _builtins.bool force_compression: Forcefully apply compression.
1065
+ :param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
1066
+ :param _builtins.bool image_manifest: Export cache manifest as an OCI-compatible image manifest instead of a
1067
1067
  manifest list. Requires `ociMediaTypes` to also be `true`.
1068
1068
 
1069
1069
  Some registries like AWS ECR will not work with caching if this is
@@ -1071,7 +1071,7 @@ class CacheToRegistry(dict):
1071
1071
 
1072
1072
  Defaults to `false` to match Docker's default behavior.
1073
1073
  :param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
1074
- :param bool oci_media_types: Whether to use OCI media types in exported manifests. Defaults to
1074
+ :param _builtins.bool oci_media_types: Whether to use OCI media types in exported manifests. Defaults to
1075
1075
  `true`.
1076
1076
  """
1077
1077
  pulumi.set(__self__, "ref", ref)
@@ -1104,15 +1104,15 @@ class CacheToRegistry(dict):
1104
1104
  if oci_media_types is not None:
1105
1105
  pulumi.set(__self__, "oci_media_types", oci_media_types)
1106
1106
 
1107
- @property
1107
+ @_builtins.property
1108
1108
  @pulumi.getter
1109
- def ref(self) -> str:
1109
+ def ref(self) -> _builtins.str:
1110
1110
  """
1111
1111
  Fully qualified name of the cache image to import.
1112
1112
  """
1113
1113
  return pulumi.get(self, "ref")
1114
1114
 
1115
- @property
1115
+ @_builtins.property
1116
1116
  @pulumi.getter
1117
1117
  def compression(self) -> Optional['CompressionType']:
1118
1118
  """
@@ -1120,33 +1120,33 @@ class CacheToRegistry(dict):
1120
1120
  """
1121
1121
  return pulumi.get(self, "compression")
1122
1122
 
1123
- @property
1123
+ @_builtins.property
1124
1124
  @pulumi.getter(name="compressionLevel")
1125
- def compression_level(self) -> Optional[int]:
1125
+ def compression_level(self) -> Optional[_builtins.int]:
1126
1126
  """
1127
1127
  Compression level from 0 to 22.
1128
1128
  """
1129
1129
  return pulumi.get(self, "compression_level")
1130
1130
 
1131
- @property
1131
+ @_builtins.property
1132
1132
  @pulumi.getter(name="forceCompression")
1133
- def force_compression(self) -> Optional[bool]:
1133
+ def force_compression(self) -> Optional[_builtins.bool]:
1134
1134
  """
1135
1135
  Forcefully apply compression.
1136
1136
  """
1137
1137
  return pulumi.get(self, "force_compression")
1138
1138
 
1139
- @property
1139
+ @_builtins.property
1140
1140
  @pulumi.getter(name="ignoreError")
1141
- def ignore_error(self) -> Optional[bool]:
1141
+ def ignore_error(self) -> Optional[_builtins.bool]:
1142
1142
  """
1143
1143
  Ignore errors caused by failed cache exports.
1144
1144
  """
1145
1145
  return pulumi.get(self, "ignore_error")
1146
1146
 
1147
- @property
1147
+ @_builtins.property
1148
1148
  @pulumi.getter(name="imageManifest")
1149
- def image_manifest(self) -> Optional[bool]:
1149
+ def image_manifest(self) -> Optional[_builtins.bool]:
1150
1150
  """
1151
1151
  Export cache manifest as an OCI-compatible image manifest instead of a
1152
1152
  manifest list. Requires `ociMediaTypes` to also be `true`.
@@ -1158,7 +1158,7 @@ class CacheToRegistry(dict):
1158
1158
  """
1159
1159
  return pulumi.get(self, "image_manifest")
1160
1160
 
1161
- @property
1161
+ @_builtins.property
1162
1162
  @pulumi.getter
1163
1163
  def mode(self) -> Optional['CacheMode']:
1164
1164
  """
@@ -1166,9 +1166,9 @@ class CacheToRegistry(dict):
1166
1166
  """
1167
1167
  return pulumi.get(self, "mode")
1168
1168
 
1169
- @property
1169
+ @_builtins.property
1170
1170
  @pulumi.getter(name="ociMediaTypes")
1171
- def oci_media_types(self) -> Optional[bool]:
1171
+ def oci_media_types(self) -> Optional[_builtins.bool]:
1172
1172
  """
1173
1173
  Whether to use OCI media types in exported manifests. Defaults to
1174
1174
  `true`.
@@ -1210,31 +1210,31 @@ class CacheToS3(dict):
1210
1210
  return super().get(key, default)
1211
1211
 
1212
1212
  def __init__(__self__, *,
1213
- bucket: str,
1214
- region: Optional[str] = None,
1215
- access_key_id: Optional[str] = None,
1216
- blobs_prefix: Optional[str] = None,
1217
- endpoint_url: Optional[str] = None,
1218
- ignore_error: Optional[bool] = None,
1219
- manifests_prefix: Optional[str] = None,
1213
+ bucket: _builtins.str,
1214
+ region: Optional[_builtins.str] = None,
1215
+ access_key_id: Optional[_builtins.str] = None,
1216
+ blobs_prefix: Optional[_builtins.str] = None,
1217
+ endpoint_url: Optional[_builtins.str] = None,
1218
+ ignore_error: Optional[_builtins.bool] = None,
1219
+ manifests_prefix: Optional[_builtins.str] = None,
1220
1220
  mode: Optional['CacheMode'] = None,
1221
- name: Optional[str] = None,
1222
- secret_access_key: Optional[str] = None,
1223
- session_token: Optional[str] = None,
1224
- use_path_style: Optional[bool] = None):
1225
- """
1226
- :param str bucket: Name of the S3 bucket.
1227
- :param str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
1228
- :param str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
1229
- :param str blobs_prefix: Prefix to prepend to blob filenames.
1230
- :param str endpoint_url: Endpoint of the S3 bucket.
1231
- :param bool ignore_error: Ignore errors caused by failed cache exports.
1232
- :param str manifests_prefix: Prefix to prepend on manifest filenames.
1221
+ name: Optional[_builtins.str] = None,
1222
+ secret_access_key: Optional[_builtins.str] = None,
1223
+ session_token: Optional[_builtins.str] = None,
1224
+ use_path_style: Optional[_builtins.bool] = None):
1225
+ """
1226
+ :param _builtins.str bucket: Name of the S3 bucket.
1227
+ :param _builtins.str region: The geographic location of the bucket. Defaults to `$AWS_REGION`.
1228
+ :param _builtins.str access_key_id: Defaults to `$AWS_ACCESS_KEY_ID`.
1229
+ :param _builtins.str blobs_prefix: Prefix to prepend to blob filenames.
1230
+ :param _builtins.str endpoint_url: Endpoint of the S3 bucket.
1231
+ :param _builtins.bool ignore_error: Ignore errors caused by failed cache exports.
1232
+ :param _builtins.str manifests_prefix: Prefix to prepend on manifest filenames.
1233
1233
  :param 'CacheMode' mode: The cache mode to use. Defaults to `min`.
1234
- :param str name: Name of the cache image.
1235
- :param str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
1236
- :param str session_token: Defaults to `$AWS_SESSION_TOKEN`.
1237
- :param bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
1234
+ :param _builtins.str name: Name of the cache image.
1235
+ :param _builtins.str secret_access_key: Defaults to `$AWS_SECRET_ACCESS_KEY`.
1236
+ :param _builtins.str session_token: Defaults to `$AWS_SESSION_TOKEN`.
1237
+ :param _builtins.bool use_path_style: Uses `bucket` in the URL instead of hostname when `true`.
1238
1238
  """
1239
1239
  pulumi.set(__self__, "bucket", bucket)
1240
1240
  if region is None:
@@ -1271,63 +1271,63 @@ class CacheToS3(dict):
1271
1271
  if use_path_style is not None:
1272
1272
  pulumi.set(__self__, "use_path_style", use_path_style)
1273
1273
 
1274
- @property
1274
+ @_builtins.property
1275
1275
  @pulumi.getter
1276
- def bucket(self) -> str:
1276
+ def bucket(self) -> _builtins.str:
1277
1277
  """
1278
1278
  Name of the S3 bucket.
1279
1279
  """
1280
1280
  return pulumi.get(self, "bucket")
1281
1281
 
1282
- @property
1282
+ @_builtins.property
1283
1283
  @pulumi.getter
1284
- def region(self) -> str:
1284
+ def region(self) -> _builtins.str:
1285
1285
  """
1286
1286
  The geographic location of the bucket. Defaults to `$AWS_REGION`.
1287
1287
  """
1288
1288
  return pulumi.get(self, "region")
1289
1289
 
1290
- @property
1290
+ @_builtins.property
1291
1291
  @pulumi.getter(name="accessKeyId")
1292
- def access_key_id(self) -> Optional[str]:
1292
+ def access_key_id(self) -> Optional[_builtins.str]:
1293
1293
  """
1294
1294
  Defaults to `$AWS_ACCESS_KEY_ID`.
1295
1295
  """
1296
1296
  return pulumi.get(self, "access_key_id")
1297
1297
 
1298
- @property
1298
+ @_builtins.property
1299
1299
  @pulumi.getter(name="blobsPrefix")
1300
- def blobs_prefix(self) -> Optional[str]:
1300
+ def blobs_prefix(self) -> Optional[_builtins.str]:
1301
1301
  """
1302
1302
  Prefix to prepend to blob filenames.
1303
1303
  """
1304
1304
  return pulumi.get(self, "blobs_prefix")
1305
1305
 
1306
- @property
1306
+ @_builtins.property
1307
1307
  @pulumi.getter(name="endpointUrl")
1308
- def endpoint_url(self) -> Optional[str]:
1308
+ def endpoint_url(self) -> Optional[_builtins.str]:
1309
1309
  """
1310
1310
  Endpoint of the S3 bucket.
1311
1311
  """
1312
1312
  return pulumi.get(self, "endpoint_url")
1313
1313
 
1314
- @property
1314
+ @_builtins.property
1315
1315
  @pulumi.getter(name="ignoreError")
1316
- def ignore_error(self) -> Optional[bool]:
1316
+ def ignore_error(self) -> Optional[_builtins.bool]:
1317
1317
  """
1318
1318
  Ignore errors caused by failed cache exports.
1319
1319
  """
1320
1320
  return pulumi.get(self, "ignore_error")
1321
1321
 
1322
- @property
1322
+ @_builtins.property
1323
1323
  @pulumi.getter(name="manifestsPrefix")
1324
- def manifests_prefix(self) -> Optional[str]:
1324
+ def manifests_prefix(self) -> Optional[_builtins.str]:
1325
1325
  """
1326
1326
  Prefix to prepend on manifest filenames.
1327
1327
  """
1328
1328
  return pulumi.get(self, "manifests_prefix")
1329
1329
 
1330
- @property
1330
+ @_builtins.property
1331
1331
  @pulumi.getter
1332
1332
  def mode(self) -> Optional['CacheMode']:
1333
1333
  """
@@ -1335,33 +1335,33 @@ class CacheToS3(dict):
1335
1335
  """
1336
1336
  return pulumi.get(self, "mode")
1337
1337
 
1338
- @property
1338
+ @_builtins.property
1339
1339
  @pulumi.getter
1340
- def name(self) -> Optional[str]:
1340
+ def name(self) -> Optional[_builtins.str]:
1341
1341
  """
1342
1342
  Name of the cache image.
1343
1343
  """
1344
1344
  return pulumi.get(self, "name")
1345
1345
 
1346
- @property
1346
+ @_builtins.property
1347
1347
  @pulumi.getter(name="secretAccessKey")
1348
- def secret_access_key(self) -> Optional[str]:
1348
+ def secret_access_key(self) -> Optional[_builtins.str]:
1349
1349
  """
1350
1350
  Defaults to `$AWS_SECRET_ACCESS_KEY`.
1351
1351
  """
1352
1352
  return pulumi.get(self, "secret_access_key")
1353
1353
 
1354
- @property
1354
+ @_builtins.property
1355
1355
  @pulumi.getter(name="sessionToken")
1356
- def session_token(self) -> Optional[str]:
1356
+ def session_token(self) -> Optional[_builtins.str]:
1357
1357
  """
1358
1358
  Defaults to `$AWS_SESSION_TOKEN`.
1359
1359
  """
1360
1360
  return pulumi.get(self, "session_token")
1361
1361
 
1362
- @property
1362
+ @_builtins.property
1363
1363
  @pulumi.getter(name="usePathStyle")
1364
- def use_path_style(self) -> Optional[bool]:
1364
+ def use_path_style(self) -> Optional[_builtins.bool]:
1365
1365
  """
1366
1366
  Uses `bucket` in the URL instead of hostname when `true`.
1367
1367
  """
@@ -1371,9 +1371,9 @@ class CacheToS3(dict):
1371
1371
  @pulumi.output_type
1372
1372
  class Context(dict):
1373
1373
  def __init__(__self__, *,
1374
- location: str):
1374
+ location: _builtins.str):
1375
1375
  """
1376
- :param str location: Resources to use for build context.
1376
+ :param _builtins.str location: Resources to use for build context.
1377
1377
 
1378
1378
  The location can be:
1379
1379
  * A relative or absolute path to a local directory (`.`, `./app`,
@@ -1384,9 +1384,9 @@ class Context(dict):
1384
1384
  """
1385
1385
  pulumi.set(__self__, "location", location)
1386
1386
 
1387
- @property
1387
+ @_builtins.property
1388
1388
  @pulumi.getter
1389
- def location(self) -> str:
1389
+ def location(self) -> _builtins.str:
1390
1390
  """
1391
1391
  Resources to use for build context.
1392
1392
 
@@ -1403,15 +1403,15 @@ class Context(dict):
1403
1403
  @pulumi.output_type
1404
1404
  class Dockerfile(dict):
1405
1405
  def __init__(__self__, *,
1406
- inline: Optional[str] = None,
1407
- location: Optional[str] = None):
1406
+ inline: Optional[_builtins.str] = None,
1407
+ location: Optional[_builtins.str] = None):
1408
1408
  """
1409
- :param str inline: Raw Dockerfile contents.
1409
+ :param _builtins.str inline: Raw Dockerfile contents.
1410
1410
 
1411
1411
  Conflicts with `location`.
1412
1412
 
1413
1413
  Equivalent to invoking Docker with `-f -`.
1414
- :param str location: Location of the Dockerfile to use.
1414
+ :param _builtins.str location: Location of the Dockerfile to use.
1415
1415
 
1416
1416
  Can be a relative or absolute path to a local file, or a remote URL.
1417
1417
 
@@ -1424,9 +1424,9 @@ class Dockerfile(dict):
1424
1424
  if location is not None:
1425
1425
  pulumi.set(__self__, "location", location)
1426
1426
 
1427
- @property
1427
+ @_builtins.property
1428
1428
  @pulumi.getter
1429
- def inline(self) -> Optional[str]:
1429
+ def inline(self) -> Optional[_builtins.str]:
1430
1430
  """
1431
1431
  Raw Dockerfile contents.
1432
1432
 
@@ -1436,9 +1436,9 @@ class Dockerfile(dict):
1436
1436
  """
1437
1437
  return pulumi.get(self, "inline")
1438
1438
 
1439
- @property
1439
+ @_builtins.property
1440
1440
  @pulumi.getter
1441
- def location(self) -> Optional[str]:
1441
+ def location(self) -> Optional[_builtins.str]:
1442
1442
  """
1443
1443
  Location of the Dockerfile to use.
1444
1444
 
@@ -1455,23 +1455,23 @@ class Dockerfile(dict):
1455
1455
  class Export(dict):
1456
1456
  def __init__(__self__, *,
1457
1457
  cacheonly: Optional['outputs.ExportCacheOnly'] = None,
1458
- disabled: Optional[bool] = None,
1458
+ disabled: Optional[_builtins.bool] = None,
1459
1459
  docker: Optional['outputs.ExportDocker'] = None,
1460
1460
  image: Optional['outputs.ExportImage'] = None,
1461
1461
  local: Optional['outputs.ExportLocal'] = None,
1462
1462
  oci: Optional['outputs.ExportOCI'] = None,
1463
- raw: Optional[str] = None,
1463
+ raw: Optional[_builtins.str] = None,
1464
1464
  registry: Optional['outputs.ExportRegistry'] = None,
1465
1465
  tar: Optional['outputs.ExportTar'] = None):
1466
1466
  """
1467
1467
  :param 'ExportCacheOnly' cacheonly: A no-op export. Helpful for silencing the 'no exports' warning if you
1468
1468
  just want to populate caches.
1469
- :param bool disabled: When `true` this entry will be excluded. Defaults to `false`.
1469
+ :param _builtins.bool disabled: When `true` this entry will be excluded. Defaults to `false`.
1470
1470
  :param 'ExportDocker' docker: Export as a Docker image layout.
1471
1471
  :param 'ExportImage' image: Outputs the build result into a container image format.
1472
1472
  :param 'ExportLocal' local: Export to a local directory as files and directories.
1473
1473
  :param 'ExportOCI' oci: Identical to the Docker exporter but uses OCI media types by default.
1474
- :param str raw: A raw string as you would provide it to the Docker CLI (e.g.,
1474
+ :param _builtins.str raw: A raw string as you would provide it to the Docker CLI (e.g.,
1475
1475
  `type=docker`)
1476
1476
  :param 'ExportRegistry' registry: Identical to the Image exporter, but pushes by default.
1477
1477
  :param 'ExportTar' tar: Export to a local directory as a tarball.
@@ -1495,7 +1495,7 @@ class Export(dict):
1495
1495
  if tar is not None:
1496
1496
  pulumi.set(__self__, "tar", tar)
1497
1497
 
1498
- @property
1498
+ @_builtins.property
1499
1499
  @pulumi.getter
1500
1500
  def cacheonly(self) -> Optional['outputs.ExportCacheOnly']:
1501
1501
  """
@@ -1504,15 +1504,15 @@ class Export(dict):
1504
1504
  """
1505
1505
  return pulumi.get(self, "cacheonly")
1506
1506
 
1507
- @property
1507
+ @_builtins.property
1508
1508
  @pulumi.getter
1509
- def disabled(self) -> Optional[bool]:
1509
+ def disabled(self) -> Optional[_builtins.bool]:
1510
1510
  """
1511
1511
  When `true` this entry will be excluded. Defaults to `false`.
1512
1512
  """
1513
1513
  return pulumi.get(self, "disabled")
1514
1514
 
1515
- @property
1515
+ @_builtins.property
1516
1516
  @pulumi.getter
1517
1517
  def docker(self) -> Optional['outputs.ExportDocker']:
1518
1518
  """
@@ -1520,7 +1520,7 @@ class Export(dict):
1520
1520
  """
1521
1521
  return pulumi.get(self, "docker")
1522
1522
 
1523
- @property
1523
+ @_builtins.property
1524
1524
  @pulumi.getter
1525
1525
  def image(self) -> Optional['outputs.ExportImage']:
1526
1526
  """
@@ -1528,7 +1528,7 @@ class Export(dict):
1528
1528
  """
1529
1529
  return pulumi.get(self, "image")
1530
1530
 
1531
- @property
1531
+ @_builtins.property
1532
1532
  @pulumi.getter
1533
1533
  def local(self) -> Optional['outputs.ExportLocal']:
1534
1534
  """
@@ -1536,7 +1536,7 @@ class Export(dict):
1536
1536
  """
1537
1537
  return pulumi.get(self, "local")
1538
1538
 
1539
- @property
1539
+ @_builtins.property
1540
1540
  @pulumi.getter
1541
1541
  def oci(self) -> Optional['outputs.ExportOCI']:
1542
1542
  """
@@ -1544,16 +1544,16 @@ class Export(dict):
1544
1544
  """
1545
1545
  return pulumi.get(self, "oci")
1546
1546
 
1547
- @property
1547
+ @_builtins.property
1548
1548
  @pulumi.getter
1549
- def raw(self) -> Optional[str]:
1549
+ def raw(self) -> Optional[_builtins.str]:
1550
1550
  """
1551
1551
  A raw string as you would provide it to the Docker CLI (e.g.,
1552
1552
  `type=docker`)
1553
1553
  """
1554
1554
  return pulumi.get(self, "raw")
1555
1555
 
1556
- @property
1556
+ @_builtins.property
1557
1557
  @pulumi.getter
1558
1558
  def registry(self) -> Optional['outputs.ExportRegistry']:
1559
1559
  """
@@ -1561,7 +1561,7 @@ class Export(dict):
1561
1561
  """
1562
1562
  return pulumi.get(self, "registry")
1563
1563
 
1564
- @property
1564
+ @_builtins.property
1565
1565
  @pulumi.getter
1566
1566
  def tar(self) -> Optional['outputs.ExportTar']:
1567
1567
  """
@@ -1600,23 +1600,23 @@ class ExportDocker(dict):
1600
1600
  return super().get(key, default)
1601
1601
 
1602
1602
  def __init__(__self__, *,
1603
- annotations: Optional[Mapping[str, str]] = None,
1603
+ annotations: Optional[Mapping[str, _builtins.str]] = None,
1604
1604
  compression: Optional['CompressionType'] = None,
1605
- compression_level: Optional[int] = None,
1606
- dest: Optional[str] = None,
1607
- force_compression: Optional[bool] = None,
1608
- names: Optional[Sequence[str]] = None,
1609
- oci_media_types: Optional[bool] = None,
1610
- tar: Optional[bool] = None):
1611
- """
1612
- :param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
1605
+ compression_level: Optional[_builtins.int] = None,
1606
+ dest: Optional[_builtins.str] = None,
1607
+ force_compression: Optional[_builtins.bool] = None,
1608
+ names: Optional[Sequence[_builtins.str]] = None,
1609
+ oci_media_types: Optional[_builtins.bool] = None,
1610
+ tar: Optional[_builtins.bool] = None):
1611
+ """
1612
+ :param Mapping[str, _builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
1613
1613
  :param 'CompressionType' compression: The compression type to use.
1614
- :param int compression_level: Compression level from 0 to 22.
1615
- :param str dest: The local export path.
1616
- :param bool force_compression: Forcefully apply compression.
1617
- :param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
1618
- :param bool oci_media_types: Use OCI media types in exporter manifests.
1619
- :param bool tar: Bundle the output into a tarball layout.
1614
+ :param _builtins.int compression_level: Compression level from 0 to 22.
1615
+ :param _builtins.str dest: The local export path.
1616
+ :param _builtins.bool force_compression: Forcefully apply compression.
1617
+ :param Sequence[_builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
1618
+ :param _builtins.bool oci_media_types: Use OCI media types in exporter manifests.
1619
+ :param _builtins.bool tar: Bundle the output into a tarball layout.
1620
1620
  """
1621
1621
  if annotations is not None:
1622
1622
  pulumi.set(__self__, "annotations", annotations)
@@ -1645,15 +1645,15 @@ class ExportDocker(dict):
1645
1645
  if tar is not None:
1646
1646
  pulumi.set(__self__, "tar", tar)
1647
1647
 
1648
- @property
1648
+ @_builtins.property
1649
1649
  @pulumi.getter
1650
- def annotations(self) -> Optional[Mapping[str, str]]:
1650
+ def annotations(self) -> Optional[Mapping[str, _builtins.str]]:
1651
1651
  """
1652
1652
  Attach an arbitrary key/value annotation to the image.
1653
1653
  """
1654
1654
  return pulumi.get(self, "annotations")
1655
1655
 
1656
- @property
1656
+ @_builtins.property
1657
1657
  @pulumi.getter
1658
1658
  def compression(self) -> Optional['CompressionType']:
1659
1659
  """
@@ -1661,49 +1661,49 @@ class ExportDocker(dict):
1661
1661
  """
1662
1662
  return pulumi.get(self, "compression")
1663
1663
 
1664
- @property
1664
+ @_builtins.property
1665
1665
  @pulumi.getter(name="compressionLevel")
1666
- def compression_level(self) -> Optional[int]:
1666
+ def compression_level(self) -> Optional[_builtins.int]:
1667
1667
  """
1668
1668
  Compression level from 0 to 22.
1669
1669
  """
1670
1670
  return pulumi.get(self, "compression_level")
1671
1671
 
1672
- @property
1672
+ @_builtins.property
1673
1673
  @pulumi.getter
1674
- def dest(self) -> Optional[str]:
1674
+ def dest(self) -> Optional[_builtins.str]:
1675
1675
  """
1676
1676
  The local export path.
1677
1677
  """
1678
1678
  return pulumi.get(self, "dest")
1679
1679
 
1680
- @property
1680
+ @_builtins.property
1681
1681
  @pulumi.getter(name="forceCompression")
1682
- def force_compression(self) -> Optional[bool]:
1682
+ def force_compression(self) -> Optional[_builtins.bool]:
1683
1683
  """
1684
1684
  Forcefully apply compression.
1685
1685
  """
1686
1686
  return pulumi.get(self, "force_compression")
1687
1687
 
1688
- @property
1688
+ @_builtins.property
1689
1689
  @pulumi.getter
1690
- def names(self) -> Optional[Sequence[str]]:
1690
+ def names(self) -> Optional[Sequence[_builtins.str]]:
1691
1691
  """
1692
1692
  Specify images names to export. This is overridden if tags are already specified.
1693
1693
  """
1694
1694
  return pulumi.get(self, "names")
1695
1695
 
1696
- @property
1696
+ @_builtins.property
1697
1697
  @pulumi.getter(name="ociMediaTypes")
1698
- def oci_media_types(self) -> Optional[bool]:
1698
+ def oci_media_types(self) -> Optional[_builtins.bool]:
1699
1699
  """
1700
1700
  Use OCI media types in exporter manifests.
1701
1701
  """
1702
1702
  return pulumi.get(self, "oci_media_types")
1703
1703
 
1704
- @property
1704
+ @_builtins.property
1705
1705
  @pulumi.getter
1706
- def tar(self) -> Optional[bool]:
1706
+ def tar(self) -> Optional[_builtins.bool]:
1707
1707
  """
1708
1708
  Bundle the output into a tarball layout.
1709
1709
  """
@@ -1740,39 +1740,39 @@ class ExportImage(dict):
1740
1740
  return super().get(key, default)
1741
1741
 
1742
1742
  def __init__(__self__, *,
1743
- annotations: Optional[Mapping[str, str]] = None,
1743
+ annotations: Optional[Mapping[str, _builtins.str]] = None,
1744
1744
  compression: Optional['CompressionType'] = None,
1745
- compression_level: Optional[int] = None,
1746
- dangling_name_prefix: Optional[str] = None,
1747
- force_compression: Optional[bool] = None,
1748
- insecure: Optional[bool] = None,
1749
- name_canonical: Optional[bool] = None,
1750
- names: Optional[Sequence[str]] = None,
1751
- oci_media_types: Optional[bool] = None,
1752
- push: Optional[bool] = None,
1753
- push_by_digest: Optional[bool] = None,
1754
- store: Optional[bool] = None,
1755
- unpack: Optional[bool] = None):
1756
- """
1757
- :param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
1745
+ compression_level: Optional[_builtins.int] = None,
1746
+ dangling_name_prefix: Optional[_builtins.str] = None,
1747
+ force_compression: Optional[_builtins.bool] = None,
1748
+ insecure: Optional[_builtins.bool] = None,
1749
+ name_canonical: Optional[_builtins.bool] = None,
1750
+ names: Optional[Sequence[_builtins.str]] = None,
1751
+ oci_media_types: Optional[_builtins.bool] = None,
1752
+ push: Optional[_builtins.bool] = None,
1753
+ push_by_digest: Optional[_builtins.bool] = None,
1754
+ store: Optional[_builtins.bool] = None,
1755
+ unpack: Optional[_builtins.bool] = None):
1756
+ """
1757
+ :param Mapping[str, _builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
1758
1758
  :param 'CompressionType' compression: The compression type to use.
1759
- :param int compression_level: Compression level from 0 to 22.
1760
- :param str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
1761
- :param bool force_compression: Forcefully apply compression.
1762
- :param bool insecure: Allow pushing to an insecure registry.
1763
- :param bool name_canonical: Add additional canonical name (`name@<digest>`).
1764
- :param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
1765
- :param bool oci_media_types: Use OCI media types in exporter manifests.
1766
- :param bool push: Push after creating the image. Defaults to `false`.
1767
- :param bool push_by_digest: Push image without name.
1768
- :param bool store: Store resulting images to the worker's image store and ensure all of
1759
+ :param _builtins.int compression_level: Compression level from 0 to 22.
1760
+ :param _builtins.str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
1761
+ :param _builtins.bool force_compression: Forcefully apply compression.
1762
+ :param _builtins.bool insecure: Allow pushing to an insecure registry.
1763
+ :param _builtins.bool name_canonical: Add additional canonical name (`name@<digest>`).
1764
+ :param Sequence[_builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
1765
+ :param _builtins.bool oci_media_types: Use OCI media types in exporter manifests.
1766
+ :param _builtins.bool push: Push after creating the image. Defaults to `false`.
1767
+ :param _builtins.bool push_by_digest: Push image without name.
1768
+ :param _builtins.bool store: Store resulting images to the worker's image store and ensure all of
1769
1769
  its blobs are in the content store.
1770
1770
 
1771
1771
  Defaults to `true`.
1772
1772
 
1773
1773
  Ignored if the worker doesn't have image store (when using OCI workers,
1774
1774
  for example).
1775
- :param bool unpack: Unpack image after creation (for use with containerd). Defaults to
1775
+ :param _builtins.bool unpack: Unpack image after creation (for use with containerd). Defaults to
1776
1776
  `false`.
1777
1777
  """
1778
1778
  if annotations is not None:
@@ -1812,15 +1812,15 @@ class ExportImage(dict):
1812
1812
  if unpack is not None:
1813
1813
  pulumi.set(__self__, "unpack", unpack)
1814
1814
 
1815
- @property
1815
+ @_builtins.property
1816
1816
  @pulumi.getter
1817
- def annotations(self) -> Optional[Mapping[str, str]]:
1817
+ def annotations(self) -> Optional[Mapping[str, _builtins.str]]:
1818
1818
  """
1819
1819
  Attach an arbitrary key/value annotation to the image.
1820
1820
  """
1821
1821
  return pulumi.get(self, "annotations")
1822
1822
 
1823
- @property
1823
+ @_builtins.property
1824
1824
  @pulumi.getter
1825
1825
  def compression(self) -> Optional['CompressionType']:
1826
1826
  """
@@ -1828,81 +1828,81 @@ class ExportImage(dict):
1828
1828
  """
1829
1829
  return pulumi.get(self, "compression")
1830
1830
 
1831
- @property
1831
+ @_builtins.property
1832
1832
  @pulumi.getter(name="compressionLevel")
1833
- def compression_level(self) -> Optional[int]:
1833
+ def compression_level(self) -> Optional[_builtins.int]:
1834
1834
  """
1835
1835
  Compression level from 0 to 22.
1836
1836
  """
1837
1837
  return pulumi.get(self, "compression_level")
1838
1838
 
1839
- @property
1839
+ @_builtins.property
1840
1840
  @pulumi.getter(name="danglingNamePrefix")
1841
- def dangling_name_prefix(self) -> Optional[str]:
1841
+ def dangling_name_prefix(self) -> Optional[_builtins.str]:
1842
1842
  """
1843
1843
  Name image with `prefix@<digest>`, used for anonymous images.
1844
1844
  """
1845
1845
  return pulumi.get(self, "dangling_name_prefix")
1846
1846
 
1847
- @property
1847
+ @_builtins.property
1848
1848
  @pulumi.getter(name="forceCompression")
1849
- def force_compression(self) -> Optional[bool]:
1849
+ def force_compression(self) -> Optional[_builtins.bool]:
1850
1850
  """
1851
1851
  Forcefully apply compression.
1852
1852
  """
1853
1853
  return pulumi.get(self, "force_compression")
1854
1854
 
1855
- @property
1855
+ @_builtins.property
1856
1856
  @pulumi.getter
1857
- def insecure(self) -> Optional[bool]:
1857
+ def insecure(self) -> Optional[_builtins.bool]:
1858
1858
  """
1859
1859
  Allow pushing to an insecure registry.
1860
1860
  """
1861
1861
  return pulumi.get(self, "insecure")
1862
1862
 
1863
- @property
1863
+ @_builtins.property
1864
1864
  @pulumi.getter(name="nameCanonical")
1865
- def name_canonical(self) -> Optional[bool]:
1865
+ def name_canonical(self) -> Optional[_builtins.bool]:
1866
1866
  """
1867
1867
  Add additional canonical name (`name@<digest>`).
1868
1868
  """
1869
1869
  return pulumi.get(self, "name_canonical")
1870
1870
 
1871
- @property
1871
+ @_builtins.property
1872
1872
  @pulumi.getter
1873
- def names(self) -> Optional[Sequence[str]]:
1873
+ def names(self) -> Optional[Sequence[_builtins.str]]:
1874
1874
  """
1875
1875
  Specify images names to export. This is overridden if tags are already specified.
1876
1876
  """
1877
1877
  return pulumi.get(self, "names")
1878
1878
 
1879
- @property
1879
+ @_builtins.property
1880
1880
  @pulumi.getter(name="ociMediaTypes")
1881
- def oci_media_types(self) -> Optional[bool]:
1881
+ def oci_media_types(self) -> Optional[_builtins.bool]:
1882
1882
  """
1883
1883
  Use OCI media types in exporter manifests.
1884
1884
  """
1885
1885
  return pulumi.get(self, "oci_media_types")
1886
1886
 
1887
- @property
1887
+ @_builtins.property
1888
1888
  @pulumi.getter
1889
- def push(self) -> Optional[bool]:
1889
+ def push(self) -> Optional[_builtins.bool]:
1890
1890
  """
1891
1891
  Push after creating the image. Defaults to `false`.
1892
1892
  """
1893
1893
  return pulumi.get(self, "push")
1894
1894
 
1895
- @property
1895
+ @_builtins.property
1896
1896
  @pulumi.getter(name="pushByDigest")
1897
- def push_by_digest(self) -> Optional[bool]:
1897
+ def push_by_digest(self) -> Optional[_builtins.bool]:
1898
1898
  """
1899
1899
  Push image without name.
1900
1900
  """
1901
1901
  return pulumi.get(self, "push_by_digest")
1902
1902
 
1903
- @property
1903
+ @_builtins.property
1904
1904
  @pulumi.getter
1905
- def store(self) -> Optional[bool]:
1905
+ def store(self) -> Optional[_builtins.bool]:
1906
1906
  """
1907
1907
  Store resulting images to the worker's image store and ensure all of
1908
1908
  its blobs are in the content store.
@@ -1914,9 +1914,9 @@ class ExportImage(dict):
1914
1914
  """
1915
1915
  return pulumi.get(self, "store")
1916
1916
 
1917
- @property
1917
+ @_builtins.property
1918
1918
  @pulumi.getter
1919
- def unpack(self) -> Optional[bool]:
1919
+ def unpack(self) -> Optional[_builtins.bool]:
1920
1920
  """
1921
1921
  Unpack image after creation (for use with containerd). Defaults to
1922
1922
  `false`.
@@ -1927,15 +1927,15 @@ class ExportImage(dict):
1927
1927
  @pulumi.output_type
1928
1928
  class ExportLocal(dict):
1929
1929
  def __init__(__self__, *,
1930
- dest: str):
1930
+ dest: _builtins.str):
1931
1931
  """
1932
- :param str dest: Output path.
1932
+ :param _builtins.str dest: Output path.
1933
1933
  """
1934
1934
  pulumi.set(__self__, "dest", dest)
1935
1935
 
1936
- @property
1936
+ @_builtins.property
1937
1937
  @pulumi.getter
1938
- def dest(self) -> str:
1938
+ def dest(self) -> _builtins.str:
1939
1939
  """
1940
1940
  Output path.
1941
1941
  """
@@ -1966,23 +1966,23 @@ class ExportOCI(dict):
1966
1966
  return super().get(key, default)
1967
1967
 
1968
1968
  def __init__(__self__, *,
1969
- annotations: Optional[Mapping[str, str]] = None,
1969
+ annotations: Optional[Mapping[str, _builtins.str]] = None,
1970
1970
  compression: Optional['CompressionType'] = None,
1971
- compression_level: Optional[int] = None,
1972
- dest: Optional[str] = None,
1973
- force_compression: Optional[bool] = None,
1974
- names: Optional[Sequence[str]] = None,
1975
- oci_media_types: Optional[bool] = None,
1976
- tar: Optional[bool] = None):
1977
- """
1978
- :param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
1971
+ compression_level: Optional[_builtins.int] = None,
1972
+ dest: Optional[_builtins.str] = None,
1973
+ force_compression: Optional[_builtins.bool] = None,
1974
+ names: Optional[Sequence[_builtins.str]] = None,
1975
+ oci_media_types: Optional[_builtins.bool] = None,
1976
+ tar: Optional[_builtins.bool] = None):
1977
+ """
1978
+ :param Mapping[str, _builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
1979
1979
  :param 'CompressionType' compression: The compression type to use.
1980
- :param int compression_level: Compression level from 0 to 22.
1981
- :param str dest: The local export path.
1982
- :param bool force_compression: Forcefully apply compression.
1983
- :param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
1984
- :param bool oci_media_types: Use OCI media types in exporter manifests.
1985
- :param bool tar: Bundle the output into a tarball layout.
1980
+ :param _builtins.int compression_level: Compression level from 0 to 22.
1981
+ :param _builtins.str dest: The local export path.
1982
+ :param _builtins.bool force_compression: Forcefully apply compression.
1983
+ :param Sequence[_builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
1984
+ :param _builtins.bool oci_media_types: Use OCI media types in exporter manifests.
1985
+ :param _builtins.bool tar: Bundle the output into a tarball layout.
1986
1986
  """
1987
1987
  if annotations is not None:
1988
1988
  pulumi.set(__self__, "annotations", annotations)
@@ -2011,15 +2011,15 @@ class ExportOCI(dict):
2011
2011
  if tar is not None:
2012
2012
  pulumi.set(__self__, "tar", tar)
2013
2013
 
2014
- @property
2014
+ @_builtins.property
2015
2015
  @pulumi.getter
2016
- def annotations(self) -> Optional[Mapping[str, str]]:
2016
+ def annotations(self) -> Optional[Mapping[str, _builtins.str]]:
2017
2017
  """
2018
2018
  Attach an arbitrary key/value annotation to the image.
2019
2019
  """
2020
2020
  return pulumi.get(self, "annotations")
2021
2021
 
2022
- @property
2022
+ @_builtins.property
2023
2023
  @pulumi.getter
2024
2024
  def compression(self) -> Optional['CompressionType']:
2025
2025
  """
@@ -2027,49 +2027,49 @@ class ExportOCI(dict):
2027
2027
  """
2028
2028
  return pulumi.get(self, "compression")
2029
2029
 
2030
- @property
2030
+ @_builtins.property
2031
2031
  @pulumi.getter(name="compressionLevel")
2032
- def compression_level(self) -> Optional[int]:
2032
+ def compression_level(self) -> Optional[_builtins.int]:
2033
2033
  """
2034
2034
  Compression level from 0 to 22.
2035
2035
  """
2036
2036
  return pulumi.get(self, "compression_level")
2037
2037
 
2038
- @property
2038
+ @_builtins.property
2039
2039
  @pulumi.getter
2040
- def dest(self) -> Optional[str]:
2040
+ def dest(self) -> Optional[_builtins.str]:
2041
2041
  """
2042
2042
  The local export path.
2043
2043
  """
2044
2044
  return pulumi.get(self, "dest")
2045
2045
 
2046
- @property
2046
+ @_builtins.property
2047
2047
  @pulumi.getter(name="forceCompression")
2048
- def force_compression(self) -> Optional[bool]:
2048
+ def force_compression(self) -> Optional[_builtins.bool]:
2049
2049
  """
2050
2050
  Forcefully apply compression.
2051
2051
  """
2052
2052
  return pulumi.get(self, "force_compression")
2053
2053
 
2054
- @property
2054
+ @_builtins.property
2055
2055
  @pulumi.getter
2056
- def names(self) -> Optional[Sequence[str]]:
2056
+ def names(self) -> Optional[Sequence[_builtins.str]]:
2057
2057
  """
2058
2058
  Specify images names to export. This is overridden if tags are already specified.
2059
2059
  """
2060
2060
  return pulumi.get(self, "names")
2061
2061
 
2062
- @property
2062
+ @_builtins.property
2063
2063
  @pulumi.getter(name="ociMediaTypes")
2064
- def oci_media_types(self) -> Optional[bool]:
2064
+ def oci_media_types(self) -> Optional[_builtins.bool]:
2065
2065
  """
2066
2066
  Use OCI media types in exporter manifests.
2067
2067
  """
2068
2068
  return pulumi.get(self, "oci_media_types")
2069
2069
 
2070
- @property
2070
+ @_builtins.property
2071
2071
  @pulumi.getter
2072
- def tar(self) -> Optional[bool]:
2072
+ def tar(self) -> Optional[_builtins.bool]:
2073
2073
  """
2074
2074
  Bundle the output into a tarball layout.
2075
2075
  """
@@ -2106,39 +2106,39 @@ class ExportRegistry(dict):
2106
2106
  return super().get(key, default)
2107
2107
 
2108
2108
  def __init__(__self__, *,
2109
- annotations: Optional[Mapping[str, str]] = None,
2109
+ annotations: Optional[Mapping[str, _builtins.str]] = None,
2110
2110
  compression: Optional['CompressionType'] = None,
2111
- compression_level: Optional[int] = None,
2112
- dangling_name_prefix: Optional[str] = None,
2113
- force_compression: Optional[bool] = None,
2114
- insecure: Optional[bool] = None,
2115
- name_canonical: Optional[bool] = None,
2116
- names: Optional[Sequence[str]] = None,
2117
- oci_media_types: Optional[bool] = None,
2118
- push: Optional[bool] = None,
2119
- push_by_digest: Optional[bool] = None,
2120
- store: Optional[bool] = None,
2121
- unpack: Optional[bool] = None):
2122
- """
2123
- :param Mapping[str, str] annotations: Attach an arbitrary key/value annotation to the image.
2111
+ compression_level: Optional[_builtins.int] = None,
2112
+ dangling_name_prefix: Optional[_builtins.str] = None,
2113
+ force_compression: Optional[_builtins.bool] = None,
2114
+ insecure: Optional[_builtins.bool] = None,
2115
+ name_canonical: Optional[_builtins.bool] = None,
2116
+ names: Optional[Sequence[_builtins.str]] = None,
2117
+ oci_media_types: Optional[_builtins.bool] = None,
2118
+ push: Optional[_builtins.bool] = None,
2119
+ push_by_digest: Optional[_builtins.bool] = None,
2120
+ store: Optional[_builtins.bool] = None,
2121
+ unpack: Optional[_builtins.bool] = None):
2122
+ """
2123
+ :param Mapping[str, _builtins.str] annotations: Attach an arbitrary key/value annotation to the image.
2124
2124
  :param 'CompressionType' compression: The compression type to use.
2125
- :param int compression_level: Compression level from 0 to 22.
2126
- :param str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
2127
- :param bool force_compression: Forcefully apply compression.
2128
- :param bool insecure: Allow pushing to an insecure registry.
2129
- :param bool name_canonical: Add additional canonical name (`name@<digest>`).
2130
- :param Sequence[str] names: Specify images names to export. This is overridden if tags are already specified.
2131
- :param bool oci_media_types: Use OCI media types in exporter manifests.
2132
- :param bool push: Push after creating the image. Defaults to `true`.
2133
- :param bool push_by_digest: Push image without name.
2134
- :param bool store: Store resulting images to the worker's image store and ensure all of
2125
+ :param _builtins.int compression_level: Compression level from 0 to 22.
2126
+ :param _builtins.str dangling_name_prefix: Name image with `prefix@<digest>`, used for anonymous images.
2127
+ :param _builtins.bool force_compression: Forcefully apply compression.
2128
+ :param _builtins.bool insecure: Allow pushing to an insecure registry.
2129
+ :param _builtins.bool name_canonical: Add additional canonical name (`name@<digest>`).
2130
+ :param Sequence[_builtins.str] names: Specify images names to export. This is overridden if tags are already specified.
2131
+ :param _builtins.bool oci_media_types: Use OCI media types in exporter manifests.
2132
+ :param _builtins.bool push: Push after creating the image. Defaults to `true`.
2133
+ :param _builtins.bool push_by_digest: Push image without name.
2134
+ :param _builtins.bool store: Store resulting images to the worker's image store and ensure all of
2135
2135
  its blobs are in the content store.
2136
2136
 
2137
2137
  Defaults to `true`.
2138
2138
 
2139
2139
  Ignored if the worker doesn't have image store (when using OCI workers,
2140
2140
  for example).
2141
- :param bool unpack: Unpack image after creation (for use with containerd). Defaults to
2141
+ :param _builtins.bool unpack: Unpack image after creation (for use with containerd). Defaults to
2142
2142
  `false`.
2143
2143
  """
2144
2144
  if annotations is not None:
@@ -2180,15 +2180,15 @@ class ExportRegistry(dict):
2180
2180
  if unpack is not None:
2181
2181
  pulumi.set(__self__, "unpack", unpack)
2182
2182
 
2183
- @property
2183
+ @_builtins.property
2184
2184
  @pulumi.getter
2185
- def annotations(self) -> Optional[Mapping[str, str]]:
2185
+ def annotations(self) -> Optional[Mapping[str, _builtins.str]]:
2186
2186
  """
2187
2187
  Attach an arbitrary key/value annotation to the image.
2188
2188
  """
2189
2189
  return pulumi.get(self, "annotations")
2190
2190
 
2191
- @property
2191
+ @_builtins.property
2192
2192
  @pulumi.getter
2193
2193
  def compression(self) -> Optional['CompressionType']:
2194
2194
  """
@@ -2196,81 +2196,81 @@ class ExportRegistry(dict):
2196
2196
  """
2197
2197
  return pulumi.get(self, "compression")
2198
2198
 
2199
- @property
2199
+ @_builtins.property
2200
2200
  @pulumi.getter(name="compressionLevel")
2201
- def compression_level(self) -> Optional[int]:
2201
+ def compression_level(self) -> Optional[_builtins.int]:
2202
2202
  """
2203
2203
  Compression level from 0 to 22.
2204
2204
  """
2205
2205
  return pulumi.get(self, "compression_level")
2206
2206
 
2207
- @property
2207
+ @_builtins.property
2208
2208
  @pulumi.getter(name="danglingNamePrefix")
2209
- def dangling_name_prefix(self) -> Optional[str]:
2209
+ def dangling_name_prefix(self) -> Optional[_builtins.str]:
2210
2210
  """
2211
2211
  Name image with `prefix@<digest>`, used for anonymous images.
2212
2212
  """
2213
2213
  return pulumi.get(self, "dangling_name_prefix")
2214
2214
 
2215
- @property
2215
+ @_builtins.property
2216
2216
  @pulumi.getter(name="forceCompression")
2217
- def force_compression(self) -> Optional[bool]:
2217
+ def force_compression(self) -> Optional[_builtins.bool]:
2218
2218
  """
2219
2219
  Forcefully apply compression.
2220
2220
  """
2221
2221
  return pulumi.get(self, "force_compression")
2222
2222
 
2223
- @property
2223
+ @_builtins.property
2224
2224
  @pulumi.getter
2225
- def insecure(self) -> Optional[bool]:
2225
+ def insecure(self) -> Optional[_builtins.bool]:
2226
2226
  """
2227
2227
  Allow pushing to an insecure registry.
2228
2228
  """
2229
2229
  return pulumi.get(self, "insecure")
2230
2230
 
2231
- @property
2231
+ @_builtins.property
2232
2232
  @pulumi.getter(name="nameCanonical")
2233
- def name_canonical(self) -> Optional[bool]:
2233
+ def name_canonical(self) -> Optional[_builtins.bool]:
2234
2234
  """
2235
2235
  Add additional canonical name (`name@<digest>`).
2236
2236
  """
2237
2237
  return pulumi.get(self, "name_canonical")
2238
2238
 
2239
- @property
2239
+ @_builtins.property
2240
2240
  @pulumi.getter
2241
- def names(self) -> Optional[Sequence[str]]:
2241
+ def names(self) -> Optional[Sequence[_builtins.str]]:
2242
2242
  """
2243
2243
  Specify images names to export. This is overridden if tags are already specified.
2244
2244
  """
2245
2245
  return pulumi.get(self, "names")
2246
2246
 
2247
- @property
2247
+ @_builtins.property
2248
2248
  @pulumi.getter(name="ociMediaTypes")
2249
- def oci_media_types(self) -> Optional[bool]:
2249
+ def oci_media_types(self) -> Optional[_builtins.bool]:
2250
2250
  """
2251
2251
  Use OCI media types in exporter manifests.
2252
2252
  """
2253
2253
  return pulumi.get(self, "oci_media_types")
2254
2254
 
2255
- @property
2255
+ @_builtins.property
2256
2256
  @pulumi.getter
2257
- def push(self) -> Optional[bool]:
2257
+ def push(self) -> Optional[_builtins.bool]:
2258
2258
  """
2259
2259
  Push after creating the image. Defaults to `true`.
2260
2260
  """
2261
2261
  return pulumi.get(self, "push")
2262
2262
 
2263
- @property
2263
+ @_builtins.property
2264
2264
  @pulumi.getter(name="pushByDigest")
2265
- def push_by_digest(self) -> Optional[bool]:
2265
+ def push_by_digest(self) -> Optional[_builtins.bool]:
2266
2266
  """
2267
2267
  Push image without name.
2268
2268
  """
2269
2269
  return pulumi.get(self, "push_by_digest")
2270
2270
 
2271
- @property
2271
+ @_builtins.property
2272
2272
  @pulumi.getter
2273
- def store(self) -> Optional[bool]:
2273
+ def store(self) -> Optional[_builtins.bool]:
2274
2274
  """
2275
2275
  Store resulting images to the worker's image store and ensure all of
2276
2276
  its blobs are in the content store.
@@ -2282,9 +2282,9 @@ class ExportRegistry(dict):
2282
2282
  """
2283
2283
  return pulumi.get(self, "store")
2284
2284
 
2285
- @property
2285
+ @_builtins.property
2286
2286
  @pulumi.getter
2287
- def unpack(self) -> Optional[bool]:
2287
+ def unpack(self) -> Optional[_builtins.bool]:
2288
2288
  """
2289
2289
  Unpack image after creation (for use with containerd). Defaults to
2290
2290
  `false`.
@@ -2295,15 +2295,15 @@ class ExportRegistry(dict):
2295
2295
  @pulumi.output_type
2296
2296
  class ExportTar(dict):
2297
2297
  def __init__(__self__, *,
2298
- dest: str):
2298
+ dest: _builtins.str):
2299
2299
  """
2300
- :param str dest: Output path.
2300
+ :param _builtins.str dest: Output path.
2301
2301
  """
2302
2302
  pulumi.set(__self__, "dest", dest)
2303
2303
 
2304
- @property
2304
+ @_builtins.property
2305
2305
  @pulumi.getter
2306
- def dest(self) -> str:
2306
+ def dest(self) -> _builtins.str:
2307
2307
  """
2308
2308
  Output path.
2309
2309
  """
@@ -2313,13 +2313,13 @@ class ExportTar(dict):
2313
2313
  @pulumi.output_type
2314
2314
  class Registry(dict):
2315
2315
  def __init__(__self__, *,
2316
- address: str,
2317
- password: Optional[str] = None,
2318
- username: Optional[str] = None):
2316
+ address: _builtins.str,
2317
+ password: Optional[_builtins.str] = None,
2318
+ username: Optional[_builtins.str] = None):
2319
2319
  """
2320
- :param str address: The registry's address (e.g. "docker.io").
2321
- :param str password: Password or token for the registry.
2322
- :param str username: Username for the registry.
2320
+ :param _builtins.str address: The registry's address (e.g. "docker.io").
2321
+ :param _builtins.str password: Password or token for the registry.
2322
+ :param _builtins.str username: Username for the registry.
2323
2323
  """
2324
2324
  pulumi.set(__self__, "address", address)
2325
2325
  if password is not None:
@@ -2327,25 +2327,25 @@ class Registry(dict):
2327
2327
  if username is not None:
2328
2328
  pulumi.set(__self__, "username", username)
2329
2329
 
2330
- @property
2330
+ @_builtins.property
2331
2331
  @pulumi.getter
2332
- def address(self) -> str:
2332
+ def address(self) -> _builtins.str:
2333
2333
  """
2334
2334
  The registry's address (e.g. "docker.io").
2335
2335
  """
2336
2336
  return pulumi.get(self, "address")
2337
2337
 
2338
- @property
2338
+ @_builtins.property
2339
2339
  @pulumi.getter
2340
- def password(self) -> Optional[str]:
2340
+ def password(self) -> Optional[_builtins.str]:
2341
2341
  """
2342
2342
  Password or token for the registry.
2343
2343
  """
2344
2344
  return pulumi.get(self, "password")
2345
2345
 
2346
- @property
2346
+ @_builtins.property
2347
2347
  @pulumi.getter
2348
- def username(self) -> Optional[str]:
2348
+ def username(self) -> Optional[_builtins.str]:
2349
2349
  """
2350
2350
  Username for the registry.
2351
2351
  """
@@ -2355,14 +2355,14 @@ class Registry(dict):
2355
2355
  @pulumi.output_type
2356
2356
  class SSH(dict):
2357
2357
  def __init__(__self__, *,
2358
- id: str,
2359
- paths: Optional[Sequence[str]] = None):
2358
+ id: _builtins.str,
2359
+ paths: Optional[Sequence[_builtins.str]] = None):
2360
2360
  """
2361
- :param str id: Useful for distinguishing different servers that are part of the same
2361
+ :param _builtins.str id: Useful for distinguishing different servers that are part of the same
2362
2362
  build.
2363
2363
 
2364
2364
  A value of `default` is appropriate if only dealing with a single host.
2365
- :param Sequence[str] paths: SSH agent socket or private keys to expose to the build under the given
2365
+ :param Sequence[_builtins.str] paths: SSH agent socket or private keys to expose to the build under the given
2366
2366
  identifier.
2367
2367
 
2368
2368
  Defaults to `[$SSH_AUTH_SOCK]`.
@@ -2375,9 +2375,9 @@ class SSH(dict):
2375
2375
  if paths is not None:
2376
2376
  pulumi.set(__self__, "paths", paths)
2377
2377
 
2378
- @property
2378
+ @_builtins.property
2379
2379
  @pulumi.getter
2380
- def id(self) -> str:
2380
+ def id(self) -> _builtins.str:
2381
2381
  """
2382
2382
  Useful for distinguishing different servers that are part of the same
2383
2383
  build.
@@ -2386,9 +2386,9 @@ class SSH(dict):
2386
2386
  """
2387
2387
  return pulumi.get(self, "id")
2388
2388
 
2389
- @property
2389
+ @_builtins.property
2390
2390
  @pulumi.getter
2391
- def paths(self) -> Optional[Sequence[str]]:
2391
+ def paths(self) -> Optional[Sequence[_builtins.str]]:
2392
2392
  """
2393
2393
  SSH agent socket or private keys to expose to the build under the given
2394
2394
  identifier.