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
@@ -110,6 +110,12 @@ class CfnCluster(
110
110
  # the properties below are optional
111
111
  name="name",
112
112
  slurm_configuration=pcs.CfnCluster.SlurmConfigurationProperty(
113
+ accounting=pcs.CfnCluster.AccountingProperty(
114
+ mode="mode",
115
+
116
+ # the properties below are optional
117
+ default_purge_time_in_days=123
118
+ ),
113
119
  auth_key=pcs.CfnCluster.AuthKeyProperty(
114
120
  secret_arn="secretArn",
115
121
  secret_version="secretVersion"
@@ -347,6 +353,88 @@ class CfnCluster(
347
353
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
348
354
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
349
355
 
356
+ @jsii.data_type(
357
+ jsii_type="aws-cdk-lib.aws_pcs.CfnCluster.AccountingProperty",
358
+ jsii_struct_bases=[],
359
+ name_mapping={
360
+ "mode": "mode",
361
+ "default_purge_time_in_days": "defaultPurgeTimeInDays",
362
+ },
363
+ )
364
+ class AccountingProperty:
365
+ def __init__(
366
+ self,
367
+ *,
368
+ mode: builtins.str,
369
+ default_purge_time_in_days: typing.Optional[jsii.Number] = None,
370
+ ) -> None:
371
+ '''The accounting configuration includes configurable settings for Slurm accounting.
372
+
373
+ :param mode: The default value is ``STANDARD``. A value of ``STANDARD`` means that Slurm accounting is enabled. Default: - "NONE"
374
+ :param default_purge_time_in_days: The default value for all purge settings for ``slurmdbd.conf``. For more information, see the `slurmdbd.conf documentation at SchedMD <https://slurm.schedmd.com/slurmdbd.conf.html>`_. The default value is ``-1``. A value of ``-1`` means there is no purge time and records persist as long as the cluster exists. Default: - -1
375
+
376
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-accounting.html
377
+ :exampleMetadata: fixture=_generated
378
+
379
+ Example::
380
+
381
+ # The code below shows an example of how to instantiate this type.
382
+ # The values are placeholders you should change.
383
+ from aws_cdk import aws_pcs as pcs
384
+
385
+ accounting_property = pcs.CfnCluster.AccountingProperty(
386
+ mode="mode",
387
+
388
+ # the properties below are optional
389
+ default_purge_time_in_days=123
390
+ )
391
+ '''
392
+ if __debug__:
393
+ type_hints = typing.get_type_hints(_typecheckingstub__1371c6dd1b40632a0c832b301d232842e616e6e2e20240f16e1a18c257dec328)
394
+ check_type(argname="argument mode", value=mode, expected_type=type_hints["mode"])
395
+ check_type(argname="argument default_purge_time_in_days", value=default_purge_time_in_days, expected_type=type_hints["default_purge_time_in_days"])
396
+ self._values: typing.Dict[builtins.str, typing.Any] = {
397
+ "mode": mode,
398
+ }
399
+ if default_purge_time_in_days is not None:
400
+ self._values["default_purge_time_in_days"] = default_purge_time_in_days
401
+
402
+ @builtins.property
403
+ def mode(self) -> builtins.str:
404
+ '''The default value is ``STANDARD``.
405
+
406
+ A value of ``STANDARD`` means that Slurm accounting is enabled.
407
+
408
+ :default: - "NONE"
409
+
410
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-accounting.html#cfn-pcs-cluster-accounting-mode
411
+ '''
412
+ result = self._values.get("mode")
413
+ assert result is not None, "Required property 'mode' is missing"
414
+ return typing.cast(builtins.str, result)
415
+
416
+ @builtins.property
417
+ def default_purge_time_in_days(self) -> typing.Optional[jsii.Number]:
418
+ '''The default value for all purge settings for ``slurmdbd.conf``. For more information, see the `slurmdbd.conf documentation at SchedMD <https://slurm.schedmd.com/slurmdbd.conf.html>`_. The default value is ``-1``. A value of ``-1`` means there is no purge time and records persist as long as the cluster exists.
419
+
420
+ :default: - -1
421
+
422
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-accounting.html#cfn-pcs-cluster-accounting-defaultpurgetimeindays
423
+ '''
424
+ result = self._values.get("default_purge_time_in_days")
425
+ return typing.cast(typing.Optional[jsii.Number], result)
426
+
427
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
428
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
429
+
430
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
431
+ return not (rhs == self)
432
+
433
+ def __repr__(self) -> str:
434
+ return "AccountingProperty(%s)" % ", ".join(
435
+ k + "=" + repr(v) for k, v in self._values.items()
436
+ )
437
+
350
438
  @jsii.data_type(
351
439
  jsii_type="aws-cdk-lib.aws_pcs.CfnCluster.AuthKeyProperty",
352
440
  jsii_struct_bases=[],
@@ -741,6 +829,7 @@ class CfnCluster(
741
829
  jsii_type="aws-cdk-lib.aws_pcs.CfnCluster.SlurmConfigurationProperty",
742
830
  jsii_struct_bases=[],
743
831
  name_mapping={
832
+ "accounting": "accounting",
744
833
  "auth_key": "authKey",
745
834
  "scale_down_idle_time_in_seconds": "scaleDownIdleTimeInSeconds",
746
835
  "slurm_custom_settings": "slurmCustomSettings",
@@ -750,12 +839,14 @@ class CfnCluster(
750
839
  def __init__(
751
840
  self,
752
841
  *,
842
+ accounting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.AccountingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
753
843
  auth_key: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.AuthKeyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
754
844
  scale_down_idle_time_in_seconds: typing.Optional[jsii.Number] = None,
755
845
  slurm_custom_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.SlurmCustomSettingProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
756
846
  ) -> None:
757
847
  '''Additional options related to the Slurm scheduler.
758
848
 
849
+ :param accounting: The accounting configuration includes configurable settings for Slurm accounting.
759
850
  :param auth_key: The shared Slurm key for authentication, also known as the cluster secret.
760
851
  :param scale_down_idle_time_in_seconds: The time before an idle node is scaled down.
761
852
  :param slurm_custom_settings: Additional Slurm-specific configuration that directly maps to Slurm settings.
@@ -770,6 +861,12 @@ class CfnCluster(
770
861
  from aws_cdk import aws_pcs as pcs
771
862
 
772
863
  slurm_configuration_property = pcs.CfnCluster.SlurmConfigurationProperty(
864
+ accounting=pcs.CfnCluster.AccountingProperty(
865
+ mode="mode",
866
+
867
+ # the properties below are optional
868
+ default_purge_time_in_days=123
869
+ ),
773
870
  auth_key=pcs.CfnCluster.AuthKeyProperty(
774
871
  secret_arn="secretArn",
775
872
  secret_version="secretVersion"
@@ -783,10 +880,13 @@ class CfnCluster(
783
880
  '''
784
881
  if __debug__:
785
882
  type_hints = typing.get_type_hints(_typecheckingstub__e6bb8855a5cf237041c92e56f09fd1b1d2d40c49f363bfde280100fbfd6f137f)
883
+ check_type(argname="argument accounting", value=accounting, expected_type=type_hints["accounting"])
786
884
  check_type(argname="argument auth_key", value=auth_key, expected_type=type_hints["auth_key"])
787
885
  check_type(argname="argument scale_down_idle_time_in_seconds", value=scale_down_idle_time_in_seconds, expected_type=type_hints["scale_down_idle_time_in_seconds"])
788
886
  check_type(argname="argument slurm_custom_settings", value=slurm_custom_settings, expected_type=type_hints["slurm_custom_settings"])
789
887
  self._values: typing.Dict[builtins.str, typing.Any] = {}
888
+ if accounting is not None:
889
+ self._values["accounting"] = accounting
790
890
  if auth_key is not None:
791
891
  self._values["auth_key"] = auth_key
792
892
  if scale_down_idle_time_in_seconds is not None:
@@ -794,6 +894,17 @@ class CfnCluster(
794
894
  if slurm_custom_settings is not None:
795
895
  self._values["slurm_custom_settings"] = slurm_custom_settings
796
896
 
897
+ @builtins.property
898
+ def accounting(
899
+ self,
900
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.AccountingProperty"]]:
901
+ '''The accounting configuration includes configurable settings for Slurm accounting.
902
+
903
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-slurmconfiguration.html#cfn-pcs-cluster-slurmconfiguration-accounting
904
+ '''
905
+ result = self._values.get("accounting")
906
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.AccountingProperty"]], result)
907
+
797
908
  @builtins.property
798
909
  def auth_key(
799
910
  self,
@@ -974,6 +1085,12 @@ class CfnClusterProps:
974
1085
  # the properties below are optional
975
1086
  name="name",
976
1087
  slurm_configuration=pcs.CfnCluster.SlurmConfigurationProperty(
1088
+ accounting=pcs.CfnCluster.AccountingProperty(
1089
+ mode="mode",
1090
+
1091
+ # the properties below are optional
1092
+ default_purge_time_in_days=123
1093
+ ),
977
1094
  auth_key=pcs.CfnCluster.AuthKeyProperty(
978
1095
  secret_arn="secretArn",
979
1096
  secret_version="secretVersion"
@@ -2729,6 +2846,14 @@ def _typecheckingstub__b386ea2d0b46e98dda569b5edccc0da74b6c12d09181731c93163fcad
2729
2846
  """Type checking stubs"""
2730
2847
  pass
2731
2848
 
2849
+ def _typecheckingstub__1371c6dd1b40632a0c832b301d232842e616e6e2e20240f16e1a18c257dec328(
2850
+ *,
2851
+ mode: builtins.str,
2852
+ default_purge_time_in_days: typing.Optional[jsii.Number] = None,
2853
+ ) -> None:
2854
+ """Type checking stubs"""
2855
+ pass
2856
+
2732
2857
  def _typecheckingstub__1864f71bcded956851b861671a045d1c7d6402331c1d756c5ac88d21e9fe823c(
2733
2858
  *,
2734
2859
  secret_arn: builtins.str,
@@ -2773,6 +2898,7 @@ def _typecheckingstub__fe24d9f1c44d1db4489549227b033216d5b6490b74f43ce9c2871e34c
2773
2898
 
2774
2899
  def _typecheckingstub__e6bb8855a5cf237041c92e56f09fd1b1d2d40c49f363bfde280100fbfd6f137f(
2775
2900
  *,
2901
+ accounting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.AccountingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2776
2902
  auth_key: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.AuthKeyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2777
2903
  scale_down_idle_time_in_seconds: typing.Optional[jsii.Number] = None,
2778
2904
  slurm_custom_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.SlurmCustomSettingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -9430,14 +9430,6 @@ class CfnDBInstance(
9430
9430
  '''
9431
9431
  return typing.cast(builtins.str, jsii.get(self, "attrCertificateDetailsValidTill"))
9432
9432
 
9433
- @builtins.property
9434
- @jsii.member(jsii_name="attrDatabaseInsightsMode")
9435
- def attr_database_insights_mode(self) -> builtins.str:
9436
- '''
9437
- :cloudformationAttribute: DatabaseInsightsMode
9438
- '''
9439
- return typing.cast(builtins.str, jsii.get(self, "attrDatabaseInsightsMode"))
9440
-
9441
9433
  @builtins.property
9442
9434
  @jsii.member(jsii_name="attrDbInstanceArn")
9443
9435
  def attr_db_instance_arn(self) -> builtins.str:
@@ -31969,7 +31961,12 @@ class MariaDbEngineVersion(
31969
31961
  @jsii.python.classproperty
31970
31962
  @jsii.member(jsii_name="VER_10_4")
31971
31963
  def VER_10_4(cls) -> "MariaDbEngineVersion":
31972
- '''Version "10.4" (only a major version, without a specific minor version).'''
31964
+ '''(deprecated) Version "10.4" (only a major version, without a specific minor version).
31965
+
31966
+ :deprecated: MariaDB 10.4 is no longer supported by Amazon RDS.
31967
+
31968
+ :stability: deprecated
31969
+ '''
31973
31970
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4"))
31974
31971
 
31975
31972
  @jsii.python.classproperty
@@ -32074,37 +32071,67 @@ class MariaDbEngineVersion(
32074
32071
  @jsii.python.classproperty
32075
32072
  @jsii.member(jsii_name="VER_10_4_29")
32076
32073
  def VER_10_4_29(cls) -> "MariaDbEngineVersion":
32077
- '''Version "10.4.29".'''
32074
+ '''(deprecated) Version "10.4.29".
32075
+
32076
+ :deprecated: MariaDB 10.4.29 is no longer supported by Amazon RDS.
32077
+
32078
+ :stability: deprecated
32079
+ '''
32078
32080
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_29"))
32079
32081
 
32080
32082
  @jsii.python.classproperty
32081
32083
  @jsii.member(jsii_name="VER_10_4_30")
32082
32084
  def VER_10_4_30(cls) -> "MariaDbEngineVersion":
32083
- '''Version "10.4.30".'''
32085
+ '''(deprecated) Version "10.4.30".
32086
+
32087
+ :deprecated: MariaDB 10.4.30 is no longer supported by Amazon RDS.
32088
+
32089
+ :stability: deprecated
32090
+ '''
32084
32091
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_30"))
32085
32092
 
32086
32093
  @jsii.python.classproperty
32087
32094
  @jsii.member(jsii_name="VER_10_4_31")
32088
32095
  def VER_10_4_31(cls) -> "MariaDbEngineVersion":
32089
- '''Version "10.4.31".'''
32096
+ '''(deprecated) Version "10.4.31".
32097
+
32098
+ :deprecated: MariaDB 10.4.31 is no longer supported by Amazon RDS.
32099
+
32100
+ :stability: deprecated
32101
+ '''
32090
32102
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_31"))
32091
32103
 
32092
32104
  @jsii.python.classproperty
32093
32105
  @jsii.member(jsii_name="VER_10_4_32")
32094
32106
  def VER_10_4_32(cls) -> "MariaDbEngineVersion":
32095
- '''Version "10.4.32".'''
32107
+ '''(deprecated) Version "10.4.32".
32108
+
32109
+ :deprecated: MariaDB 10.4.32 is no longer supported by Amazon RDS.
32110
+
32111
+ :stability: deprecated
32112
+ '''
32096
32113
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_32"))
32097
32114
 
32098
32115
  @jsii.python.classproperty
32099
32116
  @jsii.member(jsii_name="VER_10_4_33")
32100
32117
  def VER_10_4_33(cls) -> "MariaDbEngineVersion":
32101
- '''Version "10.4.33".'''
32118
+ '''(deprecated) Version "10.4.33".
32119
+
32120
+ :deprecated: MariaDB 10.4.33 is no longer supported by Amazon RDS.
32121
+
32122
+ :stability: deprecated
32123
+ '''
32102
32124
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_33"))
32103
32125
 
32104
32126
  @jsii.python.classproperty
32105
32127
  @jsii.member(jsii_name="VER_10_4_34")
32106
32128
  def VER_10_4_34(cls) -> "MariaDbEngineVersion":
32107
- '''Version "10.4.34".'''
32129
+ '''(deprecated) Version "10.4.34".
32130
+
32131
+ :deprecated: MariaDB 10.4.34 is no longer supported by Amazon RDS.
32132
+
32133
+ :stability: deprecated
32134
+ '''
32108
32135
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_34"))
32109
32136
 
32110
32137
  @jsii.python.classproperty
@@ -1467,8 +1467,8 @@ class CfnTrustAnchor(
1467
1467
  def __init__(
1468
1468
  self,
1469
1469
  *,
1470
- source_data: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTrustAnchor.SourceDataProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1471
- source_type: typing.Optional[builtins.str] = None,
1470
+ source_data: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTrustAnchor.SourceDataProperty", typing.Dict[builtins.str, typing.Any]]],
1471
+ source_type: builtins.str,
1472
1472
  ) -> None:
1473
1473
  '''Object representing the TrustAnchor type and its related certificate data.
1474
1474
 
@@ -1496,31 +1496,32 @@ class CfnTrustAnchor(
1496
1496
  type_hints = typing.get_type_hints(_typecheckingstub__d423be7ff47fcc8761e7797ad37aac03811962bc633d561f5c9c8721dd3e77df)
1497
1497
  check_type(argname="argument source_data", value=source_data, expected_type=type_hints["source_data"])
1498
1498
  check_type(argname="argument source_type", value=source_type, expected_type=type_hints["source_type"])
1499
- self._values: typing.Dict[builtins.str, typing.Any] = {}
1500
- if source_data is not None:
1501
- self._values["source_data"] = source_data
1502
- if source_type is not None:
1503
- self._values["source_type"] = source_type
1499
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1500
+ "source_data": source_data,
1501
+ "source_type": source_type,
1502
+ }
1504
1503
 
1505
1504
  @builtins.property
1506
1505
  def source_data(
1507
1506
  self,
1508
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTrustAnchor.SourceDataProperty"]]:
1507
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnTrustAnchor.SourceDataProperty"]:
1509
1508
  '''A union object representing the data field of the TrustAnchor depending on its type.
1510
1509
 
1511
1510
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcedata
1512
1511
  '''
1513
1512
  result = self._values.get("source_data")
1514
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTrustAnchor.SourceDataProperty"]], result)
1513
+ assert result is not None, "Required property 'source_data' is missing"
1514
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTrustAnchor.SourceDataProperty"], result)
1515
1515
 
1516
1516
  @builtins.property
1517
- def source_type(self) -> typing.Optional[builtins.str]:
1517
+ def source_type(self) -> builtins.str:
1518
1518
  '''The type of the TrustAnchor.
1519
1519
 
1520
1520
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcetype
1521
1521
  '''
1522
1522
  result = self._values.get("source_type")
1523
- return typing.cast(typing.Optional[builtins.str], result)
1523
+ assert result is not None, "Required property 'source_type' is missing"
1524
+ return typing.cast(builtins.str, result)
1524
1525
 
1525
1526
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1526
1527
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -1954,8 +1955,8 @@ def _typecheckingstub__aa369b3cbba73a987e4f4a9a410e56c8fdd5c7ce2300cda6a55e4ec9a
1954
1955
 
1955
1956
  def _typecheckingstub__d423be7ff47fcc8761e7797ad37aac03811962bc633d561f5c9c8721dd3e77df(
1956
1957
  *,
1957
- source_data: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTrustAnchor.SourceDataProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1958
- source_type: typing.Optional[builtins.str] = None,
1958
+ source_data: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTrustAnchor.SourceDataProperty, typing.Dict[builtins.str, typing.Any]]],
1959
+ source_type: builtins.str,
1959
1960
  ) -> None:
1960
1961
  """Type checking stubs"""
1961
1962
  pass
@@ -3480,7 +3480,6 @@ class CfnResolverRule(
3480
3480
  rule_type="ruleType",
3481
3481
 
3482
3482
  # the properties below are optional
3483
- delegation_record="delegationRecord",
3484
3483
  domain_name="domainName",
3485
3484
  name="name",
3486
3485
  resolver_endpoint_id="resolverEndpointId",
@@ -3504,7 +3503,6 @@ class CfnResolverRule(
3504
3503
  id: builtins.str,
3505
3504
  *,
3506
3505
  rule_type: builtins.str,
3507
- delegation_record: typing.Optional[builtins.str] = None,
3508
3506
  domain_name: typing.Optional[builtins.str] = None,
3509
3507
  name: typing.Optional[builtins.str] = None,
3510
3508
  resolver_endpoint_id: typing.Optional[builtins.str] = None,
@@ -3515,7 +3513,6 @@ class CfnResolverRule(
3515
3513
  :param scope: Scope in which this resource is defined.
3516
3514
  :param id: Construct identifier for this resource (unique in its scope).
3517
3515
  :param rule_type: When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` . When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify ``SYSTEM`` . For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify ``FORWARD`` for ``RuleType`` . To then have Resolver process queries for apex.example.com, you create a rule and specify ``SYSTEM`` for ``RuleType`` . Currently, only Resolver can create rules that have a value of ``RECURSIVE`` for ``RuleType`` .
3518
- :param delegation_record: The name server domain for queries to be delegated to if a query matches the delegation record.
3519
3516
  :param domain_name: DNS queries for this domain name are forwarded to the IP addresses that are specified in ``TargetIps`` . If a query matches multiple Resolver rules (example.com and www.example.com), the query is routed using the Resolver rule that contains the most specific domain name (www.example.com).
3520
3517
  :param name: The name for the Resolver rule, which you specified when you created the Resolver rule.
3521
3518
  :param resolver_endpoint_id: The ID of the endpoint that the rule is associated with.
@@ -3528,7 +3525,6 @@ class CfnResolverRule(
3528
3525
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3529
3526
  props = CfnResolverRuleProps(
3530
3527
  rule_type=rule_type,
3531
- delegation_record=delegation_record,
3532
3528
  domain_name=domain_name,
3533
3529
  name=name,
3534
3530
  resolver_endpoint_id=resolver_endpoint_id,
@@ -3652,19 +3648,6 @@ class CfnResolverRule(
3652
3648
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3653
3649
  jsii.set(self, "ruleType", value) # pyright: ignore[reportArgumentType]
3654
3650
 
3655
- @builtins.property
3656
- @jsii.member(jsii_name="delegationRecord")
3657
- def delegation_record(self) -> typing.Optional[builtins.str]:
3658
- '''The name server domain for queries to be delegated to if a query matches the delegation record.'''
3659
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "delegationRecord"))
3660
-
3661
- @delegation_record.setter
3662
- def delegation_record(self, value: typing.Optional[builtins.str]) -> None:
3663
- if __debug__:
3664
- type_hints = typing.get_type_hints(_typecheckingstub__b1126d07ce449d0d6220e3fbf183f2d786e81574a4f131914dfe0914a55bb851)
3665
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3666
- jsii.set(self, "delegationRecord", value) # pyright: ignore[reportArgumentType]
3667
-
3668
3651
  @builtins.property
3669
3652
  @jsii.member(jsii_name="domainName")
3670
3653
  def domain_name(self) -> typing.Optional[builtins.str]:
@@ -4123,7 +4106,6 @@ class CfnResolverRuleAssociationProps:
4123
4106
  jsii_struct_bases=[],
4124
4107
  name_mapping={
4125
4108
  "rule_type": "ruleType",
4126
- "delegation_record": "delegationRecord",
4127
4109
  "domain_name": "domainName",
4128
4110
  "name": "name",
4129
4111
  "resolver_endpoint_id": "resolverEndpointId",
@@ -4136,7 +4118,6 @@ class CfnResolverRuleProps:
4136
4118
  self,
4137
4119
  *,
4138
4120
  rule_type: builtins.str,
4139
- delegation_record: typing.Optional[builtins.str] = None,
4140
4121
  domain_name: typing.Optional[builtins.str] = None,
4141
4122
  name: typing.Optional[builtins.str] = None,
4142
4123
  resolver_endpoint_id: typing.Optional[builtins.str] = None,
@@ -4146,7 +4127,6 @@ class CfnResolverRuleProps:
4146
4127
  '''Properties for defining a ``CfnResolverRule``.
4147
4128
 
4148
4129
  :param rule_type: When you want to forward DNS queries for specified domain name to resolvers on your network, specify ``FORWARD`` . When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify ``SYSTEM`` . For example, to forward DNS queries for example.com to resolvers on your network, you create a rule and specify ``FORWARD`` for ``RuleType`` . To then have Resolver process queries for apex.example.com, you create a rule and specify ``SYSTEM`` for ``RuleType`` . Currently, only Resolver can create rules that have a value of ``RECURSIVE`` for ``RuleType`` .
4149
- :param delegation_record: The name server domain for queries to be delegated to if a query matches the delegation record.
4150
4130
  :param domain_name: DNS queries for this domain name are forwarded to the IP addresses that are specified in ``TargetIps`` . If a query matches multiple Resolver rules (example.com and www.example.com), the query is routed using the Resolver rule that contains the most specific domain name (www.example.com).
4151
4131
  :param name: The name for the Resolver rule, which you specified when you created the Resolver rule.
4152
4132
  :param resolver_endpoint_id: The ID of the endpoint that the rule is associated with.
@@ -4166,7 +4146,6 @@ class CfnResolverRuleProps:
4166
4146
  rule_type="ruleType",
4167
4147
 
4168
4148
  # the properties below are optional
4169
- delegation_record="delegationRecord",
4170
4149
  domain_name="domainName",
4171
4150
  name="name",
4172
4151
  resolver_endpoint_id="resolverEndpointId",
@@ -4186,7 +4165,6 @@ class CfnResolverRuleProps:
4186
4165
  if __debug__:
4187
4166
  type_hints = typing.get_type_hints(_typecheckingstub__fdcaea1870aaf2dc13fe56b2d15a89d6adba2ad5884071fc618c9e4bb2c3ddec)
4188
4167
  check_type(argname="argument rule_type", value=rule_type, expected_type=type_hints["rule_type"])
4189
- check_type(argname="argument delegation_record", value=delegation_record, expected_type=type_hints["delegation_record"])
4190
4168
  check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
4191
4169
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
4192
4170
  check_type(argname="argument resolver_endpoint_id", value=resolver_endpoint_id, expected_type=type_hints["resolver_endpoint_id"])
@@ -4195,8 +4173,6 @@ class CfnResolverRuleProps:
4195
4173
  self._values: typing.Dict[builtins.str, typing.Any] = {
4196
4174
  "rule_type": rule_type,
4197
4175
  }
4198
- if delegation_record is not None:
4199
- self._values["delegation_record"] = delegation_record
4200
4176
  if domain_name is not None:
4201
4177
  self._values["domain_name"] = domain_name
4202
4178
  if name is not None:
@@ -4224,15 +4200,6 @@ class CfnResolverRuleProps:
4224
4200
  assert result is not None, "Required property 'rule_type' is missing"
4225
4201
  return typing.cast(builtins.str, result)
4226
4202
 
4227
- @builtins.property
4228
- def delegation_record(self) -> typing.Optional[builtins.str]:
4229
- '''The name server domain for queries to be delegated to if a query matches the delegation record.
4230
-
4231
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html#cfn-route53resolver-resolverrule-delegationrecord
4232
- '''
4233
- result = self._values.get("delegation_record")
4234
- return typing.cast(typing.Optional[builtins.str], result)
4235
-
4236
4203
  @builtins.property
4237
4204
  def domain_name(self) -> typing.Optional[builtins.str]:
4238
4205
  '''DNS queries for this domain name are forwarded to the IP addresses that are specified in ``TargetIps`` .
@@ -4871,7 +4838,6 @@ def _typecheckingstub__7253810e416357d129df95b3c7aa9aa0f08e68de7d465658e598912cf
4871
4838
  id: builtins.str,
4872
4839
  *,
4873
4840
  rule_type: builtins.str,
4874
- delegation_record: typing.Optional[builtins.str] = None,
4875
4841
  domain_name: typing.Optional[builtins.str] = None,
4876
4842
  name: typing.Optional[builtins.str] = None,
4877
4843
  resolver_endpoint_id: typing.Optional[builtins.str] = None,
@@ -4899,12 +4865,6 @@ def _typecheckingstub__13530a5c4f7ce175ae03b85dc7d4550ae7a3cb68cb2be12c89a167e8d
4899
4865
  """Type checking stubs"""
4900
4866
  pass
4901
4867
 
4902
- def _typecheckingstub__b1126d07ce449d0d6220e3fbf183f2d786e81574a4f131914dfe0914a55bb851(
4903
- value: typing.Optional[builtins.str],
4904
- ) -> None:
4905
- """Type checking stubs"""
4906
- pass
4907
-
4908
4868
  def _typecheckingstub__3e83136a81b10aed2481c602cdca3f63e1c2bcaed82fe69b1ab2413af7c0b7c0(
4909
4869
  value: typing.Optional[builtins.str],
4910
4870
  ) -> None:
@@ -4999,7 +4959,6 @@ def _typecheckingstub__3b7cd1048ae30851b3480dc04a365c7bd487212f9328f80bc61e1bae1
4999
4959
  def _typecheckingstub__fdcaea1870aaf2dc13fe56b2d15a89d6adba2ad5884071fc618c9e4bb2c3ddec(
5000
4960
  *,
5001
4961
  rule_type: builtins.str,
5002
- delegation_record: typing.Optional[builtins.str] = None,
5003
4962
  domain_name: typing.Optional[builtins.str] = None,
5004
4963
  name: typing.Optional[builtins.str] = None,
5005
4964
  resolver_endpoint_id: typing.Optional[builtins.str] = None,