aws-cdk-lib 2.211.0__py3-none-any.whl → 2.212.0__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/__init__.py +398 -43
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.211.0.jsii.tgz → aws-cdk-lib@2.212.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +2 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1798 -74
- aws_cdk/aws_appintegrations/__init__.py +395 -0
- aws_cdk/aws_arcregionswitch/__init__.py +118 -0
- aws_cdk/aws_batch/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +18 -0
- aws_cdk/aws_billingconductor/__init__.py +3 -3
- aws_cdk/aws_cloudfront/__init__.py +19 -0
- aws_cdk/aws_codebuild/__init__.py +122 -0
- aws_cdk/aws_codepipeline/__init__.py +51 -50
- aws_cdk/aws_connect/__init__.py +40 -15
- aws_cdk/aws_deadline/__init__.py +16 -5
- aws_cdk/aws_dynamodb/__init__.py +86 -16
- aws_cdk/aws_ec2/__init__.py +266 -55
- aws_cdk/aws_ecs/__init__.py +7 -9
- aws_cdk/aws_eks/__init__.py +6 -4
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_gameliftstreams/__init__.py +7 -6
- aws_cdk/aws_glue/__init__.py +18 -9
- aws_cdk/aws_guardduty/__init__.py +1233 -113
- aws_cdk/aws_imagebuilder/__init__.py +34 -20
- aws_cdk/aws_inspectorv2/__init__.py +1516 -0
- aws_cdk/aws_ivs/__init__.py +1 -1
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +6 -6
- aws_cdk/aws_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +128 -0
- aws_cdk/aws_pcs/__init__.py +16 -8
- aws_cdk/aws_quicksight/__init__.py +81 -83
- aws_cdk/aws_rds/__init__.py +31 -163
- aws_cdk/aws_s3express/__init__.py +7 -3
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +62 -20
- aws_cdk/aws_sqs/__init__.py +4 -3
- aws_cdk/aws_stepfunctions_tasks/__init__.py +16 -9
- aws_cdk/aws_synthetics/__init__.py +116 -0
- aws_cdk/cx_api/__init__.py +22 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/METADATA +329 -9
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/RECORD +46 -46
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_dynamodb/__init__.py
CHANGED
|
@@ -1584,7 +1584,10 @@ class CfnGlobalTable(
|
|
|
1584
1584
|
|
|
1585
1585
|
# the properties below are optional
|
|
1586
1586
|
contributor_insights_specification=dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
1587
|
-
enabled=False
|
|
1587
|
+
enabled=False,
|
|
1588
|
+
|
|
1589
|
+
# the properties below are optional
|
|
1590
|
+
mode="mode"
|
|
1588
1591
|
),
|
|
1589
1592
|
deletion_protection_enabled=False,
|
|
1590
1593
|
global_secondary_indexes=[dynamodb.CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty(
|
|
@@ -1592,7 +1595,10 @@ class CfnGlobalTable(
|
|
|
1592
1595
|
|
|
1593
1596
|
# the properties below are optional
|
|
1594
1597
|
contributor_insights_specification=dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
1595
|
-
enabled=False
|
|
1598
|
+
enabled=False,
|
|
1599
|
+
|
|
1600
|
+
# the properties below are optional
|
|
1601
|
+
mode="mode"
|
|
1596
1602
|
),
|
|
1597
1603
|
read_on_demand_throughput_settings=dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
1598
1604
|
max_read_request_units=123
|
|
@@ -2358,17 +2364,19 @@ class CfnGlobalTable(
|
|
|
2358
2364
|
@jsii.data_type(
|
|
2359
2365
|
jsii_type="aws-cdk-lib.aws_dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty",
|
|
2360
2366
|
jsii_struct_bases=[],
|
|
2361
|
-
name_mapping={"enabled": "enabled"},
|
|
2367
|
+
name_mapping={"enabled": "enabled", "mode": "mode"},
|
|
2362
2368
|
)
|
|
2363
2369
|
class ContributorInsightsSpecificationProperty:
|
|
2364
2370
|
def __init__(
|
|
2365
2371
|
self,
|
|
2366
2372
|
*,
|
|
2367
2373
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
2374
|
+
mode: typing.Optional[builtins.str] = None,
|
|
2368
2375
|
) -> None:
|
|
2369
2376
|
'''Configures contributor insights settings for a replica or one of its indexes.
|
|
2370
2377
|
|
|
2371
2378
|
:param enabled: Indicates whether CloudWatch Contributor Insights are to be enabled (true) or disabled (false).
|
|
2379
|
+
:param mode:
|
|
2372
2380
|
|
|
2373
2381
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-contributorinsightsspecification.html
|
|
2374
2382
|
:exampleMetadata: fixture=_generated
|
|
@@ -2380,15 +2388,21 @@ class CfnGlobalTable(
|
|
|
2380
2388
|
from aws_cdk import aws_dynamodb as dynamodb
|
|
2381
2389
|
|
|
2382
2390
|
contributor_insights_specification_property = dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
2383
|
-
enabled=False
|
|
2391
|
+
enabled=False,
|
|
2392
|
+
|
|
2393
|
+
# the properties below are optional
|
|
2394
|
+
mode="mode"
|
|
2384
2395
|
)
|
|
2385
2396
|
'''
|
|
2386
2397
|
if __debug__:
|
|
2387
2398
|
type_hints = typing.get_type_hints(_typecheckingstub__0c4c1ec1851b3df040f636031283503da693894fbb627b438be175be8c1d8995)
|
|
2388
2399
|
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
2400
|
+
check_type(argname="argument mode", value=mode, expected_type=type_hints["mode"])
|
|
2389
2401
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2390
2402
|
"enabled": enabled,
|
|
2391
2403
|
}
|
|
2404
|
+
if mode is not None:
|
|
2405
|
+
self._values["mode"] = mode
|
|
2392
2406
|
|
|
2393
2407
|
@builtins.property
|
|
2394
2408
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
@@ -2400,6 +2414,14 @@ class CfnGlobalTable(
|
|
|
2400
2414
|
assert result is not None, "Required property 'enabled' is missing"
|
|
2401
2415
|
return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
|
|
2402
2416
|
|
|
2417
|
+
@builtins.property
|
|
2418
|
+
def mode(self) -> typing.Optional[builtins.str]:
|
|
2419
|
+
'''
|
|
2420
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-contributorinsightsspecification.html#cfn-dynamodb-globaltable-contributorinsightsspecification-mode
|
|
2421
|
+
'''
|
|
2422
|
+
result = self._values.get("mode")
|
|
2423
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2424
|
+
|
|
2403
2425
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2404
2426
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2405
2427
|
|
|
@@ -3287,7 +3309,10 @@ class CfnGlobalTable(
|
|
|
3287
3309
|
|
|
3288
3310
|
# the properties below are optional
|
|
3289
3311
|
contributor_insights_specification=dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
3290
|
-
enabled=False
|
|
3312
|
+
enabled=False,
|
|
3313
|
+
|
|
3314
|
+
# the properties below are optional
|
|
3315
|
+
mode="mode"
|
|
3291
3316
|
),
|
|
3292
3317
|
read_on_demand_throughput_settings=dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
3293
3318
|
max_read_request_units=123
|
|
@@ -3513,7 +3538,10 @@ class CfnGlobalTable(
|
|
|
3513
3538
|
|
|
3514
3539
|
# the properties below are optional
|
|
3515
3540
|
contributor_insights_specification=dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
3516
|
-
enabled=False
|
|
3541
|
+
enabled=False,
|
|
3542
|
+
|
|
3543
|
+
# the properties below are optional
|
|
3544
|
+
mode="mode"
|
|
3517
3545
|
),
|
|
3518
3546
|
deletion_protection_enabled=False,
|
|
3519
3547
|
global_secondary_indexes=[dynamodb.CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty(
|
|
@@ -3521,7 +3549,10 @@ class CfnGlobalTable(
|
|
|
3521
3549
|
|
|
3522
3550
|
# the properties below are optional
|
|
3523
3551
|
contributor_insights_specification=dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
3524
|
-
enabled=False
|
|
3552
|
+
enabled=False,
|
|
3553
|
+
|
|
3554
|
+
# the properties below are optional
|
|
3555
|
+
mode="mode"
|
|
3525
3556
|
),
|
|
3526
3557
|
read_on_demand_throughput_settings=dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
3527
3558
|
max_read_request_units=123
|
|
@@ -4564,7 +4595,10 @@ class CfnGlobalTableProps:
|
|
|
4564
4595
|
|
|
4565
4596
|
# the properties below are optional
|
|
4566
4597
|
contributor_insights_specification=dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
4567
|
-
enabled=False
|
|
4598
|
+
enabled=False,
|
|
4599
|
+
|
|
4600
|
+
# the properties below are optional
|
|
4601
|
+
mode="mode"
|
|
4568
4602
|
),
|
|
4569
4603
|
deletion_protection_enabled=False,
|
|
4570
4604
|
global_secondary_indexes=[dynamodb.CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty(
|
|
@@ -4572,7 +4606,10 @@ class CfnGlobalTableProps:
|
|
|
4572
4606
|
|
|
4573
4607
|
# the properties below are optional
|
|
4574
4608
|
contributor_insights_specification=dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
4575
|
-
enabled=False
|
|
4609
|
+
enabled=False,
|
|
4610
|
+
|
|
4611
|
+
# the properties below are optional
|
|
4612
|
+
mode="mode"
|
|
4576
4613
|
),
|
|
4577
4614
|
read_on_demand_throughput_settings=dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
4578
4615
|
max_read_request_units=123
|
|
@@ -5051,7 +5088,10 @@ class CfnTable(
|
|
|
5051
5088
|
)],
|
|
5052
5089
|
billing_mode="billingMode",
|
|
5053
5090
|
contributor_insights_specification=dynamodb.CfnTable.ContributorInsightsSpecificationProperty(
|
|
5054
|
-
enabled=False
|
|
5091
|
+
enabled=False,
|
|
5092
|
+
|
|
5093
|
+
# the properties below are optional
|
|
5094
|
+
mode="mode"
|
|
5055
5095
|
),
|
|
5056
5096
|
deletion_protection_enabled=False,
|
|
5057
5097
|
global_secondary_indexes=[dynamodb.CfnTable.GlobalSecondaryIndexProperty(
|
|
@@ -5067,7 +5107,10 @@ class CfnTable(
|
|
|
5067
5107
|
|
|
5068
5108
|
# the properties below are optional
|
|
5069
5109
|
contributor_insights_specification=dynamodb.CfnTable.ContributorInsightsSpecificationProperty(
|
|
5070
|
-
enabled=False
|
|
5110
|
+
enabled=False,
|
|
5111
|
+
|
|
5112
|
+
# the properties below are optional
|
|
5113
|
+
mode="mode"
|
|
5071
5114
|
),
|
|
5072
5115
|
on_demand_throughput=dynamodb.CfnTable.OnDemandThroughputProperty(
|
|
5073
5116
|
max_read_request_units=123,
|
|
@@ -5733,17 +5776,19 @@ class CfnTable(
|
|
|
5733
5776
|
@jsii.data_type(
|
|
5734
5777
|
jsii_type="aws-cdk-lib.aws_dynamodb.CfnTable.ContributorInsightsSpecificationProperty",
|
|
5735
5778
|
jsii_struct_bases=[],
|
|
5736
|
-
name_mapping={"enabled": "enabled"},
|
|
5779
|
+
name_mapping={"enabled": "enabled", "mode": "mode"},
|
|
5737
5780
|
)
|
|
5738
5781
|
class ContributorInsightsSpecificationProperty:
|
|
5739
5782
|
def __init__(
|
|
5740
5783
|
self,
|
|
5741
5784
|
*,
|
|
5742
5785
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
5786
|
+
mode: typing.Optional[builtins.str] = None,
|
|
5743
5787
|
) -> None:
|
|
5744
5788
|
'''The settings used to enable or disable CloudWatch Contributor Insights.
|
|
5745
5789
|
|
|
5746
5790
|
:param enabled: Indicates whether CloudWatch Contributor Insights are to be enabled (true) or disabled (false).
|
|
5791
|
+
:param mode:
|
|
5747
5792
|
|
|
5748
5793
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-contributorinsightsspecification.html
|
|
5749
5794
|
:exampleMetadata: fixture=_generated
|
|
@@ -5755,15 +5800,21 @@ class CfnTable(
|
|
|
5755
5800
|
from aws_cdk import aws_dynamodb as dynamodb
|
|
5756
5801
|
|
|
5757
5802
|
contributor_insights_specification_property = dynamodb.CfnTable.ContributorInsightsSpecificationProperty(
|
|
5758
|
-
enabled=False
|
|
5803
|
+
enabled=False,
|
|
5804
|
+
|
|
5805
|
+
# the properties below are optional
|
|
5806
|
+
mode="mode"
|
|
5759
5807
|
)
|
|
5760
5808
|
'''
|
|
5761
5809
|
if __debug__:
|
|
5762
5810
|
type_hints = typing.get_type_hints(_typecheckingstub__0a8b688e9e547ebf94c63195c5144ea544272eec7f4f0112bdff07a522156c82)
|
|
5763
5811
|
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
5812
|
+
check_type(argname="argument mode", value=mode, expected_type=type_hints["mode"])
|
|
5764
5813
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5765
5814
|
"enabled": enabled,
|
|
5766
5815
|
}
|
|
5816
|
+
if mode is not None:
|
|
5817
|
+
self._values["mode"] = mode
|
|
5767
5818
|
|
|
5768
5819
|
@builtins.property
|
|
5769
5820
|
def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
|
|
@@ -5775,6 +5826,14 @@ class CfnTable(
|
|
|
5775
5826
|
assert result is not None, "Required property 'enabled' is missing"
|
|
5776
5827
|
return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
|
|
5777
5828
|
|
|
5829
|
+
@builtins.property
|
|
5830
|
+
def mode(self) -> typing.Optional[builtins.str]:
|
|
5831
|
+
'''
|
|
5832
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-contributorinsightsspecification.html#cfn-dynamodb-table-contributorinsightsspecification-mode
|
|
5833
|
+
'''
|
|
5834
|
+
result = self._values.get("mode")
|
|
5835
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5836
|
+
|
|
5778
5837
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5779
5838
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5780
5839
|
|
|
@@ -5917,7 +5976,10 @@ class CfnTable(
|
|
|
5917
5976
|
|
|
5918
5977
|
# the properties below are optional
|
|
5919
5978
|
contributor_insights_specification=dynamodb.CfnTable.ContributorInsightsSpecificationProperty(
|
|
5920
|
-
enabled=False
|
|
5979
|
+
enabled=False,
|
|
5980
|
+
|
|
5981
|
+
# the properties below are optional
|
|
5982
|
+
mode="mode"
|
|
5921
5983
|
),
|
|
5922
5984
|
on_demand_throughput=dynamodb.CfnTable.OnDemandThroughputProperty(
|
|
5923
5985
|
max_read_request_units=123,
|
|
@@ -7460,7 +7522,10 @@ class CfnTableProps:
|
|
|
7460
7522
|
)],
|
|
7461
7523
|
billing_mode="billingMode",
|
|
7462
7524
|
contributor_insights_specification=dynamodb.CfnTable.ContributorInsightsSpecificationProperty(
|
|
7463
|
-
enabled=False
|
|
7525
|
+
enabled=False,
|
|
7526
|
+
|
|
7527
|
+
# the properties below are optional
|
|
7528
|
+
mode="mode"
|
|
7464
7529
|
),
|
|
7465
7530
|
deletion_protection_enabled=False,
|
|
7466
7531
|
global_secondary_indexes=[dynamodb.CfnTable.GlobalSecondaryIndexProperty(
|
|
@@ -7476,7 +7541,10 @@ class CfnTableProps:
|
|
|
7476
7541
|
|
|
7477
7542
|
# the properties below are optional
|
|
7478
7543
|
contributor_insights_specification=dynamodb.CfnTable.ContributorInsightsSpecificationProperty(
|
|
7479
|
-
enabled=False
|
|
7544
|
+
enabled=False,
|
|
7545
|
+
|
|
7546
|
+
# the properties below are optional
|
|
7547
|
+
mode="mode"
|
|
7480
7548
|
),
|
|
7481
7549
|
on_demand_throughput=dynamodb.CfnTable.OnDemandThroughputProperty(
|
|
7482
7550
|
max_read_request_units=123,
|
|
@@ -16889,6 +16957,7 @@ def _typecheckingstub__51587895f2d228591cb8c1b278064c8ca442192e93e2e20c22de9e04b
|
|
|
16889
16957
|
def _typecheckingstub__0c4c1ec1851b3df040f636031283503da693894fbb627b438be175be8c1d8995(
|
|
16890
16958
|
*,
|
|
16891
16959
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
16960
|
+
mode: typing.Optional[builtins.str] = None,
|
|
16892
16961
|
) -> None:
|
|
16893
16962
|
"""Type checking stubs"""
|
|
16894
16963
|
pass
|
|
@@ -17265,6 +17334,7 @@ def _typecheckingstub__09c7a32c39444fb07dbb26b4ad1f9b87ad574421e0b12ac175c090173
|
|
|
17265
17334
|
def _typecheckingstub__0a8b688e9e547ebf94c63195c5144ea544272eec7f4f0112bdff07a522156c82(
|
|
17266
17335
|
*,
|
|
17267
17336
|
enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
|
|
17337
|
+
mode: typing.Optional[builtins.str] = None,
|
|
17268
17338
|
) -> None:
|
|
17269
17339
|
"""Type checking stubs"""
|
|
17270
17340
|
pass
|