aws-cdk-lib 2.196.1__py3-none-any.whl → 2.198.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 (43) hide show
  1. aws_cdk/__init__.py +2 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.196.1.jsii.tgz → aws-cdk-lib@2.198.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +90 -1
  5. aws_cdk/aws_apigatewayv2/__init__.py +866 -0
  6. aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
  7. aws_cdk/aws_appsync/__init__.py +31 -21
  8. aws_cdk/aws_autoscaling/__init__.py +2 -1
  9. aws_cdk/aws_bedrock/__init__.py +32 -26
  10. aws_cdk/aws_cloudfront/__init__.py +9 -3
  11. aws_cdk/aws_cloudwatch/__init__.py +756 -29
  12. aws_cdk/aws_codebuild/__init__.py +19 -0
  13. aws_cdk/aws_codepipeline/__init__.py +44 -7
  14. aws_cdk/aws_datasync/__init__.py +850 -833
  15. aws_cdk/aws_datazone/__init__.py +615 -2
  16. aws_cdk/aws_deadline/__init__.py +162 -4
  17. aws_cdk/aws_dsql/__init__.py +35 -1
  18. aws_cdk/aws_ec2/__init__.py +291 -7
  19. aws_cdk/aws_ecs/__init__.py +38 -19
  20. aws_cdk/aws_ecs_patterns/__init__.py +15 -9
  21. aws_cdk/aws_elasticache/__init__.py +5 -5
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
  23. aws_cdk/aws_gamelift/__init__.py +103 -17
  24. aws_cdk/aws_gameliftstreams/__init__.py +6 -6
  25. aws_cdk/aws_lex/__init__.py +1245 -172
  26. aws_cdk/aws_mediapackagev2/__init__.py +11 -10
  27. aws_cdk/aws_omics/__init__.py +939 -100
  28. aws_cdk/aws_pcs/__init__.py +126 -0
  29. aws_cdk/aws_rds/__init__.py +42 -15
  30. aws_cdk/aws_rolesanywhere/__init__.py +14 -13
  31. aws_cdk/aws_route53resolver/__init__.py +0 -41
  32. aws_cdk/aws_sagemaker/__init__.py +38 -12
  33. aws_cdk/aws_ses/__init__.py +192 -4
  34. aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
  35. aws_cdk/aws_synthetics/__init__.py +137 -3
  36. aws_cdk/aws_wafv2/__init__.py +4 -4
  37. aws_cdk/aws_workspaces/__init__.py +41 -0
  38. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/METADATA +2 -2
  39. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/RECORD +43 -43
  40. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/LICENSE +0 -0
  41. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/NOTICE +0 -0
  42. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/WHEEL +0 -0
  43. {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/top_level.txt +0 -0
@@ -447,7 +447,8 @@ class CfnFleet(
447
447
  ),
448
448
 
449
449
  # the properties below are optional
450
- storage_profile_id="storageProfileId"
450
+ storage_profile_id="storageProfileId",
451
+ tag_propagation_mode="tagPropagationMode"
451
452
  ),
452
453
  service_managed_ec2=deadline.CfnFleet.ServiceManagedEc2FleetConfigurationProperty(
453
454
  instance_capabilities=deadline.CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty(
@@ -514,6 +515,12 @@ class CfnFleet(
514
515
 
515
516
  # the properties below are optional
516
517
  description="description",
518
+ host_configuration=deadline.CfnFleet.HostConfigurationProperty(
519
+ script_body="scriptBody",
520
+
521
+ # the properties below are optional
522
+ script_timeout_seconds=123
523
+ ),
517
524
  min_worker_count=123,
518
525
  tags=[CfnTag(
519
526
  key="key",
@@ -533,6 +540,7 @@ class CfnFleet(
533
540
  max_worker_count: jsii.Number,
534
541
  role_arn: builtins.str,
535
542
  description: typing.Optional[builtins.str] = None,
543
+ host_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.HostConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
536
544
  min_worker_count: typing.Optional[jsii.Number] = None,
537
545
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
538
546
  ) -> None:
@@ -545,6 +553,7 @@ class CfnFleet(
545
553
  :param max_worker_count: The maximum number of workers specified in the fleet.
546
554
  :param role_arn: The IAM role that workers in the fleet use when processing jobs.
547
555
  :param description: A description that helps identify what the fleet is used for. .. epigraph:: This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field. Default: - ""
556
+ :param host_configuration:
548
557
  :param min_worker_count: The minimum number of workers in the fleet. Default: - 0
549
558
  :param tags: The tags to add to your fleet. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
550
559
  '''
@@ -559,6 +568,7 @@ class CfnFleet(
559
568
  max_worker_count=max_worker_count,
560
569
  role_arn=role_arn,
561
570
  description=description,
571
+ host_configuration=host_configuration,
562
572
  min_worker_count=min_worker_count,
563
573
  tags=tags,
564
574
  )
@@ -733,6 +743,23 @@ class CfnFleet(
733
743
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
734
744
  jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
735
745
 
746
+ @builtins.property
747
+ @jsii.member(jsii_name="hostConfiguration")
748
+ def host_configuration(
749
+ self,
750
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.HostConfigurationProperty"]]:
751
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.HostConfigurationProperty"]], jsii.get(self, "hostConfiguration"))
752
+
753
+ @host_configuration.setter
754
+ def host_configuration(
755
+ self,
756
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.HostConfigurationProperty"]],
757
+ ) -> None:
758
+ if __debug__:
759
+ type_hints = typing.get_type_hints(_typecheckingstub__5cb78c2488fd0676b6c07d92f69a0cf51c19a186b0a6d2f13bbc62aec7608cfe)
760
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
761
+ jsii.set(self, "hostConfiguration", value) # pyright: ignore[reportArgumentType]
762
+
736
763
  @builtins.property
737
764
  @jsii.member(jsii_name="minWorkerCount")
738
765
  def min_worker_count(self) -> typing.Optional[jsii.Number]:
@@ -1091,6 +1118,7 @@ class CfnFleet(
1091
1118
  "mode": "mode",
1092
1119
  "worker_capabilities": "workerCapabilities",
1093
1120
  "storage_profile_id": "storageProfileId",
1121
+ "tag_propagation_mode": "tagPropagationMode",
1094
1122
  },
1095
1123
  )
1096
1124
  class CustomerManagedFleetConfigurationProperty:
@@ -1100,12 +1128,14 @@ class CfnFleet(
1100
1128
  mode: builtins.str,
1101
1129
  worker_capabilities: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.CustomerManagedWorkerCapabilitiesProperty", typing.Dict[builtins.str, typing.Any]]],
1102
1130
  storage_profile_id: typing.Optional[builtins.str] = None,
1131
+ tag_propagation_mode: typing.Optional[builtins.str] = None,
1103
1132
  ) -> None:
1104
1133
  '''The details of a customer managed fleet configuration.
1105
1134
 
1106
1135
  :param mode: The AWS Auto Scaling mode for the customer managed fleet configuration.
1107
1136
  :param worker_capabilities: The worker capabilities for a customer managed fleet configuration.
1108
1137
  :param storage_profile_id: The storage profile ID.
1138
+ :param tag_propagation_mode:
1109
1139
 
1110
1140
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedfleetconfiguration.html
1111
1141
  :exampleMetadata: fixture=_generated
@@ -1162,7 +1192,8 @@ class CfnFleet(
1162
1192
  ),
1163
1193
 
1164
1194
  # the properties below are optional
1165
- storage_profile_id="storageProfileId"
1195
+ storage_profile_id="storageProfileId",
1196
+ tag_propagation_mode="tagPropagationMode"
1166
1197
  )
1167
1198
  '''
1168
1199
  if __debug__:
@@ -1170,12 +1201,15 @@ class CfnFleet(
1170
1201
  check_type(argname="argument mode", value=mode, expected_type=type_hints["mode"])
1171
1202
  check_type(argname="argument worker_capabilities", value=worker_capabilities, expected_type=type_hints["worker_capabilities"])
1172
1203
  check_type(argname="argument storage_profile_id", value=storage_profile_id, expected_type=type_hints["storage_profile_id"])
1204
+ check_type(argname="argument tag_propagation_mode", value=tag_propagation_mode, expected_type=type_hints["tag_propagation_mode"])
1173
1205
  self._values: typing.Dict[builtins.str, typing.Any] = {
1174
1206
  "mode": mode,
1175
1207
  "worker_capabilities": worker_capabilities,
1176
1208
  }
1177
1209
  if storage_profile_id is not None:
1178
1210
  self._values["storage_profile_id"] = storage_profile_id
1211
+ if tag_propagation_mode is not None:
1212
+ self._values["tag_propagation_mode"] = tag_propagation_mode
1179
1213
 
1180
1214
  @builtins.property
1181
1215
  def mode(self) -> builtins.str:
@@ -1208,6 +1242,14 @@ class CfnFleet(
1208
1242
  result = self._values.get("storage_profile_id")
1209
1243
  return typing.cast(typing.Optional[builtins.str], result)
1210
1244
 
1245
+ @builtins.property
1246
+ def tag_propagation_mode(self) -> typing.Optional[builtins.str]:
1247
+ '''
1248
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedfleetconfiguration.html#cfn-deadline-fleet-customermanagedfleetconfiguration-tagpropagationmode
1249
+ '''
1250
+ result = self._values.get("tag_propagation_mode")
1251
+ return typing.cast(typing.Optional[builtins.str], result)
1252
+
1211
1253
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1212
1254
  return isinstance(rhs, self.__class__) and rhs._values == self._values
1213
1255
 
@@ -1861,7 +1903,8 @@ class CfnFleet(
1861
1903
  ),
1862
1904
 
1863
1905
  # the properties below are optional
1864
- storage_profile_id="storageProfileId"
1906
+ storage_profile_id="storageProfileId",
1907
+ tag_propagation_mode="tagPropagationMode"
1865
1908
  ),
1866
1909
  service_managed_ec2=deadline.CfnFleet.ServiceManagedEc2FleetConfigurationProperty(
1867
1910
  instance_capabilities=deadline.CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty(
@@ -1965,6 +2008,81 @@ class CfnFleet(
1965
2008
  k + "=" + repr(v) for k, v in self._values.items()
1966
2009
  )
1967
2010
 
2011
+ @jsii.data_type(
2012
+ jsii_type="aws-cdk-lib.aws_deadline.CfnFleet.HostConfigurationProperty",
2013
+ jsii_struct_bases=[],
2014
+ name_mapping={
2015
+ "script_body": "scriptBody",
2016
+ "script_timeout_seconds": "scriptTimeoutSeconds",
2017
+ },
2018
+ )
2019
+ class HostConfigurationProperty:
2020
+ def __init__(
2021
+ self,
2022
+ *,
2023
+ script_body: builtins.str,
2024
+ script_timeout_seconds: typing.Optional[jsii.Number] = None,
2025
+ ) -> None:
2026
+ '''
2027
+ :param script_body:
2028
+ :param script_timeout_seconds: Default: - 300
2029
+
2030
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-hostconfiguration.html
2031
+ :exampleMetadata: fixture=_generated
2032
+
2033
+ Example::
2034
+
2035
+ # The code below shows an example of how to instantiate this type.
2036
+ # The values are placeholders you should change.
2037
+ from aws_cdk import aws_deadline as deadline
2038
+
2039
+ host_configuration_property = deadline.CfnFleet.HostConfigurationProperty(
2040
+ script_body="scriptBody",
2041
+
2042
+ # the properties below are optional
2043
+ script_timeout_seconds=123
2044
+ )
2045
+ '''
2046
+ if __debug__:
2047
+ type_hints = typing.get_type_hints(_typecheckingstub__6971feb07454886d39f9f5ddb100459001b23544ed3498597d6b4a0ce4b41965)
2048
+ check_type(argname="argument script_body", value=script_body, expected_type=type_hints["script_body"])
2049
+ check_type(argname="argument script_timeout_seconds", value=script_timeout_seconds, expected_type=type_hints["script_timeout_seconds"])
2050
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2051
+ "script_body": script_body,
2052
+ }
2053
+ if script_timeout_seconds is not None:
2054
+ self._values["script_timeout_seconds"] = script_timeout_seconds
2055
+
2056
+ @builtins.property
2057
+ def script_body(self) -> builtins.str:
2058
+ '''
2059
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-hostconfiguration.html#cfn-deadline-fleet-hostconfiguration-scriptbody
2060
+ '''
2061
+ result = self._values.get("script_body")
2062
+ assert result is not None, "Required property 'script_body' is missing"
2063
+ return typing.cast(builtins.str, result)
2064
+
2065
+ @builtins.property
2066
+ def script_timeout_seconds(self) -> typing.Optional[jsii.Number]:
2067
+ '''
2068
+ :default: - 300
2069
+
2070
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-hostconfiguration.html#cfn-deadline-fleet-hostconfiguration-scripttimeoutseconds
2071
+ '''
2072
+ result = self._values.get("script_timeout_seconds")
2073
+ return typing.cast(typing.Optional[jsii.Number], result)
2074
+
2075
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2076
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2077
+
2078
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2079
+ return not (rhs == self)
2080
+
2081
+ def __repr__(self) -> str:
2082
+ return "HostConfigurationProperty(%s)" % ", ".join(
2083
+ k + "=" + repr(v) for k, v in self._values.items()
2084
+ )
2085
+
1968
2086
  @jsii.data_type(
1969
2087
  jsii_type="aws-cdk-lib.aws_deadline.CfnFleet.MemoryMiBRangeProperty",
1970
2088
  jsii_struct_bases=[],
@@ -2559,6 +2677,7 @@ class CfnFleet(
2559
2677
  "max_worker_count": "maxWorkerCount",
2560
2678
  "role_arn": "roleArn",
2561
2679
  "description": "description",
2680
+ "host_configuration": "hostConfiguration",
2562
2681
  "min_worker_count": "minWorkerCount",
2563
2682
  "tags": "tags",
2564
2683
  },
@@ -2573,6 +2692,7 @@ class CfnFleetProps:
2573
2692
  max_worker_count: jsii.Number,
2574
2693
  role_arn: builtins.str,
2575
2694
  description: typing.Optional[builtins.str] = None,
2695
+ host_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.HostConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2576
2696
  min_worker_count: typing.Optional[jsii.Number] = None,
2577
2697
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2578
2698
  ) -> None:
@@ -2584,6 +2704,7 @@ class CfnFleetProps:
2584
2704
  :param max_worker_count: The maximum number of workers specified in the fleet.
2585
2705
  :param role_arn: The IAM role that workers in the fleet use when processing jobs.
2586
2706
  :param description: A description that helps identify what the fleet is used for. .. epigraph:: This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field. Default: - ""
2707
+ :param host_configuration:
2587
2708
  :param min_worker_count: The minimum number of workers in the fleet. Default: - 0
2588
2709
  :param tags: The tags to add to your fleet. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
2589
2710
 
@@ -2644,7 +2765,8 @@ class CfnFleetProps:
2644
2765
  ),
2645
2766
 
2646
2767
  # the properties below are optional
2647
- storage_profile_id="storageProfileId"
2768
+ storage_profile_id="storageProfileId",
2769
+ tag_propagation_mode="tagPropagationMode"
2648
2770
  ),
2649
2771
  service_managed_ec2=deadline.CfnFleet.ServiceManagedEc2FleetConfigurationProperty(
2650
2772
  instance_capabilities=deadline.CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty(
@@ -2711,6 +2833,12 @@ class CfnFleetProps:
2711
2833
 
2712
2834
  # the properties below are optional
2713
2835
  description="description",
2836
+ host_configuration=deadline.CfnFleet.HostConfigurationProperty(
2837
+ script_body="scriptBody",
2838
+
2839
+ # the properties below are optional
2840
+ script_timeout_seconds=123
2841
+ ),
2714
2842
  min_worker_count=123,
2715
2843
  tags=[CfnTag(
2716
2844
  key="key",
@@ -2726,6 +2854,7 @@ class CfnFleetProps:
2726
2854
  check_type(argname="argument max_worker_count", value=max_worker_count, expected_type=type_hints["max_worker_count"])
2727
2855
  check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
2728
2856
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
2857
+ check_type(argname="argument host_configuration", value=host_configuration, expected_type=type_hints["host_configuration"])
2729
2858
  check_type(argname="argument min_worker_count", value=min_worker_count, expected_type=type_hints["min_worker_count"])
2730
2859
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2731
2860
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -2737,6 +2866,8 @@ class CfnFleetProps:
2737
2866
  }
2738
2867
  if description is not None:
2739
2868
  self._values["description"] = description
2869
+ if host_configuration is not None:
2870
+ self._values["host_configuration"] = host_configuration
2740
2871
  if min_worker_count is not None:
2741
2872
  self._values["min_worker_count"] = min_worker_count
2742
2873
  if tags is not None:
@@ -2813,6 +2944,16 @@ class CfnFleetProps:
2813
2944
  result = self._values.get("description")
2814
2945
  return typing.cast(typing.Optional[builtins.str], result)
2815
2946
 
2947
+ @builtins.property
2948
+ def host_configuration(
2949
+ self,
2950
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.HostConfigurationProperty]]:
2951
+ '''
2952
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-fleet.html#cfn-deadline-fleet-hostconfiguration
2953
+ '''
2954
+ result = self._values.get("host_configuration")
2955
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.HostConfigurationProperty]], result)
2956
+
2816
2957
  @builtins.property
2817
2958
  def min_worker_count(self) -> typing.Optional[jsii.Number]:
2818
2959
  '''The minimum number of workers in the fleet.
@@ -6067,6 +6208,7 @@ def _typecheckingstub__b982dfa2ac88548efd13c63c65f7144bf79a74dd670eebe5a13537f1f
6067
6208
  max_worker_count: jsii.Number,
6068
6209
  role_arn: builtins.str,
6069
6210
  description: typing.Optional[builtins.str] = None,
6211
+ host_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.HostConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6070
6212
  min_worker_count: typing.Optional[jsii.Number] = None,
6071
6213
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
6072
6214
  ) -> None:
@@ -6121,6 +6263,12 @@ def _typecheckingstub__084da5a242d843b332de24a8c53af7e8830cd00d0dca22235f0c3d665
6121
6263
  """Type checking stubs"""
6122
6264
  pass
6123
6265
 
6266
+ def _typecheckingstub__5cb78c2488fd0676b6c07d92f69a0cf51c19a186b0a6d2f13bbc62aec7608cfe(
6267
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.HostConfigurationProperty]],
6268
+ ) -> None:
6269
+ """Type checking stubs"""
6270
+ pass
6271
+
6124
6272
  def _typecheckingstub__e98aa63695c4cd93c0aae20c0cd7e90226c1100540a8732e0be19b9d6cc5e094(
6125
6273
  value: typing.Optional[jsii.Number],
6126
6274
  ) -> None:
@@ -6170,6 +6318,7 @@ def _typecheckingstub__1e0d0744c60a31b3157ef03f930266f6c000eafa44c6050607897ea5b
6170
6318
  mode: builtins.str,
6171
6319
  worker_capabilities: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.CustomerManagedWorkerCapabilitiesProperty, typing.Dict[builtins.str, typing.Any]]],
6172
6320
  storage_profile_id: typing.Optional[builtins.str] = None,
6321
+ tag_propagation_mode: typing.Optional[builtins.str] = None,
6173
6322
  ) -> None:
6174
6323
  """Type checking stubs"""
6175
6324
  pass
@@ -6231,6 +6380,14 @@ def _typecheckingstub__3ef3ed1850d4005d38d3a6c912a28b59698026461815dad08ff096a4c
6231
6380
  """Type checking stubs"""
6232
6381
  pass
6233
6382
 
6383
+ def _typecheckingstub__6971feb07454886d39f9f5ddb100459001b23544ed3498597d6b4a0ce4b41965(
6384
+ *,
6385
+ script_body: builtins.str,
6386
+ script_timeout_seconds: typing.Optional[jsii.Number] = None,
6387
+ ) -> None:
6388
+ """Type checking stubs"""
6389
+ pass
6390
+
6234
6391
  def _typecheckingstub__e0c49c5364d9d5abab3267eb2a6afca69f203020da3e42493624297dd2a5bf0f(
6235
6392
  *,
6236
6393
  min: jsii.Number,
@@ -6286,6 +6443,7 @@ def _typecheckingstub__a1472efddb89af74b2ae4dc1156d30448332099bec47f03ae56886a44
6286
6443
  max_worker_count: jsii.Number,
6287
6444
  role_arn: builtins.str,
6288
6445
  description: typing.Optional[builtins.str] = None,
6446
+ host_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.HostConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6289
6447
  min_worker_count: typing.Optional[jsii.Number] = None,
6290
6448
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
6291
6449
  ) -> None:
@@ -85,7 +85,41 @@ class CfnCluster(
85
85
  metaclass=jsii.JSIIMeta,
86
86
  jsii_type="aws-cdk-lib.aws_dsql.CfnCluster",
87
87
  ):
88
- '''Creates a cluster in Amazon Aurora DSQL.
88
+ '''The CreateCluster API allows you to create both single-region clusters and multi-Region clusters.
89
+
90
+ With the addition of the *multiRegionProperties* parameter, you can create a cluster with witness Region support and establish peer relationships with clusters in other Regions during creation.
91
+ .. epigraph::
92
+
93
+ Creating multi-Region clusters requires additional IAM permissions beyond those needed for single-Region clusters, as detailed in the *Required permissions* section below.
94
+
95
+ *Required permissions*
96
+
97
+ - **dsql:CreateCluster** - Required to create a cluster.
98
+
99
+ Resources: ``arn:aws:dsql:region:account-id:cluster/*``
100
+
101
+ - **dsql:TagResource** - Permission to add tags to a resource.
102
+
103
+ Resources: ``arn:aws:dsql:region:account-id:cluster/*``
104
+
105
+ - **dsql:PutMultiRegionProperties** - Permission to configure multi-region properties for a cluster.
106
+
107
+ Resources: ``arn:aws:dsql:region:account-id:cluster/*``
108
+
109
+ - **dsql:AddPeerCluster** - When specifying ``multiRegionProperties.clusters`` , permission to add peer clusters.
110
+
111
+ Resources:
112
+
113
+ - Local cluster: ``arn:aws:dsql:region:account-id:cluster/*``
114
+ - Each peer cluster: exact ARN of each specified peer cluster
115
+ - **dsql:PutWitnessRegion** - When specifying ``multiRegionProperties.witnessRegion`` , permission to set a witness Region. This permission is checked both in the cluster Region and in the witness Region.
116
+
117
+ Resources: ``arn:aws:dsql:region:account-id:cluster/*``
118
+
119
+ Condition Keys: ``dsql:WitnessRegion`` (matching the specified witness region)
120
+ .. epigraph::
121
+
122
+ - The witness Region specified in ``multiRegionProperties.witnessRegion`` cannot be the same as the cluster's Region.
89
123
 
90
124
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-cluster.html
91
125
  :cloudformationResource: AWS::DSQL::Cluster