aws-cdk-lib 2.144.0__py3-none-any.whl → 2.146.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 (38) hide show
  1. aws_cdk/__init__.py +3 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.144.0.jsii.tgz → aws-cdk-lib@2.146.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2_authorizers/__init__.py +27 -0
  5. aws_cdk/aws_apigatewayv2_integrations/__init__.py +27 -0
  6. aws_cdk/aws_appsync/__init__.py +62 -0
  7. aws_cdk/aws_autoscaling/__init__.py +416 -60
  8. aws_cdk/aws_chatbot/__init__.py +38 -0
  9. aws_cdk/aws_codebuild/__init__.py +598 -19
  10. aws_cdk/aws_config/__init__.py +1305 -45
  11. aws_cdk/aws_connect/__init__.py +86 -0
  12. aws_cdk/aws_ec2/__init__.py +42 -3
  13. aws_cdk/aws_ecs/__init__.py +110 -1
  14. aws_cdk/aws_eks/__init__.py +1495 -72
  15. aws_cdk/aws_iam/__init__.py +16 -11
  16. aws_cdk/aws_lambda/__init__.py +12 -0
  17. aws_cdk/aws_logs/__init__.py +114 -8
  18. aws_cdk/aws_logs_destinations/__init__.py +11 -9
  19. aws_cdk/aws_mediaconnect/__init__.py +2 -6
  20. aws_cdk/aws_mediapackagev2/__init__.py +476 -0
  21. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  22. aws_cdk/aws_pipes/__init__.py +639 -0
  23. aws_cdk/aws_rds/__init__.py +12 -0
  24. aws_cdk/aws_rolesanywhere/__init__.py +196 -0
  25. aws_cdk/aws_route53/__init__.py +3 -3
  26. aws_cdk/aws_securityhub/__init__.py +2415 -374
  27. aws_cdk/aws_securitylake/__init__.py +179 -314
  28. aws_cdk/aws_sns/__init__.py +61 -9
  29. aws_cdk/aws_sqs/__init__.py +2 -2
  30. aws_cdk/aws_stepfunctions_tasks/__init__.py +3 -3
  31. aws_cdk/pipelines/__init__.py +2 -0
  32. aws_cdk/region_info/__init__.py +6 -0
  33. {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/METADATA +2 -2
  34. {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/NOTICE +0 -35
  35. {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/RECORD +38 -38
  36. {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/LICENSE +0 -0
  37. {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/WHEEL +0 -0
  38. {aws_cdk_lib-2.144.0.dist-info → aws_cdk_lib-2.146.0.dist-info}/top_level.txt +0 -0
@@ -2584,6 +2584,12 @@ class AuroraMysqlEngineVersion(
2584
2584
  '''Version "8.0.mysql_aurora.3.06.0".'''
2585
2585
  return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_06_0"))
2586
2586
 
2587
+ @jsii.python.classproperty
2588
+ @jsii.member(jsii_name="VER_3_07_0")
2589
+ def VER_3_07_0(cls) -> "AuroraMysqlEngineVersion":
2590
+ '''Version "8.0.mysql_aurora.3.07.0".'''
2591
+ return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_07_0"))
2592
+
2587
2593
  @jsii.python.classproperty
2588
2594
  @jsii.member(jsii_name="VER_5_7_12")
2589
2595
  def VER_5_7_12(cls) -> "AuroraMysqlEngineVersion":
@@ -3489,6 +3495,12 @@ class AuroraPostgresEngineVersion(
3489
3495
  '''Version "15.5".'''
3490
3496
  return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_5"))
3491
3497
 
3498
+ @jsii.python.classproperty
3499
+ @jsii.member(jsii_name="VER_15_6")
3500
+ def VER_15_6(cls) -> "AuroraPostgresEngineVersion":
3501
+ '''Version "15.6".'''
3502
+ return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_6"))
3503
+
3492
3504
  @jsii.python.classproperty
3493
3505
  @jsii.member(jsii_name="VER_16_0")
3494
3506
  def VER_16_0(cls) -> "AuroraPostgresEngineVersion":
@@ -385,6 +385,12 @@ class CfnProfile(
385
385
  role_arns=["roleArns"],
386
386
 
387
387
  # the properties below are optional
388
+ attribute_mappings=[rolesanywhere.CfnProfile.AttributeMappingProperty(
389
+ certificate_field="certificateField",
390
+ mapping_rules=[rolesanywhere.CfnProfile.MappingRuleProperty(
391
+ specifier="specifier"
392
+ )]
393
+ )],
388
394
  duration_seconds=123,
389
395
  enabled=False,
390
396
  managed_policy_arns=["managedPolicyArns"],
@@ -404,6 +410,7 @@ class CfnProfile(
404
410
  *,
405
411
  name: builtins.str,
406
412
  role_arns: typing.Sequence[builtins.str],
413
+ attribute_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnProfile.AttributeMappingProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
407
414
  duration_seconds: typing.Optional[jsii.Number] = None,
408
415
  enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
409
416
  managed_policy_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -416,6 +423,7 @@ class CfnProfile(
416
423
  :param id: Construct identifier for this resource (unique in its scope).
417
424
  :param name: The customer specified name of the resource.
418
425
  :param role_arns: A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
426
+ :param attribute_mappings:
419
427
  :param duration_seconds: The number of seconds vended session credentials will be valid for.
420
428
  :param enabled: The enabled status of the resource.
421
429
  :param managed_policy_arns: A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
@@ -430,6 +438,7 @@ class CfnProfile(
430
438
  props = CfnProfileProps(
431
439
  name=name,
432
440
  role_arns=role_arns,
441
+ attribute_mappings=attribute_mappings,
433
442
  duration_seconds=duration_seconds,
434
443
  enabled=enabled,
435
444
  managed_policy_arns=managed_policy_arns,
@@ -525,6 +534,23 @@ class CfnProfile(
525
534
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
526
535
  jsii.set(self, "roleArns", value)
527
536
 
537
+ @builtins.property
538
+ @jsii.member(jsii_name="attributeMappings")
539
+ def attribute_mappings(
540
+ self,
541
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnProfile.AttributeMappingProperty"]]]]:
542
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnProfile.AttributeMappingProperty"]]]], jsii.get(self, "attributeMappings"))
543
+
544
+ @attribute_mappings.setter
545
+ def attribute_mappings(
546
+ self,
547
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnProfile.AttributeMappingProperty"]]]],
548
+ ) -> None:
549
+ if __debug__:
550
+ type_hints = typing.get_type_hints(_typecheckingstub__a933bc8a589ca2e29de261062eefb4537f3f9eee0b743f26a28b8b55ea20b163)
551
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
552
+ jsii.set(self, "attributeMappings", value)
553
+
528
554
  @builtins.property
529
555
  @jsii.member(jsii_name="durationSeconds")
530
556
  def duration_seconds(self) -> typing.Optional[jsii.Number]:
@@ -616,6 +642,131 @@ class CfnProfile(
616
642
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
617
643
  jsii.set(self, "tagsRaw", value)
618
644
 
645
+ @jsii.data_type(
646
+ jsii_type="aws-cdk-lib.aws_rolesanywhere.CfnProfile.AttributeMappingProperty",
647
+ jsii_struct_bases=[],
648
+ name_mapping={
649
+ "certificate_field": "certificateField",
650
+ "mapping_rules": "mappingRules",
651
+ },
652
+ )
653
+ class AttributeMappingProperty:
654
+ def __init__(
655
+ self,
656
+ *,
657
+ certificate_field: builtins.str,
658
+ mapping_rules: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnProfile.MappingRuleProperty", typing.Dict[builtins.str, typing.Any]]]]],
659
+ ) -> None:
660
+ '''
661
+ :param certificate_field:
662
+ :param mapping_rules:
663
+
664
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-profile-attributemapping.html
665
+ :exampleMetadata: fixture=_generated
666
+
667
+ Example::
668
+
669
+ # The code below shows an example of how to instantiate this type.
670
+ # The values are placeholders you should change.
671
+ from aws_cdk import aws_rolesanywhere as rolesanywhere
672
+
673
+ attribute_mapping_property = rolesanywhere.CfnProfile.AttributeMappingProperty(
674
+ certificate_field="certificateField",
675
+ mapping_rules=[rolesanywhere.CfnProfile.MappingRuleProperty(
676
+ specifier="specifier"
677
+ )]
678
+ )
679
+ '''
680
+ if __debug__:
681
+ type_hints = typing.get_type_hints(_typecheckingstub__05d62dd9516ef6f649bf3b5d657cdfc92e568e217f35731a999cfd15f5b4f68e)
682
+ check_type(argname="argument certificate_field", value=certificate_field, expected_type=type_hints["certificate_field"])
683
+ check_type(argname="argument mapping_rules", value=mapping_rules, expected_type=type_hints["mapping_rules"])
684
+ self._values: typing.Dict[builtins.str, typing.Any] = {
685
+ "certificate_field": certificate_field,
686
+ "mapping_rules": mapping_rules,
687
+ }
688
+
689
+ @builtins.property
690
+ def certificate_field(self) -> builtins.str:
691
+ '''
692
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-profile-attributemapping.html#cfn-rolesanywhere-profile-attributemapping-certificatefield
693
+ '''
694
+ result = self._values.get("certificate_field")
695
+ assert result is not None, "Required property 'certificate_field' is missing"
696
+ return typing.cast(builtins.str, result)
697
+
698
+ @builtins.property
699
+ def mapping_rules(
700
+ self,
701
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnProfile.MappingRuleProperty"]]]:
702
+ '''
703
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-profile-attributemapping.html#cfn-rolesanywhere-profile-attributemapping-mappingrules
704
+ '''
705
+ result = self._values.get("mapping_rules")
706
+ assert result is not None, "Required property 'mapping_rules' is missing"
707
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnProfile.MappingRuleProperty"]]], result)
708
+
709
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
710
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
711
+
712
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
713
+ return not (rhs == self)
714
+
715
+ def __repr__(self) -> str:
716
+ return "AttributeMappingProperty(%s)" % ", ".join(
717
+ k + "=" + repr(v) for k, v in self._values.items()
718
+ )
719
+
720
+ @jsii.data_type(
721
+ jsii_type="aws-cdk-lib.aws_rolesanywhere.CfnProfile.MappingRuleProperty",
722
+ jsii_struct_bases=[],
723
+ name_mapping={"specifier": "specifier"},
724
+ )
725
+ class MappingRuleProperty:
726
+ def __init__(self, *, specifier: builtins.str) -> None:
727
+ '''
728
+ :param specifier:
729
+
730
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-profile-mappingrule.html
731
+ :exampleMetadata: fixture=_generated
732
+
733
+ Example::
734
+
735
+ # The code below shows an example of how to instantiate this type.
736
+ # The values are placeholders you should change.
737
+ from aws_cdk import aws_rolesanywhere as rolesanywhere
738
+
739
+ mapping_rule_property = rolesanywhere.CfnProfile.MappingRuleProperty(
740
+ specifier="specifier"
741
+ )
742
+ '''
743
+ if __debug__:
744
+ type_hints = typing.get_type_hints(_typecheckingstub__7422c94323a807bff6335911405b595c6b214c6864553b5fe25c6dac4b8d588d)
745
+ check_type(argname="argument specifier", value=specifier, expected_type=type_hints["specifier"])
746
+ self._values: typing.Dict[builtins.str, typing.Any] = {
747
+ "specifier": specifier,
748
+ }
749
+
750
+ @builtins.property
751
+ def specifier(self) -> builtins.str:
752
+ '''
753
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-profile-mappingrule.html#cfn-rolesanywhere-profile-mappingrule-specifier
754
+ '''
755
+ result = self._values.get("specifier")
756
+ assert result is not None, "Required property 'specifier' is missing"
757
+ return typing.cast(builtins.str, result)
758
+
759
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
760
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
761
+
762
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
763
+ return not (rhs == self)
764
+
765
+ def __repr__(self) -> str:
766
+ return "MappingRuleProperty(%s)" % ", ".join(
767
+ k + "=" + repr(v) for k, v in self._values.items()
768
+ )
769
+
619
770
 
620
771
  @jsii.data_type(
621
772
  jsii_type="aws-cdk-lib.aws_rolesanywhere.CfnProfileProps",
@@ -623,6 +774,7 @@ class CfnProfile(
623
774
  name_mapping={
624
775
  "name": "name",
625
776
  "role_arns": "roleArns",
777
+ "attribute_mappings": "attributeMappings",
626
778
  "duration_seconds": "durationSeconds",
627
779
  "enabled": "enabled",
628
780
  "managed_policy_arns": "managedPolicyArns",
@@ -637,6 +789,7 @@ class CfnProfileProps:
637
789
  *,
638
790
  name: builtins.str,
639
791
  role_arns: typing.Sequence[builtins.str],
792
+ attribute_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProfile.AttributeMappingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
640
793
  duration_seconds: typing.Optional[jsii.Number] = None,
641
794
  enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
642
795
  managed_policy_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -648,6 +801,7 @@ class CfnProfileProps:
648
801
 
649
802
  :param name: The customer specified name of the resource.
650
803
  :param role_arns: A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
804
+ :param attribute_mappings:
651
805
  :param duration_seconds: The number of seconds vended session credentials will be valid for.
652
806
  :param enabled: The enabled status of the resource.
653
807
  :param managed_policy_arns: A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
@@ -669,6 +823,12 @@ class CfnProfileProps:
669
823
  role_arns=["roleArns"],
670
824
 
671
825
  # the properties below are optional
826
+ attribute_mappings=[rolesanywhere.CfnProfile.AttributeMappingProperty(
827
+ certificate_field="certificateField",
828
+ mapping_rules=[rolesanywhere.CfnProfile.MappingRuleProperty(
829
+ specifier="specifier"
830
+ )]
831
+ )],
672
832
  duration_seconds=123,
673
833
  enabled=False,
674
834
  managed_policy_arns=["managedPolicyArns"],
@@ -684,6 +844,7 @@ class CfnProfileProps:
684
844
  type_hints = typing.get_type_hints(_typecheckingstub__cc8a99a4d25c139ca779820c498d07ef2292a040188712d06b21830cb9c3d764)
685
845
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
686
846
  check_type(argname="argument role_arns", value=role_arns, expected_type=type_hints["role_arns"])
847
+ check_type(argname="argument attribute_mappings", value=attribute_mappings, expected_type=type_hints["attribute_mappings"])
687
848
  check_type(argname="argument duration_seconds", value=duration_seconds, expected_type=type_hints["duration_seconds"])
688
849
  check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
689
850
  check_type(argname="argument managed_policy_arns", value=managed_policy_arns, expected_type=type_hints["managed_policy_arns"])
@@ -694,6 +855,8 @@ class CfnProfileProps:
694
855
  "name": name,
695
856
  "role_arns": role_arns,
696
857
  }
858
+ if attribute_mappings is not None:
859
+ self._values["attribute_mappings"] = attribute_mappings
697
860
  if duration_seconds is not None:
698
861
  self._values["duration_seconds"] = duration_seconds
699
862
  if enabled is not None:
@@ -727,6 +890,16 @@ class CfnProfileProps:
727
890
  assert result is not None, "Required property 'role_arns' is missing"
728
891
  return typing.cast(typing.List[builtins.str], result)
729
892
 
893
+ @builtins.property
894
+ def attribute_mappings(
895
+ self,
896
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnProfile.AttributeMappingProperty]]]]:
897
+ '''
898
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-attributemappings
899
+ '''
900
+ result = self._values.get("attribute_mappings")
901
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnProfile.AttributeMappingProperty]]]], result)
902
+
730
903
  @builtins.property
731
904
  def duration_seconds(self) -> typing.Optional[jsii.Number]:
732
905
  '''The number of seconds vended session credentials will be valid for.
@@ -1520,6 +1693,7 @@ def _typecheckingstub__15739ec913066dea67815f6297a7c4e3ed351b4df22323a7b46fa138a
1520
1693
  *,
1521
1694
  name: builtins.str,
1522
1695
  role_arns: typing.Sequence[builtins.str],
1696
+ attribute_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProfile.AttributeMappingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
1523
1697
  duration_seconds: typing.Optional[jsii.Number] = None,
1524
1698
  enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1525
1699
  managed_policy_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -1554,6 +1728,12 @@ def _typecheckingstub__e8d24089a88ab86238c5340434a58996a10c5d047049180f8bfea3a52
1554
1728
  """Type checking stubs"""
1555
1729
  pass
1556
1730
 
1731
+ def _typecheckingstub__a933bc8a589ca2e29de261062eefb4537f3f9eee0b743f26a28b8b55ea20b163(
1732
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnProfile.AttributeMappingProperty]]]],
1733
+ ) -> None:
1734
+ """Type checking stubs"""
1735
+ pass
1736
+
1557
1737
  def _typecheckingstub__c198b2977e47134c474ca242dadf9d96676c95614df55d34d80a89658dbb1f75(
1558
1738
  value: typing.Optional[jsii.Number],
1559
1739
  ) -> None:
@@ -1590,10 +1770,26 @@ def _typecheckingstub__99305adebaa684e99f5f2849196087f9cc1788f2b87af7300c436a0fe
1590
1770
  """Type checking stubs"""
1591
1771
  pass
1592
1772
 
1773
+ def _typecheckingstub__05d62dd9516ef6f649bf3b5d657cdfc92e568e217f35731a999cfd15f5b4f68e(
1774
+ *,
1775
+ certificate_field: builtins.str,
1776
+ mapping_rules: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProfile.MappingRuleProperty, typing.Dict[builtins.str, typing.Any]]]]],
1777
+ ) -> None:
1778
+ """Type checking stubs"""
1779
+ pass
1780
+
1781
+ def _typecheckingstub__7422c94323a807bff6335911405b595c6b214c6864553b5fe25c6dac4b8d588d(
1782
+ *,
1783
+ specifier: builtins.str,
1784
+ ) -> None:
1785
+ """Type checking stubs"""
1786
+ pass
1787
+
1593
1788
  def _typecheckingstub__cc8a99a4d25c139ca779820c498d07ef2292a040188712d06b21830cb9c3d764(
1594
1789
  *,
1595
1790
  name: builtins.str,
1596
1791
  role_arns: typing.Sequence[builtins.str],
1792
+ attribute_mappings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnProfile.AttributeMappingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
1597
1793
  duration_seconds: typing.Optional[jsii.Number] = None,
1598
1794
  enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1599
1795
  managed_policy_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -321,7 +321,7 @@ delegation_role = iam.Role.from_role_arn(self, "DelegationRole", delegation_role
321
321
 
322
322
  # create the record
323
323
  route53.CrossAccountZoneDelegationRecord(self, "delegate",
324
- delegated_zone=sub_zone,
324
+ delegated_zone=sub_zone, # Note that an imported HostedZone is not supported as Name Servers info will not be available
325
325
  parent_hosted_zone_name="someexample.com", # or you can use parentHostedZoneId
326
326
  delegation_role=delegation_role
327
327
  )
@@ -6201,7 +6201,7 @@ class CrossAccountZoneDelegationRecord(
6201
6201
 
6202
6202
  # create the record
6203
6203
  route53.CrossAccountZoneDelegationRecord(self, "delegate",
6204
- delegated_zone=sub_zone,
6204
+ delegated_zone=sub_zone, # Note that an imported HostedZone is not supported as Name Servers info will not be available
6205
6205
  parent_hosted_zone_name="someexample.com", # or you can use parentHostedZoneId
6206
6206
  delegation_role=delegation_role
6207
6207
  )
@@ -6303,7 +6303,7 @@ class CrossAccountZoneDelegationRecordProps:
6303
6303
 
6304
6304
  # create the record
6305
6305
  route53.CrossAccountZoneDelegationRecord(self, "delegate",
6306
- delegated_zone=sub_zone,
6306
+ delegated_zone=sub_zone, # Note that an imported HostedZone is not supported as Name Servers info will not be available
6307
6307
  parent_hosted_zone_name="someexample.com", # or you can use parentHostedZoneId
6308
6308
  delegation_role=delegation_role
6309
6309
  )