aws-cdk-lib 2.138.0__py3-none-any.whl → 2.139.1__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 aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.138.0.jsii.tgz → aws-cdk-lib@2.139.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +29 -16
- aws_cdk/aws_appconfig/__init__.py +289 -44
- aws_cdk/aws_appintegrations/__init__.py +55 -6
- aws_cdk/aws_autoscaling/__init__.py +62 -60
- aws_cdk/aws_backup/__init__.py +34 -42
- aws_cdk/aws_batch/__init__.py +9 -3
- aws_cdk/aws_bedrock/__init__.py +4144 -0
- aws_cdk/aws_cloudwatch/__init__.py +120 -0
- aws_cdk/aws_datazone/__init__.py +22 -0
- aws_cdk/aws_dms/__init__.py +2 -4
- aws_cdk/aws_ec2/__init__.py +123 -84
- aws_cdk/aws_ecr/__init__.py +630 -0
- aws_cdk/aws_ecs/__init__.py +121 -19
- aws_cdk/aws_efs/__init__.py +592 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +23 -8
- aws_cdk/aws_events_targets/__init__.py +17 -4
- aws_cdk/aws_kms/__init__.py +44 -0
- aws_cdk/aws_lambda/__init__.py +9 -0
- aws_cdk/aws_oam/__init__.py +204 -0
- aws_cdk/aws_rds/__init__.py +15 -11
- aws_cdk/aws_redshiftserverless/__init__.py +157 -0
- aws_cdk/aws_securitylake/__init__.py +160 -105
- aws_cdk/aws_ses_actions/__init__.py +155 -0
- aws_cdk/aws_ssm/__init__.py +5 -2
- aws_cdk/aws_timestream/__init__.py +1045 -0
- aws_cdk/aws_transfer/__init__.py +15 -6
- aws_cdk/aws_wisdom/__init__.py +2 -2
- aws_cdk/custom_resources/__init__.py +440 -0
- aws_cdk/cx_api/__init__.py +17 -0
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/RECORD +37 -37
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/top_level.txt +0 -0
|
@@ -77,6 +77,8 @@ class CfnApplication(
|
|
|
77
77
|
application_source_config=appintegrations.CfnApplication.ApplicationSourceConfigProperty(
|
|
78
78
|
external_url_config=appintegrations.CfnApplication.ExternalUrlConfigProperty(
|
|
79
79
|
access_url="accessUrl",
|
|
80
|
+
|
|
81
|
+
# the properties below are optional
|
|
80
82
|
approved_origins=["approvedOrigins"]
|
|
81
83
|
)
|
|
82
84
|
),
|
|
@@ -85,6 +87,7 @@ class CfnApplication(
|
|
|
85
87
|
|
|
86
88
|
# the properties below are optional
|
|
87
89
|
namespace="namespace",
|
|
90
|
+
permissions=["permissions"],
|
|
88
91
|
tags=[CfnTag(
|
|
89
92
|
key="key",
|
|
90
93
|
value="value"
|
|
@@ -101,6 +104,7 @@ class CfnApplication(
|
|
|
101
104
|
description: builtins.str,
|
|
102
105
|
name: builtins.str,
|
|
103
106
|
namespace: typing.Optional[builtins.str] = None,
|
|
107
|
+
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
104
108
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
105
109
|
) -> None:
|
|
106
110
|
'''
|
|
@@ -110,6 +114,7 @@ class CfnApplication(
|
|
|
110
114
|
:param description: The description of the application.
|
|
111
115
|
:param name: The name of the application.
|
|
112
116
|
:param namespace: The namespace of the application.
|
|
117
|
+
:param permissions: The configuration of events or requests that the application has access to.
|
|
113
118
|
:param tags: The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
|
|
114
119
|
'''
|
|
115
120
|
if __debug__:
|
|
@@ -121,6 +126,7 @@ class CfnApplication(
|
|
|
121
126
|
description=description,
|
|
122
127
|
name=name,
|
|
123
128
|
namespace=namespace,
|
|
129
|
+
permissions=permissions,
|
|
124
130
|
tags=tags,
|
|
125
131
|
)
|
|
126
132
|
|
|
@@ -242,6 +248,19 @@ class CfnApplication(
|
|
|
242
248
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
243
249
|
jsii.set(self, "namespace", value)
|
|
244
250
|
|
|
251
|
+
@builtins.property
|
|
252
|
+
@jsii.member(jsii_name="permissions")
|
|
253
|
+
def permissions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
254
|
+
'''The configuration of events or requests that the application has access to.'''
|
|
255
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "permissions"))
|
|
256
|
+
|
|
257
|
+
@permissions.setter
|
|
258
|
+
def permissions(self, value: typing.Optional[typing.List[builtins.str]]) -> None:
|
|
259
|
+
if __debug__:
|
|
260
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1aafc4daa721930073f0dbbb7da26dc3c3c3be9c01fc9424bbc85944b766472d)
|
|
261
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
262
|
+
jsii.set(self, "permissions", value)
|
|
263
|
+
|
|
245
264
|
@builtins.property
|
|
246
265
|
@jsii.member(jsii_name="tags")
|
|
247
266
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -282,6 +301,8 @@ class CfnApplication(
|
|
|
282
301
|
application_source_config_property = appintegrations.CfnApplication.ApplicationSourceConfigProperty(
|
|
283
302
|
external_url_config=appintegrations.CfnApplication.ExternalUrlConfigProperty(
|
|
284
303
|
access_url="accessUrl",
|
|
304
|
+
|
|
305
|
+
# the properties below are optional
|
|
285
306
|
approved_origins=["approvedOrigins"]
|
|
286
307
|
)
|
|
287
308
|
)
|
|
@@ -329,7 +350,7 @@ class CfnApplication(
|
|
|
329
350
|
self,
|
|
330
351
|
*,
|
|
331
352
|
access_url: builtins.str,
|
|
332
|
-
approved_origins: typing.Sequence[builtins.str],
|
|
353
|
+
approved_origins: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
333
354
|
) -> None:
|
|
334
355
|
'''The external URL source for the application.
|
|
335
356
|
|
|
@@ -347,6 +368,8 @@ class CfnApplication(
|
|
|
347
368
|
|
|
348
369
|
external_url_config_property = appintegrations.CfnApplication.ExternalUrlConfigProperty(
|
|
349
370
|
access_url="accessUrl",
|
|
371
|
+
|
|
372
|
+
# the properties below are optional
|
|
350
373
|
approved_origins=["approvedOrigins"]
|
|
351
374
|
)
|
|
352
375
|
'''
|
|
@@ -356,8 +379,9 @@ class CfnApplication(
|
|
|
356
379
|
check_type(argname="argument approved_origins", value=approved_origins, expected_type=type_hints["approved_origins"])
|
|
357
380
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
358
381
|
"access_url": access_url,
|
|
359
|
-
"approved_origins": approved_origins,
|
|
360
382
|
}
|
|
383
|
+
if approved_origins is not None:
|
|
384
|
+
self._values["approved_origins"] = approved_origins
|
|
361
385
|
|
|
362
386
|
@builtins.property
|
|
363
387
|
def access_url(self) -> builtins.str:
|
|
@@ -370,14 +394,13 @@ class CfnApplication(
|
|
|
370
394
|
return typing.cast(builtins.str, result)
|
|
371
395
|
|
|
372
396
|
@builtins.property
|
|
373
|
-
def approved_origins(self) -> typing.List[builtins.str]:
|
|
397
|
+
def approved_origins(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
374
398
|
'''Additional URLs to allow list if different than the access URL.
|
|
375
399
|
|
|
376
400
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-externalurlconfig.html#cfn-appintegrations-application-externalurlconfig-approvedorigins
|
|
377
401
|
'''
|
|
378
402
|
result = self._values.get("approved_origins")
|
|
379
|
-
|
|
380
|
-
return typing.cast(typing.List[builtins.str], result)
|
|
403
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
381
404
|
|
|
382
405
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
383
406
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -399,6 +422,7 @@ class CfnApplication(
|
|
|
399
422
|
"description": "description",
|
|
400
423
|
"name": "name",
|
|
401
424
|
"namespace": "namespace",
|
|
425
|
+
"permissions": "permissions",
|
|
402
426
|
"tags": "tags",
|
|
403
427
|
},
|
|
404
428
|
)
|
|
@@ -410,6 +434,7 @@ class CfnApplicationProps:
|
|
|
410
434
|
description: builtins.str,
|
|
411
435
|
name: builtins.str,
|
|
412
436
|
namespace: typing.Optional[builtins.str] = None,
|
|
437
|
+
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
413
438
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
414
439
|
) -> None:
|
|
415
440
|
'''Properties for defining a ``CfnApplication``.
|
|
@@ -418,6 +443,7 @@ class CfnApplicationProps:
|
|
|
418
443
|
:param description: The description of the application.
|
|
419
444
|
:param name: The name of the application.
|
|
420
445
|
:param namespace: The namespace of the application.
|
|
446
|
+
:param permissions: The configuration of events or requests that the application has access to.
|
|
421
447
|
:param tags: The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
|
|
422
448
|
|
|
423
449
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html
|
|
@@ -433,6 +459,8 @@ class CfnApplicationProps:
|
|
|
433
459
|
application_source_config=appintegrations.CfnApplication.ApplicationSourceConfigProperty(
|
|
434
460
|
external_url_config=appintegrations.CfnApplication.ExternalUrlConfigProperty(
|
|
435
461
|
access_url="accessUrl",
|
|
462
|
+
|
|
463
|
+
# the properties below are optional
|
|
436
464
|
approved_origins=["approvedOrigins"]
|
|
437
465
|
)
|
|
438
466
|
),
|
|
@@ -441,6 +469,7 @@ class CfnApplicationProps:
|
|
|
441
469
|
|
|
442
470
|
# the properties below are optional
|
|
443
471
|
namespace="namespace",
|
|
472
|
+
permissions=["permissions"],
|
|
444
473
|
tags=[CfnTag(
|
|
445
474
|
key="key",
|
|
446
475
|
value="value"
|
|
@@ -453,6 +482,7 @@ class CfnApplicationProps:
|
|
|
453
482
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
454
483
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
455
484
|
check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
|
|
485
|
+
check_type(argname="argument permissions", value=permissions, expected_type=type_hints["permissions"])
|
|
456
486
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
457
487
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
458
488
|
"application_source_config": application_source_config,
|
|
@@ -461,6 +491,8 @@ class CfnApplicationProps:
|
|
|
461
491
|
}
|
|
462
492
|
if namespace is not None:
|
|
463
493
|
self._values["namespace"] = namespace
|
|
494
|
+
if permissions is not None:
|
|
495
|
+
self._values["permissions"] = permissions
|
|
464
496
|
if tags is not None:
|
|
465
497
|
self._values["tags"] = tags
|
|
466
498
|
|
|
@@ -505,6 +537,15 @@ class CfnApplicationProps:
|
|
|
505
537
|
result = self._values.get("namespace")
|
|
506
538
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
507
539
|
|
|
540
|
+
@builtins.property
|
|
541
|
+
def permissions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
542
|
+
'''The configuration of events or requests that the application has access to.
|
|
543
|
+
|
|
544
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#cfn-appintegrations-application-permissions
|
|
545
|
+
'''
|
|
546
|
+
result = self._values.get("permissions")
|
|
547
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
548
|
+
|
|
508
549
|
@builtins.property
|
|
509
550
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
510
551
|
'''The tags used to organize, track, or control access for this resource.
|
|
@@ -1553,6 +1594,7 @@ def _typecheckingstub__2c1bbb1e03e672595eb80bdb7dcb70bb6e71fccf39633133ee8a5b86b
|
|
|
1553
1594
|
description: builtins.str,
|
|
1554
1595
|
name: builtins.str,
|
|
1555
1596
|
namespace: typing.Optional[builtins.str] = None,
|
|
1597
|
+
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1556
1598
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1557
1599
|
) -> None:
|
|
1558
1600
|
"""Type checking stubs"""
|
|
@@ -1594,6 +1636,12 @@ def _typecheckingstub__c1133ff0df5163630ae65aa9c2ffa87e2e0db4c7e7d6a197c3a256bd1
|
|
|
1594
1636
|
"""Type checking stubs"""
|
|
1595
1637
|
pass
|
|
1596
1638
|
|
|
1639
|
+
def _typecheckingstub__1aafc4daa721930073f0dbbb7da26dc3c3c3be9c01fc9424bbc85944b766472d(
|
|
1640
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
1641
|
+
) -> None:
|
|
1642
|
+
"""Type checking stubs"""
|
|
1643
|
+
pass
|
|
1644
|
+
|
|
1597
1645
|
def _typecheckingstub__bf726959aa4191428101440b70a3eb393290a7cdec2b995b07413ac05f6d0c28(
|
|
1598
1646
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
1599
1647
|
) -> None:
|
|
@@ -1610,7 +1658,7 @@ def _typecheckingstub__599151bfc17f24879de38cf44b4a12c218d6b40ffaf8a24fc33beaa36
|
|
|
1610
1658
|
def _typecheckingstub__685c9ea63d4a7f3b4f8c0ba5680f0ec9ac1f12cdeb524e0b6a869beee33009cc(
|
|
1611
1659
|
*,
|
|
1612
1660
|
access_url: builtins.str,
|
|
1613
|
-
approved_origins: typing.Sequence[builtins.str],
|
|
1661
|
+
approved_origins: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1614
1662
|
) -> None:
|
|
1615
1663
|
"""Type checking stubs"""
|
|
1616
1664
|
pass
|
|
@@ -1621,6 +1669,7 @@ def _typecheckingstub__7d2c7ce5dfd3af1b41c02f961c30070527579ac243574e11a9dfe26cc
|
|
|
1621
1669
|
description: builtins.str,
|
|
1622
1670
|
name: builtins.str,
|
|
1623
1671
|
namespace: typing.Optional[builtins.str] = None,
|
|
1672
|
+
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1624
1673
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1625
1674
|
) -> None:
|
|
1626
1675
|
"""Type checking stubs"""
|