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

Files changed (73) hide show
  1. aws_cdk/__init__.py +8 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.137.0.jsii.tgz → aws-cdk-lib@2.139.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +29 -113
  5. aws_cdk/aws_apigateway/__init__.py +29 -16
  6. aws_cdk/aws_appconfig/__init__.py +315 -77
  7. aws_cdk/aws_appintegrations/__init__.py +55 -6
  8. aws_cdk/aws_apprunner/__init__.py +5 -2
  9. aws_cdk/aws_appsync/__init__.py +400 -13
  10. aws_cdk/aws_aps/__init__.py +64 -47
  11. aws_cdk/aws_autoscaling/__init__.py +62 -60
  12. aws_cdk/aws_b2bi/__init__.py +2 -6
  13. aws_cdk/aws_backup/__init__.py +53 -57
  14. aws_cdk/aws_batch/__init__.py +109 -0
  15. aws_cdk/aws_bcmdataexports/__init__.py +1114 -0
  16. aws_cdk/aws_bedrock/__init__.py +4144 -0
  17. aws_cdk/aws_chatbot/__init__.py +6 -4
  18. aws_cdk/aws_cleanrooms/__init__.py +526 -3
  19. aws_cdk/aws_cleanroomsml/__init__.py +960 -0
  20. aws_cdk/aws_cloudtrail/__init__.py +10 -10
  21. aws_cdk/aws_cloudwatch/__init__.py +244 -8
  22. aws_cdk/aws_codebuild/__init__.py +27 -22
  23. aws_cdk/aws_codeconnections/__init__.py +435 -0
  24. aws_cdk/aws_cognito/__init__.py +175 -79
  25. aws_cdk/aws_datazone/__init__.py +22 -0
  26. aws_cdk/aws_deadline/__init__.py +5394 -0
  27. aws_cdk/aws_dms/__init__.py +2 -4
  28. aws_cdk/aws_ec2/__init__.py +402 -247
  29. aws_cdk/aws_ecr/__init__.py +630 -0
  30. aws_cdk/aws_ecs/__init__.py +361 -20
  31. aws_cdk/aws_efs/__init__.py +594 -2
  32. aws_cdk/aws_elasticache/__init__.py +86 -32
  33. aws_cdk/aws_elasticloadbalancingv2/__init__.py +75 -10
  34. aws_cdk/aws_emr/__init__.py +2 -2
  35. aws_cdk/aws_entityresolution/__init__.py +1982 -773
  36. aws_cdk/aws_events_targets/__init__.py +17 -4
  37. aws_cdk/aws_globalaccelerator/__init__.py +443 -0
  38. aws_cdk/aws_iam/__init__.py +1 -2
  39. aws_cdk/aws_internetmonitor/__init__.py +14 -6
  40. aws_cdk/aws_ivs/__init__.py +1273 -71
  41. aws_cdk/aws_kms/__init__.py +44 -0
  42. aws_cdk/aws_lambda/__init__.py +9 -0
  43. aws_cdk/aws_mediatailor/__init__.py +41 -0
  44. aws_cdk/aws_oam/__init__.py +204 -0
  45. aws_cdk/aws_personalize/__init__.py +8 -6
  46. aws_cdk/aws_pinpoint/__init__.py +5 -3
  47. aws_cdk/aws_pipes/__init__.py +5 -1
  48. aws_cdk/aws_quicksight/__init__.py +12 -6
  49. aws_cdk/aws_rds/__init__.py +370 -96
  50. aws_cdk/aws_redshiftserverless/__init__.py +157 -0
  51. aws_cdk/aws_route53/__init__.py +587 -14
  52. aws_cdk/aws_sagemaker/__init__.py +233 -2
  53. aws_cdk/aws_securityhub/__init__.py +4940 -102
  54. aws_cdk/aws_securitylake/__init__.py +1326 -89
  55. aws_cdk/aws_ses_actions/__init__.py +155 -0
  56. aws_cdk/aws_sns/__init__.py +61 -4
  57. aws_cdk/aws_ssm/__init__.py +5 -2
  58. aws_cdk/aws_ssmcontacts/__init__.py +11 -4
  59. aws_cdk/aws_stepfunctions/__init__.py +8 -16
  60. aws_cdk/aws_stepfunctions_tasks/__init__.py +676 -1
  61. aws_cdk/aws_timestream/__init__.py +1045 -0
  62. aws_cdk/aws_transfer/__init__.py +19 -10
  63. aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
  64. aws_cdk/aws_wisdom/__init__.py +2 -2
  65. aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
  66. aws_cdk/custom_resources/__init__.py +688 -26
  67. aws_cdk/cx_api/__init__.py +17 -0
  68. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/METADATA +3 -3
  69. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/RECORD +73 -69
  70. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/LICENSE +0 -0
  71. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/NOTICE +0 -0
  72. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/WHEEL +0 -0
  73. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.139.0.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
@@ -323,6 +323,23 @@ topic = sns.Topic(self, "MyTopic",
323
323
  ```
324
324
 
325
325
  **Note**: The `messageRetentionPeriodInDays` property is only available for FIFO topics.
326
+
327
+ ## TracingConfig
328
+
329
+ Tracing mode of an Amazon SNS topic.
330
+
331
+ If PassThrough, the topic passes trace headers received from the Amazon SNS publisher to its subscription.
332
+ If set to Active, Amazon SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true.
333
+
334
+ The default TracingConfig is `TracingConfig.PASS_THROUGH`.
335
+
336
+ Example with a tracingConfig set to Active:
337
+
338
+ ```python
339
+ topic = sns.Topic(self, "MyTopic",
340
+ tracing_config=sns.TracingConfig.ACTIVE
341
+ )
342
+ ```
326
343
  '''
327
344
  from pkgutil import extend_path
328
345
  __path__ = extend_path(__path__, __name__)
@@ -5167,6 +5184,7 @@ class TopicPolicyProps:
5167
5184
  "message_retention_period_in_days": "messageRetentionPeriodInDays",
5168
5185
  "signature_version": "signatureVersion",
5169
5186
  "topic_name": "topicName",
5187
+ "tracing_config": "tracingConfig",
5170
5188
  },
5171
5189
  )
5172
5190
  class TopicProps:
@@ -5182,6 +5200,7 @@ class TopicProps:
5182
5200
  message_retention_period_in_days: typing.Optional[jsii.Number] = None,
5183
5201
  signature_version: typing.Optional[builtins.str] = None,
5184
5202
  topic_name: typing.Optional[builtins.str] = None,
5203
+ tracing_config: typing.Optional["TracingConfig"] = None,
5185
5204
  ) -> None:
5186
5205
  '''Properties for a new SNS topic.
5187
5206
 
@@ -5194,15 +5213,14 @@ class TopicProps:
5194
5213
  :param message_retention_period_in_days: The number of days Amazon SNS retains messages. It can only be set for FIFO topics. Default: - do not archive messages
5195
5214
  :param signature_version: The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS. Default: 1
5196
5215
  :param topic_name: A name for the topic. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the topic name. For more information, see Name Type. Default: Generated name
5216
+ :param tracing_config: Tracing mode of an Amazon SNS topic. Default: TracingConfig.PASS_THROUGH
5197
5217
 
5198
5218
  :exampleMetadata: infused
5199
5219
 
5200
5220
  Example::
5201
5221
 
5202
- topic = sns.Topic(self, "Topic",
5203
- content_based_deduplication=True,
5204
- display_name="Customer subscription topic",
5205
- fifo=True
5222
+ topic = sns.Topic(self, "MyTopic",
5223
+ tracing_config=sns.TracingConfig.ACTIVE
5206
5224
  )
5207
5225
  '''
5208
5226
  if __debug__:
@@ -5216,6 +5234,7 @@ class TopicProps:
5216
5234
  check_type(argname="argument message_retention_period_in_days", value=message_retention_period_in_days, expected_type=type_hints["message_retention_period_in_days"])
5217
5235
  check_type(argname="argument signature_version", value=signature_version, expected_type=type_hints["signature_version"])
5218
5236
  check_type(argname="argument topic_name", value=topic_name, expected_type=type_hints["topic_name"])
5237
+ check_type(argname="argument tracing_config", value=tracing_config, expected_type=type_hints["tracing_config"])
5219
5238
  self._values: typing.Dict[builtins.str, typing.Any] = {}
5220
5239
  if content_based_deduplication is not None:
5221
5240
  self._values["content_based_deduplication"] = content_based_deduplication
@@ -5235,6 +5254,8 @@ class TopicProps:
5235
5254
  self._values["signature_version"] = signature_version
5236
5255
  if topic_name is not None:
5237
5256
  self._values["topic_name"] = topic_name
5257
+ if tracing_config is not None:
5258
+ self._values["tracing_config"] = tracing_config
5238
5259
 
5239
5260
  @builtins.property
5240
5261
  def content_based_deduplication(self) -> typing.Optional[builtins.bool]:
@@ -5331,6 +5352,17 @@ class TopicProps:
5331
5352
  result = self._values.get("topic_name")
5332
5353
  return typing.cast(typing.Optional[builtins.str], result)
5333
5354
 
5355
+ @builtins.property
5356
+ def tracing_config(self) -> typing.Optional["TracingConfig"]:
5357
+ '''Tracing mode of an Amazon SNS topic.
5358
+
5359
+ :default: TracingConfig.PASS_THROUGH
5360
+
5361
+ :see: https://docs.aws.amazon.com/sns/latest/dg/sns-active-tracing.html
5362
+ '''
5363
+ result = self._values.get("tracing_config")
5364
+ return typing.cast(typing.Optional["TracingConfig"], result)
5365
+
5334
5366
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
5335
5367
  return isinstance(rhs, self.__class__) and rhs._values == self._values
5336
5368
 
@@ -5602,6 +5634,25 @@ class TopicSubscriptionConfig(SubscriptionOptions):
5602
5634
  )
5603
5635
 
5604
5636
 
5637
+ @jsii.enum(jsii_type="aws-cdk-lib.aws_sns.TracingConfig")
5638
+ class TracingConfig(enum.Enum):
5639
+ '''The tracing mode of an Amazon SNS topic.
5640
+
5641
+ :exampleMetadata: infused
5642
+
5643
+ Example::
5644
+
5645
+ topic = sns.Topic(self, "MyTopic",
5646
+ tracing_config=sns.TracingConfig.ACTIVE
5647
+ )
5648
+ '''
5649
+
5650
+ PASS_THROUGH = "PASS_THROUGH"
5651
+ '''The mode that topic passes trace headers received from the Amazon SNS publisher to its subscription.'''
5652
+ ACTIVE = "ACTIVE"
5653
+ '''The mode that Amazon SNS vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true.'''
5654
+
5655
+
5605
5656
  class Filter(
5606
5657
  FilterOrPolicy,
5607
5658
  metaclass=jsii.JSIIMeta,
@@ -5681,6 +5732,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
5681
5732
  message_retention_period_in_days: typing.Optional[jsii.Number] = None,
5682
5733
  signature_version: typing.Optional[builtins.str] = None,
5683
5734
  topic_name: typing.Optional[builtins.str] = None,
5735
+ tracing_config: typing.Optional[TracingConfig] = None,
5684
5736
  ) -> None:
5685
5737
  '''
5686
5738
  :param scope: -
@@ -5694,6 +5746,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
5694
5746
  :param message_retention_period_in_days: The number of days Amazon SNS retains messages. It can only be set for FIFO topics. Default: - do not archive messages
5695
5747
  :param signature_version: The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS. Default: 1
5696
5748
  :param topic_name: A name for the topic. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the topic name. For more information, see Name Type. Default: Generated name
5749
+ :param tracing_config: Tracing mode of an Amazon SNS topic. Default: TracingConfig.PASS_THROUGH
5697
5750
  '''
5698
5751
  if __debug__:
5699
5752
  type_hints = typing.get_type_hints(_typecheckingstub__5bf7b7a1001dc600e81a7f1c5015e367dc471dcd727360f62a7eaf6ebf762afd)
@@ -5709,6 +5762,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
5709
5762
  message_retention_period_in_days=message_retention_period_in_days,
5710
5763
  signature_version=signature_version,
5711
5764
  topic_name=topic_name,
5765
+ tracing_config=tracing_config,
5712
5766
  )
5713
5767
 
5714
5768
  jsii.create(self.__class__, self, [scope, id, props])
@@ -5856,6 +5910,7 @@ __all__ = [
5856
5910
  "TopicPolicyProps",
5857
5911
  "TopicProps",
5858
5912
  "TopicSubscriptionConfig",
5913
+ "TracingConfig",
5859
5914
  ]
5860
5915
 
5861
5916
  publication.publish()
@@ -6450,6 +6505,7 @@ def _typecheckingstub__093960c1ab5457cc6797eb4a06c9e8fc74e41d4eaa9d0a17f00fa896d
6450
6505
  message_retention_period_in_days: typing.Optional[jsii.Number] = None,
6451
6506
  signature_version: typing.Optional[builtins.str] = None,
6452
6507
  topic_name: typing.Optional[builtins.str] = None,
6508
+ tracing_config: typing.Optional[TracingConfig] = None,
6453
6509
  ) -> None:
6454
6510
  """Type checking stubs"""
6455
6511
  pass
@@ -6490,6 +6546,7 @@ def _typecheckingstub__5bf7b7a1001dc600e81a7f1c5015e367dc471dcd727360f62a7eaf6eb
6490
6546
  message_retention_period_in_days: typing.Optional[jsii.Number] = None,
6491
6547
  signature_version: typing.Optional[builtins.str] = None,
6492
6548
  topic_name: typing.Optional[builtins.str] = None,
6549
+ tracing_config: typing.Optional[TracingConfig] = None,
6493
6550
  ) -> None:
6494
6551
  """Type checking stubs"""
6495
6552
  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
  '''
@@ -1652,11 +1652,11 @@ class CfnRotation(
1652
1652
  '''
1653
1653
  :param scope: Scope in which this resource is defined.
1654
1654
  :param id: Construct identifier for this resource (unique in its scope).
1655
- :param contact_ids: The Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
1655
+ :param contact_ids: The Amazon Resource Names (ARNs) of the contacts to add to the rotation. .. epigraph:: Only the ``PERSONAL`` contact type is supported. The contact types ``ESCALATION`` and ``ONCALL_SCHEDULE`` are not supported for this operation. The order in which you list the contacts is their shift order in the rotation schedule.
1656
1656
  :param name: The name for the rotation.
1657
1657
  :param recurrence: Information about the rule that specifies when shift team members rotate.
1658
1658
  :param start_time: The date and time the rotation goes into effect.
1659
- :param time_zone_id: The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the `Time Zone Database <https://docs.aws.amazon.com/https://www.iana.org/time-zones>`_ on the IANA website.
1659
+ :param time_zone_id: The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the `Time Zone Database <https://docs.aws.amazon.com/https://www.iana.org/time-zones>`_ on the IANA website. .. epigraph:: Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST), are not supported.
1660
1660
  :param tags: Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see `Tagging Incident Manager resources <https://docs.aws.amazon.com/incident-manager/latest/userguide/tagging.html>`_ in the *Incident Manager User Guide* .
1661
1661
  '''
1662
1662
  if __debug__:
@@ -2277,11 +2277,11 @@ class CfnRotationProps:
2277
2277
  ) -> None:
2278
2278
  '''Properties for defining a ``CfnRotation``.
2279
2279
 
2280
- :param contact_ids: The Amazon Resource Names (ARNs) of the contacts to add to the rotation. The order in which you list the contacts is their shift order in the rotation schedule.
2280
+ :param contact_ids: The Amazon Resource Names (ARNs) of the contacts to add to the rotation. .. epigraph:: Only the ``PERSONAL`` contact type is supported. The contact types ``ESCALATION`` and ``ONCALL_SCHEDULE`` are not supported for this operation. The order in which you list the contacts is their shift order in the rotation schedule.
2281
2281
  :param name: The name for the rotation.
2282
2282
  :param recurrence: Information about the rule that specifies when shift team members rotate.
2283
2283
  :param start_time: The date and time the rotation goes into effect.
2284
- :param time_zone_id: The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the `Time Zone Database <https://docs.aws.amazon.com/https://www.iana.org/time-zones>`_ on the IANA website.
2284
+ :param time_zone_id: The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the `Time Zone Database <https://docs.aws.amazon.com/https://www.iana.org/time-zones>`_ on the IANA website. .. epigraph:: Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST), are not supported.
2285
2285
  :param tags: Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see `Tagging Incident Manager resources <https://docs.aws.amazon.com/incident-manager/latest/userguide/tagging.html>`_ in the *Incident Manager User Guide* .
2286
2286
 
2287
2287
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-rotation.html
@@ -2350,6 +2350,10 @@ class CfnRotationProps:
2350
2350
  def contact_ids(self) -> typing.List[builtins.str]:
2351
2351
  '''The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
2352
2352
 
2353
+ .. epigraph::
2354
+
2355
+ Only the ``PERSONAL`` contact type is supported. The contact types ``ESCALATION`` and ``ONCALL_SCHEDULE`` are not supported for this operation.
2356
+
2353
2357
  The order in which you list the contacts is their shift order in the rotation schedule.
2354
2358
 
2355
2359
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-rotation.html#cfn-ssmcontacts-rotation-contactids
@@ -2395,6 +2399,9 @@ class CfnRotationProps:
2395
2399
  '''The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format.
2396
2400
 
2397
2401
  For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the `Time Zone Database <https://docs.aws.amazon.com/https://www.iana.org/time-zones>`_ on the IANA website.
2402
+ .. epigraph::
2403
+
2404
+ Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST), are not supported.
2398
2405
 
2399
2406
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-rotation.html#cfn-ssmcontacts-rotation-timezoneid
2400
2407
  '''
@@ -11645,23 +11645,15 @@ class TaskInput(
11645
11645
 
11646
11646
  Example::
11647
11647
 
11648
- import aws_cdk.aws_bedrock as bedrock
11648
+ # fn: lambda.Function
11649
11649
 
11650
-
11651
- model = bedrock.FoundationModel.from_foundation_model_id(self, "Model", bedrock.FoundationModelIdentifier.AMAZON_TITAN_TEXT_G1_EXPRESS_V1)
11652
-
11653
- task = tasks.BedrockInvokeModel(self, "Prompt Model",
11654
- model=model,
11655
- body=sfn.TaskInput.from_object({
11656
- "input_text": "Generate a list of five first names.",
11657
- "text_generation_config": {
11658
- "max_token_count": 100,
11659
- "temperature": 1
11660
- }
11661
- }),
11662
- result_selector={
11663
- "names": sfn.JsonPath.string_at("$.Body.results[0].outputText")
11664
- }
11650
+ tasks.LambdaInvoke(self, "Invoke with callback",
11651
+ lambda_function=fn,
11652
+ integration_pattern=sfn.IntegrationPattern.WAIT_FOR_TASK_TOKEN,
11653
+ payload=sfn.TaskInput.from_object({
11654
+ "token": sfn.JsonPath.task_token,
11655
+ "input": sfn.JsonPath.string_at("$.someField")
11656
+ })
11665
11657
  )
11666
11658
  '''
11667
11659