aws-cdk-lib 2.195.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 (100) hide show
  1. aws_cdk/__init__.py +433 -20
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.195.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 +148 -69
  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 +620 -14
  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 +87 -0
  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 +6 -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 +91 -12
  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 +557 -14
  35. aws_cdk/aws_docdb/__init__.py +27 -3
  36. aws_cdk/aws_dsql/__init__.py +21 -13
  37. aws_cdk/aws_dynamodb/__init__.py +20 -8
  38. aws_cdk/aws_ec2/__init__.py +282 -21
  39. aws_cdk/aws_ecr/__init__.py +6 -0
  40. aws_cdk/aws_ecr_assets/__init__.py +6 -0
  41. aws_cdk/aws_ecs/__init__.py +112 -19
  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 +6 -0
  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 +21 -16
  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 +9 -11
  57. aws_cdk/aws_kinesisanalyticsv2/__init__.py +9 -11
  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_opensearchservice/__init__.py +6 -0
  64. aws_cdk/aws_quicksight/__init__.py +22 -22
  65. aws_cdk/aws_rds/__init__.py +306 -30
  66. aws_cdk/aws_redshiftserverless/__init__.py +7 -7
  67. aws_cdk/aws_route53/__init__.py +723 -25
  68. aws_cdk/aws_s3/__init__.py +37 -10
  69. aws_cdk/aws_s3_deployment/__init__.py +6 -0
  70. aws_cdk/aws_sagemaker/__init__.py +199 -4
  71. aws_cdk/aws_scheduler/__init__.py +12 -0
  72. aws_cdk/aws_secretsmanager/__init__.py +24 -0
  73. aws_cdk/aws_servicecatalog/__init__.py +24 -0
  74. aws_cdk/aws_servicediscovery/__init__.py +48 -0
  75. aws_cdk/aws_ses/__init__.py +133 -33
  76. aws_cdk/aws_signer/__init__.py +6 -0
  77. aws_cdk/aws_sns/__init__.py +18 -0
  78. aws_cdk/aws_sns_subscriptions/__init__.py +6 -0
  79. aws_cdk/aws_sqs/__init__.py +12 -0
  80. aws_cdk/aws_ssm/__init__.py +12 -0
  81. aws_cdk/aws_ssmcontacts/__init__.py +53 -2
  82. aws_cdk/aws_ssmguiconnect/__init__.py +7 -7
  83. aws_cdk/aws_stepfunctions/__init__.py +153 -7
  84. aws_cdk/aws_stepfunctions_tasks/__init__.py +46 -10
  85. aws_cdk/aws_synthetics/__init__.py +32 -0
  86. aws_cdk/aws_verifiedpermissions/__init__.py +168 -3
  87. aws_cdk/aws_vpclattice/__init__.py +3 -1
  88. aws_cdk/aws_wisdom/__init__.py +6 -4
  89. aws_cdk/custom_resources/__init__.py +18 -0
  90. aws_cdk/cx_api/__init__.py +33 -0
  91. aws_cdk/lambda_layer_awscli/__init__.py +6 -0
  92. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
  93. aws_cdk/pipelines/__init__.py +10 -10
  94. aws_cdk/triggers/__init__.py +6 -0
  95. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/METADATA +83 -5
  96. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/RECORD +100 -100
  97. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/LICENSE +0 -0
  98. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/NOTICE +0 -0
  99. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/WHEEL +0 -0
  100. {aws_cdk_lib-2.195.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,18 +9438,15 @@ class RecordTarget(
9154
9438
 
9155
9439
  Example::
9156
9440
 
9157
- from aws_cdk.region_info import RegionInfo
9441
+ import aws_cdk.aws_apigatewayv2 as apigwv2
9158
9442
 
9159
9443
  # zone: route53.HostedZone
9160
- # ebs_environment_url: str
9444
+ # domain_name: apigwv2.DomainName
9161
9445
 
9162
9446
 
9163
9447
  route53.ARecord(self, "AliasRecord",
9164
9448
  zone=zone,
9165
- target=route53.RecordTarget.from_alias(
9166
- targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
9167
- "hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
9168
- }))
9449
+ target=route53.RecordTarget.from_alias(targets.ApiGatewayv2DomainProperties(domain_name.regional_domain_name, domain_name.regional_hosted_zone_id))
9169
9450
  )
9170
9451
  '''
9171
9452
 
@@ -9356,6 +9637,7 @@ class SrvRecord(
9356
9637
  import aws_cdk as cdk
9357
9638
  from aws_cdk import aws_route53 as route53
9358
9639
 
9640
+ # cidr_routing_config: route53.CidrRoutingConfig
9359
9641
  # geo_location: route53.GeoLocation
9360
9642
  # health_check: route53.HealthCheck
9361
9643
  # hosted_zone: route53.HostedZone
@@ -9370,6 +9652,7 @@ class SrvRecord(
9370
9652
  zone=hosted_zone,
9371
9653
 
9372
9654
  # the properties below are optional
9655
+ cidr_routing_config=cidr_routing_config,
9373
9656
  comment="comment",
9374
9657
  delete_existing=False,
9375
9658
  geo_location=geo_location,
@@ -9390,6 +9673,7 @@ class SrvRecord(
9390
9673
  *,
9391
9674
  values: typing.Sequence[typing.Union["SrvRecordValue", typing.Dict[builtins.str, typing.Any]]],
9392
9675
  zone: IHostedZone,
9676
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
9393
9677
  comment: typing.Optional[builtins.str] = None,
9394
9678
  delete_existing: typing.Optional[builtins.bool] = None,
9395
9679
  geo_location: typing.Optional[GeoLocation] = None,
@@ -9406,6 +9690,7 @@ class SrvRecord(
9406
9690
  :param id: -
9407
9691
  :param values: The values.
9408
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
9409
9694
  :param comment: A comment to add on the record. Default: no comment
9410
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
9411
9696
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -9424,6 +9709,7 @@ class SrvRecord(
9424
9709
  props = SrvRecordProps(
9425
9710
  values=values,
9426
9711
  zone=zone,
9712
+ cidr_routing_config=cidr_routing_config,
9427
9713
  comment=comment,
9428
9714
  delete_existing=delete_existing,
9429
9715
  geo_location=geo_location,
@@ -9438,12 +9724,19 @@ class SrvRecord(
9438
9724
 
9439
9725
  jsii.create(self.__class__, self, [scope, id, props])
9440
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
+
9441
9733
 
9442
9734
  @jsii.data_type(
9443
9735
  jsii_type="aws-cdk-lib.aws_route53.SrvRecordProps",
9444
9736
  jsii_struct_bases=[RecordSetOptions],
9445
9737
  name_mapping={
9446
9738
  "zone": "zone",
9739
+ "cidr_routing_config": "cidrRoutingConfig",
9447
9740
  "comment": "comment",
9448
9741
  "delete_existing": "deleteExisting",
9449
9742
  "geo_location": "geoLocation",
@@ -9462,6 +9755,7 @@ class SrvRecordProps(RecordSetOptions):
9462
9755
  self,
9463
9756
  *,
9464
9757
  zone: IHostedZone,
9758
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
9465
9759
  comment: typing.Optional[builtins.str] = None,
9466
9760
  delete_existing: typing.Optional[builtins.bool] = None,
9467
9761
  geo_location: typing.Optional[GeoLocation] = None,
@@ -9477,6 +9771,7 @@ class SrvRecordProps(RecordSetOptions):
9477
9771
  '''Construction properties for a SrvRecord.
9478
9772
 
9479
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
9480
9775
  :param comment: A comment to add on the record. Default: no comment
9481
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
9482
9777
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -9498,6 +9793,7 @@ class SrvRecordProps(RecordSetOptions):
9498
9793
  import aws_cdk as cdk
9499
9794
  from aws_cdk import aws_route53 as route53
9500
9795
 
9796
+ # cidr_routing_config: route53.CidrRoutingConfig
9501
9797
  # geo_location: route53.GeoLocation
9502
9798
  # health_check: route53.HealthCheck
9503
9799
  # hosted_zone: route53.HostedZone
@@ -9512,6 +9808,7 @@ class SrvRecordProps(RecordSetOptions):
9512
9808
  zone=hosted_zone,
9513
9809
 
9514
9810
  # the properties below are optional
9811
+ cidr_routing_config=cidr_routing_config,
9515
9812
  comment="comment",
9516
9813
  delete_existing=False,
9517
9814
  geo_location=geo_location,
@@ -9527,6 +9824,7 @@ class SrvRecordProps(RecordSetOptions):
9527
9824
  if __debug__:
9528
9825
  type_hints = typing.get_type_hints(_typecheckingstub__803828161f541995c058596dab53102f2eccd14ba565bbe715a5ac29353f6db9)
9529
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"])
9530
9828
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
9531
9829
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
9532
9830
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -9542,6 +9840,8 @@ class SrvRecordProps(RecordSetOptions):
9542
9840
  "zone": zone,
9543
9841
  "values": values,
9544
9842
  }
9843
+ if cidr_routing_config is not None:
9844
+ self._values["cidr_routing_config"] = cidr_routing_config
9545
9845
  if comment is not None:
9546
9846
  self._values["comment"] = comment
9547
9847
  if delete_existing is not None:
@@ -9570,6 +9870,19 @@ class SrvRecordProps(RecordSetOptions):
9570
9870
  assert result is not None, "Required property 'zone' is missing"
9571
9871
  return typing.cast(IHostedZone, result)
9572
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
+
9573
9886
  @builtins.property
9574
9887
  def comment(self) -> typing.Optional[builtins.str]:
9575
9888
  '''A comment to add on the record.
@@ -9841,6 +10154,7 @@ class TxtRecord(
9841
10154
  *,
9842
10155
  values: typing.Sequence[builtins.str],
9843
10156
  zone: IHostedZone,
10157
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
9844
10158
  comment: typing.Optional[builtins.str] = None,
9845
10159
  delete_existing: typing.Optional[builtins.bool] = None,
9846
10160
  geo_location: typing.Optional[GeoLocation] = None,
@@ -9857,6 +10171,7 @@ class TxtRecord(
9857
10171
  :param id: -
9858
10172
  :param values: The text values.
9859
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
9860
10175
  :param comment: A comment to add on the record. Default: no comment
9861
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
9862
10177
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -9875,6 +10190,7 @@ class TxtRecord(
9875
10190
  props = TxtRecordProps(
9876
10191
  values=values,
9877
10192
  zone=zone,
10193
+ cidr_routing_config=cidr_routing_config,
9878
10194
  comment=comment,
9879
10195
  delete_existing=delete_existing,
9880
10196
  geo_location=geo_location,
@@ -9889,12 +10205,19 @@ class TxtRecord(
9889
10205
 
9890
10206
  jsii.create(self.__class__, self, [scope, id, props])
9891
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
+
9892
10214
 
9893
10215
  @jsii.data_type(
9894
10216
  jsii_type="aws-cdk-lib.aws_route53.TxtRecordProps",
9895
10217
  jsii_struct_bases=[RecordSetOptions],
9896
10218
  name_mapping={
9897
10219
  "zone": "zone",
10220
+ "cidr_routing_config": "cidrRoutingConfig",
9898
10221
  "comment": "comment",
9899
10222
  "delete_existing": "deleteExisting",
9900
10223
  "geo_location": "geoLocation",
@@ -9913,6 +10236,7 @@ class TxtRecordProps(RecordSetOptions):
9913
10236
  self,
9914
10237
  *,
9915
10238
  zone: IHostedZone,
10239
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
9916
10240
  comment: typing.Optional[builtins.str] = None,
9917
10241
  delete_existing: typing.Optional[builtins.bool] = None,
9918
10242
  geo_location: typing.Optional[GeoLocation] = None,
@@ -9928,6 +10252,7 @@ class TxtRecordProps(RecordSetOptions):
9928
10252
  '''Construction properties for a TxtRecord.
9929
10253
 
9930
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
9931
10256
  :param comment: A comment to add on the record. Default: no comment
9932
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
9933
10258
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -9960,6 +10285,7 @@ class TxtRecordProps(RecordSetOptions):
9960
10285
  if __debug__:
9961
10286
  type_hints = typing.get_type_hints(_typecheckingstub__1925dd23d881cbbf99625b9a5fe0ef65b92a92359376c46e49b6690f1a4a9dab)
9962
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"])
9963
10289
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
9964
10290
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
9965
10291
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -9975,6 +10301,8 @@ class TxtRecordProps(RecordSetOptions):
9975
10301
  "zone": zone,
9976
10302
  "values": values,
9977
10303
  }
10304
+ if cidr_routing_config is not None:
10305
+ self._values["cidr_routing_config"] = cidr_routing_config
9978
10306
  if comment is not None:
9979
10307
  self._values["comment"] = comment
9980
10308
  if delete_existing is not None:
@@ -10003,6 +10331,19 @@ class TxtRecordProps(RecordSetOptions):
10003
10331
  assert result is not None, "Required property 'zone' is missing"
10004
10332
  return typing.cast(IHostedZone, result)
10005
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
+
10006
10347
  @builtins.property
10007
10348
  def comment(self) -> typing.Optional[builtins.str]:
10008
10349
  '''A comment to add on the record.
@@ -10388,6 +10729,7 @@ class ZoneDelegationRecord(
10388
10729
  import aws_cdk as cdk
10389
10730
  from aws_cdk import aws_route53 as route53
10390
10731
 
10732
+ # cidr_routing_config: route53.CidrRoutingConfig
10391
10733
  # geo_location: route53.GeoLocation
10392
10734
  # health_check: route53.HealthCheck
10393
10735
  # hosted_zone: route53.HostedZone
@@ -10397,6 +10739,7 @@ class ZoneDelegationRecord(
10397
10739
  zone=hosted_zone,
10398
10740
 
10399
10741
  # the properties below are optional
10742
+ cidr_routing_config=cidr_routing_config,
10400
10743
  comment="comment",
10401
10744
  delete_existing=False,
10402
10745
  geo_location=geo_location,
@@ -10417,6 +10760,7 @@ class ZoneDelegationRecord(
10417
10760
  *,
10418
10761
  name_servers: typing.Sequence[builtins.str],
10419
10762
  zone: IHostedZone,
10763
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
10420
10764
  comment: typing.Optional[builtins.str] = None,
10421
10765
  delete_existing: typing.Optional[builtins.bool] = None,
10422
10766
  geo_location: typing.Optional[GeoLocation] = None,
@@ -10433,6 +10777,7 @@ class ZoneDelegationRecord(
10433
10777
  :param id: -
10434
10778
  :param name_servers: The name servers to report in the delegation records.
10435
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
10436
10781
  :param comment: A comment to add on the record. Default: no comment
10437
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
10438
10783
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -10451,6 +10796,7 @@ class ZoneDelegationRecord(
10451
10796
  props = ZoneDelegationRecordProps(
10452
10797
  name_servers=name_servers,
10453
10798
  zone=zone,
10799
+ cidr_routing_config=cidr_routing_config,
10454
10800
  comment=comment,
10455
10801
  delete_existing=delete_existing,
10456
10802
  geo_location=geo_location,
@@ -10465,12 +10811,19 @@ class ZoneDelegationRecord(
10465
10811
 
10466
10812
  jsii.create(self.__class__, self, [scope, id, props])
10467
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
+
10468
10820
 
10469
10821
  @jsii.data_type(
10470
10822
  jsii_type="aws-cdk-lib.aws_route53.ZoneDelegationRecordProps",
10471
10823
  jsii_struct_bases=[RecordSetOptions],
10472
10824
  name_mapping={
10473
10825
  "zone": "zone",
10826
+ "cidr_routing_config": "cidrRoutingConfig",
10474
10827
  "comment": "comment",
10475
10828
  "delete_existing": "deleteExisting",
10476
10829
  "geo_location": "geoLocation",
@@ -10489,6 +10842,7 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10489
10842
  self,
10490
10843
  *,
10491
10844
  zone: IHostedZone,
10845
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
10492
10846
  comment: typing.Optional[builtins.str] = None,
10493
10847
  delete_existing: typing.Optional[builtins.bool] = None,
10494
10848
  geo_location: typing.Optional[GeoLocation] = None,
@@ -10504,6 +10858,7 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10504
10858
  '''Construction properties for a ZoneDelegationRecord.
10505
10859
 
10506
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
10507
10862
  :param comment: A comment to add on the record. Default: no comment
10508
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
10509
10864
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -10525,6 +10880,7 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10525
10880
  import aws_cdk as cdk
10526
10881
  from aws_cdk import aws_route53 as route53
10527
10882
 
10883
+ # cidr_routing_config: route53.CidrRoutingConfig
10528
10884
  # geo_location: route53.GeoLocation
10529
10885
  # health_check: route53.HealthCheck
10530
10886
  # hosted_zone: route53.HostedZone
@@ -10534,6 +10890,7 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10534
10890
  zone=hosted_zone,
10535
10891
 
10536
10892
  # the properties below are optional
10893
+ cidr_routing_config=cidr_routing_config,
10537
10894
  comment="comment",
10538
10895
  delete_existing=False,
10539
10896
  geo_location=geo_location,
@@ -10549,6 +10906,7 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10549
10906
  if __debug__:
10550
10907
  type_hints = typing.get_type_hints(_typecheckingstub__240a965753acb9488d02c120074027364f5e85a8ec585205a863174feadd7582)
10551
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"])
10552
10910
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
10553
10911
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
10554
10912
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -10564,6 +10922,8 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10564
10922
  "zone": zone,
10565
10923
  "name_servers": name_servers,
10566
10924
  }
10925
+ if cidr_routing_config is not None:
10926
+ self._values["cidr_routing_config"] = cidr_routing_config
10567
10927
  if comment is not None:
10568
10928
  self._values["comment"] = comment
10569
10929
  if delete_existing is not None:
@@ -10592,6 +10952,19 @@ class ZoneDelegationRecordProps(RecordSetOptions):
10592
10952
  assert result is not None, "Required property 'zone' is missing"
10593
10953
  return typing.cast(IHostedZone, result)
10594
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
+
10595
10968
  @builtins.property
10596
10969
  def comment(self) -> typing.Optional[builtins.str]:
10597
10970
  '''A comment to add on the record.
@@ -10847,6 +11220,7 @@ class ARecord(
10847
11220
  *,
10848
11221
  target: RecordTarget,
10849
11222
  zone: IHostedZone,
11223
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
10850
11224
  comment: typing.Optional[builtins.str] = None,
10851
11225
  delete_existing: typing.Optional[builtins.bool] = None,
10852
11226
  geo_location: typing.Optional[GeoLocation] = None,
@@ -10863,6 +11237,7 @@ class ARecord(
10863
11237
  :param id: -
10864
11238
  :param target: The target.
10865
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
10866
11241
  :param comment: A comment to add on the record. Default: no comment
10867
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
10868
11243
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -10881,6 +11256,7 @@ class ARecord(
10881
11256
  props = ARecordProps(
10882
11257
  target=target,
10883
11258
  zone=zone,
11259
+ cidr_routing_config=cidr_routing_config,
10884
11260
  comment=comment,
10885
11261
  delete_existing=delete_existing,
10886
11262
  geo_location=geo_location,
@@ -10904,6 +11280,7 @@ class ARecord(
10904
11280
  *,
10905
11281
  target_dns: builtins.str,
10906
11282
  zone: IHostedZone,
11283
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
10907
11284
  comment: typing.Optional[builtins.str] = None,
10908
11285
  delete_existing: typing.Optional[builtins.bool] = None,
10909
11286
  geo_location: typing.Optional[GeoLocation] = None,
@@ -10924,6 +11301,7 @@ class ARecord(
10924
11301
  :param id: Logical Id of the resource.
10925
11302
  :param target_dns: Existing A record DNS name to set RecordTarget.
10926
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
10927
11305
  :param comment: A comment to add on the record. Default: no comment
10928
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
10929
11307
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -10946,6 +11324,7 @@ class ARecord(
10946
11324
  attrs = ARecordAttrs(
10947
11325
  target_dns=target_dns,
10948
11326
  zone=zone,
11327
+ cidr_routing_config=cidr_routing_config,
10949
11328
  comment=comment,
10950
11329
  delete_existing=delete_existing,
10951
11330
  geo_location=geo_location,
@@ -10960,12 +11339,19 @@ class ARecord(
10960
11339
 
10961
11340
  return typing.cast("ARecord", jsii.sinvoke(cls, "fromARecordAttributes", [scope, id, attrs]))
10962
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
+
10963
11348
 
10964
11349
  @jsii.data_type(
10965
11350
  jsii_type="aws-cdk-lib.aws_route53.ARecordAttrs",
10966
11351
  jsii_struct_bases=[RecordSetOptions],
10967
11352
  name_mapping={
10968
11353
  "zone": "zone",
11354
+ "cidr_routing_config": "cidrRoutingConfig",
10969
11355
  "comment": "comment",
10970
11356
  "delete_existing": "deleteExisting",
10971
11357
  "geo_location": "geoLocation",
@@ -10984,6 +11370,7 @@ class ARecordAttrs(RecordSetOptions):
10984
11370
  self,
10985
11371
  *,
10986
11372
  zone: IHostedZone,
11373
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
10987
11374
  comment: typing.Optional[builtins.str] = None,
10988
11375
  delete_existing: typing.Optional[builtins.bool] = None,
10989
11376
  geo_location: typing.Optional[GeoLocation] = None,
@@ -10999,6 +11386,7 @@ class ARecordAttrs(RecordSetOptions):
10999
11386
  '''Construction properties to import existing ARecord as target.
11000
11387
 
11001
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
11002
11390
  :param comment: A comment to add on the record. Default: no comment
11003
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
11004
11392
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -11028,6 +11416,7 @@ class ARecordAttrs(RecordSetOptions):
11028
11416
  if __debug__:
11029
11417
  type_hints = typing.get_type_hints(_typecheckingstub__514d7eccc21be019febe80e121fd7d979162668b63cb99051c629ef087f5fe9a)
11030
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"])
11031
11420
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
11032
11421
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
11033
11422
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -11043,6 +11432,8 @@ class ARecordAttrs(RecordSetOptions):
11043
11432
  "zone": zone,
11044
11433
  "target_dns": target_dns,
11045
11434
  }
11435
+ if cidr_routing_config is not None:
11436
+ self._values["cidr_routing_config"] = cidr_routing_config
11046
11437
  if comment is not None:
11047
11438
  self._values["comment"] = comment
11048
11439
  if delete_existing is not None:
@@ -11071,6 +11462,19 @@ class ARecordAttrs(RecordSetOptions):
11071
11462
  assert result is not None, "Required property 'zone' is missing"
11072
11463
  return typing.cast(IHostedZone, result)
11073
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
+
11074
11478
  @builtins.property
11075
11479
  def comment(self) -> typing.Optional[builtins.str]:
11076
11480
  '''A comment to add on the record.
@@ -11220,6 +11624,7 @@ class ARecordAttrs(RecordSetOptions):
11220
11624
  jsii_struct_bases=[RecordSetOptions],
11221
11625
  name_mapping={
11222
11626
  "zone": "zone",
11627
+ "cidr_routing_config": "cidrRoutingConfig",
11223
11628
  "comment": "comment",
11224
11629
  "delete_existing": "deleteExisting",
11225
11630
  "geo_location": "geoLocation",
@@ -11238,6 +11643,7 @@ class ARecordProps(RecordSetOptions):
11238
11643
  self,
11239
11644
  *,
11240
11645
  zone: IHostedZone,
11646
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
11241
11647
  comment: typing.Optional[builtins.str] = None,
11242
11648
  delete_existing: typing.Optional[builtins.bool] = None,
11243
11649
  geo_location: typing.Optional[GeoLocation] = None,
@@ -11253,6 +11659,7 @@ class ARecordProps(RecordSetOptions):
11253
11659
  '''Construction properties for a ARecord.
11254
11660
 
11255
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
11256
11663
  :param comment: A comment to add on the record. Default: no comment
11257
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
11258
11665
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -11286,6 +11693,7 @@ class ARecordProps(RecordSetOptions):
11286
11693
  if __debug__:
11287
11694
  type_hints = typing.get_type_hints(_typecheckingstub__a73a5c86411a0d853fcfad820ed58f5a5c19df65a7b2756560958db5cbe36569)
11288
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"])
11289
11697
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
11290
11698
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
11291
11699
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -11301,6 +11709,8 @@ class ARecordProps(RecordSetOptions):
11301
11709
  "zone": zone,
11302
11710
  "target": target,
11303
11711
  }
11712
+ if cidr_routing_config is not None:
11713
+ self._values["cidr_routing_config"] = cidr_routing_config
11304
11714
  if comment is not None:
11305
11715
  self._values["comment"] = comment
11306
11716
  if delete_existing is not None:
@@ -11329,6 +11739,19 @@ class ARecordProps(RecordSetOptions):
11329
11739
  assert result is not None, "Required property 'zone' is missing"
11330
11740
  return typing.cast(IHostedZone, result)
11331
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
+
11332
11755
  @builtins.property
11333
11756
  def comment(self) -> typing.Optional[builtins.str]:
11334
11757
  '''A comment to add on the record.
@@ -11503,6 +11926,7 @@ class AaaaRecord(
11503
11926
  *,
11504
11927
  target: RecordTarget,
11505
11928
  zone: IHostedZone,
11929
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
11506
11930
  comment: typing.Optional[builtins.str] = None,
11507
11931
  delete_existing: typing.Optional[builtins.bool] = None,
11508
11932
  geo_location: typing.Optional[GeoLocation] = None,
@@ -11519,6 +11943,7 @@ class AaaaRecord(
11519
11943
  :param id: -
11520
11944
  :param target: The target.
11521
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
11522
11947
  :param comment: A comment to add on the record. Default: no comment
11523
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
11524
11949
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -11537,6 +11962,7 @@ class AaaaRecord(
11537
11962
  props = AaaaRecordProps(
11538
11963
  target=target,
11539
11964
  zone=zone,
11965
+ cidr_routing_config=cidr_routing_config,
11540
11966
  comment=comment,
11541
11967
  delete_existing=delete_existing,
11542
11968
  geo_location=geo_location,
@@ -11551,12 +11977,19 @@ class AaaaRecord(
11551
11977
 
11552
11978
  jsii.create(self.__class__, self, [scope, id, props])
11553
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
+
11554
11986
 
11555
11987
  @jsii.data_type(
11556
11988
  jsii_type="aws-cdk-lib.aws_route53.AaaaRecordProps",
11557
11989
  jsii_struct_bases=[RecordSetOptions],
11558
11990
  name_mapping={
11559
11991
  "zone": "zone",
11992
+ "cidr_routing_config": "cidrRoutingConfig",
11560
11993
  "comment": "comment",
11561
11994
  "delete_existing": "deleteExisting",
11562
11995
  "geo_location": "geoLocation",
@@ -11575,6 +12008,7 @@ class AaaaRecordProps(RecordSetOptions):
11575
12008
  self,
11576
12009
  *,
11577
12010
  zone: IHostedZone,
12011
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
11578
12012
  comment: typing.Optional[builtins.str] = None,
11579
12013
  delete_existing: typing.Optional[builtins.bool] = None,
11580
12014
  geo_location: typing.Optional[GeoLocation] = None,
@@ -11590,6 +12024,7 @@ class AaaaRecordProps(RecordSetOptions):
11590
12024
  '''Construction properties for a AaaaRecord.
11591
12025
 
11592
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
11593
12028
  :param comment: A comment to add on the record. Default: no comment
11594
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
11595
12030
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -11619,6 +12054,7 @@ class AaaaRecordProps(RecordSetOptions):
11619
12054
  if __debug__:
11620
12055
  type_hints = typing.get_type_hints(_typecheckingstub__c051ff70083b2ae68889d3f02be8344125acf64b4768d5f5df3298ba8a8d6a32)
11621
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"])
11622
12058
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
11623
12059
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
11624
12060
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -11634,6 +12070,8 @@ class AaaaRecordProps(RecordSetOptions):
11634
12070
  "zone": zone,
11635
12071
  "target": target,
11636
12072
  }
12073
+ if cidr_routing_config is not None:
12074
+ self._values["cidr_routing_config"] = cidr_routing_config
11637
12075
  if comment is not None:
11638
12076
  self._values["comment"] = comment
11639
12077
  if delete_existing is not None:
@@ -11662,6 +12100,19 @@ class AaaaRecordProps(RecordSetOptions):
11662
12100
  assert result is not None, "Required property 'zone' is missing"
11663
12101
  return typing.cast(IHostedZone, result)
11664
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
+
11665
12116
  @builtins.property
11666
12117
  def comment(self) -> typing.Optional[builtins.str]:
11667
12118
  '''A comment to add on the record.
@@ -11811,6 +12262,7 @@ class AaaaRecordProps(RecordSetOptions):
11811
12262
  jsii_struct_bases=[RecordSetOptions],
11812
12263
  name_mapping={
11813
12264
  "zone": "zone",
12265
+ "cidr_routing_config": "cidrRoutingConfig",
11814
12266
  "comment": "comment",
11815
12267
  "delete_existing": "deleteExisting",
11816
12268
  "geo_location": "geoLocation",
@@ -11828,6 +12280,7 @@ class CaaAmazonRecordProps(RecordSetOptions):
11828
12280
  self,
11829
12281
  *,
11830
12282
  zone: IHostedZone,
12283
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
11831
12284
  comment: typing.Optional[builtins.str] = None,
11832
12285
  delete_existing: typing.Optional[builtins.bool] = None,
11833
12286
  geo_location: typing.Optional[GeoLocation] = None,
@@ -11842,6 +12295,7 @@ class CaaAmazonRecordProps(RecordSetOptions):
11842
12295
  '''Construction properties for a CaaAmazonRecord.
11843
12296
 
11844
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
11845
12299
  :param comment: A comment to add on the record. Default: no comment
11846
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
11847
12301
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -11862,6 +12316,7 @@ class CaaAmazonRecordProps(RecordSetOptions):
11862
12316
  import aws_cdk as cdk
11863
12317
  from aws_cdk import aws_route53 as route53
11864
12318
 
12319
+ # cidr_routing_config: route53.CidrRoutingConfig
11865
12320
  # geo_location: route53.GeoLocation
11866
12321
  # health_check: route53.HealthCheck
11867
12322
  # hosted_zone: route53.HostedZone
@@ -11870,6 +12325,7 @@ class CaaAmazonRecordProps(RecordSetOptions):
11870
12325
  zone=hosted_zone,
11871
12326
 
11872
12327
  # the properties below are optional
12328
+ cidr_routing_config=cidr_routing_config,
11873
12329
  comment="comment",
11874
12330
  delete_existing=False,
11875
12331
  geo_location=geo_location,
@@ -11885,6 +12341,7 @@ class CaaAmazonRecordProps(RecordSetOptions):
11885
12341
  if __debug__:
11886
12342
  type_hints = typing.get_type_hints(_typecheckingstub__14055fdb7d9f4b55091295996ec92db8d73fa789a21fca2664da1242ae89f859)
11887
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"])
11888
12345
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
11889
12346
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
11890
12347
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -11898,6 +12355,8 @@ class CaaAmazonRecordProps(RecordSetOptions):
11898
12355
  self._values: typing.Dict[builtins.str, typing.Any] = {
11899
12356
  "zone": zone,
11900
12357
  }
12358
+ if cidr_routing_config is not None:
12359
+ self._values["cidr_routing_config"] = cidr_routing_config
11901
12360
  if comment is not None:
11902
12361
  self._values["comment"] = comment
11903
12362
  if delete_existing is not None:
@@ -11926,6 +12385,19 @@ class CaaAmazonRecordProps(RecordSetOptions):
11926
12385
  assert result is not None, "Required property 'zone' is missing"
11927
12386
  return typing.cast(IHostedZone, result)
11928
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
+
11929
12401
  @builtins.property
11930
12402
  def comment(self) -> typing.Optional[builtins.str]:
11931
12403
  '''A comment to add on the record.
@@ -12080,6 +12552,7 @@ class CaaRecord(
12080
12552
  import aws_cdk as cdk
12081
12553
  from aws_cdk import aws_route53 as route53
12082
12554
 
12555
+ # cidr_routing_config: route53.CidrRoutingConfig
12083
12556
  # geo_location: route53.GeoLocation
12084
12557
  # health_check: route53.HealthCheck
12085
12558
  # hosted_zone: route53.HostedZone
@@ -12093,6 +12566,7 @@ class CaaRecord(
12093
12566
  zone=hosted_zone,
12094
12567
 
12095
12568
  # the properties below are optional
12569
+ cidr_routing_config=cidr_routing_config,
12096
12570
  comment="comment",
12097
12571
  delete_existing=False,
12098
12572
  geo_location=geo_location,
@@ -12113,6 +12587,7 @@ class CaaRecord(
12113
12587
  *,
12114
12588
  values: typing.Sequence[typing.Union[CaaRecordValue, typing.Dict[builtins.str, typing.Any]]],
12115
12589
  zone: IHostedZone,
12590
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12116
12591
  comment: typing.Optional[builtins.str] = None,
12117
12592
  delete_existing: typing.Optional[builtins.bool] = None,
12118
12593
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12129,6 +12604,7 @@ class CaaRecord(
12129
12604
  :param id: -
12130
12605
  :param values: The values.
12131
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
12132
12608
  :param comment: A comment to add on the record. Default: no comment
12133
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
12134
12610
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12147,6 +12623,7 @@ class CaaRecord(
12147
12623
  props = CaaRecordProps(
12148
12624
  values=values,
12149
12625
  zone=zone,
12626
+ cidr_routing_config=cidr_routing_config,
12150
12627
  comment=comment,
12151
12628
  delete_existing=delete_existing,
12152
12629
  geo_location=geo_location,
@@ -12161,12 +12638,19 @@ class CaaRecord(
12161
12638
 
12162
12639
  jsii.create(self.__class__, self, [scope, id, props])
12163
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
+
12164
12647
 
12165
12648
  @jsii.data_type(
12166
12649
  jsii_type="aws-cdk-lib.aws_route53.CaaRecordProps",
12167
12650
  jsii_struct_bases=[RecordSetOptions],
12168
12651
  name_mapping={
12169
12652
  "zone": "zone",
12653
+ "cidr_routing_config": "cidrRoutingConfig",
12170
12654
  "comment": "comment",
12171
12655
  "delete_existing": "deleteExisting",
12172
12656
  "geo_location": "geoLocation",
@@ -12185,6 +12669,7 @@ class CaaRecordProps(RecordSetOptions):
12185
12669
  self,
12186
12670
  *,
12187
12671
  zone: IHostedZone,
12672
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12188
12673
  comment: typing.Optional[builtins.str] = None,
12189
12674
  delete_existing: typing.Optional[builtins.bool] = None,
12190
12675
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12200,6 +12685,7 @@ class CaaRecordProps(RecordSetOptions):
12200
12685
  '''Construction properties for a CaaRecord.
12201
12686
 
12202
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
12203
12689
  :param comment: A comment to add on the record. Default: no comment
12204
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
12205
12691
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12221,6 +12707,7 @@ class CaaRecordProps(RecordSetOptions):
12221
12707
  import aws_cdk as cdk
12222
12708
  from aws_cdk import aws_route53 as route53
12223
12709
 
12710
+ # cidr_routing_config: route53.CidrRoutingConfig
12224
12711
  # geo_location: route53.GeoLocation
12225
12712
  # health_check: route53.HealthCheck
12226
12713
  # hosted_zone: route53.HostedZone
@@ -12234,6 +12721,7 @@ class CaaRecordProps(RecordSetOptions):
12234
12721
  zone=hosted_zone,
12235
12722
 
12236
12723
  # the properties below are optional
12724
+ cidr_routing_config=cidr_routing_config,
12237
12725
  comment="comment",
12238
12726
  delete_existing=False,
12239
12727
  geo_location=geo_location,
@@ -12249,6 +12737,7 @@ class CaaRecordProps(RecordSetOptions):
12249
12737
  if __debug__:
12250
12738
  type_hints = typing.get_type_hints(_typecheckingstub__349a94b990ddb833b270dc692692a8b37187c6f17114e02514f44accfb8de443)
12251
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"])
12252
12741
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
12253
12742
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
12254
12743
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -12264,6 +12753,8 @@ class CaaRecordProps(RecordSetOptions):
12264
12753
  "zone": zone,
12265
12754
  "values": values,
12266
12755
  }
12756
+ if cidr_routing_config is not None:
12757
+ self._values["cidr_routing_config"] = cidr_routing_config
12267
12758
  if comment is not None:
12268
12759
  self._values["comment"] = comment
12269
12760
  if delete_existing is not None:
@@ -12292,6 +12783,19 @@ class CaaRecordProps(RecordSetOptions):
12292
12783
  assert result is not None, "Required property 'zone' is missing"
12293
12784
  return typing.cast(IHostedZone, result)
12294
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
+
12295
12799
  @builtins.property
12296
12800
  def comment(self) -> typing.Optional[builtins.str]:
12297
12801
  '''A comment to add on the record.
@@ -12489,6 +12993,7 @@ class CnameRecord(
12489
12993
  *,
12490
12994
  domain_name: builtins.str,
12491
12995
  zone: IHostedZone,
12996
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12492
12997
  comment: typing.Optional[builtins.str] = None,
12493
12998
  delete_existing: typing.Optional[builtins.bool] = None,
12494
12999
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12505,6 +13010,7 @@ class CnameRecord(
12505
13010
  :param id: -
12506
13011
  :param domain_name: The domain name of the target that this record should point to.
12507
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
12508
13014
  :param comment: A comment to add on the record. Default: no comment
12509
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
12510
13016
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12523,6 +13029,7 @@ class CnameRecord(
12523
13029
  props = CnameRecordProps(
12524
13030
  domain_name=domain_name,
12525
13031
  zone=zone,
13032
+ cidr_routing_config=cidr_routing_config,
12526
13033
  comment=comment,
12527
13034
  delete_existing=delete_existing,
12528
13035
  geo_location=geo_location,
@@ -12537,12 +13044,19 @@ class CnameRecord(
12537
13044
 
12538
13045
  jsii.create(self.__class__, self, [scope, id, props])
12539
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
+
12540
13053
 
12541
13054
  @jsii.data_type(
12542
13055
  jsii_type="aws-cdk-lib.aws_route53.CnameRecordProps",
12543
13056
  jsii_struct_bases=[RecordSetOptions],
12544
13057
  name_mapping={
12545
13058
  "zone": "zone",
13059
+ "cidr_routing_config": "cidrRoutingConfig",
12546
13060
  "comment": "comment",
12547
13061
  "delete_existing": "deleteExisting",
12548
13062
  "geo_location": "geoLocation",
@@ -12561,6 +13075,7 @@ class CnameRecordProps(RecordSetOptions):
12561
13075
  self,
12562
13076
  *,
12563
13077
  zone: IHostedZone,
13078
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12564
13079
  comment: typing.Optional[builtins.str] = None,
12565
13080
  delete_existing: typing.Optional[builtins.bool] = None,
12566
13081
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12576,6 +13091,7 @@ class CnameRecordProps(RecordSetOptions):
12576
13091
  '''Construction properties for a CnameRecord.
12577
13092
 
12578
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
12579
13095
  :param comment: A comment to add on the record. Default: no comment
12580
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
12581
13097
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12628,6 +13144,7 @@ class CnameRecordProps(RecordSetOptions):
12628
13144
  if __debug__:
12629
13145
  type_hints = typing.get_type_hints(_typecheckingstub__43b5fc8ccb719e2580c804225e8258b57b1700a701203416558eb2d76a86f86f)
12630
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"])
12631
13148
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
12632
13149
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
12633
13150
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -12643,6 +13160,8 @@ class CnameRecordProps(RecordSetOptions):
12643
13160
  "zone": zone,
12644
13161
  "domain_name": domain_name,
12645
13162
  }
13163
+ if cidr_routing_config is not None:
13164
+ self._values["cidr_routing_config"] = cidr_routing_config
12646
13165
  if comment is not None:
12647
13166
  self._values["comment"] = comment
12648
13167
  if delete_existing is not None:
@@ -12671,6 +13190,19 @@ class CnameRecordProps(RecordSetOptions):
12671
13190
  assert result is not None, "Required property 'zone' is missing"
12672
13191
  return typing.cast(IHostedZone, result)
12673
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
+
12674
13206
  @builtins.property
12675
13207
  def comment(self) -> typing.Optional[builtins.str]:
12676
13208
  '''A comment to add on the record.
@@ -12846,6 +13378,7 @@ class DsRecord(
12846
13378
  *,
12847
13379
  values: typing.Sequence[builtins.str],
12848
13380
  zone: IHostedZone,
13381
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12849
13382
  comment: typing.Optional[builtins.str] = None,
12850
13383
  delete_existing: typing.Optional[builtins.bool] = None,
12851
13384
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12862,6 +13395,7 @@ class DsRecord(
12862
13395
  :param id: -
12863
13396
  :param values: The DS values.
12864
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
12865
13399
  :param comment: A comment to add on the record. Default: no comment
12866
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
12867
13401
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12880,6 +13414,7 @@ class DsRecord(
12880
13414
  props = DsRecordProps(
12881
13415
  values=values,
12882
13416
  zone=zone,
13417
+ cidr_routing_config=cidr_routing_config,
12883
13418
  comment=comment,
12884
13419
  delete_existing=delete_existing,
12885
13420
  geo_location=geo_location,
@@ -12894,12 +13429,19 @@ class DsRecord(
12894
13429
 
12895
13430
  jsii.create(self.__class__, self, [scope, id, props])
12896
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
+
12897
13438
 
12898
13439
  @jsii.data_type(
12899
13440
  jsii_type="aws-cdk-lib.aws_route53.DsRecordProps",
12900
13441
  jsii_struct_bases=[RecordSetOptions],
12901
13442
  name_mapping={
12902
13443
  "zone": "zone",
13444
+ "cidr_routing_config": "cidrRoutingConfig",
12903
13445
  "comment": "comment",
12904
13446
  "delete_existing": "deleteExisting",
12905
13447
  "geo_location": "geoLocation",
@@ -12918,6 +13460,7 @@ class DsRecordProps(RecordSetOptions):
12918
13460
  self,
12919
13461
  *,
12920
13462
  zone: IHostedZone,
13463
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
12921
13464
  comment: typing.Optional[builtins.str] = None,
12922
13465
  delete_existing: typing.Optional[builtins.bool] = None,
12923
13466
  geo_location: typing.Optional[GeoLocation] = None,
@@ -12933,6 +13476,7 @@ class DsRecordProps(RecordSetOptions):
12933
13476
  '''Construction properties for a DSRecord.
12934
13477
 
12935
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
12936
13480
  :param comment: A comment to add on the record. Default: no comment
12937
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
12938
13482
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -12963,6 +13507,7 @@ class DsRecordProps(RecordSetOptions):
12963
13507
  if __debug__:
12964
13508
  type_hints = typing.get_type_hints(_typecheckingstub__f86f16d9f2de8fe03cc1189a56a86c4888d20f69dc0f241aa21b50fdf34d4645)
12965
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"])
12966
13511
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
12967
13512
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
12968
13513
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -12978,6 +13523,8 @@ class DsRecordProps(RecordSetOptions):
12978
13523
  "zone": zone,
12979
13524
  "values": values,
12980
13525
  }
13526
+ if cidr_routing_config is not None:
13527
+ self._values["cidr_routing_config"] = cidr_routing_config
12981
13528
  if comment is not None:
12982
13529
  self._values["comment"] = comment
12983
13530
  if delete_existing is not None:
@@ -13006,6 +13553,19 @@ class DsRecordProps(RecordSetOptions):
13006
13553
  assert result is not None, "Required property 'zone' is missing"
13007
13554
  return typing.cast(IHostedZone, result)
13008
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
+
13009
13569
  @builtins.property
13010
13570
  def comment(self) -> typing.Optional[builtins.str]:
13011
13571
  '''A comment to add on the record.
@@ -13290,6 +13850,12 @@ class HealthCheck(
13290
13850
  check_type(argname="argument health_check_id", value=health_check_id, expected_type=type_hints["health_check_id"])
13291
13851
  return typing.cast(IHealthCheck, jsii.sinvoke(cls, "fromHealthCheckId", [scope, id, health_check_id]))
13292
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
+
13293
13859
  @builtins.property
13294
13860
  @jsii.member(jsii_name="healthCheckId")
13295
13861
  def health_check_id(self) -> builtins.str:
@@ -13485,6 +14051,12 @@ class HostedZone(
13485
14051
  check_type(argname="argument grantee", value=grantee, expected_type=type_hints["grantee"])
13486
14052
  return typing.cast(_Grant_a7ae64f8, jsii.invoke(self, "grantDelegation", [grantee]))
13487
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
+
13488
14060
  @builtins.property
13489
14061
  @jsii.member(jsii_name="hostedZoneArn")
13490
14062
  def hosted_zone_arn(self) -> builtins.str:
@@ -13536,6 +14108,7 @@ class MxRecord(
13536
14108
  import aws_cdk as cdk
13537
14109
  from aws_cdk import aws_route53 as route53
13538
14110
 
14111
+ # cidr_routing_config: route53.CidrRoutingConfig
13539
14112
  # geo_location: route53.GeoLocation
13540
14113
  # health_check: route53.HealthCheck
13541
14114
  # hosted_zone: route53.HostedZone
@@ -13548,6 +14121,7 @@ class MxRecord(
13548
14121
  zone=hosted_zone,
13549
14122
 
13550
14123
  # the properties below are optional
14124
+ cidr_routing_config=cidr_routing_config,
13551
14125
  comment="comment",
13552
14126
  delete_existing=False,
13553
14127
  geo_location=geo_location,
@@ -13568,6 +14142,7 @@ class MxRecord(
13568
14142
  *,
13569
14143
  values: typing.Sequence[typing.Union[MxRecordValue, typing.Dict[builtins.str, typing.Any]]],
13570
14144
  zone: IHostedZone,
14145
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
13571
14146
  comment: typing.Optional[builtins.str] = None,
13572
14147
  delete_existing: typing.Optional[builtins.bool] = None,
13573
14148
  geo_location: typing.Optional[GeoLocation] = None,
@@ -13584,6 +14159,7 @@ class MxRecord(
13584
14159
  :param id: -
13585
14160
  :param values: The values.
13586
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
13587
14163
  :param comment: A comment to add on the record. Default: no comment
13588
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
13589
14165
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -13602,6 +14178,7 @@ class MxRecord(
13602
14178
  props = MxRecordProps(
13603
14179
  values=values,
13604
14180
  zone=zone,
14181
+ cidr_routing_config=cidr_routing_config,
13605
14182
  comment=comment,
13606
14183
  delete_existing=delete_existing,
13607
14184
  geo_location=geo_location,
@@ -13616,12 +14193,19 @@ class MxRecord(
13616
14193
 
13617
14194
  jsii.create(self.__class__, self, [scope, id, props])
13618
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
+
13619
14202
 
13620
14203
  @jsii.data_type(
13621
14204
  jsii_type="aws-cdk-lib.aws_route53.MxRecordProps",
13622
14205
  jsii_struct_bases=[RecordSetOptions],
13623
14206
  name_mapping={
13624
14207
  "zone": "zone",
14208
+ "cidr_routing_config": "cidrRoutingConfig",
13625
14209
  "comment": "comment",
13626
14210
  "delete_existing": "deleteExisting",
13627
14211
  "geo_location": "geoLocation",
@@ -13640,6 +14224,7 @@ class MxRecordProps(RecordSetOptions):
13640
14224
  self,
13641
14225
  *,
13642
14226
  zone: IHostedZone,
14227
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
13643
14228
  comment: typing.Optional[builtins.str] = None,
13644
14229
  delete_existing: typing.Optional[builtins.bool] = None,
13645
14230
  geo_location: typing.Optional[GeoLocation] = None,
@@ -13655,6 +14240,7 @@ class MxRecordProps(RecordSetOptions):
13655
14240
  '''Construction properties for a MxRecord.
13656
14241
 
13657
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
13658
14244
  :param comment: A comment to add on the record. Default: no comment
13659
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
13660
14246
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -13676,6 +14262,7 @@ class MxRecordProps(RecordSetOptions):
13676
14262
  import aws_cdk as cdk
13677
14263
  from aws_cdk import aws_route53 as route53
13678
14264
 
14265
+ # cidr_routing_config: route53.CidrRoutingConfig
13679
14266
  # geo_location: route53.GeoLocation
13680
14267
  # health_check: route53.HealthCheck
13681
14268
  # hosted_zone: route53.HostedZone
@@ -13688,6 +14275,7 @@ class MxRecordProps(RecordSetOptions):
13688
14275
  zone=hosted_zone,
13689
14276
 
13690
14277
  # the properties below are optional
14278
+ cidr_routing_config=cidr_routing_config,
13691
14279
  comment="comment",
13692
14280
  delete_existing=False,
13693
14281
  geo_location=geo_location,
@@ -13703,6 +14291,7 @@ class MxRecordProps(RecordSetOptions):
13703
14291
  if __debug__:
13704
14292
  type_hints = typing.get_type_hints(_typecheckingstub__b259122626a3ba94eebff0b5f692944df4aa55dc550b7d113eec491e1c57307d)
13705
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"])
13706
14295
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
13707
14296
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
13708
14297
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -13718,6 +14307,8 @@ class MxRecordProps(RecordSetOptions):
13718
14307
  "zone": zone,
13719
14308
  "values": values,
13720
14309
  }
14310
+ if cidr_routing_config is not None:
14311
+ self._values["cidr_routing_config"] = cidr_routing_config
13721
14312
  if comment is not None:
13722
14313
  self._values["comment"] = comment
13723
14314
  if delete_existing is not None:
@@ -13746,6 +14337,19 @@ class MxRecordProps(RecordSetOptions):
13746
14337
  assert result is not None, "Required property 'zone' is missing"
13747
14338
  return typing.cast(IHostedZone, result)
13748
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
+
13749
14353
  @builtins.property
13750
14354
  def comment(self) -> typing.Optional[builtins.str]:
13751
14355
  '''A comment to add on the record.
@@ -13921,6 +14525,7 @@ class NsRecord(
13921
14525
  *,
13922
14526
  values: typing.Sequence[builtins.str],
13923
14527
  zone: IHostedZone,
14528
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
13924
14529
  comment: typing.Optional[builtins.str] = None,
13925
14530
  delete_existing: typing.Optional[builtins.bool] = None,
13926
14531
  geo_location: typing.Optional[GeoLocation] = None,
@@ -13937,6 +14542,7 @@ class NsRecord(
13937
14542
  :param id: -
13938
14543
  :param values: The NS values.
13939
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
13940
14546
  :param comment: A comment to add on the record. Default: no comment
13941
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
13942
14548
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -13955,6 +14561,7 @@ class NsRecord(
13955
14561
  props = NsRecordProps(
13956
14562
  values=values,
13957
14563
  zone=zone,
14564
+ cidr_routing_config=cidr_routing_config,
13958
14565
  comment=comment,
13959
14566
  delete_existing=delete_existing,
13960
14567
  geo_location=geo_location,
@@ -13969,12 +14576,19 @@ class NsRecord(
13969
14576
 
13970
14577
  jsii.create(self.__class__, self, [scope, id, props])
13971
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
+
13972
14585
 
13973
14586
  @jsii.data_type(
13974
14587
  jsii_type="aws-cdk-lib.aws_route53.NsRecordProps",
13975
14588
  jsii_struct_bases=[RecordSetOptions],
13976
14589
  name_mapping={
13977
14590
  "zone": "zone",
14591
+ "cidr_routing_config": "cidrRoutingConfig",
13978
14592
  "comment": "comment",
13979
14593
  "delete_existing": "deleteExisting",
13980
14594
  "geo_location": "geoLocation",
@@ -13993,6 +14607,7 @@ class NsRecordProps(RecordSetOptions):
13993
14607
  self,
13994
14608
  *,
13995
14609
  zone: IHostedZone,
14610
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
13996
14611
  comment: typing.Optional[builtins.str] = None,
13997
14612
  delete_existing: typing.Optional[builtins.bool] = None,
13998
14613
  geo_location: typing.Optional[GeoLocation] = None,
@@ -14008,6 +14623,7 @@ class NsRecordProps(RecordSetOptions):
14008
14623
  '''Construction properties for a NSRecord.
14009
14624
 
14010
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
14011
14627
  :param comment: A comment to add on the record. Default: no comment
14012
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
14013
14629
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -14038,6 +14654,7 @@ class NsRecordProps(RecordSetOptions):
14038
14654
  if __debug__:
14039
14655
  type_hints = typing.get_type_hints(_typecheckingstub__33cda5fac8572316158161da713e2ceea9d3f7f56b5ee9a2a25acf331e737e86)
14040
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"])
14041
14658
  check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
14042
14659
  check_type(argname="argument delete_existing", value=delete_existing, expected_type=type_hints["delete_existing"])
14043
14660
  check_type(argname="argument geo_location", value=geo_location, expected_type=type_hints["geo_location"])
@@ -14053,6 +14670,8 @@ class NsRecordProps(RecordSetOptions):
14053
14670
  "zone": zone,
14054
14671
  "values": values,
14055
14672
  }
14673
+ if cidr_routing_config is not None:
14674
+ self._values["cidr_routing_config"] = cidr_routing_config
14056
14675
  if comment is not None:
14057
14676
  self._values["comment"] = comment
14058
14677
  if delete_existing is not None:
@@ -14081,6 +14700,19 @@ class NsRecordProps(RecordSetOptions):
14081
14700
  assert result is not None, "Required property 'zone' is missing"
14082
14701
  return typing.cast(IHostedZone, result)
14083
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
+
14084
14716
  @builtins.property
14085
14717
  def comment(self) -> typing.Optional[builtins.str]:
14086
14718
  '''A comment to add on the record.
@@ -14308,6 +14940,12 @@ class PrivateHostedZone(
14308
14940
  check_type(argname="argument private_hosted_zone_id", value=private_hosted_zone_id, expected_type=type_hints["private_hosted_zone_id"])
14309
14941
  return typing.cast(IPrivateHostedZone, jsii.sinvoke(cls, "fromPrivateHostedZoneId", [scope, id, private_hosted_zone_id]))
14310
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
+
14311
14949
 
14312
14950
  @jsii.implements(IPublicHostedZone)
14313
14951
  class PublicHostedZone(
@@ -14473,6 +15111,12 @@ class PublicHostedZone(
14473
15111
  check_type(argname="argument _vpc", value=_vpc, expected_type=type_hints["_vpc"])
14474
15112
  return typing.cast(None, jsii.invoke(self, "addVpc", [_vpc]))
14475
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
+
14476
15120
  @builtins.property
14477
15121
  @jsii.member(jsii_name="crossAccountZoneDelegationRole")
14478
15122
  def cross_account_zone_delegation_role(self) -> typing.Optional[_Role_e8c6e11f]:
@@ -14500,6 +15144,7 @@ class CaaAmazonRecord(
14500
15144
  import aws_cdk as cdk
14501
15145
  from aws_cdk import aws_route53 as route53
14502
15146
 
15147
+ # cidr_routing_config: route53.CidrRoutingConfig
14503
15148
  # geo_location: route53.GeoLocation
14504
15149
  # health_check: route53.HealthCheck
14505
15150
  # hosted_zone: route53.HostedZone
@@ -14508,6 +15153,7 @@ class CaaAmazonRecord(
14508
15153
  zone=hosted_zone,
14509
15154
 
14510
15155
  # the properties below are optional
15156
+ cidr_routing_config=cidr_routing_config,
14511
15157
  comment="comment",
14512
15158
  delete_existing=False,
14513
15159
  geo_location=geo_location,
@@ -14527,6 +15173,7 @@ class CaaAmazonRecord(
14527
15173
  id: builtins.str,
14528
15174
  *,
14529
15175
  zone: IHostedZone,
15176
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
14530
15177
  comment: typing.Optional[builtins.str] = None,
14531
15178
  delete_existing: typing.Optional[builtins.bool] = None,
14532
15179
  geo_location: typing.Optional[GeoLocation] = None,
@@ -14542,6 +15189,7 @@ class CaaAmazonRecord(
14542
15189
  :param scope: -
14543
15190
  :param id: -
14544
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
14545
15193
  :param comment: A comment to add on the record. Default: no comment
14546
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
14547
15195
  :param geo_location: The geographical origin for this record to return DNS records based on the user's location.
@@ -14559,6 +15207,7 @@ class CaaAmazonRecord(
14559
15207
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
14560
15208
  props = CaaAmazonRecordProps(
14561
15209
  zone=zone,
15210
+ cidr_routing_config=cidr_routing_config,
14562
15211
  comment=comment,
14563
15212
  delete_existing=delete_existing,
14564
15213
  geo_location=geo_location,
@@ -14573,6 +15222,12 @@ class CaaAmazonRecord(
14573
15222
 
14574
15223
  jsii.create(self.__class__, self, [scope, id, props])
14575
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
+
14576
15231
 
14577
15232
  __all__ = [
14578
15233
  "ARecord",
@@ -14602,6 +15257,8 @@ __all__ = [
14602
15257
  "CfnRecordSetGroup",
14603
15258
  "CfnRecordSetGroupProps",
14604
15259
  "CfnRecordSetProps",
15260
+ "CidrRoutingConfig",
15261
+ "CidrRoutingConfigProps",
14605
15262
  "CnameRecord",
14606
15263
  "CnameRecordProps",
14607
15264
  "CommonHostedZoneProps",
@@ -15335,6 +15992,20 @@ def _typecheckingstub__07806684fd0bcb683322d42ae67181582216fa4e1371a7133012bf489
15335
15992
  """Type checking stubs"""
15336
15993
  pass
15337
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
+
15338
16009
  def _typecheckingstub__3c0a60680828ad59f14d241729df78a8969a23a13155e2327837897bb4545149(
15339
16010
  *,
15340
16011
  zone_name: builtins.str,
@@ -15543,6 +16214,7 @@ def _typecheckingstub__b92f4bc0484ad6fe8cce3c7e37b4ee3cd051b8f325d16efd23f924767
15543
16214
  record_type: RecordType,
15544
16215
  target: RecordTarget,
15545
16216
  zone: IHostedZone,
16217
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15546
16218
  comment: typing.Optional[builtins.str] = None,
15547
16219
  delete_existing: typing.Optional[builtins.bool] = None,
15548
16220
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15560,6 +16232,7 @@ def _typecheckingstub__b92f4bc0484ad6fe8cce3c7e37b4ee3cd051b8f325d16efd23f924767
15560
16232
  def _typecheckingstub__c44f39638a001e90bc1175667e4764c4cbde27cade202d52a4f4d87246c57781(
15561
16233
  *,
15562
16234
  zone: IHostedZone,
16235
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15563
16236
  comment: typing.Optional[builtins.str] = None,
15564
16237
  delete_existing: typing.Optional[builtins.bool] = None,
15565
16238
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15577,6 +16250,7 @@ def _typecheckingstub__c44f39638a001e90bc1175667e4764c4cbde27cade202d52a4f4d8724
15577
16250
  def _typecheckingstub__038200686c47ef30f81bc5289a6235e766372281295129670053b793d545dfca(
15578
16251
  *,
15579
16252
  zone: IHostedZone,
16253
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15580
16254
  comment: typing.Optional[builtins.str] = None,
15581
16255
  delete_existing: typing.Optional[builtins.bool] = None,
15582
16256
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15624,6 +16298,7 @@ def _typecheckingstub__d52a70fbe22ca5e13acce72254719ea0dd37b436de0640b65774aadd9
15624
16298
  *,
15625
16299
  values: typing.Sequence[typing.Union[SrvRecordValue, typing.Dict[builtins.str, typing.Any]]],
15626
16300
  zone: IHostedZone,
16301
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15627
16302
  comment: typing.Optional[builtins.str] = None,
15628
16303
  delete_existing: typing.Optional[builtins.bool] = None,
15629
16304
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15641,6 +16316,7 @@ def _typecheckingstub__d52a70fbe22ca5e13acce72254719ea0dd37b436de0640b65774aadd9
15641
16316
  def _typecheckingstub__803828161f541995c058596dab53102f2eccd14ba565bbe715a5ac29353f6db9(
15642
16317
  *,
15643
16318
  zone: IHostedZone,
16319
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15644
16320
  comment: typing.Optional[builtins.str] = None,
15645
16321
  delete_existing: typing.Optional[builtins.bool] = None,
15646
16322
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15672,6 +16348,7 @@ def _typecheckingstub__df1e0c1447d860a09246a7ec54507ca123346e57365df024460258839
15672
16348
  *,
15673
16349
  values: typing.Sequence[builtins.str],
15674
16350
  zone: IHostedZone,
16351
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15675
16352
  comment: typing.Optional[builtins.str] = None,
15676
16353
  delete_existing: typing.Optional[builtins.bool] = None,
15677
16354
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15689,6 +16366,7 @@ def _typecheckingstub__df1e0c1447d860a09246a7ec54507ca123346e57365df024460258839
15689
16366
  def _typecheckingstub__1925dd23d881cbbf99625b9a5fe0ef65b92a92359376c46e49b6690f1a4a9dab(
15690
16367
  *,
15691
16368
  zone: IHostedZone,
16369
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15692
16370
  comment: typing.Optional[builtins.str] = None,
15693
16371
  delete_existing: typing.Optional[builtins.bool] = None,
15694
16372
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15744,6 +16422,7 @@ def _typecheckingstub__1f8360676c13e2167bb58d36e1b6384ba70f036979aa9c80cac046e12
15744
16422
  *,
15745
16423
  name_servers: typing.Sequence[builtins.str],
15746
16424
  zone: IHostedZone,
16425
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15747
16426
  comment: typing.Optional[builtins.str] = None,
15748
16427
  delete_existing: typing.Optional[builtins.bool] = None,
15749
16428
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15761,6 +16440,7 @@ def _typecheckingstub__1f8360676c13e2167bb58d36e1b6384ba70f036979aa9c80cac046e12
15761
16440
  def _typecheckingstub__240a965753acb9488d02c120074027364f5e85a8ec585205a863174feadd7582(
15762
16441
  *,
15763
16442
  zone: IHostedZone,
16443
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15764
16444
  comment: typing.Optional[builtins.str] = None,
15765
16445
  delete_existing: typing.Optional[builtins.bool] = None,
15766
16446
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15790,6 +16470,7 @@ def _typecheckingstub__ca2e60ba6b2baeeff2cc875c86af94b4b26d6f11c1cfcca09280ac533
15790
16470
  *,
15791
16471
  target: RecordTarget,
15792
16472
  zone: IHostedZone,
16473
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15793
16474
  comment: typing.Optional[builtins.str] = None,
15794
16475
  delete_existing: typing.Optional[builtins.bool] = None,
15795
16476
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15810,6 +16491,7 @@ def _typecheckingstub__c76ad72e64542d58d5e33c28ccaca560dac09b21c920d094b7a0c2386
15810
16491
  *,
15811
16492
  target_dns: builtins.str,
15812
16493
  zone: IHostedZone,
16494
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15813
16495
  comment: typing.Optional[builtins.str] = None,
15814
16496
  delete_existing: typing.Optional[builtins.bool] = None,
15815
16497
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15827,6 +16509,7 @@ def _typecheckingstub__c76ad72e64542d58d5e33c28ccaca560dac09b21c920d094b7a0c2386
15827
16509
  def _typecheckingstub__514d7eccc21be019febe80e121fd7d979162668b63cb99051c629ef087f5fe9a(
15828
16510
  *,
15829
16511
  zone: IHostedZone,
16512
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15830
16513
  comment: typing.Optional[builtins.str] = None,
15831
16514
  delete_existing: typing.Optional[builtins.bool] = None,
15832
16515
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15845,6 +16528,7 @@ def _typecheckingstub__514d7eccc21be019febe80e121fd7d979162668b63cb99051c629ef08
15845
16528
  def _typecheckingstub__a73a5c86411a0d853fcfad820ed58f5a5c19df65a7b2756560958db5cbe36569(
15846
16529
  *,
15847
16530
  zone: IHostedZone,
16531
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15848
16532
  comment: typing.Optional[builtins.str] = None,
15849
16533
  delete_existing: typing.Optional[builtins.bool] = None,
15850
16534
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15866,6 +16550,7 @@ def _typecheckingstub__4d5345c027ebd51f32f58fdeb055904a5c4dd3f5523f55954f8a191ae
15866
16550
  *,
15867
16551
  target: RecordTarget,
15868
16552
  zone: IHostedZone,
16553
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15869
16554
  comment: typing.Optional[builtins.str] = None,
15870
16555
  delete_existing: typing.Optional[builtins.bool] = None,
15871
16556
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15883,6 +16568,7 @@ def _typecheckingstub__4d5345c027ebd51f32f58fdeb055904a5c4dd3f5523f55954f8a191ae
15883
16568
  def _typecheckingstub__c051ff70083b2ae68889d3f02be8344125acf64b4768d5f5df3298ba8a8d6a32(
15884
16569
  *,
15885
16570
  zone: IHostedZone,
16571
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15886
16572
  comment: typing.Optional[builtins.str] = None,
15887
16573
  delete_existing: typing.Optional[builtins.bool] = None,
15888
16574
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15901,6 +16587,7 @@ def _typecheckingstub__c051ff70083b2ae68889d3f02be8344125acf64b4768d5f5df3298ba8
15901
16587
  def _typecheckingstub__14055fdb7d9f4b55091295996ec92db8d73fa789a21fca2664da1242ae89f859(
15902
16588
  *,
15903
16589
  zone: IHostedZone,
16590
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15904
16591
  comment: typing.Optional[builtins.str] = None,
15905
16592
  delete_existing: typing.Optional[builtins.bool] = None,
15906
16593
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15921,6 +16608,7 @@ def _typecheckingstub__3a2502cdc1fe021e837217ab0d96b9fa6ea450a68c089482935b695f7
15921
16608
  *,
15922
16609
  values: typing.Sequence[typing.Union[CaaRecordValue, typing.Dict[builtins.str, typing.Any]]],
15923
16610
  zone: IHostedZone,
16611
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15924
16612
  comment: typing.Optional[builtins.str] = None,
15925
16613
  delete_existing: typing.Optional[builtins.bool] = None,
15926
16614
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15938,6 +16626,7 @@ def _typecheckingstub__3a2502cdc1fe021e837217ab0d96b9fa6ea450a68c089482935b695f7
15938
16626
  def _typecheckingstub__349a94b990ddb833b270dc692692a8b37187c6f17114e02514f44accfb8de443(
15939
16627
  *,
15940
16628
  zone: IHostedZone,
16629
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15941
16630
  comment: typing.Optional[builtins.str] = None,
15942
16631
  delete_existing: typing.Optional[builtins.bool] = None,
15943
16632
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15959,6 +16648,7 @@ def _typecheckingstub__e8dfccd8504bb3c0a779b42a665f362282b1083fe52a95b450d1ac1eb
15959
16648
  *,
15960
16649
  domain_name: builtins.str,
15961
16650
  zone: IHostedZone,
16651
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15962
16652
  comment: typing.Optional[builtins.str] = None,
15963
16653
  delete_existing: typing.Optional[builtins.bool] = None,
15964
16654
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15976,6 +16666,7 @@ def _typecheckingstub__e8dfccd8504bb3c0a779b42a665f362282b1083fe52a95b450d1ac1eb
15976
16666
  def _typecheckingstub__43b5fc8ccb719e2580c804225e8258b57b1700a701203416558eb2d76a86f86f(
15977
16667
  *,
15978
16668
  zone: IHostedZone,
16669
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
15979
16670
  comment: typing.Optional[builtins.str] = None,
15980
16671
  delete_existing: typing.Optional[builtins.bool] = None,
15981
16672
  geo_location: typing.Optional[GeoLocation] = None,
@@ -15997,6 +16688,7 @@ def _typecheckingstub__24205d1a44dcefb992b7bd9b6d91d8b6396f8498224c30876fe8a0673
15997
16688
  *,
15998
16689
  values: typing.Sequence[builtins.str],
15999
16690
  zone: IHostedZone,
16691
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16000
16692
  comment: typing.Optional[builtins.str] = None,
16001
16693
  delete_existing: typing.Optional[builtins.bool] = None,
16002
16694
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16014,6 +16706,7 @@ def _typecheckingstub__24205d1a44dcefb992b7bd9b6d91d8b6396f8498224c30876fe8a0673
16014
16706
  def _typecheckingstub__f86f16d9f2de8fe03cc1189a56a86c4888d20f69dc0f241aa21b50fdf34d4645(
16015
16707
  *,
16016
16708
  zone: IHostedZone,
16709
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16017
16710
  comment: typing.Optional[builtins.str] = None,
16018
16711
  delete_existing: typing.Optional[builtins.bool] = None,
16019
16712
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16122,6 +16815,7 @@ def _typecheckingstub__615153e942ef5cdcb0022d4565e0ec8b8c5554594bfe7221366ad5c83
16122
16815
  *,
16123
16816
  values: typing.Sequence[typing.Union[MxRecordValue, typing.Dict[builtins.str, typing.Any]]],
16124
16817
  zone: IHostedZone,
16818
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16125
16819
  comment: typing.Optional[builtins.str] = None,
16126
16820
  delete_existing: typing.Optional[builtins.bool] = None,
16127
16821
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16139,6 +16833,7 @@ def _typecheckingstub__615153e942ef5cdcb0022d4565e0ec8b8c5554594bfe7221366ad5c83
16139
16833
  def _typecheckingstub__b259122626a3ba94eebff0b5f692944df4aa55dc550b7d113eec491e1c57307d(
16140
16834
  *,
16141
16835
  zone: IHostedZone,
16836
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16142
16837
  comment: typing.Optional[builtins.str] = None,
16143
16838
  delete_existing: typing.Optional[builtins.bool] = None,
16144
16839
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16160,6 +16855,7 @@ def _typecheckingstub__7f3bbcb4bd5bcd8978ae60eaac5ea2c6ab0bb8357a389e9b981e63291
16160
16855
  *,
16161
16856
  values: typing.Sequence[builtins.str],
16162
16857
  zone: IHostedZone,
16858
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16163
16859
  comment: typing.Optional[builtins.str] = None,
16164
16860
  delete_existing: typing.Optional[builtins.bool] = None,
16165
16861
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16177,6 +16873,7 @@ def _typecheckingstub__7f3bbcb4bd5bcd8978ae60eaac5ea2c6ab0bb8357a389e9b981e63291
16177
16873
  def _typecheckingstub__33cda5fac8572316158161da713e2ceea9d3f7f56b5ee9a2a25acf331e737e86(
16178
16874
  *,
16179
16875
  zone: IHostedZone,
16876
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16180
16877
  comment: typing.Optional[builtins.str] = None,
16181
16878
  delete_existing: typing.Optional[builtins.bool] = None,
16182
16879
  geo_location: typing.Optional[GeoLocation] = None,
@@ -16266,6 +16963,7 @@ def _typecheckingstub__f189380057459afbeff6d38749625e3756c4572dec90f74ca7a400dcb
16266
16963
  id: builtins.str,
16267
16964
  *,
16268
16965
  zone: IHostedZone,
16966
+ cidr_routing_config: typing.Optional[CidrRoutingConfig] = None,
16269
16967
  comment: typing.Optional[builtins.str] = None,
16270
16968
  delete_existing: typing.Optional[builtins.bool] = None,
16271
16969
  geo_location: typing.Optional[GeoLocation] = None,