aws-cdk-lib 2.105.0__py3-none-any.whl → 2.106.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.

Files changed (47) hide show
  1. aws_cdk/__init__.py +59 -69
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.105.0.jsii.tgz → aws-cdk-lib@2.106.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +12 -12
  5. aws_cdk/aws_appconfig/__init__.py +25 -11
  6. aws_cdk/aws_appintegrations/__init__.py +60 -60
  7. aws_cdk/aws_apprunner/__init__.py +22 -3
  8. aws_cdk/aws_appstream/__init__.py +12 -5
  9. aws_cdk/aws_appsync/__init__.py +4 -4
  10. aws_cdk/aws_autoscaling/__init__.py +8 -0
  11. aws_cdk/aws_cloudformation/__init__.py +59 -69
  12. aws_cdk/aws_codepipeline/__init__.py +3 -0
  13. aws_cdk/aws_cognito/__init__.py +23 -31
  14. aws_cdk/aws_config/__init__.py +46 -41
  15. aws_cdk/aws_datapipeline/__init__.py +54 -54
  16. aws_cdk/aws_directoryservice/__init__.py +45 -45
  17. aws_cdk/aws_ec2/__init__.py +163 -21
  18. aws_cdk/aws_ecs/__init__.py +52 -68
  19. aws_cdk/aws_eks/__init__.py +55 -9
  20. aws_cdk/aws_entityresolution/__init__.py +9 -0
  21. aws_cdk/aws_events/__init__.py +0 -8
  22. aws_cdk/aws_eventschemas/__init__.py +12 -12
  23. aws_cdk/aws_gamelift/__init__.py +4 -6
  24. aws_cdk/aws_internetmonitor/__init__.py +12 -10
  25. aws_cdk/aws_iot/__init__.py +10 -11
  26. aws_cdk/aws_lakeformation/__init__.py +8 -5
  27. aws_cdk/aws_lambda/__init__.py +30 -0
  28. aws_cdk/aws_msk/__init__.py +3 -3
  29. aws_cdk/aws_networkmanager/__init__.py +1 -1
  30. aws_cdk/aws_pinpoint/__init__.py +94 -94
  31. aws_cdk/aws_quicksight/__init__.py +189 -264
  32. aws_cdk/aws_rds/__init__.py +267 -36
  33. aws_cdk/aws_rolesanywhere/__init__.py +53 -41
  34. aws_cdk/aws_route53/__init__.py +3 -7
  35. aws_cdk/aws_s3/__init__.py +191 -2
  36. aws_cdk/aws_sam/__init__.py +42 -47
  37. aws_cdk/aws_servicecatalogappregistry/__init__.py +2 -4
  38. aws_cdk/aws_ssm/__init__.py +4 -4
  39. aws_cdk/aws_stepfunctions_tasks/__init__.py +9 -2
  40. aws_cdk/aws_vpclattice/__init__.py +2 -6
  41. aws_cdk/aws_wafv2/__init__.py +21 -8
  42. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/METADATA +3 -3
  43. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/RECORD +47 -47
  44. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/LICENSE +0 -0
  45. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/NOTICE +0 -0
  46. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/WHEEL +0 -0
  47. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/top_level.txt +0 -0
@@ -10300,6 +10300,12 @@ class CfnStorageLens(
10300
10300
  ),
10301
10301
  detailed_status_codes_metrics=s3.CfnStorageLens.DetailedStatusCodesMetricsProperty(
10302
10302
  is_enabled=False
10303
+ ),
10304
+ storage_lens_group_level=s3.CfnStorageLens.StorageLensGroupLevelProperty(
10305
+ storage_lens_group_selection_criteria=s3.CfnStorageLens.StorageLensGroupSelectionCriteriaProperty(
10306
+ exclude=["exclude"],
10307
+ include=["include"]
10308
+ )
10303
10309
  )
10304
10310
  ),
10305
10311
  id="id",
@@ -10462,6 +10468,7 @@ class CfnStorageLens(
10462
10468
  "advanced_cost_optimization_metrics": "advancedCostOptimizationMetrics",
10463
10469
  "advanced_data_protection_metrics": "advancedDataProtectionMetrics",
10464
10470
  "detailed_status_codes_metrics": "detailedStatusCodesMetrics",
10471
+ "storage_lens_group_level": "storageLensGroupLevel",
10465
10472
  },
10466
10473
  )
10467
10474
  class AccountLevelProperty:
@@ -10473,6 +10480,7 @@ class CfnStorageLens(
10473
10480
  advanced_cost_optimization_metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStorageLens.AdvancedCostOptimizationMetricsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
10474
10481
  advanced_data_protection_metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStorageLens.AdvancedDataProtectionMetricsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
10475
10482
  detailed_status_codes_metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStorageLens.DetailedStatusCodesMetricsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
10483
+ storage_lens_group_level: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStorageLens.StorageLensGroupLevelProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
10476
10484
  ) -> None:
10477
10485
  '''This resource contains the details of the account-level metrics for Amazon S3 Storage Lens.
10478
10486
 
@@ -10481,6 +10489,7 @@ class CfnStorageLens(
10481
10489
  :param advanced_cost_optimization_metrics: This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens.
10482
10490
  :param advanced_data_protection_metrics: This property contains the details of account-level advanced data protection metrics for S3 Storage Lens.
10483
10491
  :param detailed_status_codes_metrics: This property contains the details of account-level detailed status code metrics for S3 Storage Lens.
10492
+ :param storage_lens_group_level: Specifies the details of Amazon S3 Storage Lens Group configuration.
10484
10493
 
10485
10494
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html
10486
10495
  :exampleMetadata: fixture=_generated
@@ -10529,6 +10538,12 @@ class CfnStorageLens(
10529
10538
  ),
10530
10539
  detailed_status_codes_metrics=s3.CfnStorageLens.DetailedStatusCodesMetricsProperty(
10531
10540
  is_enabled=False
10541
+ ),
10542
+ storage_lens_group_level=s3.CfnStorageLens.StorageLensGroupLevelProperty(
10543
+ storage_lens_group_selection_criteria=s3.CfnStorageLens.StorageLensGroupSelectionCriteriaProperty(
10544
+ exclude=["exclude"],
10545
+ include=["include"]
10546
+ )
10532
10547
  )
10533
10548
  )
10534
10549
  '''
@@ -10539,6 +10554,7 @@ class CfnStorageLens(
10539
10554
  check_type(argname="argument advanced_cost_optimization_metrics", value=advanced_cost_optimization_metrics, expected_type=type_hints["advanced_cost_optimization_metrics"])
10540
10555
  check_type(argname="argument advanced_data_protection_metrics", value=advanced_data_protection_metrics, expected_type=type_hints["advanced_data_protection_metrics"])
10541
10556
  check_type(argname="argument detailed_status_codes_metrics", value=detailed_status_codes_metrics, expected_type=type_hints["detailed_status_codes_metrics"])
10557
+ check_type(argname="argument storage_lens_group_level", value=storage_lens_group_level, expected_type=type_hints["storage_lens_group_level"])
10542
10558
  self._values: typing.Dict[builtins.str, typing.Any] = {
10543
10559
  "bucket_level": bucket_level,
10544
10560
  }
@@ -10550,6 +10566,8 @@ class CfnStorageLens(
10550
10566
  self._values["advanced_data_protection_metrics"] = advanced_data_protection_metrics
10551
10567
  if detailed_status_codes_metrics is not None:
10552
10568
  self._values["detailed_status_codes_metrics"] = detailed_status_codes_metrics
10569
+ if storage_lens_group_level is not None:
10570
+ self._values["storage_lens_group_level"] = storage_lens_group_level
10553
10571
 
10554
10572
  @builtins.property
10555
10573
  def bucket_level(
@@ -10607,6 +10625,17 @@ class CfnStorageLens(
10607
10625
  result = self._values.get("detailed_status_codes_metrics")
10608
10626
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStorageLens.DetailedStatusCodesMetricsProperty"]], result)
10609
10627
 
10628
+ @builtins.property
10629
+ def storage_lens_group_level(
10630
+ self,
10631
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStorageLens.StorageLensGroupLevelProperty"]]:
10632
+ '''Specifies the details of Amazon S3 Storage Lens Group configuration.
10633
+
10634
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-storagelensgrouplevel
10635
+ '''
10636
+ result = self._values.get("storage_lens_group_level")
10637
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStorageLens.StorageLensGroupLevelProperty"]], result)
10638
+
10610
10639
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
10611
10640
  return isinstance(rhs, self.__class__) and rhs._values == self._values
10612
10641
 
@@ -11891,6 +11920,12 @@ class CfnStorageLens(
11891
11920
  ),
11892
11921
  detailed_status_codes_metrics=s3.CfnStorageLens.DetailedStatusCodesMetricsProperty(
11893
11922
  is_enabled=False
11923
+ ),
11924
+ storage_lens_group_level=s3.CfnStorageLens.StorageLensGroupLevelProperty(
11925
+ storage_lens_group_selection_criteria=s3.CfnStorageLens.StorageLensGroupSelectionCriteriaProperty(
11926
+ exclude=["exclude"],
11927
+ include=["include"]
11928
+ )
11894
11929
  )
11895
11930
  ),
11896
11931
  id="id",
@@ -12055,6 +12090,136 @@ class CfnStorageLens(
12055
12090
  k + "=" + repr(v) for k, v in self._values.items()
12056
12091
  )
12057
12092
 
12093
+ @jsii.data_type(
12094
+ jsii_type="aws-cdk-lib.aws_s3.CfnStorageLens.StorageLensGroupLevelProperty",
12095
+ jsii_struct_bases=[],
12096
+ name_mapping={
12097
+ "storage_lens_group_selection_criteria": "storageLensGroupSelectionCriteria",
12098
+ },
12099
+ )
12100
+ class StorageLensGroupLevelProperty:
12101
+ def __init__(
12102
+ self,
12103
+ *,
12104
+ storage_lens_group_selection_criteria: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStorageLens.StorageLensGroupSelectionCriteriaProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
12105
+ ) -> None:
12106
+ '''Specifies the details of Amazon S3 Storage Lens Group configuration.
12107
+
12108
+ :param storage_lens_group_selection_criteria: Selection criteria for Storage Lens Group level metrics.
12109
+
12110
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgrouplevel.html
12111
+ :exampleMetadata: fixture=_generated
12112
+
12113
+ Example::
12114
+
12115
+ # The code below shows an example of how to instantiate this type.
12116
+ # The values are placeholders you should change.
12117
+ from aws_cdk import aws_s3 as s3
12118
+
12119
+ storage_lens_group_level_property = s3.CfnStorageLens.StorageLensGroupLevelProperty(
12120
+ storage_lens_group_selection_criteria=s3.CfnStorageLens.StorageLensGroupSelectionCriteriaProperty(
12121
+ exclude=["exclude"],
12122
+ include=["include"]
12123
+ )
12124
+ )
12125
+ '''
12126
+ if __debug__:
12127
+ type_hints = typing.get_type_hints(_typecheckingstub__4bd62d6e9781c8628138d2241ffebfb822240c1754af693fa737c4ad315bee7f)
12128
+ check_type(argname="argument storage_lens_group_selection_criteria", value=storage_lens_group_selection_criteria, expected_type=type_hints["storage_lens_group_selection_criteria"])
12129
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
12130
+ if storage_lens_group_selection_criteria is not None:
12131
+ self._values["storage_lens_group_selection_criteria"] = storage_lens_group_selection_criteria
12132
+
12133
+ @builtins.property
12134
+ def storage_lens_group_selection_criteria(
12135
+ self,
12136
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStorageLens.StorageLensGroupSelectionCriteriaProperty"]]:
12137
+ '''Selection criteria for Storage Lens Group level metrics.
12138
+
12139
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgrouplevel.html#cfn-s3-storagelens-storagelensgrouplevel-storagelensgroupselectioncriteria
12140
+ '''
12141
+ result = self._values.get("storage_lens_group_selection_criteria")
12142
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStorageLens.StorageLensGroupSelectionCriteriaProperty"]], result)
12143
+
12144
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
12145
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
12146
+
12147
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
12148
+ return not (rhs == self)
12149
+
12150
+ def __repr__(self) -> str:
12151
+ return "StorageLensGroupLevelProperty(%s)" % ", ".join(
12152
+ k + "=" + repr(v) for k, v in self._values.items()
12153
+ )
12154
+
12155
+ @jsii.data_type(
12156
+ jsii_type="aws-cdk-lib.aws_s3.CfnStorageLens.StorageLensGroupSelectionCriteriaProperty",
12157
+ jsii_struct_bases=[],
12158
+ name_mapping={"exclude": "exclude", "include": "include"},
12159
+ )
12160
+ class StorageLensGroupSelectionCriteriaProperty:
12161
+ def __init__(
12162
+ self,
12163
+ *,
12164
+ exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
12165
+ include: typing.Optional[typing.Sequence[builtins.str]] = None,
12166
+ ) -> None:
12167
+ '''Selection criteria for Storage Lens Group level metrics.
12168
+
12169
+ :param exclude:
12170
+ :param include:
12171
+
12172
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgroupselectioncriteria.html
12173
+ :exampleMetadata: fixture=_generated
12174
+
12175
+ Example::
12176
+
12177
+ # The code below shows an example of how to instantiate this type.
12178
+ # The values are placeholders you should change.
12179
+ from aws_cdk import aws_s3 as s3
12180
+
12181
+ storage_lens_group_selection_criteria_property = s3.CfnStorageLens.StorageLensGroupSelectionCriteriaProperty(
12182
+ exclude=["exclude"],
12183
+ include=["include"]
12184
+ )
12185
+ '''
12186
+ if __debug__:
12187
+ type_hints = typing.get_type_hints(_typecheckingstub__690b98e6028082e60be1e9c6f7c940cf8843045c5d962764a553a0da81367251)
12188
+ check_type(argname="argument exclude", value=exclude, expected_type=type_hints["exclude"])
12189
+ check_type(argname="argument include", value=include, expected_type=type_hints["include"])
12190
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
12191
+ if exclude is not None:
12192
+ self._values["exclude"] = exclude
12193
+ if include is not None:
12194
+ self._values["include"] = include
12195
+
12196
+ @builtins.property
12197
+ def exclude(self) -> typing.Optional[typing.List[builtins.str]]:
12198
+ '''
12199
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgroupselectioncriteria.html#cfn-s3-storagelens-storagelensgroupselectioncriteria-exclude
12200
+ '''
12201
+ result = self._values.get("exclude")
12202
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
12203
+
12204
+ @builtins.property
12205
+ def include(self) -> typing.Optional[typing.List[builtins.str]]:
12206
+ '''
12207
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgroupselectioncriteria.html#cfn-s3-storagelens-storagelensgroupselectioncriteria-include
12208
+ '''
12209
+ result = self._values.get("include")
12210
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
12211
+
12212
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
12213
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
12214
+
12215
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
12216
+ return not (rhs == self)
12217
+
12218
+ def __repr__(self) -> str:
12219
+ return "StorageLensGroupSelectionCriteriaProperty(%s)" % ", ".join(
12220
+ k + "=" + repr(v) for k, v in self._values.items()
12221
+ )
12222
+
12058
12223
 
12059
12224
  @jsii.data_type(
12060
12225
  jsii_type="aws-cdk-lib.aws_s3.CfnStorageLensProps",
@@ -12127,6 +12292,12 @@ class CfnStorageLensProps:
12127
12292
  ),
12128
12293
  detailed_status_codes_metrics=s3.CfnStorageLens.DetailedStatusCodesMetricsProperty(
12129
12294
  is_enabled=False
12295
+ ),
12296
+ storage_lens_group_level=s3.CfnStorageLens.StorageLensGroupLevelProperty(
12297
+ storage_lens_group_selection_criteria=s3.CfnStorageLens.StorageLensGroupSelectionCriteriaProperty(
12298
+ exclude=["exclude"],
12299
+ include=["include"]
12300
+ )
12130
12301
  )
12131
12302
  ),
12132
12303
  id="id",
@@ -13866,7 +14037,7 @@ class Inventory:
13866
14037
  :param format: The format of the inventory. Default: InventoryFormat.CSV
13867
14038
  :param frequency: Frequency at which the inventory should be generated. Default: InventoryFrequency.WEEKLY
13868
14039
  :param include_object_versions: If the inventory should contain all the object versions or only the current one. Default: InventoryObjectVersion.ALL
13869
- :param inventory_id: The inventory configuration ID. Default: - generated ID.
14040
+ :param inventory_id: The inventory configuration ID. Should be limited to 64 characters and can only contain letters, numbers, periods, dashes, and underscores. Default: - generated ID.
13870
14041
  :param objects_prefix: The inventory will only include objects that meet the prefix filter criteria. Default: - No objects prefix
13871
14042
  :param optional_fields: A list of optional fields to be included in the inventory result. Default: - No optional fields.
13872
14043
 
@@ -13977,6 +14148,8 @@ class Inventory:
13977
14148
  def inventory_id(self) -> typing.Optional[builtins.str]:
13978
14149
  '''The inventory configuration ID.
13979
14150
 
14151
+ Should be limited to 64 characters and can only contain letters, numbers, periods, dashes, and underscores.
14152
+
13980
14153
  :default: - generated ID.
13981
14154
  '''
13982
14155
  result = self._values.get("inventory_id")
@@ -17024,7 +17197,7 @@ class Bucket(
17024
17197
  :param format: The format of the inventory. Default: InventoryFormat.CSV
17025
17198
  :param frequency: Frequency at which the inventory should be generated. Default: InventoryFrequency.WEEKLY
17026
17199
  :param include_object_versions: If the inventory should contain all the object versions or only the current one. Default: InventoryObjectVersion.ALL
17027
- :param inventory_id: The inventory configuration ID. Default: - generated ID.
17200
+ :param inventory_id: The inventory configuration ID. Should be limited to 64 characters and can only contain letters, numbers, periods, dashes, and underscores. Default: - generated ID.
17028
17201
  :param objects_prefix: The inventory will only include objects that meet the prefix filter criteria. Default: - No objects prefix
17029
17202
  :param optional_fields: A list of optional fields to be included in the inventory result. Default: - No optional fields.
17030
17203
  '''
@@ -18371,6 +18544,7 @@ def _typecheckingstub__8da469c622dc599cd8ec42cba6c799e0f9447fcab65eca2a0b4b35a4c
18371
18544
  advanced_cost_optimization_metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStorageLens.AdvancedCostOptimizationMetricsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
18372
18545
  advanced_data_protection_metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStorageLens.AdvancedDataProtectionMetricsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
18373
18546
  detailed_status_codes_metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStorageLens.DetailedStatusCodesMetricsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
18547
+ storage_lens_group_level: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStorageLens.StorageLensGroupLevelProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
18374
18548
  ) -> None:
18375
18549
  """Type checking stubs"""
18376
18550
  pass
@@ -18509,6 +18683,21 @@ def _typecheckingstub__cc27b3dd4fb3e68e7c85745fd1a4a4b6316224b2e871c3592a2d4df8f
18509
18683
  """Type checking stubs"""
18510
18684
  pass
18511
18685
 
18686
+ def _typecheckingstub__4bd62d6e9781c8628138d2241ffebfb822240c1754af693fa737c4ad315bee7f(
18687
+ *,
18688
+ storage_lens_group_selection_criteria: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStorageLens.StorageLensGroupSelectionCriteriaProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
18689
+ ) -> None:
18690
+ """Type checking stubs"""
18691
+ pass
18692
+
18693
+ def _typecheckingstub__690b98e6028082e60be1e9c6f7c940cf8843045c5d962764a553a0da81367251(
18694
+ *,
18695
+ exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
18696
+ include: typing.Optional[typing.Sequence[builtins.str]] = None,
18697
+ ) -> None:
18698
+ """Type checking stubs"""
18699
+ pass
18700
+
18512
18701
  def _typecheckingstub__c4457e4bcc8248ede524c36517847e53317556018cc8b8eaa3a00e086f16cc74(
18513
18702
  *,
18514
18703
  storage_lens_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnStorageLens.StorageLensConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
@@ -2435,16 +2435,14 @@ class CfnFunction(
2435
2435
  type="type"
2436
2436
  ),
2437
2437
  deployment_preference=sam.CfnFunction.DeploymentPreferenceProperty(
2438
- enabled=False,
2439
- type="type",
2440
-
2441
- # the properties below are optional
2442
2438
  alarms=["alarms"],
2439
+ enabled=False,
2443
2440
  hooks=sam.CfnFunction.HooksProperty(
2444
2441
  post_traffic="postTraffic",
2445
2442
  pre_traffic="preTraffic"
2446
2443
  ),
2447
- role="role"
2444
+ role="role",
2445
+ type="type"
2448
2446
  ),
2449
2447
  description="description",
2450
2448
  environment=sam.CfnFunction.FunctionEnvironmentProperty(
@@ -4245,29 +4243,29 @@ class CfnFunction(
4245
4243
  jsii_type="aws-cdk-lib.aws_sam.CfnFunction.DeploymentPreferenceProperty",
4246
4244
  jsii_struct_bases=[],
4247
4245
  name_mapping={
4248
- "enabled": "enabled",
4249
- "type": "type",
4250
4246
  "alarms": "alarms",
4247
+ "enabled": "enabled",
4251
4248
  "hooks": "hooks",
4252
4249
  "role": "role",
4250
+ "type": "type",
4253
4251
  },
4254
4252
  )
4255
4253
  class DeploymentPreferenceProperty:
4256
4254
  def __init__(
4257
4255
  self,
4258
4256
  *,
4259
- enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
4260
- type: builtins.str,
4261
4257
  alarms: typing.Optional[typing.Sequence[builtins.str]] = None,
4258
+ enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4262
4259
  hooks: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFunction.HooksProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4263
4260
  role: typing.Optional[builtins.str] = None,
4261
+ type: typing.Optional[builtins.str] = None,
4264
4262
  ) -> None:
4265
4263
  '''
4266
- :param enabled:
4267
- :param type:
4268
4264
  :param alarms:
4265
+ :param enabled:
4269
4266
  :param hooks:
4270
4267
  :param role:
4268
+ :param type:
4271
4269
 
4272
4270
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-deploymentpreference.html
4273
4271
  :exampleMetadata: fixture=_generated
@@ -4279,53 +4277,34 @@ class CfnFunction(
4279
4277
  from aws_cdk import aws_sam as sam
4280
4278
 
4281
4279
  deployment_preference_property = sam.CfnFunction.DeploymentPreferenceProperty(
4282
- enabled=False,
4283
- type="type",
4284
-
4285
- # the properties below are optional
4286
4280
  alarms=["alarms"],
4281
+ enabled=False,
4287
4282
  hooks=sam.CfnFunction.HooksProperty(
4288
4283
  post_traffic="postTraffic",
4289
4284
  pre_traffic="preTraffic"
4290
4285
  ),
4291
- role="role"
4286
+ role="role",
4287
+ type="type"
4292
4288
  )
4293
4289
  '''
4294
4290
  if __debug__:
4295
4291
  type_hints = typing.get_type_hints(_typecheckingstub__80ec550d24f9c572e123af872fcbd1cc14c85c62218fcfd842baa9ea0c19457a)
4296
- check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
4297
- check_type(argname="argument type", value=type, expected_type=type_hints["type"])
4298
4292
  check_type(argname="argument alarms", value=alarms, expected_type=type_hints["alarms"])
4293
+ check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
4299
4294
  check_type(argname="argument hooks", value=hooks, expected_type=type_hints["hooks"])
4300
4295
  check_type(argname="argument role", value=role, expected_type=type_hints["role"])
4301
- self._values: typing.Dict[builtins.str, typing.Any] = {
4302
- "enabled": enabled,
4303
- "type": type,
4304
- }
4296
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
4297
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4305
4298
  if alarms is not None:
4306
4299
  self._values["alarms"] = alarms
4300
+ if enabled is not None:
4301
+ self._values["enabled"] = enabled
4307
4302
  if hooks is not None:
4308
4303
  self._values["hooks"] = hooks
4309
4304
  if role is not None:
4310
4305
  self._values["role"] = role
4311
-
4312
- @builtins.property
4313
- def enabled(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
4314
- '''
4315
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-deploymentpreference.html#cfn-serverless-function-deploymentpreference-enabled
4316
- '''
4317
- result = self._values.get("enabled")
4318
- assert result is not None, "Required property 'enabled' is missing"
4319
- return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
4320
-
4321
- @builtins.property
4322
- def type(self) -> builtins.str:
4323
- '''
4324
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-deploymentpreference.html#cfn-serverless-function-deploymentpreference-type
4325
- '''
4326
- result = self._values.get("type")
4327
- assert result is not None, "Required property 'type' is missing"
4328
- return typing.cast(builtins.str, result)
4306
+ if type is not None:
4307
+ self._values["type"] = type
4329
4308
 
4330
4309
  @builtins.property
4331
4310
  def alarms(self) -> typing.Optional[typing.List[builtins.str]]:
@@ -4335,6 +4314,16 @@ class CfnFunction(
4335
4314
  result = self._values.get("alarms")
4336
4315
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
4337
4316
 
4317
+ @builtins.property
4318
+ def enabled(
4319
+ self,
4320
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
4321
+ '''
4322
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-deploymentpreference.html#cfn-serverless-function-deploymentpreference-enabled
4323
+ '''
4324
+ result = self._values.get("enabled")
4325
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
4326
+
4338
4327
  @builtins.property
4339
4328
  def hooks(
4340
4329
  self,
@@ -4353,6 +4342,14 @@ class CfnFunction(
4353
4342
  result = self._values.get("role")
4354
4343
  return typing.cast(typing.Optional[builtins.str], result)
4355
4344
 
4345
+ @builtins.property
4346
+ def type(self) -> typing.Optional[builtins.str]:
4347
+ '''
4348
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-serverless-function-deploymentpreference.html#cfn-serverless-function-deploymentpreference-type
4349
+ '''
4350
+ result = self._values.get("type")
4351
+ return typing.cast(typing.Optional[builtins.str], result)
4352
+
4356
4353
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4357
4354
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4358
4355
 
@@ -8523,16 +8520,14 @@ class CfnFunctionProps:
8523
8520
  type="type"
8524
8521
  ),
8525
8522
  deployment_preference=sam.CfnFunction.DeploymentPreferenceProperty(
8526
- enabled=False,
8527
- type="type",
8528
-
8529
- # the properties below are optional
8530
8523
  alarms=["alarms"],
8524
+ enabled=False,
8531
8525
  hooks=sam.CfnFunction.HooksProperty(
8532
8526
  post_traffic="postTraffic",
8533
8527
  pre_traffic="preTraffic"
8534
8528
  ),
8535
- role="role"
8529
+ role="role",
8530
+ type="type"
8536
8531
  ),
8537
8532
  description="description",
8538
8533
  environment=sam.CfnFunction.FunctionEnvironmentProperty(
@@ -13927,11 +13922,11 @@ def _typecheckingstub__143f4d03feab04a8091259025b7001d0b3a0ff69ed51079f2b5c3fb6e
13927
13922
 
13928
13923
  def _typecheckingstub__80ec550d24f9c572e123af872fcbd1cc14c85c62218fcfd842baa9ea0c19457a(
13929
13924
  *,
13930
- enabled: typing.Union[builtins.bool, _IResolvable_da3f097b],
13931
- type: builtins.str,
13932
13925
  alarms: typing.Optional[typing.Sequence[builtins.str]] = None,
13926
+ enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
13933
13927
  hooks: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFunction.HooksProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
13934
13928
  role: typing.Optional[builtins.str] = None,
13929
+ type: typing.Optional[builtins.str] = None,
13935
13930
  ) -> None:
13936
13931
  """Type checking stubs"""
13937
13932
  pass
@@ -580,8 +580,7 @@ class CfnAttributeGroupAssociation(
580
580
  @builtins.property
581
581
  @jsii.member(jsii_name="attrId")
582
582
  def attr_id(self) -> builtins.str:
583
- '''The Id of the Association.
584
-
583
+ '''
585
584
  :cloudformationAttribute: Id
586
585
  '''
587
586
  return typing.cast(builtins.str, jsii.get(self, "attrId"))
@@ -900,8 +899,7 @@ class CfnResourceAssociation(
900
899
  @builtins.property
901
900
  @jsii.member(jsii_name="attrId")
902
901
  def attr_id(self) -> builtins.str:
903
- '''The Id of the Association.
904
-
902
+ '''
905
903
  :cloudformationAttribute: Id
906
904
  '''
907
905
  return typing.cast(builtins.str, jsii.get(self, "attrId"))
@@ -7349,7 +7349,7 @@ class IParameter(_IResource_c80c4260, typing_extensions.Protocol):
7349
7349
 
7350
7350
  @jsii.member(jsii_name="grantRead")
7351
7351
  def grant_read(self, grantee: _IGrantable_71c4f5de) -> _Grant_a7ae64f8:
7352
- '''Grants read (DescribeParameter, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
7352
+ '''Grants read (DescribeParameter, GetParameters, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
7353
7353
 
7354
7354
  :param grantee: the role to be granted read-only access to the parameter.
7355
7355
  '''
@@ -7400,7 +7400,7 @@ class _IParameterProxy(
7400
7400
 
7401
7401
  @jsii.member(jsii_name="grantRead")
7402
7402
  def grant_read(self, grantee: _IGrantable_71c4f5de) -> _Grant_a7ae64f8:
7403
- '''Grants read (DescribeParameter, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
7403
+ '''Grants read (DescribeParameter, GetParameters, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
7404
7404
 
7405
7405
  :param grantee: the role to be granted read-only access to the parameter.
7406
7406
  '''
@@ -8135,7 +8135,7 @@ class StringListParameter(
8135
8135
 
8136
8136
  @jsii.member(jsii_name="grantRead")
8137
8137
  def grant_read(self, grantee: _IGrantable_71c4f5de) -> _Grant_a7ae64f8:
8138
- '''Grants read (DescribeParameter, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
8138
+ '''Grants read (DescribeParameter, GetParameters, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
8139
8139
 
8140
8140
  :param grantee: -
8141
8141
  '''
@@ -8623,7 +8623,7 @@ class StringParameter(
8623
8623
 
8624
8624
  @jsii.member(jsii_name="grantRead")
8625
8625
  def grant_read(self, grantee: _IGrantable_71c4f5de) -> _Grant_a7ae64f8:
8626
- '''Grants read (DescribeParameter, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
8626
+ '''Grants read (DescribeParameter, GetParameters, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
8627
8627
 
8628
8628
  :param grantee: -
8629
8629
  '''
@@ -16764,7 +16764,7 @@ class EmrCreateCluster(
16764
16764
  :param timeout_action: The action to take when TargetSpotCapacity has not been fulfilled when the TimeoutDurationMinutes has expired.
16765
16765
  :param timeout_duration_minutes: The spot provisioning timeout period in minutes.
16766
16766
  :param allocation_strategy: Specifies the strategy to use in launching Spot Instance fleets. Default: - No allocation strategy, i.e. spot instance type will be chosen based on current price only
16767
- :param block_duration_minutes: The defined duration for Spot instances (also known as Spot blocks) in minutes. Default: - No blockDurationMinutes
16767
+ :param block_duration_minutes: (deprecated) The defined duration for Spot instances (also known as Spot blocks) in minutes. Default: - No blockDurationMinutes
16768
16768
 
16769
16769
  :see: https://docs.aws.amazon.com/emr/latest/APIReference/API_SpotProvisioningSpecification.html
16770
16770
  :exampleMetadata: fixture=_generated
@@ -16826,9 +16826,16 @@ class EmrCreateCluster(
16826
16826
 
16827
16827
  @builtins.property
16828
16828
  def block_duration_minutes(self) -> typing.Optional[jsii.Number]:
16829
- '''The defined duration for Spot instances (also known as Spot blocks) in minutes.
16829
+ '''(deprecated) The defined duration for Spot instances (also known as Spot blocks) in minutes.
16830
16830
 
16831
16831
  :default: - No blockDurationMinutes
16832
+
16833
+ :deprecated:
16834
+
16835
+ - Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers from July 1, 2021.
16836
+ For customers who have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022.
16837
+
16838
+ :stability: deprecated
16832
16839
  '''
16833
16840
  result = self._values.get("block_duration_minutes")
16834
16841
  return typing.cast(typing.Optional[jsii.Number], result)
@@ -1902,7 +1902,7 @@ class CfnRule(
1902
1902
 
1903
1903
  :param match: The header match type.
1904
1904
  :param name: The name of the header.
1905
- :param case_sensitive: Indicates whether the match is case sensitive. Defaults to false. Default: - false
1905
+ :param case_sensitive: Indicates whether the match is case sensitive. Default: - false
1906
1906
 
1907
1907
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-headermatch.html
1908
1908
  :exampleMetadata: fixture=_generated
@@ -1965,8 +1965,6 @@ class CfnRule(
1965
1965
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1966
1966
  '''Indicates whether the match is case sensitive.
1967
1967
 
1968
- Defaults to false.
1969
-
1970
1968
  :default: - false
1971
1969
 
1972
1970
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-headermatch.html#cfn-vpclattice-rule-headermatch-casesensitive
@@ -2280,7 +2278,7 @@ class CfnRule(
2280
2278
  '''Describes the conditions that can be applied when matching a path for incoming requests.
2281
2279
 
2282
2280
  :param match: The type of path match.
2283
- :param case_sensitive: Indicates whether the match is case sensitive. Defaults to false. Default: - false
2281
+ :param case_sensitive: Indicates whether the match is case sensitive. Default: - false
2284
2282
 
2285
2283
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-pathmatch.html
2286
2284
  :exampleMetadata: fixture=_generated
@@ -2329,8 +2327,6 @@ class CfnRule(
2329
2327
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
2330
2328
  '''Indicates whether the match is case sensitive.
2331
2329
 
2332
- Defaults to false.
2333
-
2334
2330
  :default: - false
2335
2331
 
2336
2332
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-pathmatch.html#cfn-vpclattice-rule-pathmatch-casesensitive