aws-cdk-lib 2.136.1__py3-none-any.whl → 2.138.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 (61) 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.136.1.jsii.tgz → aws-cdk-lib@2.138.0.jsii.tgz} +0 -0
  4. aws_cdk/assertions/__init__.py +152 -5
  5. aws_cdk/aws_amplify/__init__.py +29 -113
  6. aws_cdk/aws_appconfig/__init__.py +26 -33
  7. aws_cdk/aws_apprunner/__init__.py +5 -2
  8. aws_cdk/aws_appsync/__init__.py +400 -13
  9. aws_cdk/aws_aps/__init__.py +64 -47
  10. aws_cdk/aws_b2bi/__init__.py +2 -6
  11. aws_cdk/aws_backup/__init__.py +27 -23
  12. aws_cdk/aws_batch/__init__.py +103 -0
  13. aws_cdk/aws_bcmdataexports/__init__.py +1114 -0
  14. aws_cdk/aws_chatbot/__init__.py +6 -4
  15. aws_cdk/aws_cleanrooms/__init__.py +526 -3
  16. aws_cdk/aws_cleanroomsml/__init__.py +960 -0
  17. aws_cdk/aws_cloudfront/__init__.py +196 -15
  18. aws_cdk/aws_cloudtrail/__init__.py +10 -10
  19. aws_cdk/aws_cloudwatch/__init__.py +124 -8
  20. aws_cdk/aws_codebuild/__init__.py +27 -22
  21. aws_cdk/aws_codeconnections/__init__.py +435 -0
  22. aws_cdk/aws_cognito/__init__.py +175 -79
  23. aws_cdk/aws_deadline/__init__.py +5394 -0
  24. aws_cdk/aws_ec2/__init__.py +379 -173
  25. aws_cdk/aws_ecr_assets/__init__.py +3 -4
  26. aws_cdk/aws_ecs/__init__.py +240 -1
  27. aws_cdk/aws_efs/__init__.py +2 -2
  28. aws_cdk/aws_elasticache/__init__.py +86 -32
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +275 -5
  30. aws_cdk/aws_emr/__init__.py +2 -2
  31. aws_cdk/aws_entityresolution/__init__.py +1982 -773
  32. aws_cdk/aws_globalaccelerator/__init__.py +443 -0
  33. aws_cdk/aws_iam/__init__.py +24 -40
  34. aws_cdk/aws_internetmonitor/__init__.py +14 -6
  35. aws_cdk/aws_ivs/__init__.py +1273 -71
  36. aws_cdk/aws_kms/__init__.py +8 -13
  37. aws_cdk/aws_mediatailor/__init__.py +41 -0
  38. aws_cdk/aws_personalize/__init__.py +8 -6
  39. aws_cdk/aws_pinpoint/__init__.py +5 -3
  40. aws_cdk/aws_pipes/__init__.py +5 -1
  41. aws_cdk/aws_quicksight/__init__.py +12 -6
  42. aws_cdk/aws_rds/__init__.py +355 -85
  43. aws_cdk/aws_route53/__init__.py +591 -18
  44. aws_cdk/aws_s3_deployment/__init__.py +84 -7
  45. aws_cdk/aws_sagemaker/__init__.py +233 -2
  46. aws_cdk/aws_securityhub/__init__.py +4940 -102
  47. aws_cdk/aws_securitylake/__init__.py +1237 -55
  48. aws_cdk/aws_sns/__init__.py +183 -4
  49. aws_cdk/aws_ssmcontacts/__init__.py +11 -4
  50. aws_cdk/aws_stepfunctions/__init__.py +8 -16
  51. aws_cdk/aws_stepfunctions_tasks/__init__.py +676 -1
  52. aws_cdk/aws_transfer/__init__.py +4 -4
  53. aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
  54. aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
  55. aws_cdk/custom_resources/__init__.py +248 -26
  56. {aws_cdk_lib-2.136.1.dist-info → aws_cdk_lib-2.138.0.dist-info}/METADATA +3 -3
  57. {aws_cdk_lib-2.136.1.dist-info → aws_cdk_lib-2.138.0.dist-info}/RECORD +61 -57
  58. {aws_cdk_lib-2.136.1.dist-info → aws_cdk_lib-2.138.0.dist-info}/LICENSE +0 -0
  59. {aws_cdk_lib-2.136.1.dist-info → aws_cdk_lib-2.138.0.dist-info}/NOTICE +0 -0
  60. {aws_cdk_lib-2.136.1.dist-info → aws_cdk_lib-2.138.0.dist-info}/WHEEL +0 -0
  61. {aws_cdk_lib-2.136.1.dist-info → aws_cdk_lib-2.138.0.dist-info}/top_level.txt +0 -0
@@ -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__)
@@ -4301,6 +4318,81 @@ class SubscriptionProtocol(enum.Enum):
4301
4318
  '''Notifications put records into a firehose delivery stream.'''
4302
4319
 
4303
4320
 
4321
+ @jsii.data_type(
4322
+ jsii_type="aws-cdk-lib.aws_sns.TopicAttributes",
4323
+ jsii_struct_bases=[],
4324
+ name_mapping={
4325
+ "topic_arn": "topicArn",
4326
+ "content_based_deduplication": "contentBasedDeduplication",
4327
+ },
4328
+ )
4329
+ class TopicAttributes:
4330
+ def __init__(
4331
+ self,
4332
+ *,
4333
+ topic_arn: builtins.str,
4334
+ content_based_deduplication: typing.Optional[builtins.bool] = None,
4335
+ ) -> None:
4336
+ '''Represents an SNS topic defined outside of this stack.
4337
+
4338
+ :param topic_arn: The ARN of the SNS topic.
4339
+ :param content_based_deduplication: Whether content-based deduplication is enabled. Only applicable for FIFO topics. Default: false
4340
+
4341
+ :exampleMetadata: fixture=_generated
4342
+
4343
+ Example::
4344
+
4345
+ # The code below shows an example of how to instantiate this type.
4346
+ # The values are placeholders you should change.
4347
+ from aws_cdk import aws_sns as sns
4348
+
4349
+ topic_attributes = sns.TopicAttributes(
4350
+ topic_arn="topicArn",
4351
+
4352
+ # the properties below are optional
4353
+ content_based_deduplication=False
4354
+ )
4355
+ '''
4356
+ if __debug__:
4357
+ type_hints = typing.get_type_hints(_typecheckingstub__b8362e16cf38fb93899cf1443c05ea87f926cf385d45c4f25eb95067bff9642a)
4358
+ check_type(argname="argument topic_arn", value=topic_arn, expected_type=type_hints["topic_arn"])
4359
+ check_type(argname="argument content_based_deduplication", value=content_based_deduplication, expected_type=type_hints["content_based_deduplication"])
4360
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4361
+ "topic_arn": topic_arn,
4362
+ }
4363
+ if content_based_deduplication is not None:
4364
+ self._values["content_based_deduplication"] = content_based_deduplication
4365
+
4366
+ @builtins.property
4367
+ def topic_arn(self) -> builtins.str:
4368
+ '''The ARN of the SNS topic.'''
4369
+ result = self._values.get("topic_arn")
4370
+ assert result is not None, "Required property 'topic_arn' is missing"
4371
+ return typing.cast(builtins.str, result)
4372
+
4373
+ @builtins.property
4374
+ def content_based_deduplication(self) -> typing.Optional[builtins.bool]:
4375
+ '''Whether content-based deduplication is enabled.
4376
+
4377
+ Only applicable for FIFO topics.
4378
+
4379
+ :default: false
4380
+ '''
4381
+ result = self._values.get("content_based_deduplication")
4382
+ return typing.cast(typing.Optional[builtins.bool], result)
4383
+
4384
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4385
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4386
+
4387
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4388
+ return not (rhs == self)
4389
+
4390
+ def __repr__(self) -> str:
4391
+ return "TopicAttributes(%s)" % ", ".join(
4392
+ k + "=" + repr(v) for k, v in self._values.items()
4393
+ )
4394
+
4395
+
4304
4396
  @jsii.implements(ITopic)
4305
4397
  class TopicBase(
4306
4398
  _Resource_45bc6135,
@@ -5092,6 +5184,7 @@ class TopicPolicyProps:
5092
5184
  "message_retention_period_in_days": "messageRetentionPeriodInDays",
5093
5185
  "signature_version": "signatureVersion",
5094
5186
  "topic_name": "topicName",
5187
+ "tracing_config": "tracingConfig",
5095
5188
  },
5096
5189
  )
5097
5190
  class TopicProps:
@@ -5107,6 +5200,7 @@ class TopicProps:
5107
5200
  message_retention_period_in_days: typing.Optional[jsii.Number] = None,
5108
5201
  signature_version: typing.Optional[builtins.str] = None,
5109
5202
  topic_name: typing.Optional[builtins.str] = None,
5203
+ tracing_config: typing.Optional["TracingConfig"] = None,
5110
5204
  ) -> None:
5111
5205
  '''Properties for a new SNS topic.
5112
5206
 
@@ -5119,15 +5213,14 @@ class TopicProps:
5119
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
5120
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
5121
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
5122
5217
 
5123
5218
  :exampleMetadata: infused
5124
5219
 
5125
5220
  Example::
5126
5221
 
5127
- topic = sns.Topic(self, "Topic",
5128
- content_based_deduplication=True,
5129
- display_name="Customer subscription topic",
5130
- fifo=True
5222
+ topic = sns.Topic(self, "MyTopic",
5223
+ tracing_config=sns.TracingConfig.ACTIVE
5131
5224
  )
5132
5225
  '''
5133
5226
  if __debug__:
@@ -5141,6 +5234,7 @@ class TopicProps:
5141
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"])
5142
5235
  check_type(argname="argument signature_version", value=signature_version, expected_type=type_hints["signature_version"])
5143
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"])
5144
5238
  self._values: typing.Dict[builtins.str, typing.Any] = {}
5145
5239
  if content_based_deduplication is not None:
5146
5240
  self._values["content_based_deduplication"] = content_based_deduplication
@@ -5160,6 +5254,8 @@ class TopicProps:
5160
5254
  self._values["signature_version"] = signature_version
5161
5255
  if topic_name is not None:
5162
5256
  self._values["topic_name"] = topic_name
5257
+ if tracing_config is not None:
5258
+ self._values["tracing_config"] = tracing_config
5163
5259
 
5164
5260
  @builtins.property
5165
5261
  def content_based_deduplication(self) -> typing.Optional[builtins.bool]:
@@ -5256,6 +5352,17 @@ class TopicProps:
5256
5352
  result = self._values.get("topic_name")
5257
5353
  return typing.cast(typing.Optional[builtins.str], result)
5258
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
+
5259
5366
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
5260
5367
  return isinstance(rhs, self.__class__) and rhs._values == self._values
5261
5368
 
@@ -5527,6 +5634,25 @@ class TopicSubscriptionConfig(SubscriptionOptions):
5527
5634
  )
5528
5635
 
5529
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
+
5530
5656
  class Filter(
5531
5657
  FilterOrPolicy,
5532
5658
  metaclass=jsii.JSIIMeta,
@@ -5606,6 +5732,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
5606
5732
  message_retention_period_in_days: typing.Optional[jsii.Number] = None,
5607
5733
  signature_version: typing.Optional[builtins.str] = None,
5608
5734
  topic_name: typing.Optional[builtins.str] = None,
5735
+ tracing_config: typing.Optional[TracingConfig] = None,
5609
5736
  ) -> None:
5610
5737
  '''
5611
5738
  :param scope: -
@@ -5619,6 +5746,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
5619
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
5620
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
5621
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
5622
5750
  '''
5623
5751
  if __debug__:
5624
5752
  type_hints = typing.get_type_hints(_typecheckingstub__5bf7b7a1001dc600e81a7f1c5015e367dc471dcd727360f62a7eaf6ebf762afd)
@@ -5634,6 +5762,7 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
5634
5762
  message_retention_period_in_days=message_retention_period_in_days,
5635
5763
  signature_version=signature_version,
5636
5764
  topic_name=topic_name,
5765
+ tracing_config=tracing_config,
5637
5766
  )
5638
5767
 
5639
5768
  jsii.create(self.__class__, self, [scope, id, props])
@@ -5659,6 +5788,34 @@ class Topic(TopicBase, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_sns.T
5659
5788
  check_type(argname="argument topic_arn", value=topic_arn, expected_type=type_hints["topic_arn"])
5660
5789
  return typing.cast(ITopic, jsii.sinvoke(cls, "fromTopicArn", [scope, id, topic_arn]))
5661
5790
 
5791
+ @jsii.member(jsii_name="fromTopicAttributes")
5792
+ @builtins.classmethod
5793
+ def from_topic_attributes(
5794
+ cls,
5795
+ scope: _constructs_77d1e7e8.Construct,
5796
+ id: builtins.str,
5797
+ *,
5798
+ topic_arn: builtins.str,
5799
+ content_based_deduplication: typing.Optional[builtins.bool] = None,
5800
+ ) -> ITopic:
5801
+ '''Import an existing SNS topic provided a topic attributes.
5802
+
5803
+ :param scope: The parent creating construct.
5804
+ :param id: The construct's name.
5805
+ :param topic_arn: The ARN of the SNS topic.
5806
+ :param content_based_deduplication: Whether content-based deduplication is enabled. Only applicable for FIFO topics. Default: false
5807
+ '''
5808
+ if __debug__:
5809
+ type_hints = typing.get_type_hints(_typecheckingstub__3116994a7284b362cb667f2b74c1b4035605be5e3339d6c2782787473f6131f6)
5810
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
5811
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
5812
+ attrs = TopicAttributes(
5813
+ topic_arn=topic_arn,
5814
+ content_based_deduplication=content_based_deduplication,
5815
+ )
5816
+
5817
+ return typing.cast(ITopic, jsii.sinvoke(cls, "fromTopicAttributes", [scope, id, attrs]))
5818
+
5662
5819
  @jsii.member(jsii_name="addLoggingConfig")
5663
5820
  def add_logging_config(
5664
5821
  self,
@@ -5747,11 +5904,13 @@ __all__ = [
5747
5904
  "SubscriptionProps",
5748
5905
  "SubscriptionProtocol",
5749
5906
  "Topic",
5907
+ "TopicAttributes",
5750
5908
  "TopicBase",
5751
5909
  "TopicPolicy",
5752
5910
  "TopicPolicyProps",
5753
5911
  "TopicProps",
5754
5912
  "TopicSubscriptionConfig",
5913
+ "TracingConfig",
5755
5914
  ]
5756
5915
 
5757
5916
  publication.publish()
@@ -6244,6 +6403,14 @@ def _typecheckingstub__ca027bfed18b17f0f94ff71f11bf24813f4ec24f9b1029e73d8da4ef8
6244
6403
  """Type checking stubs"""
6245
6404
  pass
6246
6405
 
6406
+ def _typecheckingstub__b8362e16cf38fb93899cf1443c05ea87f926cf385d45c4f25eb95067bff9642a(
6407
+ *,
6408
+ topic_arn: builtins.str,
6409
+ content_based_deduplication: typing.Optional[builtins.bool] = None,
6410
+ ) -> None:
6411
+ """Type checking stubs"""
6412
+ pass
6413
+
6247
6414
  def _typecheckingstub__e97a3ac4042ed403ad7f37324d239151dacf8c0ddc949fcb2cda9467c86d55c3(
6248
6415
  scope: _constructs_77d1e7e8.Construct,
6249
6416
  id: builtins.str,
@@ -6338,6 +6505,7 @@ def _typecheckingstub__093960c1ab5457cc6797eb4a06c9e8fc74e41d4eaa9d0a17f00fa896d
6338
6505
  message_retention_period_in_days: typing.Optional[jsii.Number] = None,
6339
6506
  signature_version: typing.Optional[builtins.str] = None,
6340
6507
  topic_name: typing.Optional[builtins.str] = None,
6508
+ tracing_config: typing.Optional[TracingConfig] = None,
6341
6509
  ) -> None:
6342
6510
  """Type checking stubs"""
6343
6511
  pass
@@ -6378,6 +6546,7 @@ def _typecheckingstub__5bf7b7a1001dc600e81a7f1c5015e367dc471dcd727360f62a7eaf6eb
6378
6546
  message_retention_period_in_days: typing.Optional[jsii.Number] = None,
6379
6547
  signature_version: typing.Optional[builtins.str] = None,
6380
6548
  topic_name: typing.Optional[builtins.str] = None,
6549
+ tracing_config: typing.Optional[TracingConfig] = None,
6381
6550
  ) -> None:
6382
6551
  """Type checking stubs"""
6383
6552
  pass
@@ -6389,3 +6558,13 @@ def _typecheckingstub__957d6ca1d36d79217c9c31f9f5959901c25a458abcbfc9b7eb6aa5b70
6389
6558
  ) -> None:
6390
6559
  """Type checking stubs"""
6391
6560
  pass
6561
+
6562
+ def _typecheckingstub__3116994a7284b362cb667f2b74c1b4035605be5e3339d6c2782787473f6131f6(
6563
+ scope: _constructs_77d1e7e8.Construct,
6564
+ id: builtins.str,
6565
+ *,
6566
+ topic_arn: builtins.str,
6567
+ content_based_deduplication: typing.Optional[builtins.bool] = None,
6568
+ ) -> None:
6569
+ """Type checking stubs"""
6570
+ pass
@@ -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