cdk-docker-image-deployment 0.0.932__py3-none-any.whl → 0.0.934__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.
@@ -117,7 +117,7 @@ class Destination(
117
117
  @builtins.classmethod
118
118
  def ecr(
119
119
  cls,
120
- repository: _aws_cdk_aws_ecr_ceddda9d.IRepository,
120
+ repository: "_aws_cdk_aws_ecr_ceddda9d.IRepository",
121
121
  *,
122
122
  tag: typing.Optional[builtins.str] = None,
123
123
  ) -> "Destination":
@@ -135,7 +135,7 @@ class Destination(
135
135
 
136
136
  @jsii.member(jsii_name="bind")
137
137
  @abc.abstractmethod
138
- def bind(self, role: _aws_cdk_aws_iam_ceddda9d.IGrantable) -> "DestinationConfig":
138
+ def bind(self, role: "_aws_cdk_aws_iam_ceddda9d.IGrantable") -> "DestinationConfig":
139
139
  '''Bind grants the CodeBuild role permissions to pull and push to a repository if necessary.
140
140
 
141
141
  Bind should be invoked by the caller to get the DestinationConfig.
@@ -147,7 +147,7 @@ class Destination(
147
147
 
148
148
  class _DestinationProxy(Destination):
149
149
  @jsii.member(jsii_name="bind")
150
- def bind(self, role: _aws_cdk_aws_iam_ceddda9d.IGrantable) -> "DestinationConfig":
150
+ def bind(self, role: "_aws_cdk_aws_iam_ceddda9d.IGrantable") -> "DestinationConfig":
151
151
  '''Bind grants the CodeBuild role permissions to pull and push to a repository if necessary.
152
152
 
153
153
  Bind should be invoked by the caller to get the DestinationConfig.
@@ -244,10 +244,10 @@ class DockerImageDeployment(
244
244
 
245
245
  def __init__(
246
246
  self,
247
- scope: _constructs_77d1e7e8.Construct,
247
+ scope: "_constructs_77d1e7e8.Construct",
248
248
  id: builtins.str,
249
249
  *,
250
- destination: Destination,
250
+ destination: "Destination",
251
251
  source: "Source",
252
252
  ) -> None:
253
253
  '''
@@ -271,7 +271,7 @@ class DockerImageDeployment(
271
271
  name_mapping={"destination": "destination", "source": "source"},
272
272
  )
273
273
  class DockerImageDeploymentProps:
274
- def __init__(self, *, destination: Destination, source: "Source") -> None:
274
+ def __init__(self, *, destination: "Destination", source: "Source") -> None:
275
275
  '''
276
276
  :param destination: Destination repository to deploy the image to.
277
277
  :param source: Source of the image to deploy.
@@ -286,11 +286,11 @@ class DockerImageDeploymentProps:
286
286
  }
287
287
 
288
288
  @builtins.property
289
- def destination(self) -> Destination:
289
+ def destination(self) -> "Destination":
290
290
  '''Destination repository to deploy the image to.'''
291
291
  result = self._values.get("destination")
292
292
  assert result is not None, "Required property 'destination' is missing"
293
- return typing.cast(Destination, result)
293
+ return typing.cast("Destination", result)
294
294
 
295
295
  @builtins.property
296
296
  def source(self) -> "Source":
@@ -443,13 +443,13 @@ class Source(
443
443
  *,
444
444
  build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
445
445
  file: typing.Optional[builtins.str] = None,
446
- invalidation: typing.Optional[typing.Union[_aws_cdk_aws_ecr_assets_ceddda9d.DockerImageAssetInvalidationOptions, typing.Dict[builtins.str, typing.Any]]] = None,
447
- network_mode: typing.Optional[_aws_cdk_aws_ecr_assets_ceddda9d.NetworkMode] = None,
446
+ invalidation: typing.Optional[typing.Union["_aws_cdk_aws_ecr_assets_ceddda9d.DockerImageAssetInvalidationOptions", typing.Dict[builtins.str, typing.Any]]] = None,
447
+ network_mode: typing.Optional["_aws_cdk_aws_ecr_assets_ceddda9d.NetworkMode"] = None,
448
448
  target: typing.Optional[builtins.str] = None,
449
449
  extra_hash: typing.Optional[builtins.str] = None,
450
450
  exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
451
- follow_symlinks: typing.Optional[_aws_cdk_ceddda9d.SymlinkFollowMode] = None,
452
- ignore_mode: typing.Optional[_aws_cdk_ceddda9d.IgnoreMode] = None,
451
+ follow_symlinks: typing.Optional["_aws_cdk_ceddda9d.SymlinkFollowMode"] = None,
452
+ ignore_mode: typing.Optional["_aws_cdk_ceddda9d.IgnoreMode"] = None,
453
453
  ) -> "Source":
454
454
  '''Uses a local image built from a Dockerfile in a local directory as the source.
455
455
 
@@ -485,9 +485,9 @@ class Source(
485
485
  @abc.abstractmethod
486
486
  def bind(
487
487
  self,
488
- scope: _constructs_77d1e7e8.Construct,
488
+ scope: "_constructs_77d1e7e8.Construct",
489
489
  *,
490
- handler_role: _aws_cdk_aws_iam_ceddda9d.IRole,
490
+ handler_role: "_aws_cdk_aws_iam_ceddda9d.IRole",
491
491
  ) -> "SourceConfig":
492
492
  '''Bind grants the CodeBuild role permissions to pull from a repository if necessary.
493
493
 
@@ -503,9 +503,9 @@ class _SourceProxy(Source):
503
503
  @jsii.member(jsii_name="bind")
504
504
  def bind(
505
505
  self,
506
- scope: _constructs_77d1e7e8.Construct,
506
+ scope: "_constructs_77d1e7e8.Construct",
507
507
  *,
508
- handler_role: _aws_cdk_aws_iam_ceddda9d.IRole,
508
+ handler_role: "_aws_cdk_aws_iam_ceddda9d.IRole",
509
509
  ) -> "SourceConfig":
510
510
  '''Bind grants the CodeBuild role permissions to pull from a repository if necessary.
511
511
 
@@ -540,7 +540,7 @@ class SourceConfig:
540
540
  *,
541
541
  image_tag: builtins.str,
542
542
  image_uri: builtins.str,
543
- login_config: typing.Union[LoginConfig, typing.Dict[builtins.str, typing.Any]],
543
+ login_config: typing.Union["LoginConfig", typing.Dict[builtins.str, typing.Any]],
544
544
  ) -> None:
545
545
  '''Source information.
546
546
 
@@ -576,11 +576,11 @@ class SourceConfig:
576
576
  return typing.cast(builtins.str, result)
577
577
 
578
578
  @builtins.property
579
- def login_config(self) -> LoginConfig:
579
+ def login_config(self) -> "LoginConfig":
580
580
  '''The login command and region.'''
581
581
  result = self._values.get("login_config")
582
582
  assert result is not None, "Required property 'login_config' is missing"
583
- return typing.cast(LoginConfig, result)
583
+ return typing.cast("LoginConfig", result)
584
584
 
585
585
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
586
586
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -600,7 +600,7 @@ class SourceConfig:
600
600
  name_mapping={"handler_role": "handlerRole"},
601
601
  )
602
602
  class SourceContext:
603
- def __init__(self, *, handler_role: _aws_cdk_aws_iam_ceddda9d.IRole) -> None:
603
+ def __init__(self, *, handler_role: "_aws_cdk_aws_iam_ceddda9d.IRole") -> None:
604
604
  '''Bind context for Source.
605
605
 
606
606
  :param handler_role: The role for the handler.
@@ -613,11 +613,11 @@ class SourceContext:
613
613
  }
614
614
 
615
615
  @builtins.property
616
- def handler_role(self) -> _aws_cdk_aws_iam_ceddda9d.IRole:
616
+ def handler_role(self) -> "_aws_cdk_aws_iam_ceddda9d.IRole":
617
617
  '''The role for the handler.'''
618
618
  result = self._values.get("handler_role")
619
619
  assert result is not None, "Required property 'handler_role' is missing"
620
- return typing.cast(_aws_cdk_aws_iam_ceddda9d.IRole, result)
620
+ return typing.cast("_aws_cdk_aws_iam_ceddda9d.IRole", result)
621
621
 
622
622
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
623
623
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -33,9 +33,9 @@ import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
35
  "cdk-docker-image-deployment",
36
- "0.0.932",
36
+ "0.0.934",
37
37
  __name__[0:-6],
38
- "cdk-docker-image-deployment@0.0.932.jsii.tgz",
38
+ "cdk-docker-image-deployment@0.0.934.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-docker-image-deployment
3
- Version: 0.0.932
3
+ Version: 0.0.934
4
4
  Summary: This module allows you to copy docker image assets to a repository you control. This can be necessary if you want to build a Docker image in one CDK app and consume it in a different app or outside the CDK.
5
5
  Home-page: https://github.com/cdklabs/cdk-docker-image-deployment#readme
6
6
  Author: Parker Scanlon
@@ -22,9 +22,9 @@ License-File: LICENSE
22
22
  License-File: NOTICE
23
23
  Requires-Dist: aws-cdk-lib <3.0.0,>=2.24.0
24
24
  Requires-Dist: constructs <11.0.0,>=10.0.5
25
- Requires-Dist: jsii <2.0.0,>=1.117.0
25
+ Requires-Dist: jsii <2.0.0,>=1.126.0
26
26
  Requires-Dist: publication >=0.0.3
27
- Requires-Dist: typeguard <4.3.0,>=2.13.3
27
+ Requires-Dist: typeguard ==2.13.3
28
28
 
29
29
  ## CDK Docker Image Deployment
30
30
 
@@ -0,0 +1,10 @@
1
+ cdk_docker_image_deployment/__init__.py,sha256=iLy8Mug1ieNVSdHNjDj5QFZO4bT2E0tz2UJvOUYzQMU,29331
2
+ cdk_docker_image_deployment/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ cdk_docker_image_deployment/_jsii/__init__.py,sha256=IDbVphTmI9CWWGHc3N3yaOqyn4uCw2VovvsXL90XyGA,1482
4
+ cdk_docker_image_deployment/_jsii/cdk-docker-image-deployment@0.0.934.jsii.tgz,sha256=D1G5lyGPvkQoPmFh0FlXI6o1oMoTUmZDJpNuknfrQA8,13097633
5
+ cdk_docker_image_deployment-0.0.934.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
+ cdk_docker_image_deployment-0.0.934.dist-info/METADATA,sha256=SYSKabZnWdGqLVJydU2rKux6GYSrqAKqW36L20c6ubY,3850
7
+ cdk_docker_image_deployment-0.0.934.dist-info/NOTICE,sha256=1CkO1kwu3Q_OHYTj-d-yiBJA_lNN73a4zSntavaD4oc,67
8
+ cdk_docker_image_deployment-0.0.934.dist-info/WHEEL,sha256=WnJ8fYhv8N4SYVK2lLYNI6N0kVATA7b0piVUNvqIIJE,91
9
+ cdk_docker_image_deployment-0.0.934.dist-info/top_level.txt,sha256=WdzWJDV-WRpz7LHNc3kSSBBcEbKJGcyyW5BcqU_l1Ew,28
10
+ cdk_docker_image_deployment-0.0.934.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.2)
2
+ Generator: setuptools (75.3.3)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,10 +0,0 @@
1
- cdk_docker_image_deployment/__init__.py,sha256=ScEiDxHhr04kswlrbb4QnH6Un22Jxsqc2hK4Y2x_bvY,29287
2
- cdk_docker_image_deployment/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- cdk_docker_image_deployment/_jsii/__init__.py,sha256=GAozPyK2RhsA3j3yim4Jbt_SBqa2ibJlcAr5AM6KrVs,1482
4
- cdk_docker_image_deployment/_jsii/cdk-docker-image-deployment@0.0.932.jsii.tgz,sha256=ZeFP45pVw56tQys0nMadpUUEl6zKGRoOYTyuPNkO7k8,13093603
5
- cdk_docker_image_deployment-0.0.932.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
- cdk_docker_image_deployment-0.0.932.dist-info/METADATA,sha256=m2v3mbVCqCNRZVcZt-M_qYLkFJ__Ylhey5uU0ARGuew,3857
7
- cdk_docker_image_deployment-0.0.932.dist-info/NOTICE,sha256=1CkO1kwu3Q_OHYTj-d-yiBJA_lNN73a4zSntavaD4oc,67
8
- cdk_docker_image_deployment-0.0.932.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
9
- cdk_docker_image_deployment-0.0.932.dist-info/top_level.txt,sha256=WdzWJDV-WRpz7LHNc3kSSBBcEbKJGcyyW5BcqU_l1Ew,28
10
- cdk_docker_image_deployment-0.0.932.dist-info/RECORD,,