aws-cdk.cx-api 0.30.0__tar.gz → 0.33.0__tar.gz

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 aws-cdk.cx-api might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.cx-api
3
- Version: 0.30.0
3
+ Version: 0.33.0
4
4
  Summary: Cloud executable protocol
5
5
  Home-page: https://github.com/awslabs/aws-cdk
6
6
  Author: Amazon Web Services
@@ -4,7 +4,7 @@ import setuptools
4
4
  kwargs = json.loads("""
5
5
  {
6
6
  "name": "aws-cdk.cx-api",
7
- "version": "0.30.0",
7
+ "version": "0.33.0",
8
8
  "description": "Cloud executable protocol",
9
9
  "url": "https://github.com/awslabs/aws-cdk",
10
10
  "long_description_content_type": "text/markdown",
@@ -21,7 +21,7 @@ kwargs = json.loads("""
21
21
  ],
22
22
  "package_data": {
23
23
  "aws_cdk.cx_api._jsii": [
24
- "cx-api@0.30.0.jsii.tgz"
24
+ "cx-api@0.33.0.jsii.tgz"
25
25
  ],
26
26
  "aws_cdk.cx_api": [
27
27
  "py.typed"
@@ -29,7 +29,7 @@ kwargs = json.loads("""
29
29
  },
30
30
  "python_requires": ">=3.6",
31
31
  "install_requires": [
32
- "jsii~=0.10.3",
32
+ "jsii~=0.11.0",
33
33
  "publication>=0.0.3"
34
34
  ]
35
35
  }
@@ -0,0 +1,621 @@
1
+ import abc
2
+ import datetime
3
+ import enum
4
+ import typing
5
+
6
+ import jsii
7
+ import jsii.compat
8
+ import publication
9
+
10
+ from jsii.python import classproperty
11
+ __jsii_assembly__ = jsii.JSIIAssembly.load("@aws-cdk/cx-api", "0.33.0", __name__, "cx-api@0.33.0.jsii.tgz")
12
+ @jsii.data_type_optionals(jsii_struct_bases=[])
13
+ class _Artifact(jsii.compat.TypedDict, total=False):
14
+ autoDeploy: bool
15
+ dependencies: typing.List[str]
16
+ metadata: typing.Mapping[str,typing.List["MetadataEntry"]]
17
+ missing: typing.Mapping[str,"MissingContext"]
18
+ properties: typing.Mapping[str,typing.Any]
19
+
20
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.Artifact", jsii_struct_bases=[_Artifact])
21
+ class Artifact(_Artifact):
22
+ environment: str
23
+
24
+ type: "ArtifactType"
25
+
26
+ @jsii.enum(jsii_type="@aws-cdk/cx-api.ArtifactType")
27
+ class ArtifactType(enum.Enum):
28
+ None_ = "None"
29
+ AwsCloudFormationStack = "AwsCloudFormationStack"
30
+
31
+ @jsii.data_type_optionals(jsii_struct_bases=[])
32
+ class _AssemblyManifest(jsii.compat.TypedDict, total=False):
33
+ artifacts: typing.Mapping[str,"Artifact"]
34
+ """The set of artifacts in this assembly."""
35
+ runtime: "RuntimeInfo"
36
+ """Runtime information."""
37
+
38
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.AssemblyManifest", jsii_struct_bases=[_AssemblyManifest])
39
+ class AssemblyManifest(_AssemblyManifest):
40
+ version: str
41
+ """Protocol version."""
42
+
43
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.AvailabilityZonesContextQuery", jsii_struct_bases=[])
44
+ class AvailabilityZonesContextQuery(jsii.compat.TypedDict, total=False):
45
+ """Query to hosted zone context provider."""
46
+ account: str
47
+ """Query account."""
48
+
49
+ region: str
50
+ """Query region."""
51
+
52
+ @jsii.data_type_optionals(jsii_struct_bases=[])
53
+ class _AwsCloudFormationStackProperties(jsii.compat.TypedDict, total=False):
54
+ parameters: typing.Mapping[str,str]
55
+
56
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.AwsCloudFormationStackProperties", jsii_struct_bases=[_AwsCloudFormationStackProperties])
57
+ class AwsCloudFormationStackProperties(_AwsCloudFormationStackProperties):
58
+ templateFile: str
59
+
60
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.BuildOptions", jsii_struct_bases=[])
61
+ class BuildOptions(jsii.compat.TypedDict, total=False):
62
+ runtimeInfo: "RuntimeInfo"
63
+ """Include runtime information (module versions) in manifest.
64
+
65
+ Default:
66
+ true
67
+ """
68
+
69
+ class CloudArtifact(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.CloudArtifact"):
70
+ def __init__(self, assembly: "CloudAssembly", id: str, *, environment: str, type: "ArtifactType", auto_deploy: typing.Optional[bool]=None, dependencies: typing.Optional[typing.List[str]]=None, metadata: typing.Optional[typing.Mapping[str,typing.List["MetadataEntry"]]]=None, missing: typing.Optional[typing.Mapping[str,"MissingContext"]]=None, properties: typing.Optional[typing.Mapping[str,typing.Any]]=None) -> None:
71
+ """
72
+ Arguments:
73
+ assembly: -
74
+ id: -
75
+ artifact: -
76
+ environment: -
77
+ type: -
78
+ autoDeploy: -
79
+ dependencies: -
80
+ metadata: -
81
+ missing: -
82
+ properties: -
83
+ """
84
+ artifact: Artifact = {"environment": environment, "type": type}
85
+
86
+ if auto_deploy is not None:
87
+ artifact["autoDeploy"] = auto_deploy
88
+
89
+ if dependencies is not None:
90
+ artifact["dependencies"] = dependencies
91
+
92
+ if metadata is not None:
93
+ artifact["metadata"] = metadata
94
+
95
+ if missing is not None:
96
+ artifact["missing"] = missing
97
+
98
+ if properties is not None:
99
+ artifact["properties"] = properties
100
+
101
+ jsii.create(CloudArtifact, self, [assembly, id, artifact])
102
+
103
+ @jsii.member(jsii_name="from")
104
+ @classmethod
105
+ def from_(cls, assembly: "CloudAssembly", name: str, *, environment: str, type: "ArtifactType", auto_deploy: typing.Optional[bool]=None, dependencies: typing.Optional[typing.List[str]]=None, metadata: typing.Optional[typing.Mapping[str,typing.List["MetadataEntry"]]]=None, missing: typing.Optional[typing.Mapping[str,"MissingContext"]]=None, properties: typing.Optional[typing.Mapping[str,typing.Any]]=None) -> "CloudArtifact":
106
+ """
107
+ Arguments:
108
+ assembly: -
109
+ name: -
110
+ artifact: -
111
+ environment: -
112
+ type: -
113
+ autoDeploy: -
114
+ dependencies: -
115
+ metadata: -
116
+ missing: -
117
+ properties: -
118
+ """
119
+ artifact: Artifact = {"environment": environment, "type": type}
120
+
121
+ if auto_deploy is not None:
122
+ artifact["autoDeploy"] = auto_deploy
123
+
124
+ if dependencies is not None:
125
+ artifact["dependencies"] = dependencies
126
+
127
+ if metadata is not None:
128
+ artifact["metadata"] = metadata
129
+
130
+ if missing is not None:
131
+ artifact["missing"] = missing
132
+
133
+ if properties is not None:
134
+ artifact["properties"] = properties
135
+
136
+ return jsii.sinvoke(cls, "from", [assembly, name, artifact])
137
+
138
+ @property
139
+ @jsii.member(jsii_name="assembly")
140
+ def assembly(self) -> "CloudAssembly":
141
+ return jsii.get(self, "assembly")
142
+
143
+ @property
144
+ @jsii.member(jsii_name="autoDeploy")
145
+ def auto_deploy(self) -> bool:
146
+ return jsii.get(self, "autoDeploy")
147
+
148
+ @property
149
+ @jsii.member(jsii_name="depends")
150
+ def depends(self) -> typing.List["CloudArtifact"]:
151
+ return jsii.get(self, "depends")
152
+
153
+ @property
154
+ @jsii.member(jsii_name="dependsIDs")
155
+ def depends_i_ds(self) -> typing.List[str]:
156
+ return jsii.get(self, "dependsIDs")
157
+
158
+ @property
159
+ @jsii.member(jsii_name="environment")
160
+ def environment(self) -> "Environment":
161
+ return jsii.get(self, "environment")
162
+
163
+ @property
164
+ @jsii.member(jsii_name="id")
165
+ def id(self) -> str:
166
+ return jsii.get(self, "id")
167
+
168
+ @property
169
+ @jsii.member(jsii_name="messages")
170
+ def messages(self) -> typing.List["SynthesisMessage"]:
171
+ return jsii.get(self, "messages")
172
+
173
+ @property
174
+ @jsii.member(jsii_name="metadata")
175
+ def metadata(self) -> typing.Mapping[str,typing.List["MetadataEntry"]]:
176
+ return jsii.get(self, "metadata")
177
+
178
+ @property
179
+ @jsii.member(jsii_name="missing")
180
+ def missing(self) -> typing.Mapping[str,"MissingContext"]:
181
+ return jsii.get(self, "missing")
182
+
183
+ @property
184
+ @jsii.member(jsii_name="properties")
185
+ def properties(self) -> typing.Mapping[str,typing.Any]:
186
+ return jsii.get(self, "properties")
187
+
188
+ @property
189
+ @jsii.member(jsii_name="type")
190
+ def type(self) -> "ArtifactType":
191
+ return jsii.get(self, "type")
192
+
193
+
194
+ class CloudAssembly(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.CloudAssembly"):
195
+ def __init__(self, directory: str) -> None:
196
+ """
197
+ Arguments:
198
+ directory: -
199
+ """
200
+ jsii.create(CloudAssembly, self, [directory])
201
+
202
+ @jsii.member(jsii_name="getStack")
203
+ def get_stack(self, id: str) -> "CloudFormationStackArtifact":
204
+ """
205
+ Arguments:
206
+ id: -
207
+ """
208
+ return jsii.invoke(self, "getStack", [id])
209
+
210
+ @jsii.member(jsii_name="readJson")
211
+ def read_json(self, file_path: str) -> typing.Any:
212
+ """
213
+ Arguments:
214
+ filePath: -
215
+ """
216
+ return jsii.invoke(self, "readJson", [file_path])
217
+
218
+ @jsii.member(jsii_name="tryGetArtifact")
219
+ def try_get_artifact(self, id: str) -> typing.Optional["CloudArtifact"]:
220
+ """
221
+ Arguments:
222
+ id: -
223
+ """
224
+ return jsii.invoke(self, "tryGetArtifact", [id])
225
+
226
+ @property
227
+ @jsii.member(jsii_name="artifacts")
228
+ def artifacts(self) -> typing.List["CloudArtifact"]:
229
+ return jsii.get(self, "artifacts")
230
+
231
+ @property
232
+ @jsii.member(jsii_name="directory")
233
+ def directory(self) -> str:
234
+ return jsii.get(self, "directory")
235
+
236
+ @property
237
+ @jsii.member(jsii_name="manifest")
238
+ def manifest(self) -> "AssemblyManifest":
239
+ return jsii.get(self, "manifest")
240
+
241
+ @property
242
+ @jsii.member(jsii_name="runtime")
243
+ def runtime(self) -> "RuntimeInfo":
244
+ return jsii.get(self, "runtime")
245
+
246
+ @property
247
+ @jsii.member(jsii_name="stacks")
248
+ def stacks(self) -> typing.List["CloudFormationStackArtifact"]:
249
+ return jsii.get(self, "stacks")
250
+
251
+ @property
252
+ @jsii.member(jsii_name="version")
253
+ def version(self) -> str:
254
+ return jsii.get(self, "version")
255
+
256
+ @property
257
+ @jsii.member(jsii_name="missing")
258
+ def missing(self) -> typing.Optional[typing.Mapping[str,"MissingContext"]]:
259
+ return jsii.get(self, "missing")
260
+
261
+
262
+ class CloudAssemblyBuilder(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.CloudAssemblyBuilder"):
263
+ def __init__(self, outdir: typing.Optional[str]=None) -> None:
264
+ """
265
+ Arguments:
266
+ outdir: -
267
+ """
268
+ jsii.create(CloudAssemblyBuilder, self, [outdir])
269
+
270
+ @jsii.member(jsii_name="addArtifact")
271
+ def add_artifact(self, name: str, *, environment: str, type: "ArtifactType", auto_deploy: typing.Optional[bool]=None, dependencies: typing.Optional[typing.List[str]]=None, metadata: typing.Optional[typing.Mapping[str,typing.List["MetadataEntry"]]]=None, missing: typing.Optional[typing.Mapping[str,"MissingContext"]]=None, properties: typing.Optional[typing.Mapping[str,typing.Any]]=None) -> None:
272
+ """
273
+ Arguments:
274
+ name: -
275
+ artifact: -
276
+ environment: -
277
+ type: -
278
+ autoDeploy: -
279
+ dependencies: -
280
+ metadata: -
281
+ missing: -
282
+ properties: -
283
+ """
284
+ artifact: Artifact = {"environment": environment, "type": type}
285
+
286
+ if auto_deploy is not None:
287
+ artifact["autoDeploy"] = auto_deploy
288
+
289
+ if dependencies is not None:
290
+ artifact["dependencies"] = dependencies
291
+
292
+ if metadata is not None:
293
+ artifact["metadata"] = metadata
294
+
295
+ if missing is not None:
296
+ artifact["missing"] = missing
297
+
298
+ if properties is not None:
299
+ artifact["properties"] = properties
300
+
301
+ return jsii.invoke(self, "addArtifact", [name, artifact])
302
+
303
+ @jsii.member(jsii_name="build")
304
+ def build(self, *, runtime_info: typing.Optional["RuntimeInfo"]=None) -> "CloudAssembly":
305
+ """
306
+ Arguments:
307
+ options: -
308
+ runtimeInfo: Include runtime information (module versions) in manifest. Default: true
309
+ """
310
+ options: BuildOptions = {}
311
+
312
+ if runtime_info is not None:
313
+ options["runtimeInfo"] = runtime_info
314
+
315
+ return jsii.invoke(self, "build", [options])
316
+
317
+ @property
318
+ @jsii.member(jsii_name="outdir")
319
+ def outdir(self) -> str:
320
+ return jsii.get(self, "outdir")
321
+
322
+
323
+ class CloudFormationStackArtifact(CloudArtifact, metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.CloudFormationStackArtifact"):
324
+ def __init__(self, assembly: "CloudAssembly", name: str, *, environment: str, type: "ArtifactType", auto_deploy: typing.Optional[bool]=None, dependencies: typing.Optional[typing.List[str]]=None, metadata: typing.Optional[typing.Mapping[str,typing.List["MetadataEntry"]]]=None, missing: typing.Optional[typing.Mapping[str,"MissingContext"]]=None, properties: typing.Optional[typing.Mapping[str,typing.Any]]=None) -> None:
325
+ """
326
+ Arguments:
327
+ assembly: -
328
+ name: -
329
+ artifact: -
330
+ environment: -
331
+ type: -
332
+ autoDeploy: -
333
+ dependencies: -
334
+ metadata: -
335
+ missing: -
336
+ properties: -
337
+ """
338
+ artifact: Artifact = {"environment": environment, "type": type}
339
+
340
+ if auto_deploy is not None:
341
+ artifact["autoDeploy"] = auto_deploy
342
+
343
+ if dependencies is not None:
344
+ artifact["dependencies"] = dependencies
345
+
346
+ if metadata is not None:
347
+ artifact["metadata"] = metadata
348
+
349
+ if missing is not None:
350
+ artifact["missing"] = missing
351
+
352
+ if properties is not None:
353
+ artifact["properties"] = properties
354
+
355
+ jsii.create(CloudFormationStackArtifact, self, [assembly, name, artifact])
356
+
357
+ @property
358
+ @jsii.member(jsii_name="assets")
359
+ def assets(self) -> typing.List[typing.Union["FileAssetMetadataEntry", "ContainerImageAssetMetadataEntry"]]:
360
+ return jsii.get(self, "assets")
361
+
362
+ @property
363
+ @jsii.member(jsii_name="logicalIdToPathMap")
364
+ def logical_id_to_path_map(self) -> typing.Mapping[str,str]:
365
+ return jsii.get(self, "logicalIdToPathMap")
366
+
367
+ @property
368
+ @jsii.member(jsii_name="originalName")
369
+ def original_name(self) -> str:
370
+ return jsii.get(self, "originalName")
371
+
372
+ @property
373
+ @jsii.member(jsii_name="template")
374
+ def template(self) -> typing.Any:
375
+ return jsii.get(self, "template")
376
+
377
+ @property
378
+ @jsii.member(jsii_name="name")
379
+ def name(self) -> str:
380
+ return jsii.get(self, "name")
381
+
382
+ @name.setter
383
+ def name(self, value: str):
384
+ return jsii.set(self, "name", value)
385
+
386
+
387
+ @jsii.data_type_optionals(jsii_struct_bases=[])
388
+ class _ContainerImageAssetMetadataEntry(jsii.compat.TypedDict, total=False):
389
+ buildArgs: typing.Mapping[str,str]
390
+ """Build args to pass to the ``docker build`` command.
391
+
392
+ Default:
393
+ no build args are passed
394
+ """
395
+ repositoryName: str
396
+ """ECR repository name, if omitted a default name based on the asset's ID is used instead.
397
+
398
+ Specify this property if you need to statically
399
+ address the image, e.g. from a Kubernetes Pod.
400
+ Note, this is only the repository name, without the registry and
401
+ the tag parts.
402
+
403
+ Default:
404
+ automatically derived from the asset's ID.
405
+ """
406
+
407
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.ContainerImageAssetMetadataEntry", jsii_struct_bases=[_ContainerImageAssetMetadataEntry])
408
+ class ContainerImageAssetMetadataEntry(_ContainerImageAssetMetadataEntry):
409
+ id: str
410
+ """Logical identifier for the asset."""
411
+
412
+ imageNameParameter: str
413
+ """ECR Repository name and repo digest (separated by "@sha256:") where this image is stored."""
414
+
415
+ packaging: str
416
+ """Type of asset."""
417
+
418
+ path: str
419
+ """Path on disk to the asset."""
420
+
421
+ sourceHash: str
422
+ """The hash of the source directory used to build the asset."""
423
+
424
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.Environment", jsii_struct_bases=[])
425
+ class Environment(jsii.compat.TypedDict):
426
+ """Models an AWS execution environment, for use within the CDK toolkit."""
427
+ account: str
428
+ """The 12-digit AWS account ID for the account this environment deploys into."""
429
+
430
+ name: str
431
+ """The arbitrary name of this environment (user-set, or at least user-meaningful)."""
432
+
433
+ region: str
434
+ """The AWS region name where this environment deploys into."""
435
+
436
+ class EnvironmentUtils(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.EnvironmentUtils"):
437
+ def __init__(self) -> None:
438
+ jsii.create(EnvironmentUtils, self, [])
439
+
440
+ @jsii.member(jsii_name="format")
441
+ @classmethod
442
+ def format(cls, account: str, region: str) -> str:
443
+ """
444
+ Arguments:
445
+ account: -
446
+ region: -
447
+ """
448
+ return jsii.sinvoke(cls, "format", [account, region])
449
+
450
+ @jsii.member(jsii_name="parse")
451
+ @classmethod
452
+ def parse(cls, environment: str) -> "Environment":
453
+ """
454
+ Arguments:
455
+ environment: -
456
+ """
457
+ return jsii.sinvoke(cls, "parse", [environment])
458
+
459
+
460
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.FileAssetMetadataEntry", jsii_struct_bases=[])
461
+ class FileAssetMetadataEntry(jsii.compat.TypedDict):
462
+ artifactHashParameter: str
463
+ """The name of the parameter where the hash of the bundled asset should be passed in."""
464
+
465
+ id: str
466
+ """Logical identifier for the asset."""
467
+
468
+ packaging: str
469
+ """Requested packaging style."""
470
+
471
+ path: str
472
+ """Path on disk to the asset."""
473
+
474
+ s3BucketParameter: str
475
+ """Name of parameter where S3 bucket should be passed in."""
476
+
477
+ s3KeyParameter: str
478
+ """Name of parameter where S3 key should be passed in."""
479
+
480
+ sourceHash: str
481
+ """The hash of the source directory used to build the asset."""
482
+
483
+ @jsii.data_type_optionals(jsii_struct_bases=[])
484
+ class _HostedZoneContextQuery(jsii.compat.TypedDict, total=False):
485
+ account: str
486
+ """Query account."""
487
+ privateZone: bool
488
+ """True if the zone you want to find is a private hosted zone."""
489
+ region: str
490
+ """Query region."""
491
+ vpcId: str
492
+ """The VPC ID to that the private zone must be associated with.
493
+
494
+ If you provide VPC ID and privateZone is false, this will return no results
495
+ and raise an error.
496
+ """
497
+
498
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.HostedZoneContextQuery", jsii_struct_bases=[_HostedZoneContextQuery])
499
+ class HostedZoneContextQuery(_HostedZoneContextQuery):
500
+ """Query to hosted zone context provider."""
501
+ domainName: str
502
+ """The domain name e.g. example.com to lookup."""
503
+
504
+ @jsii.data_type_optionals(jsii_struct_bases=[])
505
+ class _MetadataEntry(jsii.compat.TypedDict, total=False):
506
+ data: typing.Any
507
+ """The data."""
508
+ trace: typing.List[str]
509
+ """A stack trace for when the entry was created."""
510
+
511
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.MetadataEntry", jsii_struct_bases=[_MetadataEntry])
512
+ class MetadataEntry(_MetadataEntry):
513
+ """An metadata entry in the construct."""
514
+ type: str
515
+ """The type of the metadata entry."""
516
+
517
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.MissingContext", jsii_struct_bases=[])
518
+ class MissingContext(jsii.compat.TypedDict):
519
+ """Represents a missing piece of context."""
520
+ props: typing.Mapping[str,typing.Any]
521
+
522
+ provider: str
523
+
524
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.RuntimeInfo", jsii_struct_bases=[])
525
+ class RuntimeInfo(jsii.compat.TypedDict):
526
+ """Information about the application's runtime components."""
527
+ libraries: typing.Mapping[str,str]
528
+ """The list of libraries loaded in the application, associated with their versions."""
529
+
530
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.SSMParameterContextQuery", jsii_struct_bases=[])
531
+ class SSMParameterContextQuery(jsii.compat.TypedDict, total=False):
532
+ """Query to hosted zone context provider."""
533
+ account: str
534
+ """Query account."""
535
+
536
+ parameterName: str
537
+ """Parameter name to query."""
538
+
539
+ region: str
540
+ """Query region."""
541
+
542
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.SynthesisMessage", jsii_struct_bases=[])
543
+ class SynthesisMessage(jsii.compat.TypedDict):
544
+ entry: "MetadataEntry"
545
+
546
+ id: str
547
+
548
+ level: "SynthesisMessageLevel"
549
+
550
+ @jsii.enum(jsii_type="@aws-cdk/cx-api.SynthesisMessageLevel")
551
+ class SynthesisMessageLevel(enum.Enum):
552
+ INFO = "INFO"
553
+ WARNING = "WARNING"
554
+ ERROR = "ERROR"
555
+
556
+ @jsii.data_type_optionals(jsii_struct_bases=[])
557
+ class _VpcContextQuery(jsii.compat.TypedDict, total=False):
558
+ account: str
559
+ """Query account."""
560
+ region: str
561
+ """Query region."""
562
+
563
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.VpcContextQuery", jsii_struct_bases=[_VpcContextQuery])
564
+ class VpcContextQuery(_VpcContextQuery):
565
+ """Query input for looking up a VPC."""
566
+ filter: typing.Mapping[str,str]
567
+ """Filters to apply to the VPC.
568
+
569
+ Filter parameters are the same as passed to DescribeVpcs.
570
+
571
+ See:
572
+ https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html
573
+ """
574
+
575
+ @jsii.data_type_optionals(jsii_struct_bases=[])
576
+ class _VpcContextResponse(jsii.compat.TypedDict, total=False):
577
+ isolatedSubnetIds: typing.List[str]
578
+ """IDs of all isolated subnets.
579
+
580
+ Element count: #(availabilityZones) · #(isolatedGroups)
581
+ """
582
+ isolatedSubnetNames: typing.List[str]
583
+ """Name of isolated subnet groups.
584
+
585
+ Element count: #(isolatedGroups)
586
+ """
587
+ privateSubnetIds: typing.List[str]
588
+ """IDs of all private subnets.
589
+
590
+ Element count: #(availabilityZones) · #(privateGroups)
591
+ """
592
+ privateSubnetNames: typing.List[str]
593
+ """Name of private subnet groups.
594
+
595
+ Element count: #(privateGroups)
596
+ """
597
+ publicSubnetIds: typing.List[str]
598
+ """IDs of all public subnets.
599
+
600
+ Element count: #(availabilityZones) · #(publicGroups)
601
+ """
602
+ publicSubnetNames: typing.List[str]
603
+ """Name of public subnet groups.
604
+
605
+ Element count: #(publicGroups)
606
+ """
607
+ vpnGatewayId: str
608
+ """The VPN gateway ID."""
609
+
610
+ @jsii.data_type(jsii_type="@aws-cdk/cx-api.VpcContextResponse", jsii_struct_bases=[_VpcContextResponse])
611
+ class VpcContextResponse(_VpcContextResponse):
612
+ """Properties of a discovered VPC."""
613
+ availabilityZones: typing.List[str]
614
+ """AZs."""
615
+
616
+ vpcId: str
617
+ """VPC id."""
618
+
619
+ __all__ = ["Artifact", "ArtifactType", "AssemblyManifest", "AvailabilityZonesContextQuery", "AwsCloudFormationStackProperties", "BuildOptions", "CloudArtifact", "CloudAssembly", "CloudAssemblyBuilder", "CloudFormationStackArtifact", "ContainerImageAssetMetadataEntry", "Environment", "EnvironmentUtils", "FileAssetMetadataEntry", "HostedZoneContextQuery", "MetadataEntry", "MissingContext", "RuntimeInfo", "SSMParameterContextQuery", "SynthesisMessage", "SynthesisMessageLevel", "VpcContextQuery", "VpcContextResponse", "__jsii_assembly__"]
620
+
621
+ publication.publish()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.cx-api
3
- Version: 0.30.0
3
+ Version: 0.33.0
4
4
  Summary: Cloud executable protocol
5
5
  Home-page: https://github.com/awslabs/aws-cdk
6
6
  Author: Amazon Web Services
@@ -10,4 +10,4 @@ src/aws_cdk.cx_api.egg-info/top_level.txt
10
10
  src/aws_cdk/cx_api/__init__.py
11
11
  src/aws_cdk/cx_api/py.typed
12
12
  src/aws_cdk/cx_api/_jsii/__init__.py
13
- src/aws_cdk/cx_api/_jsii/cx-api@0.30.0.jsii.tgz
13
+ src/aws_cdk/cx_api/_jsii/cx-api@0.33.0.jsii.tgz
@@ -1,2 +1,2 @@
1
- jsii~=0.10.3
1
+ jsii~=0.11.0
2
2
  publication>=0.0.3
@@ -1,279 +0,0 @@
1
- import abc
2
- import datetime
3
- import enum
4
- import typing
5
-
6
- import jsii
7
- import jsii.compat
8
- import publication
9
-
10
- from jsii.python import classproperty
11
- __jsii_assembly__ = jsii.JSIIAssembly.load("@aws-cdk/cx-api", "0.30.0", __name__, "cx-api@0.30.0.jsii.tgz")
12
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.AppRuntime", jsii_struct_bases=[])
13
- class AppRuntime(jsii.compat.TypedDict):
14
- """Information about the application's runtime components."""
15
- libraries: typing.Mapping[str,str]
16
- """The list of libraries loaded in the application, associated with their versions."""
17
-
18
- @jsii.data_type_optionals(jsii_struct_bases=[])
19
- class _Artifact(jsii.compat.TypedDict, total=False):
20
- autoDeploy: bool
21
- dependencies: typing.List[str]
22
- metadata: typing.Mapping[str,typing.Any]
23
- missing: typing.Mapping[str,typing.Any]
24
- properties: typing.Mapping[str,typing.Any]
25
-
26
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.Artifact", jsii_struct_bases=[_Artifact])
27
- class Artifact(_Artifact):
28
- environment: str
29
-
30
- type: "ArtifactType"
31
-
32
- @jsii.enum(jsii_type="@aws-cdk/cx-api.ArtifactType")
33
- class ArtifactType(enum.Enum):
34
- AwsCloudFormationStack = "AwsCloudFormationStack"
35
- AwsEcrDockerImage = "AwsEcrDockerImage"
36
- AwsS3Object = "AwsS3Object"
37
-
38
- @jsii.data_type_optionals(jsii_struct_bases=[])
39
- class _AssemblyManifest(jsii.compat.TypedDict, total=False):
40
- artifacts: typing.Mapping[str,"Artifact"]
41
- """The set of artifacts in this assembly."""
42
- runtime: "AppRuntime"
43
- """Runtime information."""
44
-
45
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.AssemblyManifest", jsii_struct_bases=[_AssemblyManifest])
46
- class AssemblyManifest(_AssemblyManifest):
47
- version: str
48
- """Protocol version."""
49
-
50
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.AvailabilityZonesContextQuery", jsii_struct_bases=[])
51
- class AvailabilityZonesContextQuery(jsii.compat.TypedDict, total=False):
52
- """Query to hosted zone context provider."""
53
- account: str
54
- """Query account."""
55
-
56
- region: str
57
- """Query region."""
58
-
59
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.BuildManifest", jsii_struct_bases=[])
60
- class BuildManifest(jsii.compat.TypedDict):
61
- steps: typing.Mapping[str,"BuildStep"]
62
-
63
- @jsii.data_type_optionals(jsii_struct_bases=[])
64
- class _BuildStep(jsii.compat.TypedDict, total=False):
65
- depends: typing.List[str]
66
-
67
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.BuildStep", jsii_struct_bases=[_BuildStep])
68
- class BuildStep(_BuildStep):
69
- parameters: typing.Mapping[str,typing.Any]
70
-
71
- type: str
72
-
73
- @jsii.enum(jsii_type="@aws-cdk/cx-api.BuildStepType")
74
- class BuildStepType(enum.Enum):
75
- CopyFile = "CopyFile"
76
- ZipDirectory = "ZipDirectory"
77
-
78
- @jsii.data_type_optionals(jsii_struct_bases=[])
79
- class _ContainerImageAssetMetadataEntry(jsii.compat.TypedDict, total=False):
80
- repositoryName: str
81
- """ECR repository name, if omitted a default name based on the asset's ID is used instead.
82
-
83
- Specify this property if you need to statically
84
- address the image, e.g. from a Kubernetes Pod.
85
- Note, this is only the repository name, without the registry and
86
- the tag parts.
87
-
88
- - @default automatically derived from the asset's ID.
89
- """
90
-
91
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.ContainerImageAssetMetadataEntry", jsii_struct_bases=[_ContainerImageAssetMetadataEntry])
92
- class ContainerImageAssetMetadataEntry(_ContainerImageAssetMetadataEntry):
93
- id: str
94
- """Logical identifier for the asset."""
95
-
96
- imageNameParameter: str
97
- """ECR Repository name and tag (separated by ":") where this asset is stored."""
98
-
99
- packaging: str
100
- """Type of asset."""
101
-
102
- path: str
103
- """Path on disk to the asset."""
104
-
105
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.Environment", jsii_struct_bases=[])
106
- class Environment(jsii.compat.TypedDict):
107
- """Models an AWS execution environment, for use within the CDK toolkit."""
108
- account: str
109
- """The 12-digit AWS account ID for the account this environment deploys into."""
110
-
111
- name: str
112
- """The arbitrary name of this environment (user-set, or at least user-meaningful)."""
113
-
114
- region: str
115
- """The AWS region name where this environment deploys into."""
116
-
117
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.FileAssetMetadataEntry", jsii_struct_bases=[])
118
- class FileAssetMetadataEntry(jsii.compat.TypedDict):
119
- id: str
120
- """Logical identifier for the asset."""
121
-
122
- packaging: str
123
- """Requested packaging style."""
124
-
125
- path: str
126
- """Path on disk to the asset."""
127
-
128
- s3BucketParameter: str
129
- """Name of parameter where S3 bucket should be passed in."""
130
-
131
- s3KeyParameter: str
132
- """Name of parameter where S3 key should be passed in."""
133
-
134
- @jsii.data_type_optionals(jsii_struct_bases=[])
135
- class _HostedZoneContextQuery(jsii.compat.TypedDict, total=False):
136
- account: str
137
- """Query account."""
138
- privateZone: bool
139
- """True if the zone you want to find is a private hosted zone."""
140
- region: str
141
- """Query region."""
142
- vpcId: str
143
- """The VPC ID to that the private zone must be associated with.
144
-
145
- If you provide VPC ID and privateZone is false, this will return no results
146
- and raise an error.
147
- """
148
-
149
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.HostedZoneContextQuery", jsii_struct_bases=[_HostedZoneContextQuery])
150
- class HostedZoneContextQuery(_HostedZoneContextQuery):
151
- """Query to hosted zone context provider."""
152
- domainName: str
153
- """The domain name e.g. example.com to lookup."""
154
-
155
- @jsii.data_type_optionals(jsii_struct_bases=[])
156
- class _MetadataEntry(jsii.compat.TypedDict, total=False):
157
- data: typing.Any
158
- """The data."""
159
-
160
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.MetadataEntry", jsii_struct_bases=[_MetadataEntry])
161
- class MetadataEntry(_MetadataEntry):
162
- """An metadata entry in the construct."""
163
- trace: typing.List[str]
164
- """A stack trace for when the entry was created."""
165
-
166
- type: str
167
- """The type of the metadata entry."""
168
-
169
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.MissingContext", jsii_struct_bases=[])
170
- class MissingContext(jsii.compat.TypedDict):
171
- """Represents a missing piece of context."""
172
- props: typing.Mapping[str,typing.Any]
173
-
174
- provider: str
175
-
176
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.SSMParameterContextQuery", jsii_struct_bases=[])
177
- class SSMParameterContextQuery(jsii.compat.TypedDict, total=False):
178
- """Query to hosted zone context provider."""
179
- account: str
180
- """Query account."""
181
-
182
- parameterName: str
183
- """Parameter name to query."""
184
-
185
- region: str
186
- """Query region."""
187
-
188
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.SynthesizeResponse", jsii_struct_bases=[AssemblyManifest])
189
- class SynthesizeResponse(AssemblyManifest, jsii.compat.TypedDict):
190
- """
191
- Deprecated:
192
- use ``AssemblyManifest``
193
- """
194
- stacks: typing.List["SynthesizedStack"]
195
-
196
- @jsii.data_type_optionals(jsii_struct_bases=[])
197
- class _SynthesizedStack(jsii.compat.TypedDict, total=False):
198
- autoDeploy: bool
199
- dependsOn: typing.List[str]
200
- """Other stacks this stack depends on."""
201
- missing: typing.Mapping[str,"MissingContext"]
202
-
203
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.SynthesizedStack", jsii_struct_bases=[_SynthesizedStack])
204
- class SynthesizedStack(_SynthesizedStack):
205
- """A complete synthesized stack."""
206
- environment: "Environment"
207
-
208
- metadata: typing.Mapping[str,typing.List["MetadataEntry"]]
209
-
210
- name: str
211
-
212
- template: typing.Any
213
-
214
- @jsii.data_type_optionals(jsii_struct_bases=[])
215
- class _VpcContextQuery(jsii.compat.TypedDict, total=False):
216
- account: str
217
- """Query account."""
218
- region: str
219
- """Query region."""
220
-
221
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.VpcContextQuery", jsii_struct_bases=[_VpcContextQuery])
222
- class VpcContextQuery(_VpcContextQuery):
223
- """Query input for looking up a VPC."""
224
- filter: typing.Mapping[str,str]
225
- """Filters to apply to the VPC.
226
-
227
- Filter parameters are the same as passed to DescribeVpcs.
228
-
229
- See:
230
- https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html
231
- """
232
-
233
- @jsii.data_type_optionals(jsii_struct_bases=[])
234
- class _VpcContextResponse(jsii.compat.TypedDict, total=False):
235
- isolatedSubnetIds: typing.List[str]
236
- """IDs of all isolated subnets.
237
-
238
- Element count: #(availabilityZones) · #(isolatedGroups)
239
- """
240
- isolatedSubnetNames: typing.List[str]
241
- """Name of isolated subnet groups.
242
-
243
- Element count: #(isolatedGroups)
244
- """
245
- privateSubnetIds: typing.List[str]
246
- """IDs of all private subnets.
247
-
248
- Element count: #(availabilityZones) · #(privateGroups)
249
- """
250
- privateSubnetNames: typing.List[str]
251
- """Name of private subnet groups.
252
-
253
- Element count: #(privateGroups)
254
- """
255
- publicSubnetIds: typing.List[str]
256
- """IDs of all public subnets.
257
-
258
- Element count: #(availabilityZones) · #(publicGroups)
259
- """
260
- publicSubnetNames: typing.List[str]
261
- """Name of public subnet groups.
262
-
263
- Element count: #(publicGroups)
264
- """
265
- vpnGatewayId: str
266
- """The VPN gateway ID."""
267
-
268
- @jsii.data_type(jsii_type="@aws-cdk/cx-api.VpcContextResponse", jsii_struct_bases=[_VpcContextResponse])
269
- class VpcContextResponse(_VpcContextResponse):
270
- """Properties of a discovered VPC."""
271
- availabilityZones: typing.List[str]
272
- """AZs."""
273
-
274
- vpcId: str
275
- """VPC id."""
276
-
277
- __all__ = ["AppRuntime", "Artifact", "ArtifactType", "AssemblyManifest", "AvailabilityZonesContextQuery", "BuildManifest", "BuildStep", "BuildStepType", "ContainerImageAssetMetadataEntry", "Environment", "FileAssetMetadataEntry", "HostedZoneContextQuery", "MetadataEntry", "MissingContext", "SSMParameterContextQuery", "SynthesizeResponse", "SynthesizedStack", "VpcContextQuery", "VpcContextResponse", "__jsii_assembly__"]
278
-
279
- publication.publish()