aws-cdk-lib 2.138.0__py3-none-any.whl → 2.139.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (37) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.138.0.jsii.tgz → aws-cdk-lib@2.139.1.jsii.tgz} +0 -0
  3. aws_cdk/aws_apigateway/__init__.py +29 -16
  4. aws_cdk/aws_appconfig/__init__.py +289 -44
  5. aws_cdk/aws_appintegrations/__init__.py +55 -6
  6. aws_cdk/aws_autoscaling/__init__.py +62 -60
  7. aws_cdk/aws_backup/__init__.py +34 -42
  8. aws_cdk/aws_batch/__init__.py +9 -3
  9. aws_cdk/aws_bedrock/__init__.py +4144 -0
  10. aws_cdk/aws_cloudwatch/__init__.py +120 -0
  11. aws_cdk/aws_datazone/__init__.py +22 -0
  12. aws_cdk/aws_dms/__init__.py +2 -4
  13. aws_cdk/aws_ec2/__init__.py +123 -84
  14. aws_cdk/aws_ecr/__init__.py +630 -0
  15. aws_cdk/aws_ecs/__init__.py +121 -19
  16. aws_cdk/aws_efs/__init__.py +592 -0
  17. aws_cdk/aws_elasticloadbalancingv2/__init__.py +23 -8
  18. aws_cdk/aws_events_targets/__init__.py +17 -4
  19. aws_cdk/aws_kms/__init__.py +44 -0
  20. aws_cdk/aws_lambda/__init__.py +9 -0
  21. aws_cdk/aws_oam/__init__.py +204 -0
  22. aws_cdk/aws_rds/__init__.py +15 -11
  23. aws_cdk/aws_redshiftserverless/__init__.py +157 -0
  24. aws_cdk/aws_securitylake/__init__.py +160 -105
  25. aws_cdk/aws_ses_actions/__init__.py +155 -0
  26. aws_cdk/aws_ssm/__init__.py +5 -2
  27. aws_cdk/aws_timestream/__init__.py +1045 -0
  28. aws_cdk/aws_transfer/__init__.py +15 -6
  29. aws_cdk/aws_wisdom/__init__.py +2 -2
  30. aws_cdk/custom_resources/__init__.py +440 -0
  31. aws_cdk/cx_api/__init__.py +17 -0
  32. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/METADATA +1 -1
  33. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/RECORD +37 -37
  34. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/LICENSE +0 -0
  35. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/NOTICE +0 -0
  36. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/WHEEL +0 -0
  37. {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.1.dist-info}/top_level.txt +0 -0
@@ -11,6 +11,7 @@ Currently supported are:
11
11
  * [Lambda](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda.html)
12
12
  * [S3](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-s3.html)
13
13
  * [SNS](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-sns.html)
14
+ * [WorkMail](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-workmail.html)
14
15
  * [Stop](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-stop.html)
15
16
 
16
17
  See the README of `aws-cdk-lib/aws-ses` for more information.
@@ -1122,6 +1123,144 @@ class StopProps:
1122
1123
  )
1123
1124
 
1124
1125
 
1126
+ @jsii.implements(_IReceiptRuleAction_941d7a8d)
1127
+ class WorkMail(
1128
+ metaclass=jsii.JSIIMeta,
1129
+ jsii_type="aws-cdk-lib.aws_ses_actions.WorkMail",
1130
+ ):
1131
+ '''Integrates an Amazon WorkMail action into a receipt rule set, and optionally publishes a notification to Amazon SNS.
1132
+
1133
+ Beware that WorkMail should already set up an active ``INBOUND_MAIL`` rule set
1134
+ that includes a WorkMail rule action for this exact purpose.
1135
+ This action should be used to customize the behavior of replacement rule set.
1136
+
1137
+ :see: https://docs.aws.amazon.com/ses/latest/dg/receiving-email-action-workmail.html
1138
+ :exampleMetadata: fixture=_generated
1139
+
1140
+ Example::
1141
+
1142
+ # The code below shows an example of how to instantiate this type.
1143
+ # The values are placeholders you should change.
1144
+ from aws_cdk import aws_ses_actions as ses_actions
1145
+ from aws_cdk import aws_sns as sns
1146
+
1147
+ # topic: sns.Topic
1148
+
1149
+ work_mail = ses_actions.WorkMail(
1150
+ organization_arn="organizationArn",
1151
+
1152
+ # the properties below are optional
1153
+ topic=topic
1154
+ )
1155
+ '''
1156
+
1157
+ def __init__(
1158
+ self,
1159
+ *,
1160
+ organization_arn: builtins.str,
1161
+ topic: typing.Optional[_ITopic_9eca4852] = None,
1162
+ ) -> None:
1163
+ '''
1164
+ :param organization_arn: The WorkMail organization ARN. Amazon WorkMail organization ARNs are in the form ``arn:aws:workmail:region:account_ID:organization/organization_ID``
1165
+ :param topic: The SNS topic to notify when the WorkMail action is taken. Default: - no topic will be attached to the action
1166
+ '''
1167
+ props = WorkMailProps(organization_arn=organization_arn, topic=topic)
1168
+
1169
+ jsii.create(self.__class__, self, [props])
1170
+
1171
+ @jsii.member(jsii_name="bind")
1172
+ def bind(self, _rule: _IReceiptRule_20f5161a) -> _ReceiptRuleActionConfig_6feb97ed:
1173
+ '''Returns the receipt rule action specification.
1174
+
1175
+ :param _rule: -
1176
+ '''
1177
+ if __debug__:
1178
+ type_hints = typing.get_type_hints(_typecheckingstub__8f080cf4ee15d472001a0397f98592fa7c3d2f44cc23e0af0b37e2d22590adb8)
1179
+ check_type(argname="argument _rule", value=_rule, expected_type=type_hints["_rule"])
1180
+ return typing.cast(_ReceiptRuleActionConfig_6feb97ed, jsii.invoke(self, "bind", [_rule]))
1181
+
1182
+
1183
+ @jsii.data_type(
1184
+ jsii_type="aws-cdk-lib.aws_ses_actions.WorkMailProps",
1185
+ jsii_struct_bases=[],
1186
+ name_mapping={"organization_arn": "organizationArn", "topic": "topic"},
1187
+ )
1188
+ class WorkMailProps:
1189
+ def __init__(
1190
+ self,
1191
+ *,
1192
+ organization_arn: builtins.str,
1193
+ topic: typing.Optional[_ITopic_9eca4852] = None,
1194
+ ) -> None:
1195
+ '''Construction properties for a WorkMail action.
1196
+
1197
+ :param organization_arn: The WorkMail organization ARN. Amazon WorkMail organization ARNs are in the form ``arn:aws:workmail:region:account_ID:organization/organization_ID``
1198
+ :param topic: The SNS topic to notify when the WorkMail action is taken. Default: - no topic will be attached to the action
1199
+
1200
+ :exampleMetadata: fixture=_generated
1201
+
1202
+ Example::
1203
+
1204
+ # The code below shows an example of how to instantiate this type.
1205
+ # The values are placeholders you should change.
1206
+ from aws_cdk import aws_ses_actions as ses_actions
1207
+ from aws_cdk import aws_sns as sns
1208
+
1209
+ # topic: sns.Topic
1210
+
1211
+ work_mail_props = ses_actions.WorkMailProps(
1212
+ organization_arn="organizationArn",
1213
+
1214
+ # the properties below are optional
1215
+ topic=topic
1216
+ )
1217
+ '''
1218
+ if __debug__:
1219
+ type_hints = typing.get_type_hints(_typecheckingstub__a0399d4e0f3bee3c7826f6038a069221acf83ae5060ede7c972898e0e1424b20)
1220
+ check_type(argname="argument organization_arn", value=organization_arn, expected_type=type_hints["organization_arn"])
1221
+ check_type(argname="argument topic", value=topic, expected_type=type_hints["topic"])
1222
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1223
+ "organization_arn": organization_arn,
1224
+ }
1225
+ if topic is not None:
1226
+ self._values["topic"] = topic
1227
+
1228
+ @builtins.property
1229
+ def organization_arn(self) -> builtins.str:
1230
+ '''The WorkMail organization ARN.
1231
+
1232
+ Amazon WorkMail organization ARNs are in the form
1233
+ ``arn:aws:workmail:region:account_ID:organization/organization_ID``
1234
+
1235
+ Example::
1236
+
1237
+ "arn:aws:workmail:us-east-1:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7"
1238
+ '''
1239
+ result = self._values.get("organization_arn")
1240
+ assert result is not None, "Required property 'organization_arn' is missing"
1241
+ return typing.cast(builtins.str, result)
1242
+
1243
+ @builtins.property
1244
+ def topic(self) -> typing.Optional[_ITopic_9eca4852]:
1245
+ '''The SNS topic to notify when the WorkMail action is taken.
1246
+
1247
+ :default: - no topic will be attached to the action
1248
+ '''
1249
+ result = self._values.get("topic")
1250
+ return typing.cast(typing.Optional[_ITopic_9eca4852], result)
1251
+
1252
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1253
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1254
+
1255
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1256
+ return not (rhs == self)
1257
+
1258
+ def __repr__(self) -> str:
1259
+ return "WorkMailProps(%s)" % ", ".join(
1260
+ k + "=" + repr(v) for k, v in self._values.items()
1261
+ )
1262
+
1263
+
1125
1264
  __all__ = [
1126
1265
  "AddHeader",
1127
1266
  "AddHeaderProps",
@@ -1139,6 +1278,8 @@ __all__ = [
1139
1278
  "SnsProps",
1140
1279
  "Stop",
1141
1280
  "StopProps",
1281
+ "WorkMail",
1282
+ "WorkMailProps",
1142
1283
  ]
1143
1284
 
1144
1285
  publication.publish()
@@ -1238,3 +1379,17 @@ def _typecheckingstub__73591009ec257744526587f77beba227d032486c4c60371ab35e8f381
1238
1379
  ) -> None:
1239
1380
  """Type checking stubs"""
1240
1381
  pass
1382
+
1383
+ def _typecheckingstub__8f080cf4ee15d472001a0397f98592fa7c3d2f44cc23e0af0b37e2d22590adb8(
1384
+ _rule: _IReceiptRule_20f5161a,
1385
+ ) -> None:
1386
+ """Type checking stubs"""
1387
+ pass
1388
+
1389
+ def _typecheckingstub__a0399d4e0f3bee3c7826f6038a069221acf83ae5060ede7c972898e0e1424b20(
1390
+ *,
1391
+ organization_arn: builtins.str,
1392
+ topic: typing.Optional[_ITopic_9eca4852] = None,
1393
+ ) -> None:
1394
+ """Type checking stubs"""
1395
+ pass
@@ -1250,7 +1250,7 @@ class CfnDocument(
1250
1250
  :param attachments: A list of key-value pairs that describe attachments to a version of a document.
1251
1251
  :param document_format: Specify the document format for the request. ``JSON`` is the default format. Default: - "JSON"
1252
1252
  :param document_type: The type of document to create.
1253
- :param name: A name for the SSM document. .. epigraph:: You can't use the following strings as document name prefixes. These are reserved by AWS for use as document name prefixes: - ``aws`` - ``amazon`` - ``amzn``
1253
+ :param name: A name for the SSM document. .. epigraph:: You can't use the following strings as document name prefixes. These are reserved by AWS for use as document name prefixes: - ``aws`` - ``amazon`` - ``amzn`` - ``AWSEC2`` - ``AWSConfigRemediation`` - ``AWSSupport``
1254
1254
  :param requires: A list of SSM documents required by a document. This parameter is used exclusively by AWS AppConfig . When a user creates an AWS AppConfig configuration in an SSM document, the user must also specify a required document for validation purposes. In this case, an ``ApplicationConfiguration`` document requires an ``ApplicationConfigurationSchema`` document for validation purposes. For more information, see `What is AWS AppConfig ? <https://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html>`_ in the *AWS AppConfig User Guide* .
1255
1255
  :param tags: AWS CloudFormation resource tags to apply to the document. Use tags to help you identify and categorize resources.
1256
1256
  :param target_type: Specify a target type to define the kinds of resources the document can run on. For example, to run a document on EC2 instances, specify the following value: ``/AWS::EC2::Instance`` . If you specify a value of '/' the document can run on all types of resources. If you don't specify a value, the document can't run on any resources. For a list of valid resource types, see `AWS resource and property types reference <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html>`_ in the *AWS CloudFormation User Guide* .
@@ -1670,7 +1670,7 @@ class CfnDocumentProps:
1670
1670
  :param attachments: A list of key-value pairs that describe attachments to a version of a document.
1671
1671
  :param document_format: Specify the document format for the request. ``JSON`` is the default format. Default: - "JSON"
1672
1672
  :param document_type: The type of document to create.
1673
- :param name: A name for the SSM document. .. epigraph:: You can't use the following strings as document name prefixes. These are reserved by AWS for use as document name prefixes: - ``aws`` - ``amazon`` - ``amzn``
1673
+ :param name: A name for the SSM document. .. epigraph:: You can't use the following strings as document name prefixes. These are reserved by AWS for use as document name prefixes: - ``aws`` - ``amazon`` - ``amzn`` - ``AWSEC2`` - ``AWSConfigRemediation`` - ``AWSSupport``
1674
1674
  :param requires: A list of SSM documents required by a document. This parameter is used exclusively by AWS AppConfig . When a user creates an AWS AppConfig configuration in an SSM document, the user must also specify a required document for validation purposes. In this case, an ``ApplicationConfiguration`` document requires an ``ApplicationConfigurationSchema`` document for validation purposes. For more information, see `What is AWS AppConfig ? <https://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html>`_ in the *AWS AppConfig User Guide* .
1675
1675
  :param tags: AWS CloudFormation resource tags to apply to the document. Use tags to help you identify and categorize resources.
1676
1676
  :param target_type: Specify a target type to define the kinds of resources the document can run on. For example, to run a document on EC2 instances, specify the following value: ``/AWS::EC2::Instance`` . If you specify a value of '/' the document can run on all types of resources. If you don't specify a value, the document can't run on any resources. For a list of valid resource types, see `AWS resource and property types reference <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html>`_ in the *AWS CloudFormation User Guide* .
@@ -1806,6 +1806,9 @@ class CfnDocumentProps:
1806
1806
  - ``aws``
1807
1807
  - ``amazon``
1808
1808
  - ``amzn``
1809
+ - ``AWSEC2``
1810
+ - ``AWSConfigRemediation``
1811
+ - ``AWSSupport``
1809
1812
 
1810
1813
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html#cfn-ssm-document-name
1811
1814
  '''