aws-cdk-lib 2.115.0__py3-none-any.whl → 2.116.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 (66) hide show
  1. aws_cdk/__init__.py +801 -356
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.115.0.jsii.tgz → aws-cdk-lib@2.116.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +3 -1
  5. aws_cdk/aws_apigatewayv2/__init__.py +595 -222
  6. aws_cdk/aws_apigatewayv2_integrations/__init__.py +4 -5
  7. aws_cdk/aws_applicationautoscaling/__init__.py +51 -15
  8. aws_cdk/aws_appsync/__init__.py +14 -3
  9. aws_cdk/aws_autoscaling/__init__.py +6 -0
  10. aws_cdk/aws_b2bi/__init__.py +2445 -0
  11. aws_cdk/aws_cloud9/__init__.py +63 -63
  12. aws_cdk/aws_cloudfront/__init__.py +394 -0
  13. aws_cdk/aws_cloudfront/experimental/__init__.py +5 -2
  14. aws_cdk/aws_cloudtrail/__init__.py +90 -11
  15. aws_cdk/aws_cloudwatch/__init__.py +6 -6
  16. aws_cdk/aws_codedeploy/__init__.py +88 -15
  17. aws_cdk/aws_codepipeline/__init__.py +645 -0
  18. aws_cdk/aws_cognito/__init__.py +13 -26
  19. aws_cdk/aws_config/__init__.py +315 -1
  20. aws_cdk/aws_connect/__init__.py +532 -37
  21. aws_cdk/aws_controltower/__init__.py +4 -4
  22. aws_cdk/aws_datasync/__init__.py +6 -4
  23. aws_cdk/aws_dms/__init__.py +241 -131
  24. aws_cdk/aws_dynamodb/__init__.py +8 -0
  25. aws_cdk/aws_ec2/__init__.py +1030 -45
  26. aws_cdk/aws_ecr/__init__.py +78 -10
  27. aws_cdk/aws_ecs/__init__.py +210 -2
  28. aws_cdk/aws_ecs_patterns/__init__.py +77 -62
  29. aws_cdk/aws_eks/__init__.py +8 -1
  30. aws_cdk/aws_elasticache/__init__.py +136 -10
  31. aws_cdk/aws_elasticloadbalancingv2/__init__.py +10 -13
  32. aws_cdk/aws_emr/__init__.py +234 -17
  33. aws_cdk/aws_eventschemas/__init__.py +15 -13
  34. aws_cdk/aws_fis/__init__.py +33 -13
  35. aws_cdk/aws_gamelift/__init__.py +47 -0
  36. aws_cdk/aws_imagebuilder/__init__.py +922 -84
  37. aws_cdk/aws_internetmonitor/__init__.py +12 -10
  38. aws_cdk/aws_iot/__init__.py +26 -46
  39. aws_cdk/aws_iottwinmaker/__init__.py +36 -34
  40. aws_cdk/aws_lambda/__init__.py +19 -15
  41. aws_cdk/aws_lambda_nodejs/__init__.py +5 -2
  42. aws_cdk/aws_logs/__init__.py +6 -6
  43. aws_cdk/aws_opensearchservice/__init__.py +5 -3
  44. aws_cdk/aws_organizations/__init__.py +3 -3
  45. aws_cdk/aws_osis/__init__.py +17 -13
  46. aws_cdk/aws_rds/__init__.py +6 -0
  47. aws_cdk/aws_s3/__init__.py +4 -2
  48. aws_cdk/aws_s3outposts/__init__.py +8 -8
  49. aws_cdk/aws_sagemaker/__init__.py +17 -94
  50. aws_cdk/aws_secretsmanager/__init__.py +9 -7
  51. aws_cdk/aws_securityhub/__init__.py +18 -0
  52. aws_cdk/aws_servicecatalogappregistry/__init__.py +31 -0
  53. aws_cdk/aws_ses/__init__.py +58 -11
  54. aws_cdk/aws_sns/__init__.py +309 -10
  55. aws_cdk/aws_ssm/__init__.py +3 -5
  56. aws_cdk/aws_stepfunctions/__init__.py +335 -19
  57. aws_cdk/aws_stepfunctions_tasks/__init__.py +388 -38
  58. aws_cdk/aws_transfer/__init__.py +37 -10
  59. aws_cdk/custom_resources/__init__.py +443 -1
  60. aws_cdk/triggers/__init__.py +5 -2
  61. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/METADATA +1 -1
  62. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/RECORD +66 -65
  63. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/LICENSE +0 -0
  64. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/NOTICE +0 -0
  65. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/WHEEL +0 -0
  66. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/top_level.txt +0 -0
@@ -4566,13 +4566,6 @@ class CfnDomain(
4566
4566
 
4567
4567
  # the properties below are optional
4568
4568
  code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
4569
- custom_images=[sagemaker.CfnDomain.CustomImageProperty(
4570
- app_image_config_name="appImageConfigName",
4571
- image_name="imageName",
4572
-
4573
- # the properties below are optional
4574
- image_version_number=123
4575
- )],
4576
4569
  default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
4577
4570
  instance_type="instanceType",
4578
4571
  lifecycle_config_arn="lifecycleConfigArn",
@@ -4847,6 +4840,17 @@ class CfnDomain(
4847
4840
  '''
4848
4841
  return typing.cast(builtins.str, jsii.get(self, "attrSecurityGroupIdForDomainBoundary"))
4849
4842
 
4843
+ @builtins.property
4844
+ @jsii.member(jsii_name="attrSingleSignOnApplicationArn")
4845
+ def attr_single_sign_on_application_arn(self) -> builtins.str:
4846
+ '''The ARN of the application managed by SageMaker in IAM Identity Center.
4847
+
4848
+ This value is only returned for domains created after October 1, 2023.
4849
+
4850
+ :cloudformationAttribute: SingleSignOnApplicationArn
4851
+ '''
4852
+ return typing.cast(builtins.str, jsii.get(self, "attrSingleSignOnApplicationArn"))
4853
+
4850
4854
  @builtins.property
4851
4855
  @jsii.member(jsii_name="attrSingleSignOnManagedApplicationInstanceId")
4852
4856
  def attr_single_sign_on_managed_application_instance_id(self) -> builtins.str:
@@ -5044,7 +5048,6 @@ class CfnDomain(
5044
5048
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnDomain.CodeEditorAppSettingsProperty",
5045
5049
  jsii_struct_bases=[],
5046
5050
  name_mapping={
5047
- "custom_images": "customImages",
5048
5051
  "default_resource_spec": "defaultResourceSpec",
5049
5052
  "lifecycle_config_arns": "lifecycleConfigArns",
5050
5053
  },
@@ -5053,13 +5056,11 @@ class CfnDomain(
5053
5056
  def __init__(
5054
5057
  self,
5055
5058
  *,
5056
- custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.CustomImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
5057
5059
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDomain.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
5058
5060
  lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
5059
5061
  ) -> None:
5060
5062
  '''The CodeEditor app settings.
5061
5063
 
5062
- :param custom_images: A list of custom images for use for CodeEditor apps.
5063
5064
  :param default_resource_spec:
5064
5065
  :param lifecycle_config_arns: A list of LifecycleConfigArns available for use with CodeEditor apps.
5065
5066
 
@@ -5073,13 +5074,6 @@ class CfnDomain(
5073
5074
  from aws_cdk import aws_sagemaker as sagemaker
5074
5075
 
5075
5076
  code_editor_app_settings_property = sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
5076
- custom_images=[sagemaker.CfnDomain.CustomImageProperty(
5077
- app_image_config_name="appImageConfigName",
5078
- image_name="imageName",
5079
-
5080
- # the properties below are optional
5081
- image_version_number=123
5082
- )],
5083
5077
  default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
5084
5078
  instance_type="instanceType",
5085
5079
  lifecycle_config_arn="lifecycleConfigArn",
@@ -5091,28 +5085,14 @@ class CfnDomain(
5091
5085
  '''
5092
5086
  if __debug__:
5093
5087
  type_hints = typing.get_type_hints(_typecheckingstub__fc744bb58e49877db429fbdcea73e31d9e5326375463940bb48321473f97dfaa)
5094
- check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
5095
5088
  check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
5096
5089
  check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
5097
5090
  self._values: typing.Dict[builtins.str, typing.Any] = {}
5098
- if custom_images is not None:
5099
- self._values["custom_images"] = custom_images
5100
5091
  if default_resource_spec is not None:
5101
5092
  self._values["default_resource_spec"] = default_resource_spec
5102
5093
  if lifecycle_config_arns is not None:
5103
5094
  self._values["lifecycle_config_arns"] = lifecycle_config_arns
5104
5095
 
5105
- @builtins.property
5106
- def custom_images(
5107
- self,
5108
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.CustomImageProperty"]]]]:
5109
- '''A list of custom images for use for CodeEditor apps.
5110
-
5111
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-codeeditorappsettings.html#cfn-sagemaker-domain-codeeditorappsettings-customimages
5112
- '''
5113
- result = self._values.get("custom_images")
5114
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDomain.CustomImageProperty"]]]], result)
5115
-
5116
5096
  @builtins.property
5117
5097
  def default_resource_spec(
5118
5098
  self,
@@ -6674,13 +6654,6 @@ class CfnDomain(
6674
6654
 
6675
6655
  # the properties below are optional
6676
6656
  code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
6677
- custom_images=[sagemaker.CfnDomain.CustomImageProperty(
6678
- app_image_config_name="appImageConfigName",
6679
- image_name="imageName",
6680
-
6681
- # the properties below are optional
6682
- image_version_number=123
6683
- )],
6684
6657
  default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
6685
6658
  instance_type="instanceType",
6686
6659
  lifecycle_config_arn="lifecycleConfigArn",
@@ -7052,13 +7025,6 @@ class CfnDomainProps:
7052
7025
 
7053
7026
  # the properties below are optional
7054
7027
  code_editor_app_settings=sagemaker.CfnDomain.CodeEditorAppSettingsProperty(
7055
- custom_images=[sagemaker.CfnDomain.CustomImageProperty(
7056
- app_image_config_name="appImageConfigName",
7057
- image_name="imageName",
7058
-
7059
- # the properties below are optional
7060
- image_version_number=123
7061
- )],
7062
7028
  default_resource_spec=sagemaker.CfnDomain.ResourceSpecProperty(
7063
7029
  instance_type="instanceType",
7064
7030
  lifecycle_config_arn="lifecycleConfigArn",
@@ -12100,7 +12066,7 @@ class CfnFeatureGroup(
12100
12066
 
12101
12067
  :param enable_online_store: Turn ``OnlineStore`` off by specifying ``False`` for the ``EnableOnlineStore`` flag. Turn ``OnlineStore`` on by specifying ``True`` for the ``EnableOnlineStore`` flag. The default value is ``False`` .
12102
12068
  :param security_config: Use to specify KMS Key ID ( ``KMSKeyId`` ) for at-rest encryption of your ``OnlineStore`` .
12103
- :param storage_type:
12069
+ :param storage_type: Option for different tiers of low latency storage for real-time data retrieval. - ``Standard`` : A managed low latency data store for feature groups. - ``InMemory`` : A managed data store for feature groups that supports very low latency retrieval.
12104
12070
 
12105
12071
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-onlinestoreconfig.html
12106
12072
  :exampleMetadata: fixture=_generated
@@ -12160,7 +12126,11 @@ class CfnFeatureGroup(
12160
12126
 
12161
12127
  @builtins.property
12162
12128
  def storage_type(self) -> typing.Optional[builtins.str]:
12163
- '''
12129
+ '''Option for different tiers of low latency storage for real-time data retrieval.
12130
+
12131
+ - ``Standard`` : A managed low latency data store for feature groups.
12132
+ - ``InMemory`` : A managed data store for feature groups that supports very low latency retrieval.
12133
+
12164
12134
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-onlinestoreconfig.html#cfn-sagemaker-featuregroup-onlinestoreconfig-storagetype
12165
12135
  '''
12166
12136
  result = self._values.get("storage_type")
@@ -39466,13 +39436,6 @@ class CfnUserProfile(
39466
39436
  )],
39467
39437
  user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
39468
39438
  code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
39469
- custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
39470
- app_image_config_name="appImageConfigName",
39471
- image_name="imageName",
39472
-
39473
- # the properties below are optional
39474
- image_version_number=123
39475
- )],
39476
39439
  default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
39477
39440
  instance_type="instanceType",
39478
39441
  sage_maker_image_arn="sageMakerImageArn",
@@ -39731,7 +39694,6 @@ class CfnUserProfile(
39731
39694
  jsii_type="aws-cdk-lib.aws_sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty",
39732
39695
  jsii_struct_bases=[],
39733
39696
  name_mapping={
39734
- "custom_images": "customImages",
39735
39697
  "default_resource_spec": "defaultResourceSpec",
39736
39698
  "lifecycle_config_arns": "lifecycleConfigArns",
39737
39699
  },
@@ -39740,13 +39702,11 @@ class CfnUserProfile(
39740
39702
  def __init__(
39741
39703
  self,
39742
39704
  *,
39743
- custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.CustomImageProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
39744
39705
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserProfile.ResourceSpecProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
39745
39706
  lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
39746
39707
  ) -> None:
39747
39708
  '''The CodeEditor app settings.
39748
39709
 
39749
- :param custom_images: A list of custom images for use for CodeEditor apps.
39750
39710
  :param default_resource_spec:
39751
39711
  :param lifecycle_config_arns: A list of LifecycleConfigArns available for use with CodeEditor apps.
39752
39712
 
@@ -39760,13 +39720,6 @@ class CfnUserProfile(
39760
39720
  from aws_cdk import aws_sagemaker as sagemaker
39761
39721
 
39762
39722
  code_editor_app_settings_property = sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
39763
- custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
39764
- app_image_config_name="appImageConfigName",
39765
- image_name="imageName",
39766
-
39767
- # the properties below are optional
39768
- image_version_number=123
39769
- )],
39770
39723
  default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
39771
39724
  instance_type="instanceType",
39772
39725
  sage_maker_image_arn="sageMakerImageArn",
@@ -39777,28 +39730,14 @@ class CfnUserProfile(
39777
39730
  '''
39778
39731
  if __debug__:
39779
39732
  type_hints = typing.get_type_hints(_typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5)
39780
- check_type(argname="argument custom_images", value=custom_images, expected_type=type_hints["custom_images"])
39781
39733
  check_type(argname="argument default_resource_spec", value=default_resource_spec, expected_type=type_hints["default_resource_spec"])
39782
39734
  check_type(argname="argument lifecycle_config_arns", value=lifecycle_config_arns, expected_type=type_hints["lifecycle_config_arns"])
39783
39735
  self._values: typing.Dict[builtins.str, typing.Any] = {}
39784
- if custom_images is not None:
39785
- self._values["custom_images"] = custom_images
39786
39736
  if default_resource_spec is not None:
39787
39737
  self._values["default_resource_spec"] = default_resource_spec
39788
39738
  if lifecycle_config_arns is not None:
39789
39739
  self._values["lifecycle_config_arns"] = lifecycle_config_arns
39790
39740
 
39791
- @builtins.property
39792
- def custom_images(
39793
- self,
39794
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.CustomImageProperty"]]]]:
39795
- '''A list of custom images for use for CodeEditor apps.
39796
-
39797
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-customimages
39798
- '''
39799
- result = self._values.get("custom_images")
39800
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnUserProfile.CustomImageProperty"]]]], result)
39801
-
39802
39741
  @builtins.property
39803
39742
  def default_resource_spec(
39804
39743
  self,
@@ -40906,13 +40845,6 @@ class CfnUserProfile(
40906
40845
 
40907
40846
  user_settings_property = sagemaker.CfnUserProfile.UserSettingsProperty(
40908
40847
  code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
40909
- custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
40910
- app_image_config_name="appImageConfigName",
40911
- image_name="imageName",
40912
-
40913
- # the properties below are optional
40914
- image_version_number=123
40915
- )],
40916
40848
  default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
40917
40849
  instance_type="instanceType",
40918
40850
  sage_maker_image_arn="sageMakerImageArn",
@@ -41242,13 +41174,6 @@ class CfnUserProfileProps:
41242
41174
  )],
41243
41175
  user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
41244
41176
  code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
41245
- custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
41246
- app_image_config_name="appImageConfigName",
41247
- image_name="imageName",
41248
-
41249
- # the properties below are optional
41250
- image_version_number=123
41251
- )],
41252
41177
  default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
41253
41178
  instance_type="instanceType",
41254
41179
  sage_maker_image_arn="sageMakerImageArn",
@@ -42952,7 +42877,6 @@ def _typecheckingstub__6d1a70c209913231f1eb30dba814eb3a3bc58f6f4341ea1392c5061d8
42952
42877
 
42953
42878
  def _typecheckingstub__fc744bb58e49877db429fbdcea73e31d9e5326375463940bb48321473f97dfaa(
42954
42879
  *,
42955
- custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.CustomImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
42956
42880
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDomain.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
42957
42881
  lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
42958
42882
  ) -> None:
@@ -46928,7 +46852,6 @@ def _typecheckingstub__406091aa6a2a94d5bbf06575babcd4456ed92c8bbf6d0265ac1061bf9
46928
46852
 
46929
46853
  def _typecheckingstub__9102031486b9c90cb4b3d6ac33ecdb4030f0a3c090fb394765dc1cb6cdb4e9b5(
46930
46854
  *,
46931
- custom_images: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.CustomImageProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
46932
46855
  default_resource_spec: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserProfile.ResourceSpecProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
46933
46856
  lifecycle_config_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
46934
46857
  ) -> None:
@@ -3093,7 +3093,7 @@ class ISecret(_IResource_c80c4260, typing_extensions.Protocol):
3093
3093
  '''Adds a rotation schedule to the secret.
3094
3094
 
3095
3095
  :param id: -
3096
- :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
3096
+ :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The minimum value is 4 hours. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
3097
3097
  :param hosted_rotation: Hosted rotation. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
3098
3098
  :param rotate_immediately_on_update: Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. Default: true
3099
3099
  :param rotation_lambda: A Lambda function that can rotate the secret. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
@@ -3230,7 +3230,7 @@ class _ISecretProxy(
3230
3230
  '''Adds a rotation schedule to the secret.
3231
3231
 
3232
3232
  :param id: -
3233
- :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
3233
+ :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The minimum value is 4 hours. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
3234
3234
  :param hosted_rotation: Hosted rotation. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
3235
3235
  :param rotate_immediately_on_update: Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. Default: true
3236
3236
  :param rotation_lambda: A Lambda function that can rotate the secret. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
@@ -3611,7 +3611,7 @@ class RotationSchedule(
3611
3611
  :param scope: -
3612
3612
  :param id: -
3613
3613
  :param secret: The secret to rotate. If hosted rotation is used, this must be a JSON string with the following format:: { "engine": <required: database engine>, "host": <required: instance host name>, "username": <required: username>, "password": <required: password>, "dbname": <optional: database name>, "port": <optional: if not specified, default port will be used>, "masterarn": <required for multi user rotation: the arn of the master secret which will be used to create users/change passwords> } This is typically the case for a secret referenced from an ``AWS::SecretsManager::SecretTargetAttachment`` or an ``ISecret`` returned by the ``attach()`` method of ``Secret``.
3614
- :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
3614
+ :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The minimum value is 4 hours. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
3615
3615
  :param hosted_rotation: Hosted rotation. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
3616
3616
  :param rotate_immediately_on_update: Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. Default: true
3617
3617
  :param rotation_lambda: A Lambda function that can rotate the secret. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
@@ -3652,7 +3652,7 @@ class RotationScheduleOptions:
3652
3652
  ) -> None:
3653
3653
  '''Options to add a rotation schedule to a secret.
3654
3654
 
3655
- :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
3655
+ :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The minimum value is 4 hours. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
3656
3656
  :param hosted_rotation: Hosted rotation. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
3657
3657
  :param rotate_immediately_on_update: Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. Default: true
3658
3658
  :param rotation_lambda: A Lambda function that can rotate the secret. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
@@ -3693,6 +3693,7 @@ class RotationScheduleOptions:
3693
3693
  def automatically_after(self) -> typing.Optional[_Duration_4839e8c3]:
3694
3694
  '''Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.
3695
3695
 
3696
+ The minimum value is 4 hours.
3696
3697
  The maximum value is 1000 days.
3697
3698
 
3698
3699
  A value of zero (``Duration.days(0)``) will not create RotationRules.
@@ -3764,7 +3765,7 @@ class RotationScheduleProps(RotationScheduleOptions):
3764
3765
  ) -> None:
3765
3766
  '''Construction properties for a RotationSchedule.
3766
3767
 
3767
- :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
3768
+ :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The minimum value is 4 hours. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
3768
3769
  :param hosted_rotation: Hosted rotation. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
3769
3770
  :param rotate_immediately_on_update: Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. Default: true
3770
3771
  :param rotation_lambda: A Lambda function that can rotate the secret. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
@@ -3817,6 +3818,7 @@ class RotationScheduleProps(RotationScheduleOptions):
3817
3818
  def automatically_after(self) -> typing.Optional[_Duration_4839e8c3]:
3818
3819
  '''Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.
3819
3820
 
3821
+ The minimum value is 4 hours.
3820
3822
  The maximum value is 1000 days.
3821
3823
 
3822
3824
  A value of zero (``Duration.days(0)``) will not create RotationRules.
@@ -4107,7 +4109,7 @@ class Secret(
4107
4109
  '''Adds a rotation schedule to the secret.
4108
4110
 
4109
4111
  :param id: -
4110
- :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
4112
+ :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The minimum value is 4 hours. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
4111
4113
  :param hosted_rotation: Hosted rotation. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
4112
4114
  :param rotate_immediately_on_update: Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. Default: true
4113
4115
  :param rotation_lambda: A Lambda function that can rotate the secret. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
@@ -5583,7 +5585,7 @@ class SecretTargetAttachment(
5583
5585
  '''Adds a rotation schedule to the secret.
5584
5586
 
5585
5587
  :param id: -
5586
- :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
5588
+ :param automatically_after: Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. The minimum value is 4 hours. The maximum value is 1000 days. A value of zero (``Duration.days(0)``) will not create RotationRules. Default: Duration.days(30)
5587
5589
  :param hosted_rotation: Hosted rotation. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
5588
5590
  :param rotate_immediately_on_update: Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. Default: true
5589
5591
  :param rotation_lambda: A Lambda function that can rotate the secret. Default: - either ``rotationLambda`` or ``hostedRotation`` must be specified
@@ -2972,6 +2972,15 @@ class CfnHub(
2972
2972
  '''The CloudFormation resource type name for this resource class.'''
2973
2973
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
2974
2974
 
2975
+ @builtins.property
2976
+ @jsii.member(jsii_name="attrArn")
2977
+ def attr_arn(self) -> builtins.str:
2978
+ '''An ARN is automatically created for the customer.
2979
+
2980
+ :cloudformationAttribute: ARN
2981
+ '''
2982
+ return typing.cast(builtins.str, jsii.get(self, "attrArn"))
2983
+
2975
2984
  @builtins.property
2976
2985
  @jsii.member(jsii_name="attrId")
2977
2986
  def attr_id(self) -> builtins.str:
@@ -2980,6 +2989,15 @@ class CfnHub(
2980
2989
  '''
2981
2990
  return typing.cast(builtins.str, jsii.get(self, "attrId"))
2982
2991
 
2992
+ @builtins.property
2993
+ @jsii.member(jsii_name="attrSubscribedAt")
2994
+ def attr_subscribed_at(self) -> builtins.str:
2995
+ '''The date and time when Security Hub was enabled in the account.
2996
+
2997
+ :cloudformationAttribute: SubscribedAt
2998
+ '''
2999
+ return typing.cast(builtins.str, jsii.get(self, "attrSubscribedAt"))
3000
+
2983
3001
  @builtins.property
2984
3002
  @jsii.member(jsii_name="cfnProperties")
2985
3003
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -137,6 +137,37 @@ class CfnApplication(
137
137
  '''The CloudFormation resource type name for this resource class.'''
138
138
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
139
139
 
140
+ @builtins.property
141
+ @jsii.member(jsii_name="attrApplicationName")
142
+ def attr_application_name(self) -> builtins.str:
143
+ '''The name of the application.
144
+
145
+ :cloudformationAttribute: ApplicationName
146
+ '''
147
+ return typing.cast(builtins.str, jsii.get(self, "attrApplicationName"))
148
+
149
+ @builtins.property
150
+ @jsii.member(jsii_name="attrApplicationTagKey")
151
+ def attr_application_tag_key(self) -> builtins.str:
152
+ '''The key of the AWS application tag, which is awsApplication.
153
+
154
+ Applications created before 11/13/2023 or applications without the AWS application tag resource group return no value.
155
+
156
+ :cloudformationAttribute: ApplicationTagKey
157
+ '''
158
+ return typing.cast(builtins.str, jsii.get(self, "attrApplicationTagKey"))
159
+
160
+ @builtins.property
161
+ @jsii.member(jsii_name="attrApplicationTagValue")
162
+ def attr_application_tag_value(self) -> builtins.str:
163
+ '''The value of the AWS application tag, which is the identifier of an associated resource.
164
+
165
+ Applications created before 11/13/2023 or applications without the AWS application tag resource group return no value.
166
+
167
+ :cloudformationAttribute: ApplicationTagValue
168
+ '''
169
+ return typing.cast(builtins.str, jsii.get(self, "attrApplicationTagValue"))
170
+
140
171
  @builtins.property
141
172
  @jsii.member(jsii_name="attrArn")
142
173
  def attr_arn(self) -> builtins.str:
@@ -111,7 +111,9 @@ dedicated IP addresses that are reserved for your exclusive use.
111
111
  Use the `DedicatedIpPool` construct to create a pool of dedicated IP addresses:
112
112
 
113
113
  ```python
114
- ses.DedicatedIpPool(self, "Pool")
114
+ ses.DedicatedIpPool(self, "Pool",
115
+ scaling_mode=ses.ScalingMode.STANDARD
116
+ )
115
117
  ```
116
118
 
117
119
  The pool can then be used in a configuration set.
@@ -6768,36 +6770,40 @@ class ConfigurationSetTlsPolicy(enum.Enum):
6768
6770
  @jsii.data_type(
6769
6771
  jsii_type="aws-cdk-lib.aws_ses.DedicatedIpPoolProps",
6770
6772
  jsii_struct_bases=[],
6771
- name_mapping={"dedicated_ip_pool_name": "dedicatedIpPoolName"},
6773
+ name_mapping={
6774
+ "dedicated_ip_pool_name": "dedicatedIpPoolName",
6775
+ "scaling_mode": "scalingMode",
6776
+ },
6772
6777
  )
6773
6778
  class DedicatedIpPoolProps:
6774
6779
  def __init__(
6775
6780
  self,
6776
6781
  *,
6777
6782
  dedicated_ip_pool_name: typing.Optional[builtins.str] = None,
6783
+ scaling_mode: typing.Optional["ScalingMode"] = None,
6778
6784
  ) -> None:
6779
6785
  '''Properties for a dedicated IP pool.
6780
6786
 
6781
6787
  :param dedicated_ip_pool_name: A name for the dedicated IP pool. Default: - a CloudFormation generated name
6788
+ :param scaling_mode: The type of scailing mode to use for this IP pool. Updating ScalingMode doesn't require a replacement if you're updating its value from ``STANDARD`` to ``MANAGED``. However, updating ScalingMode from ``MANAGED`` to ``STANDARD`` is not supported. Default: ScalingMode.STANDARD
6782
6789
 
6783
- :exampleMetadata: fixture=_generated
6790
+ :exampleMetadata: infused
6784
6791
 
6785
6792
  Example::
6786
6793
 
6787
- # The code below shows an example of how to instantiate this type.
6788
- # The values are placeholders you should change.
6789
- from aws_cdk import aws_ses as ses
6790
-
6791
- dedicated_ip_pool_props = ses.DedicatedIpPoolProps(
6792
- dedicated_ip_pool_name="dedicatedIpPoolName"
6794
+ ses.DedicatedIpPool(self, "Pool",
6795
+ scaling_mode=ses.ScalingMode.STANDARD
6793
6796
  )
6794
6797
  '''
6795
6798
  if __debug__:
6796
6799
  type_hints = typing.get_type_hints(_typecheckingstub__cbbd68e1fe68b915968886e4089439bf017848bb3c0f82036ac33e6a6de46dd0)
6797
6800
  check_type(argname="argument dedicated_ip_pool_name", value=dedicated_ip_pool_name, expected_type=type_hints["dedicated_ip_pool_name"])
6801
+ check_type(argname="argument scaling_mode", value=scaling_mode, expected_type=type_hints["scaling_mode"])
6798
6802
  self._values: typing.Dict[builtins.str, typing.Any] = {}
6799
6803
  if dedicated_ip_pool_name is not None:
6800
6804
  self._values["dedicated_ip_pool_name"] = dedicated_ip_pool_name
6805
+ if scaling_mode is not None:
6806
+ self._values["scaling_mode"] = scaling_mode
6801
6807
 
6802
6808
  @builtins.property
6803
6809
  def dedicated_ip_pool_name(self) -> typing.Optional[builtins.str]:
@@ -6808,6 +6814,18 @@ class DedicatedIpPoolProps:
6808
6814
  result = self._values.get("dedicated_ip_pool_name")
6809
6815
  return typing.cast(typing.Optional[builtins.str], result)
6810
6816
 
6817
+ @builtins.property
6818
+ def scaling_mode(self) -> typing.Optional["ScalingMode"]:
6819
+ '''The type of scailing mode to use for this IP pool.
6820
+
6821
+ Updating ScalingMode doesn't require a replacement if you're updating its value from ``STANDARD`` to ``MANAGED``.
6822
+ However, updating ScalingMode from ``MANAGED`` to ``STANDARD`` is not supported.
6823
+
6824
+ :default: ScalingMode.STANDARD
6825
+ '''
6826
+ result = self._values.get("scaling_mode")
6827
+ return typing.cast(typing.Optional["ScalingMode"], result)
6828
+
6811
6829
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
6812
6830
  return isinstance(rhs, self.__class__) and rhs._values == self._values
6813
6831
 
@@ -9188,6 +9206,26 @@ class SNSActionConfig:
9188
9206
  )
9189
9207
 
9190
9208
 
9209
+ @jsii.enum(jsii_type="aws-cdk-lib.aws_ses.ScalingMode")
9210
+ class ScalingMode(enum.Enum):
9211
+ '''Scaling mode to use for this IP pool.
9212
+
9213
+ :see: https://docs.aws.amazon.com/ses/latest/dg/dedicated-ip.html
9214
+ :exampleMetadata: infused
9215
+
9216
+ Example::
9217
+
9218
+ ses.DedicatedIpPool(self, "Pool",
9219
+ scaling_mode=ses.ScalingMode.STANDARD
9220
+ )
9221
+ '''
9222
+
9223
+ STANDARD = "STANDARD"
9224
+ '''The customer controls which IPs are part of the dedicated IP pool.'''
9225
+ MANAGED = "MANAGED"
9226
+ '''The reputation and number of IPs are automatically managed by Amazon SES.'''
9227
+
9228
+
9191
9229
  @jsii.data_type(
9192
9230
  jsii_type="aws-cdk-lib.aws_ses.StopActionConfig",
9193
9231
  jsii_struct_bases=[],
@@ -9753,7 +9791,9 @@ class DedicatedIpPool(
9753
9791
 
9754
9792
  Example::
9755
9793
 
9756
- ses.DedicatedIpPool(self, "Pool")
9794
+ ses.DedicatedIpPool(self, "Pool",
9795
+ scaling_mode=ses.ScalingMode.STANDARD
9796
+ )
9757
9797
  '''
9758
9798
 
9759
9799
  def __init__(
@@ -9762,17 +9802,21 @@ class DedicatedIpPool(
9762
9802
  id: builtins.str,
9763
9803
  *,
9764
9804
  dedicated_ip_pool_name: typing.Optional[builtins.str] = None,
9805
+ scaling_mode: typing.Optional[ScalingMode] = None,
9765
9806
  ) -> None:
9766
9807
  '''
9767
9808
  :param scope: -
9768
9809
  :param id: -
9769
9810
  :param dedicated_ip_pool_name: A name for the dedicated IP pool. Default: - a CloudFormation generated name
9811
+ :param scaling_mode: The type of scailing mode to use for this IP pool. Updating ScalingMode doesn't require a replacement if you're updating its value from ``STANDARD`` to ``MANAGED``. However, updating ScalingMode from ``MANAGED`` to ``STANDARD`` is not supported. Default: ScalingMode.STANDARD
9770
9812
  '''
9771
9813
  if __debug__:
9772
9814
  type_hints = typing.get_type_hints(_typecheckingstub__a4f168ec9aad173d023a8ac330a62f7c1ce87601f0a8876e8cbf35c7dcd89ead)
9773
9815
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
9774
9816
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
9775
- props = DedicatedIpPoolProps(dedicated_ip_pool_name=dedicated_ip_pool_name)
9817
+ props = DedicatedIpPoolProps(
9818
+ dedicated_ip_pool_name=dedicated_ip_pool_name, scaling_mode=scaling_mode
9819
+ )
9776
9820
 
9777
9821
  jsii.create(self.__class__, self, [scope, id, props])
9778
9822
 
@@ -10193,6 +10237,7 @@ __all__ = [
10193
10237
  "ReceiptRuleSetProps",
10194
10238
  "S3ActionConfig",
10195
10239
  "SNSActionConfig",
10240
+ "ScalingMode",
10196
10241
  "StopActionConfig",
10197
10242
  "SuppressionReasons",
10198
10243
  "TlsPolicy",
@@ -11061,6 +11106,7 @@ def _typecheckingstub__fb010161f6c1e40b88122d9cb7754dae093e9cbe5bbfc72b19737729a
11061
11106
  def _typecheckingstub__cbbd68e1fe68b915968886e4089439bf017848bb3c0f82036ac33e6a6de46dd0(
11062
11107
  *,
11063
11108
  dedicated_ip_pool_name: typing.Optional[builtins.str] = None,
11109
+ scaling_mode: typing.Optional[ScalingMode] = None,
11064
11110
  ) -> None:
11065
11111
  """Type checking stubs"""
11066
11112
  pass
@@ -11435,6 +11481,7 @@ def _typecheckingstub__a4f168ec9aad173d023a8ac330a62f7c1ce87601f0a8876e8cbf35c7d
11435
11481
  id: builtins.str,
11436
11482
  *,
11437
11483
  dedicated_ip_pool_name: typing.Optional[builtins.str] = None,
11484
+ scaling_mode: typing.Optional[ScalingMode] = None,
11438
11485
  ) -> None:
11439
11486
  """Type checking stubs"""
11440
11487
  pass