aws-cdk-lib 2.194.0__py3-none-any.whl → 2.196.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 (108) hide show
  1. aws_cdk/__init__.py +435 -20
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.194.0.jsii.tgz → aws-cdk-lib@2.196.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amazonmq/__init__.py +2 -2
  6. aws_cdk/aws_apigateway/__init__.py +208 -70
  7. aws_cdk/aws_apigatewayv2/__init__.py +155 -24
  8. aws_cdk/aws_appconfig/__init__.py +24 -0
  9. aws_cdk/aws_applicationautoscaling/__init__.py +6 -0
  10. aws_cdk/aws_appmesh/__init__.py +42 -0
  11. aws_cdk/aws_appsync/__init__.py +92 -20
  12. aws_cdk/aws_autoscaling/__init__.py +24 -0
  13. aws_cdk/aws_backup/__init__.py +53 -14
  14. aws_cdk/aws_batch/__init__.py +72 -0
  15. aws_cdk/aws_bedrock/__init__.py +1201 -18
  16. aws_cdk/aws_budgets/__init__.py +569 -0
  17. aws_cdk/aws_certificatemanager/__init__.py +21 -0
  18. aws_cdk/aws_chatbot/__init__.py +6 -0
  19. aws_cdk/aws_cloudfront/__init__.py +277 -120
  20. aws_cdk/aws_cloudfront/experimental/__init__.py +6 -0
  21. aws_cdk/aws_cloudtrail/__init__.py +6 -0
  22. aws_cdk/aws_cloudwatch/__init__.py +18 -0
  23. aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
  24. aws_cdk/aws_codebuild/__init__.py +48 -0
  25. aws_cdk/aws_codecommit/__init__.py +6 -0
  26. aws_cdk/aws_codedeploy/__init__.py +63 -0
  27. aws_cdk/aws_codeguruprofiler/__init__.py +6 -0
  28. aws_cdk/aws_codepipeline/__init__.py +114 -0
  29. aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
  30. aws_cdk/aws_codestarnotifications/__init__.py +6 -0
  31. aws_cdk/aws_cognito/__init__.py +215 -10
  32. aws_cdk/aws_cognito_identitypool/__init__.py +6 -0
  33. aws_cdk/aws_config/__init__.py +36 -0
  34. aws_cdk/aws_datazone/__init__.py +1013 -100
  35. aws_cdk/aws_docdb/__init__.py +27 -3
  36. aws_cdk/aws_dsql/__init__.py +29 -12
  37. aws_cdk/aws_dynamodb/__init__.py +25 -11
  38. aws_cdk/aws_ec2/__init__.py +408 -23
  39. aws_cdk/aws_ecr/__init__.py +22 -14
  40. aws_cdk/aws_ecr_assets/__init__.py +6 -0
  41. aws_cdk/aws_ecs/__init__.py +116 -34
  42. aws_cdk/aws_ecs_patterns/__init__.py +58 -0
  43. aws_cdk/aws_efs/__init__.py +12 -0
  44. aws_cdk/aws_eks/__init__.py +42 -0
  45. aws_cdk/aws_elasticloadbalancing/__init__.py +6 -0
  46. aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -9
  47. aws_cdk/aws_elasticsearch/__init__.py +9 -0
  48. aws_cdk/aws_events/__init__.py +36 -0
  49. aws_cdk/aws_events_targets/__init__.py +10 -10
  50. aws_cdk/aws_fsx/__init__.py +8 -3
  51. aws_cdk/aws_globalaccelerator/__init__.py +18 -0
  52. aws_cdk/aws_iam/__init__.py +66 -0
  53. aws_cdk/aws_imagebuilder/__init__.py +181 -26
  54. aws_cdk/aws_inspector/__init__.py +6 -0
  55. aws_cdk/aws_kinesis/__init__.py +19 -1
  56. aws_cdk/aws_kinesisanalytics/__init__.py +7 -7
  57. aws_cdk/aws_kinesisanalyticsv2/__init__.py +7 -7
  58. aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
  59. aws_cdk/aws_kms/__init__.py +16 -4
  60. aws_cdk/aws_lambda/__init__.py +76 -6
  61. aws_cdk/aws_lambda_nodejs/__init__.py +6 -0
  62. aws_cdk/aws_logs/__init__.py +155 -12
  63. aws_cdk/aws_medialive/__init__.py +4 -6
  64. aws_cdk/aws_mediatailor/__init__.py +115 -0
  65. aws_cdk/aws_oam/__init__.py +43 -10
  66. aws_cdk/aws_opensearchservice/__init__.py +12 -0
  67. aws_cdk/aws_qbusiness/__init__.py +2 -2
  68. aws_cdk/aws_quicksight/__init__.py +22 -22
  69. aws_cdk/aws_rds/__init__.py +347 -36
  70. aws_cdk/aws_redshiftserverless/__init__.py +7 -7
  71. aws_cdk/aws_route53/__init__.py +735 -33
  72. aws_cdk/aws_route53_targets/__init__.py +62 -1
  73. aws_cdk/aws_route53profiles/__init__.py +1 -1
  74. aws_cdk/aws_s3/__init__.py +37 -10
  75. aws_cdk/aws_s3_deployment/__init__.py +6 -0
  76. aws_cdk/aws_s3_notifications/__init__.py +5 -5
  77. aws_cdk/aws_sagemaker/__init__.py +452 -8
  78. aws_cdk/aws_scheduler/__init__.py +12 -0
  79. aws_cdk/aws_secretsmanager/__init__.py +24 -0
  80. aws_cdk/aws_servicecatalog/__init__.py +24 -0
  81. aws_cdk/aws_servicediscovery/__init__.py +48 -0
  82. aws_cdk/aws_ses/__init__.py +133 -33
  83. aws_cdk/aws_signer/__init__.py +6 -0
  84. aws_cdk/aws_sns/__init__.py +18 -0
  85. aws_cdk/aws_sns_subscriptions/__init__.py +6 -0
  86. aws_cdk/aws_sqs/__init__.py +12 -0
  87. aws_cdk/aws_ssm/__init__.py +12 -0
  88. aws_cdk/aws_ssmcontacts/__init__.py +53 -2
  89. aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
  90. aws_cdk/aws_stepfunctions/__init__.py +153 -7
  91. aws_cdk/aws_stepfunctions_tasks/__init__.py +46 -10
  92. aws_cdk/aws_synthetics/__init__.py +32 -0
  93. aws_cdk/aws_verifiedpermissions/__init__.py +168 -3
  94. aws_cdk/aws_vpclattice/__init__.py +3 -1
  95. aws_cdk/aws_wisdom/__init__.py +6 -4
  96. aws_cdk/cloud_assembly_schema/__init__.py +7 -1
  97. aws_cdk/custom_resources/__init__.py +18 -0
  98. aws_cdk/cx_api/__init__.py +33 -0
  99. aws_cdk/lambda_layer_awscli/__init__.py +6 -0
  100. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
  101. aws_cdk/pipelines/__init__.py +10 -10
  102. aws_cdk/triggers/__init__.py +6 -0
  103. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/METADATA +84 -6
  104. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/RECORD +108 -107
  105. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/LICENSE +0 -0
  106. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/NOTICE +0 -0
  107. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/WHEEL +0 -0
  108. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/top_level.txt +0 -0
@@ -210,7 +210,54 @@ route53.ARecord(self, "ARecordMultiValue1",
210
210
  )
211
211
  ```
212
212
 
213
- To specify a unique identifier to differentiate among multiple resource record sets that have the same combination of name and type, use the `setIdentifier` parameter:
213
+ To enable [IP-based routing](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy-ipbased.html), use the `cidrRoutingConfig` parameter:
214
+
215
+ ```python
216
+ # my_zone: route53.HostedZone
217
+
218
+
219
+ cidr_collection = route53.CfnCidrCollection(self, "CidrCollection",
220
+ name="test-collection",
221
+ locations=[route53.CfnCidrCollection.LocationProperty(
222
+ cidr_list=["192.168.1.0/24"],
223
+ location_name="my_location"
224
+ )]
225
+ )
226
+
227
+ route53.ARecord(self, "CidrRoutingConfig",
228
+ zone=my_zone,
229
+ target=route53.RecordTarget.from_ip_addresses("1.2.3.4"),
230
+ set_identifier="test",
231
+ cidr_routing_config=route53.CidrRoutingConfig.create(
232
+ collection_id=cidr_collection.attr_id,
233
+ location_name="test_location"
234
+ )
235
+ )
236
+ ```
237
+
238
+ To use the default CIDR record, call the `route53.CidrRoutingConfig.default`. This sets the `locationName` to `*`. The `collectionId` is still required.
239
+
240
+ ```python
241
+ # my_zone: route53.HostedZone
242
+
243
+
244
+ cidr_collection = route53.CfnCidrCollection(self, "CidrCollection",
245
+ name="test-collection",
246
+ locations=[route53.CfnCidrCollection.LocationProperty(
247
+ cidr_list=["192.168.1.0/24"],
248
+ location_name="my_location"
249
+ )]
250
+ )
251
+
252
+ route53.ARecord(self, "DefaultCidrRoutingConfig",
253
+ zone=my_zone,
254
+ target=route53.RecordTarget.from_ip_addresses("5.6.7.8"),
255
+ set_identifier="default",
256
+ cidr_routing_config=route53.CidrRoutingConfig.with_default_location_name(cidr_collection.attr_id)
257
+ )
258
+ ```
259
+
260
+ To specify a unique identifier to differentiate among multiple resource record sets that have the same combination of name and type, use the `setIdentifier` parameter:
214
261
 
215
262
  ```python
216
263
  # my_zone: route53.HostedZone
@@ -868,23 +915,30 @@ class CfnCidrCollection(
868
915
 
869
916
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-cidrcollection.html
870
917
  :cloudformationResource: AWS::Route53::CidrCollection
871
- :exampleMetadata: fixture=_generated
918
+ :exampleMetadata: infused
872
919
 
873
920
  Example::
874
921
 
875
- # The code below shows an example of how to instantiate this type.
876
- # The values are placeholders you should change.
877
- from aws_cdk import aws_route53 as route53
922
+ # my_zone: route53.HostedZone
878
923
 
879
- cfn_cidr_collection = route53.CfnCidrCollection(self, "MyCfnCidrCollection",
880
- name="name",
881
924
 
882
- # the properties below are optional
925
+ cidr_collection = route53.CfnCidrCollection(self, "CidrCollection",
926
+ name="test-collection",
883
927
  locations=[route53.CfnCidrCollection.LocationProperty(
884
- cidr_list=["cidrList"],
885
- location_name="locationName"
928
+ cidr_list=["192.168.1.0/24"],
929
+ location_name="my_location"
886
930
  )]
887
931
  )
932
+
933
+ route53.ARecord(self, "CidrRoutingConfig",
934
+ zone=my_zone,
935
+ target=route53.RecordTarget.from_ip_addresses("1.2.3.4"),
936
+ set_identifier="test",
937
+ cidr_routing_config=route53.CidrRoutingConfig.create(
938
+ collection_id=cidr_collection.attr_id,
939
+ location_name="test_location"
940
+ )
941
+ )
888
942
  '''
889
943
 
890
944
  def __init__(
@@ -1083,23 +1137,30 @@ class CfnCidrCollectionProps:
1083
1137
  :param locations: A complex type that contains information about the list of CIDR locations.
1084
1138
 
1085
1139
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-cidrcollection.html
1086
- :exampleMetadata: fixture=_generated
1140
+ :exampleMetadata: infused
1087
1141
 
1088
1142
  Example::
1089
1143
 
1090
- # The code below shows an example of how to instantiate this type.
1091
- # The values are placeholders you should change.
1092
- from aws_cdk import aws_route53 as route53
1144
+ # my_zone: route53.HostedZone
1093
1145
 
1094
- cfn_cidr_collection_props = route53.CfnCidrCollectionProps(
1095
- name="name",
1096
1146
 
1097
- # the properties below are optional
1147
+ cidr_collection = route53.CfnCidrCollection(self, "CidrCollection",
1148
+ name="test-collection",
1098
1149
  locations=[route53.CfnCidrCollection.LocationProperty(
1099
- cidr_list=["cidrList"],
1100
- location_name="locationName"
1150
+ cidr_list=["192.168.1.0/24"],
1151
+ location_name="my_location"
1101
1152
  )]
1102
1153
  )
1154
+
1155
+ route53.ARecord(self, "CidrRoutingConfig",
1156
+ zone=my_zone,
1157
+ target=route53.RecordTarget.from_ip_addresses("1.2.3.4"),
1158
+ set_identifier="test",
1159
+ cidr_routing_config=route53.CidrRoutingConfig.create(
1160
+ collection_id=cidr_collection.attr_id,
1161
+ location_name="test_location"
1162
+ )
1163
+ )
1103
1164
  '''
1104
1165
  if __debug__:
1105
1166
  type_hints = typing.get_type_hints(_typecheckingstub__24748dfd73812a9d4b13a11033c37a21e1e477a613964e42f30b373347e6bd62)
@@ -6150,6 +6211,170 @@ class CfnRecordSetProps:
6150
6211
  )
6151
6212
 
6152
6213
 
6214
+ class CidrRoutingConfig(
6215
+ metaclass=jsii.JSIIMeta,
6216
+ jsii_type="aws-cdk-lib.aws_route53.CidrRoutingConfig",
6217
+ ):
6218
+ '''Configuration for CIDR routing in Route 53 resource record set objects.
6219
+
6220
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
6221
+ :exampleMetadata: infused
6222
+
6223
+ Example::
6224
+
6225
+ # my_zone: route53.HostedZone
6226
+
6227
+
6228
+ cidr_collection = route53.CfnCidrCollection(self, "CidrCollection",
6229
+ name="test-collection",
6230
+ locations=[route53.CfnCidrCollection.LocationProperty(
6231
+ cidr_list=["192.168.1.0/24"],
6232
+ location_name="my_location"
6233
+ )]
6234
+ )
6235
+
6236
+ route53.ARecord(self, "CidrRoutingConfig",
6237
+ zone=my_zone,
6238
+ target=route53.RecordTarget.from_ip_addresses("1.2.3.4"),
6239
+ set_identifier="test",
6240
+ cidr_routing_config=route53.CidrRoutingConfig.create(
6241
+ collection_id=cidr_collection.attr_id,
6242
+ location_name="test_location"
6243
+ )
6244
+ )
6245
+ '''
6246
+
6247
+ @jsii.member(jsii_name="create")
6248
+ @builtins.classmethod
6249
+ def create(
6250
+ cls,
6251
+ *,
6252
+ collection_id: builtins.str,
6253
+ location_name: typing.Optional[builtins.str] = None,
6254
+ ) -> "CidrRoutingConfig":
6255
+ '''Creates a new instance of CidrRoutingConfig.
6256
+
6257
+ :param collection_id: The CIDR collection ID.
6258
+ :param location_name: The CIDR collection location name. Default: ``*``
6259
+ '''
6260
+ props = CidrRoutingConfigProps(
6261
+ collection_id=collection_id, location_name=location_name
6262
+ )
6263
+
6264
+ return typing.cast("CidrRoutingConfig", jsii.sinvoke(cls, "create", [props]))
6265
+
6266
+ @jsii.member(jsii_name="withDefaultLocationName")
6267
+ @builtins.classmethod
6268
+ def with_default_location_name(
6269
+ cls,
6270
+ collection_id: builtins.str,
6271
+ ) -> "CidrRoutingConfig":
6272
+ '''Creates a new instance of CidrRoutingConfig for default CIDR record.
6273
+
6274
+ This method defines the locationName as ``*``.
6275
+
6276
+ :param collection_id: The CIDR collection ID.
6277
+
6278
+ :return: A new instance of CidrRoutingConfig with the default location name as ``*``.
6279
+ '''
6280
+ if __debug__:
6281
+ type_hints = typing.get_type_hints(_typecheckingstub__1b3062acaf063c194e911820073130a65424f55f49053b79198d7fc79931f82d)
6282
+ check_type(argname="argument collection_id", value=collection_id, expected_type=type_hints["collection_id"])
6283
+ return typing.cast("CidrRoutingConfig", jsii.sinvoke(cls, "withDefaultLocationName", [collection_id]))
6284
+
6285
+ @builtins.property
6286
+ @jsii.member(jsii_name="collectionId")
6287
+ def collection_id(self) -> builtins.str:
6288
+ '''The CIDR collection ID.'''
6289
+ return typing.cast(builtins.str, jsii.get(self, "collectionId"))
6290
+
6291
+ @builtins.property
6292
+ @jsii.member(jsii_name="locationName")
6293
+ def location_name(self) -> builtins.str:
6294
+ '''The CIDR collection location name.'''
6295
+ return typing.cast(builtins.str, jsii.get(self, "locationName"))
6296
+
6297
+
6298
+ @jsii.data_type(
6299
+ jsii_type="aws-cdk-lib.aws_route53.CidrRoutingConfigProps",
6300
+ jsii_struct_bases=[],
6301
+ name_mapping={"collection_id": "collectionId", "location_name": "locationName"},
6302
+ )
6303
+ class CidrRoutingConfigProps:
6304
+ def __init__(
6305
+ self,
6306
+ *,
6307
+ collection_id: builtins.str,
6308
+ location_name: typing.Optional[builtins.str] = None,
6309
+ ) -> None:
6310
+ '''Properties for configuring CIDR routing in Route 53 resource record set objects.
6311
+
6312
+ :param collection_id: The CIDR collection ID.
6313
+ :param location_name: The CIDR collection location name. Default: ``*``
6314
+
6315
+ :exampleMetadata: infused
6316
+
6317
+ Example::
6318
+
6319
+ # my_zone: route53.HostedZone
6320
+
6321
+
6322
+ cidr_collection = route53.CfnCidrCollection(self, "CidrCollection",
6323
+ name="test-collection",
6324
+ locations=[route53.CfnCidrCollection.LocationProperty(
6325
+ cidr_list=["192.168.1.0/24"],
6326
+ location_name="my_location"
6327
+ )]
6328
+ )
6329
+
6330
+ route53.ARecord(self, "CidrRoutingConfig",
6331
+ zone=my_zone,
6332
+ target=route53.RecordTarget.from_ip_addresses("1.2.3.4"),
6333
+ set_identifier="test",
6334
+ cidr_routing_config=route53.CidrRoutingConfig.create(
6335
+ collection_id=cidr_collection.attr_id,
6336
+ location_name="test_location"
6337
+ )
6338
+ )
6339
+ '''
6340
+ if __debug__:
6341
+ type_hints = typing.get_type_hints(_typecheckingstub__510f03d6221534b2d6d0a4bda86f20f5ff3efa07a26a50f14673b2b5b5e13a0a)
6342
+ check_type(argname="argument collection_id", value=collection_id, expected_type=type_hints["collection_id"])
6343
+ check_type(argname="argument location_name", value=location_name, expected_type=type_hints["location_name"])
6344
+ self._values: typing.Dict[builtins.str, typing.Any] = {
6345
+ "collection_id": collection_id,
6346
+ }
6347
+ if location_name is not None:
6348
+ self._values["location_name"] = location_name
6349
+
6350
+ @builtins.property
6351
+ def collection_id(self) -> builtins.str:
6352
+ '''The CIDR collection ID.'''
6353
+ result = self._values.get("collection_id")
6354
+ assert result is not None, "Required property 'collection_id' is missing"
6355
+ return typing.cast(builtins.str, result)
6356
+
6357
+ @builtins.property
6358
+ def location_name(self) -> typing.Optional[builtins.str]:
6359
+ '''The CIDR collection location name.
6360
+
6361
+ :default: ``*``
6362
+ '''
6363
+ result = self._values.get("location_name")
6364
+ return typing.cast(typing.Optional[builtins.str], result)
6365
+
6366
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
6367
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
6368
+
6369
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
6370
+ return not (rhs == self)
6371
+
6372
+ def __repr__(self) -> str:
6373
+ return "CidrRoutingConfigProps(%s)" % ", ".join(
6374
+ k + "=" + repr(v) for k, v in self._values.items()
6375
+ )
6376
+
6377
+
6153
6378
  @jsii.data_type(
6154
6379
  jsii_type="aws-cdk-lib.aws_route53.CommonHostedZoneProps",
6155
6380
  jsii_struct_bases=[],
@@ -7823,6 +8048,12 @@ class KeySigningKey(
7823
8048
 
7824
8049
  return typing.cast(IKeySigningKey, jsii.sinvoke(cls, "fromKeySigningKeyAttributes", [scope, id, attrs]))
7825
8050
 
8051
+ @jsii.python.classproperty
8052
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
8053
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
8054
+ '''Uniquely identifies this class.'''
8055
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
8056
+
7826
8057
  @builtins.property
7827
8058
  @jsii.member(jsii_name="hostedZone")
7828
8059
  def hosted_zone(self) -> IHostedZone:
@@ -8514,6 +8745,7 @@ class RecordSet(
8514
8745
  import aws_cdk as cdk
8515
8746
  from aws_cdk import aws_route53 as route53
8516
8747
 
8748
+ # cidr_routing_config: route53.CidrRoutingConfig
8517
8749
  # geo_location: route53.GeoLocation
8518
8750
  # health_check: route53.HealthCheck
8519
8751
  # hosted_zone: route53.HostedZone
@@ -8525,6 +8757,7 @@ class RecordSet(
8525
8757
  zone=hosted_zone,
8526
8758
 
8527
8759
  # the properties below are optional
8760
+ cidr_routing_config=cidr_routing_config,
8528
8761
  comment="comment",
8529
8762
  delete_existing=False,
8530
8763
  geo_location=geo_location,
@@ -8546,6 +8779,7 @@ class RecordSet(
8546
8779
  record_type: "RecordType",
8547
8780
  target: "RecordTarget",
8548
8781
  zone: IHostedZone,
8782
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
8549
8783
  comment: typing.Optional[builtins.str] = None,
8550
8784
  delete_existing: typing.Optional[builtins.bool] = None,
8551
8785
  geo_location: typing.Optional[GeoLocation] = None,
@@ -8563,6 +8797,7 @@ class RecordSet(
8563
8797
  :param record_type: The record type.
8564
8798
  :param target: The target for this record, either ``RecordTarget.fromValues()`` or ``RecordTarget.fromAlias()``.
8565
8799
  :param zone: The hosted zone in which to define the new record.
8800
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
8566
8801
  :param comment: A comment to add on the record. Default: no comment
8567
8802
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
8568
8803
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -8582,6 +8817,7 @@ class RecordSet(
8582
8817
  record_type=record_type,
8583
8818
  target=target,
8584
8819
  zone=zone,
8820
+ cidr_routing_config=cidr_routing_config,
8585
8821
  comment=comment,
8586
8822
  delete_existing=delete_existing,
8587
8823
  geo_location=geo_location,
@@ -8596,6 +8832,12 @@ class RecordSet(
8596
8832
 
8597
8833
  jsii.create(self.__class__, self, [scope, id, props])
8598
8834
 
8835
+ @jsii.python.classproperty
8836
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
8837
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
8838
+ '''Uniquely identifies this class.'''
8839
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
8840
+
8599
8841
  @builtins.property
8600
8842
  @jsii.member(jsii_name="domainName")
8601
8843
  def domain_name(self) -> builtins.str:
@@ -8608,6 +8850,7 @@ class RecordSet(
8608
8850
  jsii_struct_bases=[],
8609
8851
  name_mapping={
8610
8852
  "zone": "zone",
8853
+ "cidr_routing_config": "cidrRoutingConfig",
8611
8854
  "comment": "comment",
8612
8855
  "delete_existing": "deleteExisting",
8613
8856
  "geo_location": "geoLocation",
@@ -8625,6 +8868,7 @@ class RecordSetOptions:
8625
8868
  self,
8626
8869
  *,
8627
8870
  zone: IHostedZone,
8871
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
8628
8872
  comment: typing.Optional[builtins.str] = None,
8629
8873
  delete_existing: typing.Optional[builtins.bool] = None,
8630
8874
  geo_location: typing.Optional[GeoLocation] = None,
@@ -8639,6 +8883,7 @@ class RecordSetOptions:
8639
8883
  '''Options for a RecordSet.
8640
8884
 
8641
8885
  :param zone: The hosted zone in which to define the new record.
8886
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
8642
8887
  :param comment: A comment to add on the record. Default: no comment
8643
8888
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
8644
8889
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -8659,6 +8904,7 @@ class RecordSetOptions:
8659
8904
  import aws_cdk as cdk
8660
8905
  from aws_cdk import aws_route53 as route53
8661
8906
 
8907
+ # cidr_routing_config: route53.CidrRoutingConfig
8662
8908
  # geo_location: route53.GeoLocation
8663
8909
  # health_check: route53.HealthCheck
8664
8910
  # hosted_zone: route53.HostedZone
@@ -8667,6 +8913,7 @@ class RecordSetOptions:
8667
8913
  zone=hosted_zone,
8668
8914
 
8669
8915
  # the properties below are optional
8916
+ cidr_routing_config=cidr_routing_config,
8670
8917
  comment="comment",
8671
8918
  delete_existing=False,
8672
8919
  geo_location=geo_location,
@@ -8682,6 +8929,7 @@ class RecordSetOptions:
8682
8929
  if __debug__:
8683
8930
  type_hints = typing.get_type_hints(_typecheckingstub__c44f39638a001e90bc1175667e4764c4cbde27cade202d52a4f4d87246c57781)
8684
8931
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
8932
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
8685
8933
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
8686
8934
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
8687
8935
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -8695,6 +8943,8 @@ class RecordSetOptions:
8695
8943
  self._values: typing.Dict[builtins.str, typing.Any] = {
8696
8944
  "zone": zone,
8697
8945
  }
8946
+ if cidr_routing_config is not None:
8947
+ self._values["cidr_routing_config"] = cidr_routing_config
8698
8948
  if comment is not None:
8699
8949
  self._values["comment"] = comment
8700
8950
  if delete_existing is not None:
@@ -8723,6 +8973,19 @@ class RecordSetOptions:
8723
8973
  assert result is not None, "Required property 'zone' is missing"
8724
8974
  return typing.cast(IHostedZone, result)
8725
8975
 
8976
+ @builtins.property
8977
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
8978
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
8979
+
8980
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
8981
+
8982
+ :default: - No CIDR routing configured
8983
+
8984
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
8985
+ '''
8986
+ result = self._values.get("cidr_routing_config")
8987
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
8988
+
8726
8989
  @builtins.property
8727
8990
  def comment(self) -> typing.Optional[builtins.str]:
8728
8991
  '''A comment to add on the record.
@@ -8865,6 +9128,7 @@ class RecordSetOptions:
8865
9128
  jsii_struct_bases=[RecordSetOptions],
8866
9129
  name_mapping={
8867
9130
  "zone": "zone",
9131
+ "cidr_routing_config": "cidrRoutingConfig",
8868
9132
  "comment": "comment",
8869
9133
  "delete_existing": "deleteExisting",
8870
9134
  "geo_location": "geoLocation",
@@ -8884,6 +9148,7 @@ class RecordSetProps(RecordSetOptions):
8884
9148
  self,
8885
9149
  *,
8886
9150
  zone: IHostedZone,
9151
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
8887
9152
  comment: typing.Optional[builtins.str] = None,
8888
9153
  delete_existing: typing.Optional[builtins.bool] = None,
8889
9154
  geo_location: typing.Optional[GeoLocation] = None,
@@ -8900,6 +9165,7 @@ class RecordSetProps(RecordSetOptions):
8900
9165
  '''Construction properties for a RecordSet.
8901
9166
 
8902
9167
  :param zone: The hosted zone in which to define the new record.
9168
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
8903
9169
  :param comment: A comment to add on the record. Default: no comment
8904
9170
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
8905
9171
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -8922,6 +9188,7 @@ class RecordSetProps(RecordSetOptions):
8922
9188
  import aws_cdk as cdk
8923
9189
  from aws_cdk import aws_route53 as route53
8924
9190
 
9191
+ # cidr_routing_config: route53.CidrRoutingConfig
8925
9192
  # geo_location: route53.GeoLocation
8926
9193
  # health_check: route53.HealthCheck
8927
9194
  # hosted_zone: route53.HostedZone
@@ -8933,6 +9200,7 @@ class RecordSetProps(RecordSetOptions):
8933
9200
  zone=hosted_zone,
8934
9201
 
8935
9202
  # the properties below are optional
9203
+ cidr_routing_config=cidr_routing_config,
8936
9204
  comment="comment",
8937
9205
  delete_existing=False,
8938
9206
  geo_location=geo_location,
@@ -8948,6 +9216,7 @@ class RecordSetProps(RecordSetOptions):
8948
9216
  if __debug__:
8949
9217
  type_hints = typing.get_type_hints(_typecheckingstub__038200686c47ef30f81bc5289a6235e766372281295129670053b793d545dfca)
8950
9218
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
9219
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
8951
9220
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
8952
9221
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
8953
9222
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -8965,6 +9234,8 @@ class RecordSetProps(RecordSetOptions):
8965
9234
  "record_type": record_type,
8966
9235
  "target": target,
8967
9236
  }
9237
+ if cidr_routing_config is not None:
9238
+ self._values["cidr_routing_config"] = cidr_routing_config
8968
9239
  if comment is not None:
8969
9240
  self._values["comment"] = comment
8970
9241
  if delete_existing is not None:
@@ -8993,6 +9264,19 @@ class RecordSetProps(RecordSetOptions):
8993
9264
  assert result is not None, "Required property 'zone' is missing"
8994
9265
  return typing.cast(IHostedZone, result)
8995
9266
 
9267
+ @builtins.property
9268
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
9269
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
9270
+
9271
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
9272
+
9273
+ :default: - No CIDR routing configured
9274
+
9275
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
9276
+ '''
9277
+ result = self._values.get("cidr_routing_config")
9278
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
9279
+
8996
9280
  @builtins.property
8997
9281
  def comment(self) -> typing.Optional[builtins.str]:
8998
9282
  '''A comment to add on the record.
@@ -9154,14 +9438,15 @@ class RecordTarget(
9154
9438
 
9155
9439
  Example::
9156
9440
 
9157
- import aws_cdk.aws_cloudfront as cloudfront
9441
+ import aws_cdk.aws_apigatewayv2 as apigwv2
9158
9442
 
9159
- # my_zone: route53.HostedZone
9160
- # distribution: cloudfront.CloudFrontWebDistribution
9443
+ # zone: route53.HostedZone
9444
+ # domain_name: apigwv2.DomainName
9161
9445
 
9162
- route53.AaaaRecord(self, "Alias",
9163
- zone=my_zone,
9164
- target=route53.RecordTarget.from_alias(targets.CloudFrontTarget(distribution))
9446
+
9447
+ route53.ARecord(self, "AliasRecord",
9448
+ zone=zone,
9449
+ target=route53.RecordTarget.from_alias(targets.ApiGatewayv2DomainProperties(domain_name.regional_domain_name, domain_name.regional_hosted_zone_id))
9165
9450
  )
9166
9451
  '''
9167
9452
 
@@ -9352,6 +9637,7 @@ class SrvRecord(
9352
9637
  import aws_cdk as cdk
9353
9638
  from aws_cdk import aws_route53 as route53
9354
9639
 
9640
+ # cidr_routing_config: route53.CidrRoutingConfig
9355
9641
  # geo_location: route53.GeoLocation
9356
9642
  # health_check: route53.HealthCheck
9357
9643
  # hosted_zone: route53.HostedZone
@@ -9366,6 +9652,7 @@ class SrvRecord(
9366
9652
  zone=hosted_zone,
9367
9653
 
9368
9654
  # the properties below are optional
9655
+ cidr_routing_config=cidr_routing_config,
9369
9656
  comment="comment",
9370
9657
  delete_existing=False,
9371
9658
  geo_location=geo_location,
@@ -9386,6 +9673,7 @@ class SrvRecord(
9386
9673
  *,
9387
9674
  values: typing.Sequence[typing.Union["SrvRecordValue", typing.Dict[builtins.str, typing.Any]]],
9388
9675
  zone: IHostedZone,
9676
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
9389
9677
  comment: typing.Optional[builtins.str] = None,
9390
9678
  delete_existing: typing.Optional[builtins.bool] = None,
9391
9679
  geo_location: typing.Optional[GeoLocation] = None,
@@ -9402,6 +9690,7 @@ class SrvRecord(
9402
9690
  :param id: -
9403
9691
  :param values: The values.
9404
9692
  :param zone: The hosted zone in which to define the new record.
9693
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
9405
9694
  :param comment: A comment to add on the record. Default: no comment
9406
9695
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
9407
9696
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -9420,6 +9709,7 @@ class SrvRecord(
9420
9709
  props = SrvRecordProps(
9421
9710
  values=values,
9422
9711
  zone=zone,
9712
+ cidr_routing_config=cidr_routing_config,
9423
9713
  comment=comment,
9424
9714
  delete_existing=delete_existing,
9425
9715
  geo_location=geo_location,
@@ -9434,12 +9724,19 @@ class SrvRecord(
9434
9724
 
9435
9725
  jsii.create(self.__class__, self, [scope, id, props])
9436
9726
 
9727
+ @jsii.python.classproperty
9728
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
9729
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
9730
+ '''Uniquely identifies this class.'''
9731
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
9732
+
9437
9733
 
9438
9734
  @jsii.data_type(
9439
9735
  jsii_type="aws-cdk-lib.aws_route53.SrvRecordProps",
9440
9736
  jsii_struct_bases=[RecordSetOptions],
9441
9737
  name_mapping={
9442
9738
  "zone": "zone",
9739
+ "cidr_routing_config": "cidrRoutingConfig",
9443
9740
  "comment": "comment",
9444
9741
  "delete_existing": "deleteExisting",
9445
9742
  "geo_location": "geoLocation",
@@ -9458,6 +9755,7 @@ class SrvRecordProps(RecordSetOptions):
9458
9755
  self,
9459
9756
  *,
9460
9757
  zone: IHostedZone,
9758
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
9461
9759
  comment: typing.Optional[builtins.str] = None,
9462
9760
  delete_existing: typing.Optional[builtins.bool] = None,
9463
9761
  geo_location: typing.Optional[GeoLocation] = None,
@@ -9473,6 +9771,7 @@ class SrvRecordProps(RecordSetOptions):
9473
9771
  '''Construction properties for a SrvRecord.
9474
9772
 
9475
9773
  :param zone: The hosted zone in which to define the new record.
9774
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
9476
9775
  :param comment: A comment to add on the record. Default: no comment
9477
9776
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
9478
9777
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -9494,6 +9793,7 @@ class SrvRecordProps(RecordSetOptions):
9494
9793
  import aws_cdk as cdk
9495
9794
  from aws_cdk import aws_route53 as route53
9496
9795
 
9796
+ # cidr_routing_config: route53.CidrRoutingConfig
9497
9797
  # geo_location: route53.GeoLocation
9498
9798
  # health_check: route53.HealthCheck
9499
9799
  # hosted_zone: route53.HostedZone
@@ -9508,6 +9808,7 @@ class SrvRecordProps(RecordSetOptions):
9508
9808
  zone=hosted_zone,
9509
9809
 
9510
9810
  # the properties below are optional
9811
+ cidr_routing_config=cidr_routing_config,
9511
9812
  comment="comment",
9512
9813
  delete_existing=False,
9513
9814
  geo_location=geo_location,
@@ -9523,6 +9824,7 @@ class SrvRecordProps(RecordSetOptions):
9523
9824
  if __debug__:
9524
9825
  type_hints = typing.get_type_hints(_typecheckingstub__803828161f541995c058596dab53102f2eccd14ba565bbe715a5ac29353f6db9)
9525
9826
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
9827
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
9526
9828
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
9527
9829
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
9528
9830
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -9538,6 +9840,8 @@ class SrvRecordProps(RecordSetOptions):
9538
9840
  "zone": zone,
9539
9841
  "values": values,
9540
9842
  }
9843
+ if cidr_routing_config is not None:
9844
+ self._values["cidr_routing_config"] = cidr_routing_config
9541
9845
  if comment is not None:
9542
9846
  self._values["comment"] = comment
9543
9847
  if delete_existing is not None:
@@ -9566,6 +9870,19 @@ class SrvRecordProps(RecordSetOptions):
9566
9870
  assert result is not None, "Required property 'zone' is missing"
9567
9871
  return typing.cast(IHostedZone, result)
9568
9872
 
9873
+ @builtins.property
9874
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
9875
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
9876
+
9877
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
9878
+
9879
+ :default: - No CIDR routing configured
9880
+
9881
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
9882
+ '''
9883
+ result = self._values.get("cidr_routing_config")
9884
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
9885
+
9569
9886
  @builtins.property
9570
9887
  def comment(self) -> typing.Optional[builtins.str]:
9571
9888
  '''A comment to add on the record.
@@ -9837,6 +10154,7 @@ class TxtRecord(
9837
10154
  *,
9838
10155
  values: typing.Sequence[builtins.str],
9839
10156
  zone: IHostedZone,
10157
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
9840
10158
  comment: typing.Optional[builtins.str] = None,
9841
10159
  delete_existing: typing.Optional[builtins.bool] = None,
9842
10160
  geo_location: typing.Optional[GeoLocation] = None,
@@ -9853,6 +10171,7 @@ class TxtRecord(
9853
10171
  :param id: -
9854
10172
  :param values: The text values.
9855
10173
  :param zone: The hosted zone in which to define the new record.
10174
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
9856
10175
  :param comment: A comment to add on the record. Default: no comment
9857
10176
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
9858
10177
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -9871,6 +10190,7 @@ class TxtRecord(
9871
10190
  props = TxtRecordProps(
9872
10191
  values=values,
9873
10192
  zone=zone,
10193
+ cidr_routing_config=cidr_routing_config,
9874
10194
  comment=comment,
9875
10195
  delete_existing=delete_existing,
9876
10196
  geo_location=geo_location,
@@ -9885,12 +10205,19 @@ class TxtRecord(
9885
10205
 
9886
10206
  jsii.create(self.__class__, self, [scope, id, props])
9887
10207
 
10208
+ @jsii.python.classproperty
10209
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
10210
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
10211
+ '''Uniquely identifies this class.'''
10212
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
10213
+
9888
10214
 
9889
10215
  @jsii.data_type(
9890
10216
  jsii_type="aws-cdk-lib.aws_route53.TxtRecordProps",
9891
10217
  jsii_struct_bases=[RecordSetOptions],
9892
10218
  name_mapping={
9893
10219
  "zone": "zone",
10220
+ "cidr_routing_config": "cidrRoutingConfig",
9894
10221
  "comment": "comment",
9895
10222
  "delete_existing": "deleteExisting",
9896
10223
  "geo_location": "geoLocation",
@@ -9909,6 +10236,7 @@ class TxtRecordProps(RecordSetOptions):
9909
10236
  self,
9910
10237
  *,
9911
10238
  zone: IHostedZone,
10239
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
9912
10240
  comment: typing.Optional[builtins.str] = None,
9913
10241
  delete_existing: typing.Optional[builtins.bool] = None,
9914
10242
  geo_location: typing.Optional[GeoLocation] = None,
@@ -9924,6 +10252,7 @@ class TxtRecordProps(RecordSetOptions):
9924
10252
  '''Construction properties for a TxtRecord.
9925
10253
 
9926
10254
  :param zone: The hosted zone in which to define the new record.
10255
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
9927
10256
  :param comment: A comment to add on the record. Default: no comment
9928
10257
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
9929
10258
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -9956,6 +10285,7 @@ class TxtRecordProps(RecordSetOptions):
9956
10285
  if __debug__:
9957
10286
  type_hints = typing.get_type_hints(_typecheckingstub__1925dd23d881cbbf99625b9a5fe0ef65b92a92359376c46e49b6690f1a4a9dab)
9958
10287
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
10288
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
9959
10289
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
9960
10290
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
9961
10291
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -9971,6 +10301,8 @@ class TxtRecordProps(RecordSetOptions):
9971
10301
  "zone": zone,
9972
10302
  "values": values,
9973
10303
  }
10304
+ if cidr_routing_config is not None:
10305
+ self._values["cidr_routing_config"] = cidr_routing_config
9974
10306
  if comment is not None:
9975
10307
  self._values["comment"] = comment
9976
10308
  if delete_existing is not None:
@@ -9999,6 +10331,19 @@ class TxtRecordProps(RecordSetOptions):
9999
10331
  assert result is not None, "Required property 'zone' is missing"
10000
10332
  return typing.cast(IHostedZone, result)
10001
10333
 
10334
+ @builtins.property
10335
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
10336
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
10337
+
10338
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
10339
+
10340
+ :default: - No CIDR routing configured
10341
+
10342
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
10343
+ '''
10344
+ result = self._values.get("cidr_routing_config")
10345
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
10346
+
10002
10347
  @builtins.property
10003
10348
  def comment(self) -> typing.Optional[builtins.str]:
10004
10349
  '''A comment to add on the record.
@@ -10384,6 +10729,7 @@ class ZoneDelegationRecord(
10384
10729
  import aws_cdk as cdk
10385
10730
  from aws_cdk import aws_route53 as route53
10386
10731
 
10732
+ # cidr_routing_config: route53.CidrRoutingConfig
10387
10733
  # geo_location: route53.GeoLocation
10388
10734
  # health_check: route53.HealthCheck
10389
10735
  # hosted_zone: route53.HostedZone
@@ -10393,6 +10739,7 @@ class ZoneDelegationRecord(
10393
10739
  zone=hosted_zone,
10394
10740
 
10395
10741
  # the properties below are optional
10742
+ cidr_routing_config=cidr_routing_config,
10396
10743
  comment="comment",
10397
10744
  delete_existing=False,
10398
10745
  geo_location=geo_location,
@@ -10413,6 +10760,7 @@ class ZoneDelegationRecord(
10413
10760
  *,
10414
10761
  name_servers: typing.Sequence[builtins.str],
10415
10762
  zone: IHostedZone,
10763
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
10416
10764
  comment: typing.Optional[builtins.str] = None,
10417
10765
  delete_existing: typing.Optional[builtins.bool] = None,
10418
10766
  geo_location: typing.Optional[GeoLocation] = None,
@@ -10429,6 +10777,7 @@ class ZoneDelegationRecord(
10429
10777
  :param id: -
10430
10778
  :param name_servers: The name servers to report in the delegation records.
10431
10779
  :param zone: The hosted zone in which to define the new record.
10780
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
10432
10781
  :param comment: A comment to add on the record. Default: no comment
10433
10782
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
10434
10783
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -10447,6 +10796,7 @@ class ZoneDelegationRecord(
10447
10796
  props = ZoneDelegationRecordProps(
10448
10797
  name_servers=name_servers,
10449
10798
  zone=zone,
10799
+ cidr_routing_config=cidr_routing_config,
10450
10800
  comment=comment,
10451
10801
  delete_existing=delete_existing,
10452
10802
  geo_location=geo_location,
@@ -10461,12 +10811,19 @@ class ZoneDelegationRecord(
10461
10811
 
10462
10812
  jsii.create(self.__class__, self, [scope, id, props])
10463
10813
 
10814
+ @jsii.python.classproperty
10815
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
10816
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
10817
+ '''Uniquely identifies this class.'''
10818
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
10819
+
10464
10820
 
10465
10821
  @jsii.data_type(
10466
10822
  jsii_type="aws-cdk-lib.aws_route53.ZoneDelegationRecordProps",
10467
10823
  jsii_struct_bases=[RecordSetOptions],
10468
10824
  name_mapping={
10469
10825
  "zone": "zone",
10826
+ "cidr_routing_config": "cidrRoutingConfig",
10470
10827
  "comment": "comment",
10471
10828
  "delete_existing": "deleteExisting",
10472
10829
  "geo_location": "geoLocation",
@@ -10485,6 +10842,7 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10485
10842
  self,
10486
10843
  *,
10487
10844
  zone: IHostedZone,
10845
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
10488
10846
  comment: typing.Optional[builtins.str] = None,
10489
10847
  delete_existing: typing.Optional[builtins.bool] = None,
10490
10848
  geo_location: typing.Optional[GeoLocation] = None,
@@ -10500,6 +10858,7 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10500
10858
  '''Construction properties for a ZoneDelegationRecord.
10501
10859
 
10502
10860
  :param zone: The hosted zone in which to define the new record.
10861
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
10503
10862
  :param comment: A comment to add on the record. Default: no comment
10504
10863
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
10505
10864
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -10521,6 +10880,7 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10521
10880
  import aws_cdk as cdk
10522
10881
  from aws_cdk import aws_route53 as route53
10523
10882
 
10883
+ # cidr_routing_config: route53.CidrRoutingConfig
10524
10884
  # geo_location: route53.GeoLocation
10525
10885
  # health_check: route53.HealthCheck
10526
10886
  # hosted_zone: route53.HostedZone
@@ -10530,6 +10890,7 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10530
10890
  zone=hosted_zone,
10531
10891
 
10532
10892
  # the properties below are optional
10893
+ cidr_routing_config=cidr_routing_config,
10533
10894
  comment="comment",
10534
10895
  delete_existing=False,
10535
10896
  geo_location=geo_location,
@@ -10545,6 +10906,7 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10545
10906
  if __debug__:
10546
10907
  type_hints = typing.get_type_hints(_typecheckingstub__240a965753acb9488d02c120074027364f5e85a8ec585205a863174feadd7582)
10547
10908
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
10909
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
10548
10910
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
10549
10911
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
10550
10912
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -10560,6 +10922,8 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10560
10922
  "zone": zone,
10561
10923
  "name_servers": name_servers,
10562
10924
  }
10925
+ if cidr_routing_config is not None:
10926
+ self._values["cidr_routing_config"] = cidr_routing_config
10563
10927
  if comment is not None:
10564
10928
  self._values["comment"] = comment
10565
10929
  if delete_existing is not None:
@@ -10588,6 +10952,19 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10588
10952
  assert result is not None, "Required property 'zone' is missing"
10589
10953
  return typing.cast(IHostedZone, result)
10590
10954
 
10955
+ @builtins.property
10956
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
10957
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
10958
+
10959
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
10960
+
10961
+ :default: - No CIDR routing configured
10962
+
10963
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
10964
+ '''
10965
+ result = self._values.get("cidr_routing_config")
10966
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
10967
+
10591
10968
  @builtins.property
10592
10969
  def comment(self) -> typing.Optional[builtins.str]:
10593
10970
  '''A comment to add on the record.
@@ -10821,17 +11198,17 @@ class ARecord(
10821
11198
 
10822
11199
  Example::
10823
11200
 
10824
- import aws_cdk.aws_elasticloadbalancingv2 as elbv2
11201
+ from aws_cdk.region_info import RegionInfo
10825
11202
 
10826
11203
  # zone: route53.HostedZone
10827
- # lb: elbv2.ApplicationLoadBalancer
11204
+ # ebs_environment_url: str
10828
11205
 
10829
11206
 
10830
11207
  route53.ARecord(self, "AliasRecord",
10831
11208
  zone=zone,
10832
11209
  target=route53.RecordTarget.from_alias(
10833
- targets.LoadBalancerTarget(lb, {
10834
- "evaluate_target_health": True
11210
+ targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
11211
+ "hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
10835
11212
  }))
10836
11213
  )
10837
11214
  '''
@@ -10843,6 +11220,7 @@ class ARecord(
10843
11220
  *,
10844
11221
  target: RecordTarget,
10845
11222
  zone: IHostedZone,
11223
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
10846
11224
  comment: typing.Optional[builtins.str] = None,
10847
11225
  delete_existing: typing.Optional[builtins.bool] = None,
10848
11226
  geo_location: typing.Optional[GeoLocation] = None,
@@ -10859,6 +11237,7 @@ class ARecord(
10859
11237
  :param id: -
10860
11238
  :param target: The target.
10861
11239
  :param zone: The hosted zone in which to define the new record.
11240
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
10862
11241
  :param comment: A comment to add on the record. Default: no comment
10863
11242
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
10864
11243
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -10877,6 +11256,7 @@ class ARecord(
10877
11256
  props = ARecordProps(
10878
11257
  target=target,
10879
11258
  zone=zone,
11259
+ cidr_routing_config=cidr_routing_config,
10880
11260
  comment=comment,
10881
11261
  delete_existing=delete_existing,
10882
11262
  geo_location=geo_location,
@@ -10900,6 +11280,7 @@ class ARecord(
10900
11280
  *,
10901
11281
  target_dns: builtins.str,
10902
11282
  zone: IHostedZone,
11283
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
10903
11284
  comment: typing.Optional[builtins.str] = None,
10904
11285
  delete_existing: typing.Optional[builtins.bool] = None,
10905
11286
  geo_location: typing.Optional[GeoLocation] = None,
@@ -10920,6 +11301,7 @@ class ARecord(
10920
11301
  :param id: Logical Id of the resource.
10921
11302
  :param target_dns: Existing A record DNS name to set RecordTarget.
10922
11303
  :param zone: The hosted zone in which to define the new record.
11304
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
10923
11305
  :param comment: A comment to add on the record. Default: no comment
10924
11306
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
10925
11307
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -10942,6 +11324,7 @@ class ARecord(
10942
11324
  attrs = ARecordAttrs(
10943
11325
  target_dns=target_dns,
10944
11326
  zone=zone,
11327
+ cidr_routing_config=cidr_routing_config,
10945
11328
  comment=comment,
10946
11329
  delete_existing=delete_existing,
10947
11330
  geo_location=geo_location,
@@ -10956,12 +11339,19 @@ class ARecord(
10956
11339
 
10957
11340
  return typing.cast("ARecord", jsii.sinvoke(cls, "fromARecordAttributes", [scope, id, attrs]))
10958
11341
 
11342
+ @jsii.python.classproperty
11343
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
11344
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
11345
+ '''Uniquely identifies this class.'''
11346
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
11347
+
10959
11348
 
10960
11349
  @jsii.data_type(
10961
11350
  jsii_type="aws-cdk-lib.aws_route53.ARecordAttrs",
10962
11351
  jsii_struct_bases=[RecordSetOptions],
10963
11352
  name_mapping={
10964
11353
  "zone": "zone",
11354
+ "cidr_routing_config": "cidrRoutingConfig",
10965
11355
  "comment": "comment",
10966
11356
  "delete_existing": "deleteExisting",
10967
11357
  "geo_location": "geoLocation",
@@ -10980,6 +11370,7 @@ class ARecordAttrs(RecordSetOptions):
10980
11370
  self,
10981
11371
  *,
10982
11372
  zone: IHostedZone,
11373
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
10983
11374
  comment: typing.Optional[builtins.str] = None,
10984
11375
  delete_existing: typing.Optional[builtins.bool] = None,
10985
11376
  geo_location: typing.Optional[GeoLocation] = None,
@@ -10995,6 +11386,7 @@ class ARecordAttrs(RecordSetOptions):
10995
11386
  '''Construction properties to import existing ARecord as target.
10996
11387
 
10997
11388
  :param zone: The hosted zone in which to define the new record.
11389
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
10998
11390
  :param comment: A comment to add on the record. Default: no comment
10999
11391
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
11000
11392
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -11024,6 +11416,7 @@ class ARecordAttrs(RecordSetOptions):
11024
11416
  if __debug__:
11025
11417
  type_hints = typing.get_type_hints(_typecheckingstub__514d7eccc21be019febe80e121fd7d979162668b63cb99051c629ef087f5fe9a)
11026
11418
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
11419
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
11027
11420
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
11028
11421
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
11029
11422
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -11039,6 +11432,8 @@ class ARecordAttrs(RecordSetOptions):
11039
11432
  "zone": zone,
11040
11433
  "target_dns": target_dns,
11041
11434
  }
11435
+ if cidr_routing_config is not None:
11436
+ self._values["cidr_routing_config"] = cidr_routing_config
11042
11437
  if comment is not None:
11043
11438
  self._values["comment"] = comment
11044
11439
  if delete_existing is not None:
@@ -11067,6 +11462,19 @@ class ARecordAttrs(RecordSetOptions):
11067
11462
  assert result is not None, "Required property 'zone' is missing"
11068
11463
  return typing.cast(IHostedZone, result)
11069
11464
 
11465
+ @builtins.property
11466
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
11467
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
11468
+
11469
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
11470
+
11471
+ :default: - No CIDR routing configured
11472
+
11473
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
11474
+ '''
11475
+ result = self._values.get("cidr_routing_config")
11476
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
11477
+
11070
11478
  @builtins.property
11071
11479
  def comment(self) -> typing.Optional[builtins.str]:
11072
11480
  '''A comment to add on the record.
@@ -11216,6 +11624,7 @@ class ARecordAttrs(RecordSetOptions):
11216
11624
  jsii_struct_bases=[RecordSetOptions],
11217
11625
  name_mapping={
11218
11626
  "zone": "zone",
11627
+ "cidr_routing_config": "cidrRoutingConfig",
11219
11628
  "comment": "comment",
11220
11629
  "delete_existing": "deleteExisting",
11221
11630
  "geo_location": "geoLocation",
@@ -11234,6 +11643,7 @@ class ARecordProps(RecordSetOptions):
11234
11643
  self,
11235
11644
  *,
11236
11645
  zone: IHostedZone,
11646
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
11237
11647
  comment: typing.Optional[builtins.str] = None,
11238
11648
  delete_existing: typing.Optional[builtins.bool] = None,
11239
11649
  geo_location: typing.Optional[GeoLocation] = None,
@@ -11249,6 +11659,7 @@ class ARecordProps(RecordSetOptions):
11249
11659
  '''Construction properties for a ARecord.
11250
11660
 
11251
11661
  :param zone: The hosted zone in which to define the new record.
11662
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
11252
11663
  :param comment: A comment to add on the record. Default: no comment
11253
11664
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
11254
11665
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -11265,23 +11676,24 @@ class ARecordProps(RecordSetOptions):
11265
11676
 
11266
11677
  Example::
11267
11678
 
11268
- import aws_cdk.aws_elasticloadbalancingv2 as elbv2
11679
+ from aws_cdk.region_info import RegionInfo
11269
11680
 
11270
11681
  # zone: route53.HostedZone
11271
- # lb: elbv2.ApplicationLoadBalancer
11682
+ # ebs_environment_url: str
11272
11683
 
11273
11684
 
11274
11685
  route53.ARecord(self, "AliasRecord",
11275
11686
  zone=zone,
11276
11687
  target=route53.RecordTarget.from_alias(
11277
- targets.LoadBalancerTarget(lb, {
11278
- "evaluate_target_health": True
11688
+ targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
11689
+ "hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
11279
11690
  }))
11280
11691
  )
11281
11692
  '''
11282
11693
  if __debug__:
11283
11694
  type_hints = typing.get_type_hints(_typecheckingstub__a73a5c86411a0d853fcfad820ed58f5a5c19df65a7b2756560958db5cbe36569)
11284
11695
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
11696
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
11285
11697
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
11286
11698
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
11287
11699
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -11297,6 +11709,8 @@ class ARecordProps(RecordSetOptions):
11297
11709
  "zone": zone,
11298
11710
  "target": target,
11299
11711
  }
11712
+ if cidr_routing_config is not None:
11713
+ self._values["cidr_routing_config"] = cidr_routing_config
11300
11714
  if comment is not None:
11301
11715
  self._values["comment"] = comment
11302
11716
  if delete_existing is not None:
@@ -11325,6 +11739,19 @@ class ARecordProps(RecordSetOptions):
11325
11739
  assert result is not None, "Required property 'zone' is missing"
11326
11740
  return typing.cast(IHostedZone, result)
11327
11741
 
11742
+ @builtins.property
11743
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
11744
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
11745
+
11746
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
11747
+
11748
+ :default: - No CIDR routing configured
11749
+
11750
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
11751
+ '''
11752
+ result = self._values.get("cidr_routing_config")
11753
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
11754
+
11328
11755
  @builtins.property
11329
11756
  def comment(self) -> typing.Optional[builtins.str]:
11330
11757
  '''A comment to add on the record.
@@ -11499,6 +11926,7 @@ class AaaaRecord(
11499
11926
  *,
11500
11927
  target: RecordTarget,
11501
11928
  zone: IHostedZone,
11929
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
11502
11930
  comment: typing.Optional[builtins.str] = None,
11503
11931
  delete_existing: typing.Optional[builtins.bool] = None,
11504
11932
  geo_location: typing.Optional[GeoLocation] = None,
@@ -11515,6 +11943,7 @@ class AaaaRecord(
11515
11943
  :param id: -
11516
11944
  :param target: The target.
11517
11945
  :param zone: The hosted zone in which to define the new record.
11946
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
11518
11947
  :param comment: A comment to add on the record. Default: no comment
11519
11948
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
11520
11949
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -11533,6 +11962,7 @@ class AaaaRecord(
11533
11962
  props = AaaaRecordProps(
11534
11963
  target=target,
11535
11964
  zone=zone,
11965
+ cidr_routing_config=cidr_routing_config,
11536
11966
  comment=comment,
11537
11967
  delete_existing=delete_existing,
11538
11968
  geo_location=geo_location,
@@ -11547,12 +11977,19 @@ class AaaaRecord(
11547
11977
 
11548
11978
  jsii.create(self.__class__, self, [scope, id, props])
11549
11979
 
11980
+ @jsii.python.classproperty
11981
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
11982
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
11983
+ '''Uniquely identifies this class.'''
11984
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
11985
+
11550
11986
 
11551
11987
  @jsii.data_type(
11552
11988
  jsii_type="aws-cdk-lib.aws_route53.AaaaRecordProps",
11553
11989
  jsii_struct_bases=[RecordSetOptions],
11554
11990
  name_mapping={
11555
11991
  "zone": "zone",
11992
+ "cidr_routing_config": "cidrRoutingConfig",
11556
11993
  "comment": "comment",
11557
11994
  "delete_existing": "deleteExisting",
11558
11995
  "geo_location": "geoLocation",
@@ -11571,6 +12008,7 @@ class AaaaRecordProps(RecordSetOptions):
11571
12008
  self,
11572
12009
  *,
11573
12010
  zone: IHostedZone,
12011
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
11574
12012
  comment: typing.Optional[builtins.str] = None,
11575
12013
  delete_existing: typing.Optional[builtins.bool] = None,
11576
12014
  geo_location: typing.Optional[GeoLocation] = None,
@@ -11586,6 +12024,7 @@ class AaaaRecordProps(RecordSetOptions):
11586
12024
  '''Construction properties for a AaaaRecord.
11587
12025
 
11588
12026
  :param zone: The hosted zone in which to define the new record.
12027
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
11589
12028
  :param comment: A comment to add on the record. Default: no comment
11590
12029
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
11591
12030
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -11615,6 +12054,7 @@ class AaaaRecordProps(RecordSetOptions):
11615
12054
  if __debug__:
11616
12055
  type_hints = typing.get_type_hints(_typecheckingstub__c051ff70083b2ae68889d3f02be8344125acf64b4768d5f5df3298ba8a8d6a32)
11617
12056
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
12057
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
11618
12058
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
11619
12059
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
11620
12060
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -11630,6 +12070,8 @@ class AaaaRecordProps(RecordSetOptions):
11630
12070
  "zone": zone,
11631
12071
  "target": target,
11632
12072
  }
12073
+ if cidr_routing_config is not None:
12074
+ self._values["cidr_routing_config"] = cidr_routing_config
11633
12075
  if comment is not None:
11634
12076
  self._values["comment"] = comment
11635
12077
  if delete_existing is not None:
@@ -11658,6 +12100,19 @@ class AaaaRecordProps(RecordSetOptions):
11658
12100
  assert result is not None, "Required property 'zone' is missing"
11659
12101
  return typing.cast(IHostedZone, result)
11660
12102
 
12103
+ @builtins.property
12104
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
12105
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
12106
+
12107
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
12108
+
12109
+ :default: - No CIDR routing configured
12110
+
12111
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
12112
+ '''
12113
+ result = self._values.get("cidr_routing_config")
12114
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
12115
+
11661
12116
  @builtins.property
11662
12117
  def comment(self) -> typing.Optional[builtins.str]:
11663
12118
  '''A comment to add on the record.
@@ -11807,6 +12262,7 @@ class AaaaRecordProps(RecordSetOptions):
11807
12262
  jsii_struct_bases=[RecordSetOptions],
11808
12263
  name_mapping={
11809
12264
  "zone": "zone",
12265
+ "cidr_routing_config": "cidrRoutingConfig",
11810
12266
  "comment": "comment",
11811
12267
  "delete_existing": "deleteExisting",
11812
12268
  "geo_location": "geoLocation",
@@ -11824,6 +12280,7 @@ class CaaAmazonRecordProps(RecordSetOptions):
11824
12280
  self,
11825
12281
  *,
11826
12282
  zone: IHostedZone,
12283
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
11827
12284
  comment: typing.Optional[builtins.str] = None,
11828
12285
  delete_existing: typing.Optional[builtins.bool] = None,
11829
12286
  geo_location: typing.Optional[GeoLocation] = None,
@@ -11838,6 +12295,7 @@ class CaaAmazonRecordProps(RecordSetOptions):
11838
12295
  '''Construction properties for a CaaAmazonRecord.
11839
12296
 
11840
12297
  :param zone: The hosted zone in which to define the new record.
12298
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
11841
12299
  :param comment: A comment to add on the record. Default: no comment
11842
12300
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
11843
12301
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -11858,6 +12316,7 @@ class CaaAmazonRecordProps(RecordSetOptions):
11858
12316
  import aws_cdk as cdk
11859
12317
  from aws_cdk import aws_route53 as route53
11860
12318
 
12319
+ # cidr_routing_config: route53.CidrRoutingConfig
11861
12320
  # geo_location: route53.GeoLocation
11862
12321
  # health_check: route53.HealthCheck
11863
12322
  # hosted_zone: route53.HostedZone
@@ -11866,6 +12325,7 @@ class CaaAmazonRecordProps(RecordSetOptions):
11866
12325
  zone=hosted_zone,
11867
12326
 
11868
12327
  # the properties below are optional
12328
+ cidr_routing_config=cidr_routing_config,
11869
12329
  comment="comment",
11870
12330
  delete_existing=False,
11871
12331
  geo_location=geo_location,
@@ -11881,6 +12341,7 @@ class CaaAmazonRecordProps(RecordSetOptions):
11881
12341
  if __debug__:
11882
12342
  type_hints = typing.get_type_hints(_typecheckingstub__14055fdb7d9f4b55091295996ec92db8d73fa789a21fca2664da1242ae89f859)
11883
12343
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
12344
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
11884
12345
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
11885
12346
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
11886
12347
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -11894,6 +12355,8 @@ class CaaAmazonRecordProps(RecordSetOptions):
11894
12355
  self._values: typing.Dict[builtins.str, typing.Any] = {
11895
12356
  "zone": zone,
11896
12357
  }
12358
+ if cidr_routing_config is not None:
12359
+ self._values["cidr_routing_config"] = cidr_routing_config
11897
12360
  if comment is not None:
11898
12361
  self._values["comment"] = comment
11899
12362
  if delete_existing is not None:
@@ -11922,6 +12385,19 @@ class CaaAmazonRecordProps(RecordSetOptions):
11922
12385
  assert result is not None, "Required property 'zone' is missing"
11923
12386
  return typing.cast(IHostedZone, result)
11924
12387
 
12388
+ @builtins.property
12389
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
12390
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
12391
+
12392
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
12393
+
12394
+ :default: - No CIDR routing configured
12395
+
12396
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
12397
+ '''
12398
+ result = self._values.get("cidr_routing_config")
12399
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
12400
+
11925
12401
  @builtins.property
11926
12402
  def comment(self) -> typing.Optional[builtins.str]:
11927
12403
  '''A comment to add on the record.
@@ -12076,6 +12552,7 @@ class CaaRecord(
12076
12552
  import aws_cdk as cdk
12077
12553
  from aws_cdk import aws_route53 as route53
12078
12554
 
12555
+ # cidr_routing_config: route53.CidrRoutingConfig
12079
12556
  # geo_location: route53.GeoLocation
12080
12557
  # health_check: route53.HealthCheck
12081
12558
  # hosted_zone: route53.HostedZone
@@ -12089,6 +12566,7 @@ class CaaRecord(
12089
12566
  zone=hosted_zone,
12090
12567
 
12091
12568
  # the properties below are optional
12569
+ cidr_routing_config=cidr_routing_config,
12092
12570
  comment="comment",
12093
12571
  delete_existing=False,
12094
12572
  geo_location=geo_location,
@@ -12109,6 +12587,7 @@ class CaaRecord(
12109
12587
  *,
12110
12588
  values: typing.Sequence[typing.Union[CaaRecordValue, typing.Dict[builtins.str, typing.Any]]],
12111
12589
  zone: IHostedZone,
12590
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12112
12591
  comment: typing.Optional[builtins.str] = None,
12113
12592
  delete_existing: typing.Optional[builtins.bool] = None,
12114
12593
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12125,6 +12604,7 @@ class CaaRecord(
12125
12604
  :param id: -
12126
12605
  :param values: The values.
12127
12606
  :param zone: The hosted zone in which to define the new record.
12607
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
12128
12608
  :param comment: A comment to add on the record. Default: no comment
12129
12609
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
12130
12610
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12143,6 +12623,7 @@ class CaaRecord(
12143
12623
  props = CaaRecordProps(
12144
12624
  values=values,
12145
12625
  zone=zone,
12626
+ cidr_routing_config=cidr_routing_config,
12146
12627
  comment=comment,
12147
12628
  delete_existing=delete_existing,
12148
12629
  geo_location=geo_location,
@@ -12157,12 +12638,19 @@ class CaaRecord(
12157
12638
 
12158
12639
  jsii.create(self.__class__, self, [scope, id, props])
12159
12640
 
12641
+ @jsii.python.classproperty
12642
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
12643
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
12644
+ '''Uniquely identifies this class.'''
12645
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
12646
+
12160
12647
 
12161
12648
  @jsii.data_type(
12162
12649
  jsii_type="aws-cdk-lib.aws_route53.CaaRecordProps",
12163
12650
  jsii_struct_bases=[RecordSetOptions],
12164
12651
  name_mapping={
12165
12652
  "zone": "zone",
12653
+ "cidr_routing_config": "cidrRoutingConfig",
12166
12654
  "comment": "comment",
12167
12655
  "delete_existing": "deleteExisting",
12168
12656
  "geo_location": "geoLocation",
@@ -12181,6 +12669,7 @@ class CaaRecordProps(RecordSetOptions):
12181
12669
  self,
12182
12670
  *,
12183
12671
  zone: IHostedZone,
12672
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12184
12673
  comment: typing.Optional[builtins.str] = None,
12185
12674
  delete_existing: typing.Optional[builtins.bool] = None,
12186
12675
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12196,6 +12685,7 @@ class CaaRecordProps(RecordSetOptions):
12196
12685
  '''Construction properties for a CaaRecord.
12197
12686
 
12198
12687
  :param zone: The hosted zone in which to define the new record.
12688
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
12199
12689
  :param comment: A comment to add on the record. Default: no comment
12200
12690
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
12201
12691
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12217,6 +12707,7 @@ class CaaRecordProps(RecordSetOptions):
12217
12707
  import aws_cdk as cdk
12218
12708
  from aws_cdk import aws_route53 as route53
12219
12709
 
12710
+ # cidr_routing_config: route53.CidrRoutingConfig
12220
12711
  # geo_location: route53.GeoLocation
12221
12712
  # health_check: route53.HealthCheck
12222
12713
  # hosted_zone: route53.HostedZone
@@ -12230,6 +12721,7 @@ class CaaRecordProps(RecordSetOptions):
12230
12721
  zone=hosted_zone,
12231
12722
 
12232
12723
  # the properties below are optional
12724
+ cidr_routing_config=cidr_routing_config,
12233
12725
  comment="comment",
12234
12726
  delete_existing=False,
12235
12727
  geo_location=geo_location,
@@ -12245,6 +12737,7 @@ class CaaRecordProps(RecordSetOptions):
12245
12737
  if __debug__:
12246
12738
  type_hints = typing.get_type_hints(_typecheckingstub__349a94b990ddb833b270dc692692a8b37187c6f17114e02514f44accfb8de443)
12247
12739
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
12740
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
12248
12741
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
12249
12742
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
12250
12743
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -12260,6 +12753,8 @@ class CaaRecordProps(RecordSetOptions):
12260
12753
  "zone": zone,
12261
12754
  "values": values,
12262
12755
  }
12756
+ if cidr_routing_config is not None:
12757
+ self._values["cidr_routing_config"] = cidr_routing_config
12263
12758
  if comment is not None:
12264
12759
  self._values["comment"] = comment
12265
12760
  if delete_existing is not None:
@@ -12288,6 +12783,19 @@ class CaaRecordProps(RecordSetOptions):
12288
12783
  assert result is not None, "Required property 'zone' is missing"
12289
12784
  return typing.cast(IHostedZone, result)
12290
12785
 
12786
+ @builtins.property
12787
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
12788
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
12789
+
12790
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
12791
+
12792
+ :default: - No CIDR routing configured
12793
+
12794
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
12795
+ '''
12796
+ result = self._values.get("cidr_routing_config")
12797
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
12798
+
12291
12799
  @builtins.property
12292
12800
  def comment(self) -> typing.Optional[builtins.str]:
12293
12801
  '''A comment to add on the record.
@@ -12485,6 +12993,7 @@ class CnameRecord(
12485
12993
  *,
12486
12994
  domain_name: builtins.str,
12487
12995
  zone: IHostedZone,
12996
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12488
12997
  comment: typing.Optional[builtins.str] = None,
12489
12998
  delete_existing: typing.Optional[builtins.bool] = None,
12490
12999
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12501,6 +13010,7 @@ class CnameRecord(
12501
13010
  :param id: -
12502
13011
  :param domain_name: The domain name of the target that this record should point to.
12503
13012
  :param zone: The hosted zone in which to define the new record.
13013
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
12504
13014
  :param comment: A comment to add on the record. Default: no comment
12505
13015
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
12506
13016
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12519,6 +13029,7 @@ class CnameRecord(
12519
13029
  props = CnameRecordProps(
12520
13030
  domain_name=domain_name,
12521
13031
  zone=zone,
13032
+ cidr_routing_config=cidr_routing_config,
12522
13033
  comment=comment,
12523
13034
  delete_existing=delete_existing,
12524
13035
  geo_location=geo_location,
@@ -12533,12 +13044,19 @@ class CnameRecord(
12533
13044
 
12534
13045
  jsii.create(self.__class__, self, [scope, id, props])
12535
13046
 
13047
+ @jsii.python.classproperty
13048
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
13049
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
13050
+ '''Uniquely identifies this class.'''
13051
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
13052
+
12536
13053
 
12537
13054
  @jsii.data_type(
12538
13055
  jsii_type="aws-cdk-lib.aws_route53.CnameRecordProps",
12539
13056
  jsii_struct_bases=[RecordSetOptions],
12540
13057
  name_mapping={
12541
13058
  "zone": "zone",
13059
+ "cidr_routing_config": "cidrRoutingConfig",
12542
13060
  "comment": "comment",
12543
13061
  "delete_existing": "deleteExisting",
12544
13062
  "geo_location": "geoLocation",
@@ -12557,6 +13075,7 @@ class CnameRecordProps(RecordSetOptions):
12557
13075
  self,
12558
13076
  *,
12559
13077
  zone: IHostedZone,
13078
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12560
13079
  comment: typing.Optional[builtins.str] = None,
12561
13080
  delete_existing: typing.Optional[builtins.bool] = None,
12562
13081
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12572,6 +13091,7 @@ class CnameRecordProps(RecordSetOptions):
12572
13091
  '''Construction properties for a CnameRecord.
12573
13092
 
12574
13093
  :param zone: The hosted zone in which to define the new record.
13094
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
12575
13095
  :param comment: A comment to add on the record. Default: no comment
12576
13096
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
12577
13097
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12624,6 +13144,7 @@ class CnameRecordProps(RecordSetOptions):
12624
13144
  if __debug__:
12625
13145
  type_hints = typing.get_type_hints(_typecheckingstub__43b5fc8ccb719e2580c804225e8258b57b1700a701203416558eb2d76a86f86f)
12626
13146
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
13147
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
12627
13148
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
12628
13149
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
12629
13150
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -12639,6 +13160,8 @@ class CnameRecordProps(RecordSetOptions):
12639
13160
  "zone": zone,
12640
13161
  "domain_name": domain_name,
12641
13162
  }
13163
+ if cidr_routing_config is not None:
13164
+ self._values["cidr_routing_config"] = cidr_routing_config
12642
13165
  if comment is not None:
12643
13166
  self._values["comment"] = comment
12644
13167
  if delete_existing is not None:
@@ -12667,6 +13190,19 @@ class CnameRecordProps(RecordSetOptions):
12667
13190
  assert result is not None, "Required property 'zone' is missing"
12668
13191
  return typing.cast(IHostedZone, result)
12669
13192
 
13193
+ @builtins.property
13194
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
13195
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
13196
+
13197
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
13198
+
13199
+ :default: - No CIDR routing configured
13200
+
13201
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
13202
+ '''
13203
+ result = self._values.get("cidr_routing_config")
13204
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
13205
+
12670
13206
  @builtins.property
12671
13207
  def comment(self) -> typing.Optional[builtins.str]:
12672
13208
  '''A comment to add on the record.
@@ -12842,6 +13378,7 @@ class DsRecord(
12842
13378
  *,
12843
13379
  values: typing.Sequence[builtins.str],
12844
13380
  zone: IHostedZone,
13381
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12845
13382
  comment: typing.Optional[builtins.str] = None,
12846
13383
  delete_existing: typing.Optional[builtins.bool] = None,
12847
13384
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12858,6 +13395,7 @@ class DsRecord(
12858
13395
  :param id: -
12859
13396
  :param values: The DS values.
12860
13397
  :param zone: The hosted zone in which to define the new record.
13398
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
12861
13399
  :param comment: A comment to add on the record. Default: no comment
12862
13400
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
12863
13401
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12876,6 +13414,7 @@ class DsRecord(
12876
13414
  props = DsRecordProps(
12877
13415
  values=values,
12878
13416
  zone=zone,
13417
+ cidr_routing_config=cidr_routing_config,
12879
13418
  comment=comment,
12880
13419
  delete_existing=delete_existing,
12881
13420
  geo_location=geo_location,
@@ -12890,12 +13429,19 @@ class DsRecord(
12890
13429
 
12891
13430
  jsii.create(self.__class__, self, [scope, id, props])
12892
13431
 
13432
+ @jsii.python.classproperty
13433
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
13434
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
13435
+ '''Uniquely identifies this class.'''
13436
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
13437
+
12893
13438
 
12894
13439
  @jsii.data_type(
12895
13440
  jsii_type="aws-cdk-lib.aws_route53.DsRecordProps",
12896
13441
  jsii_struct_bases=[RecordSetOptions],
12897
13442
  name_mapping={
12898
13443
  "zone": "zone",
13444
+ "cidr_routing_config": "cidrRoutingConfig",
12899
13445
  "comment": "comment",
12900
13446
  "delete_existing": "deleteExisting",
12901
13447
  "geo_location": "geoLocation",
@@ -12914,6 +13460,7 @@ class DsRecordProps(RecordSetOptions):
12914
13460
  self,
12915
13461
  *,
12916
13462
  zone: IHostedZone,
13463
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12917
13464
  comment: typing.Optional[builtins.str] = None,
12918
13465
  delete_existing: typing.Optional[builtins.bool] = None,
12919
13466
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12929,6 +13476,7 @@ class DsRecordProps(RecordSetOptions):
12929
13476
  '''Construction properties for a DSRecord.
12930
13477
 
12931
13478
  :param zone: The hosted zone in which to define the new record.
13479
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
12932
13480
  :param comment: A comment to add on the record. Default: no comment
12933
13481
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
12934
13482
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12959,6 +13507,7 @@ class DsRecordProps(RecordSetOptions):
12959
13507
  if __debug__:
12960
13508
  type_hints = typing.get_type_hints(_typecheckingstub__f86f16d9f2de8fe03cc1189a56a86c4888d20f69dc0f241aa21b50fdf34d4645)
12961
13509
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
13510
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
12962
13511
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
12963
13512
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
12964
13513
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -12974,6 +13523,8 @@ class DsRecordProps(RecordSetOptions):
12974
13523
  "zone": zone,
12975
13524
  "values": values,
12976
13525
  }
13526
+ if cidr_routing_config is not None:
13527
+ self._values["cidr_routing_config"] = cidr_routing_config
12977
13528
  if comment is not None:
12978
13529
  self._values["comment"] = comment
12979
13530
  if delete_existing is not None:
@@ -13002,6 +13553,19 @@ class DsRecordProps(RecordSetOptions):
13002
13553
  assert result is not None, "Required property 'zone' is missing"
13003
13554
  return typing.cast(IHostedZone, result)
13004
13555
 
13556
+ @builtins.property
13557
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
13558
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
13559
+
13560
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
13561
+
13562
+ :default: - No CIDR routing configured
13563
+
13564
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
13565
+ '''
13566
+ result = self._values.get("cidr_routing_config")
13567
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
13568
+
13005
13569
  @builtins.property
13006
13570
  def comment(self) -> typing.Optional[builtins.str]:
13007
13571
  '''A comment to add on the record.
@@ -13286,6 +13850,12 @@ class HealthCheck(
13286
13850
  check_type(argname="argument health_check_id", value=health_check_id, expected_type=type_hints["health_check_id"])
13287
13851
  return typing.cast(IHealthCheck, jsii.sinvoke(cls, "fromHealthCheckId", [scope, id, health_check_id]))
13288
13852
 
13853
+ @jsii.python.classproperty
13854
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
13855
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
13856
+ '''Uniquely identifies this class.'''
13857
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
13858
+
13289
13859
  @builtins.property
13290
13860
  @jsii.member(jsii_name="healthCheckId")
13291
13861
  def health_check_id(self) -> builtins.str:
@@ -13481,6 +14051,12 @@ class HostedZone(
13481
14051
  check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
13482
14052
  return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantDelegation", [grantee]))
13483
14053
 
14054
+ @jsii.python.classproperty
14055
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
14056
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
14057
+ '''Uniquely identifies this class.'''
14058
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
14059
+
13484
14060
  @builtins.property
13485
14061
  @jsii.member(jsii_name="hostedZoneArn")
13486
14062
  def hosted_zone_arn(self) -> builtins.str:
@@ -13532,6 +14108,7 @@ class MxRecord(
13532
14108
  import aws_cdk as cdk
13533
14109
  from aws_cdk import aws_route53 as route53
13534
14110
 
14111
+ # cidr_routing_config: route53.CidrRoutingConfig
13535
14112
  # geo_location: route53.GeoLocation
13536
14113
  # health_check: route53.HealthCheck
13537
14114
  # hosted_zone: route53.HostedZone
@@ -13544,6 +14121,7 @@ class MxRecord(
13544
14121
  zone=hosted_zone,
13545
14122
 
13546
14123
  # the properties below are optional
14124
+ cidr_routing_config=cidr_routing_config,
13547
14125
  comment="comment",
13548
14126
  delete_existing=False,
13549
14127
  geo_location=geo_location,
@@ -13564,6 +14142,7 @@ class MxRecord(
13564
14142
  *,
13565
14143
  values: typing.Sequence[typing.Union[MxRecordValue, typing.Dict[builtins.str, typing.Any]]],
13566
14144
  zone: IHostedZone,
14145
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
13567
14146
  comment: typing.Optional[builtins.str] = None,
13568
14147
  delete_existing: typing.Optional[builtins.bool] = None,
13569
14148
  geo_location: typing.Optional[GeoLocation] = None,
@@ -13580,6 +14159,7 @@ class MxRecord(
13580
14159
  :param id: -
13581
14160
  :param values: The values.
13582
14161
  :param zone: The hosted zone in which to define the new record.
14162
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
13583
14163
  :param comment: A comment to add on the record. Default: no comment
13584
14164
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
13585
14165
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -13598,6 +14178,7 @@ class MxRecord(
13598
14178
  props = MxRecordProps(
13599
14179
  values=values,
13600
14180
  zone=zone,
14181
+ cidr_routing_config=cidr_routing_config,
13601
14182
  comment=comment,
13602
14183
  delete_existing=delete_existing,
13603
14184
  geo_location=geo_location,
@@ -13612,12 +14193,19 @@ class MxRecord(
13612
14193
 
13613
14194
  jsii.create(self.__class__, self, [scope, id, props])
13614
14195
 
14196
+ @jsii.python.classproperty
14197
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
14198
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
14199
+ '''Uniquely identifies this class.'''
14200
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
14201
+
13615
14202
 
13616
14203
  @jsii.data_type(
13617
14204
  jsii_type="aws-cdk-lib.aws_route53.MxRecordProps",
13618
14205
  jsii_struct_bases=[RecordSetOptions],
13619
14206
  name_mapping={
13620
14207
  "zone": "zone",
14208
+ "cidr_routing_config": "cidrRoutingConfig",
13621
14209
  "comment": "comment",
13622
14210
  "delete_existing": "deleteExisting",
13623
14211
  "geo_location": "geoLocation",
@@ -13636,6 +14224,7 @@ class MxRecordProps(RecordSetOptions):
13636
14224
  self,
13637
14225
  *,
13638
14226
  zone: IHostedZone,
14227
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
13639
14228
  comment: typing.Optional[builtins.str] = None,
13640
14229
  delete_existing: typing.Optional[builtins.bool] = None,
13641
14230
  geo_location: typing.Optional[GeoLocation] = None,
@@ -13651,6 +14240,7 @@ class MxRecordProps(RecordSetOptions):
13651
14240
  '''Construction properties for a MxRecord.
13652
14241
 
13653
14242
  :param zone: The hosted zone in which to define the new record.
14243
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
13654
14244
  :param comment: A comment to add on the record. Default: no comment
13655
14245
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
13656
14246
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -13672,6 +14262,7 @@ class MxRecordProps(RecordSetOptions):
13672
14262
  import aws_cdk as cdk
13673
14263
  from aws_cdk import aws_route53 as route53
13674
14264
 
14265
+ # cidr_routing_config: route53.CidrRoutingConfig
13675
14266
  # geo_location: route53.GeoLocation
13676
14267
  # health_check: route53.HealthCheck
13677
14268
  # hosted_zone: route53.HostedZone
@@ -13684,6 +14275,7 @@ class MxRecordProps(RecordSetOptions):
13684
14275
  zone=hosted_zone,
13685
14276
 
13686
14277
  # the properties below are optional
14278
+ cidr_routing_config=cidr_routing_config,
13687
14279
  comment="comment",
13688
14280
  delete_existing=False,
13689
14281
  geo_location=geo_location,
@@ -13699,6 +14291,7 @@ class MxRecordProps(RecordSetOptions):
13699
14291
  if __debug__:
13700
14292
  type_hints = typing.get_type_hints(_typecheckingstub__b259122626a3ba94eebff0b5f692944df4aa55dc550b7d113eec491e1c57307d)
13701
14293
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
14294
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
13702
14295
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
13703
14296
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
13704
14297
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -13714,6 +14307,8 @@ class MxRecordProps(RecordSetOptions):
13714
14307
  "zone": zone,
13715
14308
  "values": values,
13716
14309
  }
14310
+ if cidr_routing_config is not None:
14311
+ self._values["cidr_routing_config"] = cidr_routing_config
13717
14312
  if comment is not None:
13718
14313
  self._values["comment"] = comment
13719
14314
  if delete_existing is not None:
@@ -13742,6 +14337,19 @@ class MxRecordProps(RecordSetOptions):
13742
14337
  assert result is not None, "Required property 'zone' is missing"
13743
14338
  return typing.cast(IHostedZone, result)
13744
14339
 
14340
+ @builtins.property
14341
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
14342
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
14343
+
14344
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
14345
+
14346
+ :default: - No CIDR routing configured
14347
+
14348
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
14349
+ '''
14350
+ result = self._values.get("cidr_routing_config")
14351
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
14352
+
13745
14353
  @builtins.property
13746
14354
  def comment(self) -> typing.Optional[builtins.str]:
13747
14355
  '''A comment to add on the record.
@@ -13917,6 +14525,7 @@ class NsRecord(
13917
14525
  *,
13918
14526
  values: typing.Sequence[builtins.str],
13919
14527
  zone: IHostedZone,
14528
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
13920
14529
  comment: typing.Optional[builtins.str] = None,
13921
14530
  delete_existing: typing.Optional[builtins.bool] = None,
13922
14531
  geo_location: typing.Optional[GeoLocation] = None,
@@ -13933,6 +14542,7 @@ class NsRecord(
13933
14542
  :param id: -
13934
14543
  :param values: The NS values.
13935
14544
  :param zone: The hosted zone in which to define the new record.
14545
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
13936
14546
  :param comment: A comment to add on the record. Default: no comment
13937
14547
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
13938
14548
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -13951,6 +14561,7 @@ class NsRecord(
13951
14561
  props = NsRecordProps(
13952
14562
  values=values,
13953
14563
  zone=zone,
14564
+ cidr_routing_config=cidr_routing_config,
13954
14565
  comment=comment,
13955
14566
  delete_existing=delete_existing,
13956
14567
  geo_location=geo_location,
@@ -13965,12 +14576,19 @@ class NsRecord(
13965
14576
 
13966
14577
  jsii.create(self.__class__, self, [scope, id, props])
13967
14578
 
14579
+ @jsii.python.classproperty
14580
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
14581
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
14582
+ '''Uniquely identifies this class.'''
14583
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
14584
+
13968
14585
 
13969
14586
  @jsii.data_type(
13970
14587
  jsii_type="aws-cdk-lib.aws_route53.NsRecordProps",
13971
14588
  jsii_struct_bases=[RecordSetOptions],
13972
14589
  name_mapping={
13973
14590
  "zone": "zone",
14591
+ "cidr_routing_config": "cidrRoutingConfig",
13974
14592
  "comment": "comment",
13975
14593
  "delete_existing": "deleteExisting",
13976
14594
  "geo_location": "geoLocation",
@@ -13989,6 +14607,7 @@ class NsRecordProps(RecordSetOptions):
13989
14607
  self,
13990
14608
  *,
13991
14609
  zone: IHostedZone,
14610
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
13992
14611
  comment: typing.Optional[builtins.str] = None,
13993
14612
  delete_existing: typing.Optional[builtins.bool] = None,
13994
14613
  geo_location: typing.Optional[GeoLocation] = None,
@@ -14004,6 +14623,7 @@ class NsRecordProps(RecordSetOptions):
14004
14623
  '''Construction properties for a NSRecord.
14005
14624
 
14006
14625
  :param zone: The hosted zone in which to define the new record.
14626
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
14007
14627
  :param comment: A comment to add on the record. Default: no comment
14008
14628
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
14009
14629
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -14034,6 +14654,7 @@ class NsRecordProps(RecordSetOptions):
14034
14654
  if __debug__:
14035
14655
  type_hints = typing.get_type_hints(_typecheckingstub__33cda5fac8572316158161da713e2ceea9d3f7f56b5ee9a2a25acf331e737e86)
14036
14656
  check_type(argname="argument zone", value=zone, expected_type=type_hints["zone"])
14657
+ check_type(argname="argument cidr_routing_config", value=cidr_routing_config, expected_type=type_hints["cidr_routing_config"])
14037
14658
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
14038
14659
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
14039
14660
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -14049,6 +14670,8 @@ class NsRecordProps(RecordSetOptions):
14049
14670
  "zone": zone,
14050
14671
  "values": values,
14051
14672
  }
14673
+ if cidr_routing_config is not None:
14674
+ self._values["cidr_routing_config"] = cidr_routing_config
14052
14675
  if comment is not None:
14053
14676
  self._values["comment"] = comment
14054
14677
  if delete_existing is not None:
@@ -14077,6 +14700,19 @@ class NsRecordProps(RecordSetOptions):
14077
14700
  assert result is not None, "Required property 'zone' is missing"
14078
14701
  return typing.cast(IHostedZone, result)
14079
14702
 
14703
+ @builtins.property
14704
+ def cidr_routing_config(self) -> typing.Optional[CidrRoutingConfig]:
14705
+ '''The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
14706
+
14707
+ A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.
14708
+
14709
+ :default: - No CIDR routing configured
14710
+
14711
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig
14712
+ '''
14713
+ result = self._values.get("cidr_routing_config")
14714
+ return typing.cast(typing.Optional[CidrRoutingConfig], result)
14715
+
14080
14716
  @builtins.property
14081
14717
  def comment(self) -> typing.Optional[builtins.str]:
14082
14718
  '''A comment to add on the record.
@@ -14304,6 +14940,12 @@ class PrivateHostedZone(
14304
14940
  check_type(argname="argument private_hosted_zone_id", value=private_hosted_zone_id, expected_type=type_hints["private_hosted_zone_id"])
14305
14941
  return typing.cast(IPrivateHostedZone, jsii.sinvoke(cls, "fromPrivateHostedZoneId", [scope, id, private_hosted_zone_id]))
14306
14942
 
14943
+ @jsii.python.classproperty
14944
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
14945
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
14946
+ '''Uniquely identifies this class.'''
14947
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
14948
+
14307
14949
 
14308
14950
  @jsii.implements(IPublicHostedZone)
14309
14951
  class PublicHostedZone(
@@ -14469,6 +15111,12 @@ class PublicHostedZone(
14469
15111
  check_type(argname="argument _vpc", value=_vpc, expected_type=type_hints["_vpc"])
14470
15112
  return typing.cast(None, jsii.invoke(self, "addVpc", [_vpc]))
14471
15113
 
15114
+ @jsii.python.classproperty
15115
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
15116
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
15117
+ '''Uniquely identifies this class.'''
15118
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
15119
+
14472
15120
  @builtins.property
14473
15121
  @jsii.member(jsii_name="crossAccountZoneDelegationRole")
14474
15122
  def cross_account_zone_delegation_role(self) -> typing.Optional[_Role_e8c6e11f]:
@@ -14496,6 +15144,7 @@ class CaaAmazonRecord(
14496
15144
  import aws_cdk as cdk
14497
15145
  from aws_cdk import aws_route53 as route53
14498
15146
 
15147
+ # cidr_routing_config: route53.CidrRoutingConfig
14499
15148
  # geo_location: route53.GeoLocation
14500
15149
  # health_check: route53.HealthCheck
14501
15150
  # hosted_zone: route53.HostedZone
@@ -14504,6 +15153,7 @@ class CaaAmazonRecord(
14504
15153
  zone=hosted_zone,
14505
15154
 
14506
15155
  # the properties below are optional
15156
+ cidr_routing_config=cidr_routing_config,
14507
15157
  comment="comment",
14508
15158
  delete_existing=False,
14509
15159
  geo_location=geo_location,
@@ -14523,6 +15173,7 @@ class CaaAmazonRecord(
14523
15173
  id: builtins.str,
14524
15174
  *,
14525
15175
  zone: IHostedZone,
15176
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
14526
15177
  comment: typing.Optional[builtins.str] = None,
14527
15178
  delete_existing: typing.Optional[builtins.bool] = None,
14528
15179
  geo_location: typing.Optional[GeoLocation] = None,
@@ -14538,6 +15189,7 @@ class CaaAmazonRecord(
14538
15189
  :param scope: -
14539
15190
  :param id: -
14540
15191
  :param zone: The hosted zone in which to define the new record.
15192
+ :param cidr_routing_config: The object that is specified in resource record set object when you are linking a resource record set to a CIDR location. A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record. Default: - No CIDR routing configured
14541
15193
  :param comment: A comment to add on the record. Default: no comment
14542
15194
  :param delete_existing: Whether to delete the same record set in the hosted zone if it already exists (dangerous!). This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets. .. epigraph:: **N.B.:** this feature is dangerous, use with caution! It can only be used safely when ``deleteExisting`` is set to ``true`` as soon as the resource is added to the stack. Changing an existing Record Set's ``deleteExisting`` property from ``false -> true`` after deployment will delete the record! Default: false
14543
15195
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -14555,6 +15207,7 @@ class CaaAmazonRecord(
14555
15207
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
14556
15208
  props = CaaAmazonRecordProps(
14557
15209
  zone=zone,
15210
+ cidr_routing_config=cidr_routing_config,
14558
15211
  comment=comment,
14559
15212
  delete_existing=delete_existing,
14560
15213
  geo_location=geo_location,
@@ -14569,6 +15222,12 @@ class CaaAmazonRecord(
14569
15222
 
14570
15223
  jsii.create(self.__class__, self, [scope, id, props])
14571
15224
 
15225
+ @jsii.python.classproperty
15226
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
15227
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
15228
+ '''Uniquely identifies this class.'''
15229
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
15230
+
14572
15231
 
14573
15232
  __all__ = [
14574
15233
  "ARecord",
@@ -14598,6 +15257,8 @@ __all__ = [
14598
15257
  "CfnRecordSetGroup",
14599
15258
  "CfnRecordSetGroupProps",
14600
15259
  "CfnRecordSetProps",
15260
+ "CidrRoutingConfig",
15261
+ "CidrRoutingConfigProps",
14601
15262
  "CnameRecord",
14602
15263
  "CnameRecordProps",
14603
15264
  "CommonHostedZoneProps",
@@ -15331,6 +15992,20 @@ def _typecheckingstub__07806684fd0bcb683322d42ae67181582216fa4e1371a7133012bf489
15331
15992
  """Type checking stubs"""
15332
15993
  pass
15333
15994
 
15995
+ def _typecheckingstub__1b3062acaf063c194e911820073130a65424f55f49053b79198d7fc79931f82d(
15996
+ collection_id: builtins.str,
15997
+ ) -> None:
15998
+ """Type checking stubs"""
15999
+ pass
16000
+
16001
+ def _typecheckingstub__510f03d6221534b2d6d0a4bda86f20f5ff3efa07a26a50f14673b2b5b5e13a0a(
16002
+ *,
16003
+ collection_id: builtins.str,
16004
+ location_name: typing.Optional[builtins.str] = None,
16005
+ ) -> None:
16006
+ """Type checking stubs"""
16007
+ pass
16008
+
15334
16009
  def _typecheckingstub__3c0a60680828ad59f14d241729df78a8969a23a13155e2327837897bb4545149(
15335
16010
  *,
15336
16011
  zone_name: builtins.str,
@@ -15539,6 +16214,7 @@ def _typecheckingstub__b92f4bc0484ad6fe8cce3c7e37b4ee3cd051b8f325d16efd23f924767
15539
16214
  record_type: RecordType,
15540
16215
  target: RecordTarget,
15541
16216
  zone: IHostedZone,
16217
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15542
16218
  comment: typing.Optional[builtins.str] = None,
15543
16219
  delete_existing: typing.Optional[builtins.bool] = None,
15544
16220
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15556,6 +16232,7 @@ def _typecheckingstub__b92f4bc0484ad6fe8cce3c7e37b4ee3cd051b8f325d16efd23f924767
15556
16232
  def _typecheckingstub__c44f39638a001e90bc1175667e4764c4cbde27cade202d52a4f4d87246c57781(
15557
16233
  *,
15558
16234
  zone: IHostedZone,
16235
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15559
16236
  comment: typing.Optional[builtins.str] = None,
15560
16237
  delete_existing: typing.Optional[builtins.bool] = None,
15561
16238
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15573,6 +16250,7 @@ def _typecheckingstub__c44f39638a001e90bc1175667e4764c4cbde27cade202d52a4f4d8724
15573
16250
  def _typecheckingstub__038200686c47ef30f81bc5289a6235e766372281295129670053b793d545dfca(
15574
16251
  *,
15575
16252
  zone: IHostedZone,
16253
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15576
16254
  comment: typing.Optional[builtins.str] = None,
15577
16255
  delete_existing: typing.Optional[builtins.bool] = None,
15578
16256
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15620,6 +16298,7 @@ def _typecheckingstub__d52a70fbe22ca5e13acce72254719ea0dd37b436de0640b65774aadd9
15620
16298
  *,
15621
16299
  values: typing.Sequence[typing.Union[SrvRecordValue, typing.Dict[builtins.str, typing.Any]]],
15622
16300
  zone: IHostedZone,
16301
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15623
16302
  comment: typing.Optional[builtins.str] = None,
15624
16303
  delete_existing: typing.Optional[builtins.bool] = None,
15625
16304
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15637,6 +16316,7 @@ def _typecheckingstub__d52a70fbe22ca5e13acce72254719ea0dd37b436de0640b65774aadd9
15637
16316
  def _typecheckingstub__803828161f541995c058596dab53102f2eccd14ba565bbe715a5ac29353f6db9(
15638
16317
  *,
15639
16318
  zone: IHostedZone,
16319
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15640
16320
  comment: typing.Optional[builtins.str] = None,
15641
16321
  delete_existing: typing.Optional[builtins.bool] = None,
15642
16322
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15668,6 +16348,7 @@ def _typecheckingstub__df1e0c1447d860a09246a7ec54507ca123346e57365df024460258839
15668
16348
  *,
15669
16349
  values: typing.Sequence[builtins.str],
15670
16350
  zone: IHostedZone,
16351
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15671
16352
  comment: typing.Optional[builtins.str] = None,
15672
16353
  delete_existing: typing.Optional[builtins.bool] = None,
15673
16354
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15685,6 +16366,7 @@ def _typecheckingstub__df1e0c1447d860a09246a7ec54507ca123346e57365df024460258839
15685
16366
  def _typecheckingstub__1925dd23d881cbbf99625b9a5fe0ef65b92a92359376c46e49b6690f1a4a9dab(
15686
16367
  *,
15687
16368
  zone: IHostedZone,
16369
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15688
16370
  comment: typing.Optional[builtins.str] = None,
15689
16371
  delete_existing: typing.Optional[builtins.bool] = None,
15690
16372
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15740,6 +16422,7 @@ def _typecheckingstub__1f8360676c13e2167bb58d36e1b6384ba70f036979aa9c80cac046e12
15740
16422
  *,
15741
16423
  name_servers: typing.Sequence[builtins.str],
15742
16424
  zone: IHostedZone,
16425
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15743
16426
  comment: typing.Optional[builtins.str] = None,
15744
16427
  delete_existing: typing.Optional[builtins.bool] = None,
15745
16428
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15757,6 +16440,7 @@ def _typecheckingstub__1f8360676c13e2167bb58d36e1b6384ba70f036979aa9c80cac046e12
15757
16440
  def _typecheckingstub__240a965753acb9488d02c120074027364f5e85a8ec585205a863174feadd7582(
15758
16441
  *,
15759
16442
  zone: IHostedZone,
16443
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15760
16444
  comment: typing.Optional[builtins.str] = None,
15761
16445
  delete_existing: typing.Optional[builtins.bool] = None,
15762
16446
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15786,6 +16470,7 @@ def _typecheckingstub__ca2e60ba6b2baeeff2cc875c86af94b4b26d6f11c1cfcca09280ac533
15786
16470
  *,
15787
16471
  target: RecordTarget,
15788
16472
  zone: IHostedZone,
16473
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15789
16474
  comment: typing.Optional[builtins.str] = None,
15790
16475
  delete_existing: typing.Optional[builtins.bool] = None,
15791
16476
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15806,6 +16491,7 @@ def _typecheckingstub__c76ad72e64542d58d5e33c28ccaca560dac09b21c920d094b7a0c2386
15806
16491
  *,
15807
16492
  target_dns: builtins.str,
15808
16493
  zone: IHostedZone,
16494
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15809
16495
  comment: typing.Optional[builtins.str] = None,
15810
16496
  delete_existing: typing.Optional[builtins.bool] = None,
15811
16497
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15823,6 +16509,7 @@ def _typecheckingstub__c76ad72e64542d58d5e33c28ccaca560dac09b21c920d094b7a0c2386
15823
16509
  def _typecheckingstub__514d7eccc21be019febe80e121fd7d979162668b63cb99051c629ef087f5fe9a(
15824
16510
  *,
15825
16511
  zone: IHostedZone,
16512
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15826
16513
  comment: typing.Optional[builtins.str] = None,
15827
16514
  delete_existing: typing.Optional[builtins.bool] = None,
15828
16515
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15841,6 +16528,7 @@ def _typecheckingstub__514d7eccc21be019febe80e121fd7d979162668b63cb99051c629ef08
15841
16528
  def _typecheckingstub__a73a5c86411a0d853fcfad820ed58f5a5c19df65a7b2756560958db5cbe36569(
15842
16529
  *,
15843
16530
  zone: IHostedZone,
16531
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15844
16532
  comment: typing.Optional[builtins.str] = None,
15845
16533
  delete_existing: typing.Optional[builtins.bool] = None,
15846
16534
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15862,6 +16550,7 @@ def _typecheckingstub__4d5345c027ebd51f32f58fdeb055904a5c4dd3f5523f55954f8a191ae
15862
16550
  *,
15863
16551
  target: RecordTarget,
15864
16552
  zone: IHostedZone,
16553
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15865
16554
  comment: typing.Optional[builtins.str] = None,
15866
16555
  delete_existing: typing.Optional[builtins.bool] = None,
15867
16556
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15879,6 +16568,7 @@ def _typecheckingstub__4d5345c027ebd51f32f58fdeb055904a5c4dd3f5523f55954f8a191ae
15879
16568
  def _typecheckingstub__c051ff70083b2ae68889d3f02be8344125acf64b4768d5f5df3298ba8a8d6a32(
15880
16569
  *,
15881
16570
  zone: IHostedZone,
16571
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15882
16572
  comment: typing.Optional[builtins.str] = None,
15883
16573
  delete_existing: typing.Optional[builtins.bool] = None,
15884
16574
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15897,6 +16587,7 @@ def _typecheckingstub__c051ff70083b2ae68889d3f02be8344125acf64b4768d5f5df3298ba8
15897
16587
  def _typecheckingstub__14055fdb7d9f4b55091295996ec92db8d73fa789a21fca2664da1242ae89f859(
15898
16588
  *,
15899
16589
  zone: IHostedZone,
16590
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15900
16591
  comment: typing.Optional[builtins.str] = None,
15901
16592
  delete_existing: typing.Optional[builtins.bool] = None,
15902
16593
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15917,6 +16608,7 @@ def _typecheckingstub__3a2502cdc1fe021e837217ab0d96b9fa6ea450a68c089482935b695f7
15917
16608
  *,
15918
16609
  values: typing.Sequence[typing.Union[CaaRecordValue, typing.Dict[builtins.str, typing.Any]]],
15919
16610
  zone: IHostedZone,
16611
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15920
16612
  comment: typing.Optional[builtins.str] = None,
15921
16613
  delete_existing: typing.Optional[builtins.bool] = None,
15922
16614
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15934,6 +16626,7 @@ def _typecheckingstub__3a2502cdc1fe021e837217ab0d96b9fa6ea450a68c089482935b695f7
15934
16626
  def _typecheckingstub__349a94b990ddb833b270dc692692a8b37187c6f17114e02514f44accfb8de443(
15935
16627
  *,
15936
16628
  zone: IHostedZone,
16629
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15937
16630
  comment: typing.Optional[builtins.str] = None,
15938
16631
  delete_existing: typing.Optional[builtins.bool] = None,
15939
16632
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15955,6 +16648,7 @@ def _typecheckingstub__e8dfccd8504bb3c0a779b42a665f362282b1083fe52a95b450d1ac1eb
15955
16648
  *,
15956
16649
  domain_name: builtins.str,
15957
16650
  zone: IHostedZone,
16651
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15958
16652
  comment: typing.Optional[builtins.str] = None,
15959
16653
  delete_existing: typing.Optional[builtins.bool] = None,
15960
16654
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15972,6 +16666,7 @@ def _typecheckingstub__e8dfccd8504bb3c0a779b42a665f362282b1083fe52a95b450d1ac1eb
15972
16666
  def _typecheckingstub__43b5fc8ccb719e2580c804225e8258b57b1700a701203416558eb2d76a86f86f(
15973
16667
  *,
15974
16668
  zone: IHostedZone,
16669
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15975
16670
  comment: typing.Optional[builtins.str] = None,
15976
16671
  delete_existing: typing.Optional[builtins.bool] = None,
15977
16672
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15993,6 +16688,7 @@ def _typecheckingstub__24205d1a44dcefb992b7bd9b6d91d8b6396f8498224c30876fe8a0673
15993
16688
  *,
15994
16689
  values: typing.Sequence[builtins.str],
15995
16690
  zone: IHostedZone,
16691
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15996
16692
  comment: typing.Optional[builtins.str] = None,
15997
16693
  delete_existing: typing.Optional[builtins.bool] = None,
15998
16694
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16010,6 +16706,7 @@ def _typecheckingstub__24205d1a44dcefb992b7bd9b6d91d8b6396f8498224c30876fe8a0673
16010
16706
  def _typecheckingstub__f86f16d9f2de8fe03cc1189a56a86c4888d20f69dc0f241aa21b50fdf34d4645(
16011
16707
  *,
16012
16708
  zone: IHostedZone,
16709
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16013
16710
  comment: typing.Optional[builtins.str] = None,
16014
16711
  delete_existing: typing.Optional[builtins.bool] = None,
16015
16712
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16118,6 +16815,7 @@ def _typecheckingstub__615153e942ef5cdcb0022d4565e0ec8b8c5554594bfe7221366ad5c83
16118
16815
  *,
16119
16816
  values: typing.Sequence[typing.Union[MxRecordValue, typing.Dict[builtins.str, typing.Any]]],
16120
16817
  zone: IHostedZone,
16818
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16121
16819
  comment: typing.Optional[builtins.str] = None,
16122
16820
  delete_existing: typing.Optional[builtins.bool] = None,
16123
16821
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16135,6 +16833,7 @@ def _typecheckingstub__615153e942ef5cdcb0022d4565e0ec8b8c5554594bfe7221366ad5c83
16135
16833
  def _typecheckingstub__b259122626a3ba94eebff0b5f692944df4aa55dc550b7d113eec491e1c57307d(
16136
16834
  *,
16137
16835
  zone: IHostedZone,
16836
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16138
16837
  comment: typing.Optional[builtins.str] = None,
16139
16838
  delete_existing: typing.Optional[builtins.bool] = None,
16140
16839
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16156,6 +16855,7 @@ def _typecheckingstub__7f3bbcb4bd5bcd8978ae60eaac5ea2c6ab0bb8357a389e9b981e63291
16156
16855
  *,
16157
16856
  values: typing.Sequence[builtins.str],
16158
16857
  zone: IHostedZone,
16858
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16159
16859
  comment: typing.Optional[builtins.str] = None,
16160
16860
  delete_existing: typing.Optional[builtins.bool] = None,
16161
16861
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16173,6 +16873,7 @@ def _typecheckingstub__7f3bbcb4bd5bcd8978ae60eaac5ea2c6ab0bb8357a389e9b981e63291
16173
16873
  def _typecheckingstub__33cda5fac8572316158161da713e2ceea9d3f7f56b5ee9a2a25acf331e737e86(
16174
16874
  *,
16175
16875
  zone: IHostedZone,
16876
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16176
16877
  comment: typing.Optional[builtins.str] = None,
16177
16878
  delete_existing: typing.Optional[builtins.bool] = None,
16178
16879
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16262,6 +16963,7 @@ def _typecheckingstub__f189380057459afbeff6d38749625e3756c4572dec90f74ca7a400dcb
16262
16963
  id: builtins.str,
16263
16964
  *,
16264
16965
  zone: IHostedZone,
16966
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16265
16967
  comment: typing.Optional[builtins.str] = None,
16266
16968
  delete_existing: typing.Optional[builtins.bool] = None,
16267
16969
  geo_location: typing.Optional[GeoLocation] = None,