aws-cdk-lib 2.187.0__py3-none-any.whl → 2.189.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 (60) hide show
  1. aws_cdk/__init__.py +24 -3
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.187.0.jsii.tgz → aws-cdk-lib@2.189.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +21 -9
  5. aws_cdk/aws_apigateway/__init__.py +27 -19
  6. aws_cdk/aws_apigatewayv2/__init__.py +170 -0
  7. aws_cdk/aws_appconfig/__init__.py +30 -14
  8. aws_cdk/aws_arczonalshift/__init__.py +4 -4
  9. aws_cdk/aws_batch/__init__.py +2 -0
  10. aws_cdk/aws_bedrock/__init__.py +629 -32
  11. aws_cdk/aws_budgets/__init__.py +8 -8
  12. aws_cdk/aws_cassandra/__init__.py +3 -1
  13. aws_cdk/aws_ce/__init__.py +2 -2
  14. aws_cdk/aws_cloudformation/__init__.py +3 -3
  15. aws_cdk/aws_codebuild/__init__.py +23 -1
  16. aws_cdk/aws_codepipeline/__init__.py +47 -32
  17. aws_cdk/aws_codepipeline_actions/__init__.py +2786 -1042
  18. aws_cdk/aws_codestarnotifications/__init__.py +16 -16
  19. aws_cdk/aws_cognito/__init__.py +8 -2
  20. aws_cdk/aws_dsql/__init__.py +366 -0
  21. aws_cdk/aws_dynamodb/__init__.py +4 -4
  22. aws_cdk/aws_ec2/__init__.py +2130 -237
  23. aws_cdk/aws_eks/__init__.py +112 -10
  24. aws_cdk/aws_events_targets/__init__.py +136 -0
  25. aws_cdk/aws_fsx/__init__.py +2 -8
  26. aws_cdk/aws_gamelift/__init__.py +140 -14
  27. aws_cdk/aws_groundstation/__init__.py +4 -2
  28. aws_cdk/aws_iam/__init__.py +6 -4
  29. aws_cdk/aws_identitystore/__init__.py +15 -13
  30. aws_cdk/aws_kinesisfirehose/__init__.py +38 -0
  31. aws_cdk/aws_lambda_event_sources/__init__.py +22 -22
  32. aws_cdk/aws_lex/__init__.py +21 -17
  33. aws_cdk/aws_logs/__init__.py +18 -0
  34. aws_cdk/aws_logs_destinations/__init__.py +146 -0
  35. aws_cdk/aws_notifications/__init__.py +4 -4
  36. aws_cdk/aws_omics/__init__.py +9 -1
  37. aws_cdk/aws_opensearchserverless/__init__.py +31 -23
  38. aws_cdk/aws_organizations/__init__.py +1 -1
  39. aws_cdk/aws_paymentcryptography/__init__.py +6 -2
  40. aws_cdk/aws_pcaconnectorad/__init__.py +3 -2
  41. aws_cdk/aws_quicksight/__init__.py +35 -22
  42. aws_cdk/aws_rds/__init__.py +84 -0
  43. aws_cdk/aws_redshiftserverless/__init__.py +166 -0
  44. aws_cdk/aws_route53/__init__.py +3 -3
  45. aws_cdk/aws_route53recoverycontrol/__init__.py +4 -6
  46. aws_cdk/aws_rum/__init__.py +13 -10
  47. aws_cdk/aws_s3/__init__.py +3 -6
  48. aws_cdk/aws_sagemaker/__init__.py +41 -0
  49. aws_cdk/aws_ssmincidents/__init__.py +10 -10
  50. aws_cdk/aws_systemsmanagersap/__init__.py +17 -7
  51. aws_cdk/aws_transfer/__init__.py +19 -10
  52. aws_cdk/aws_wafv2/__init__.py +80 -35
  53. aws_cdk/cx_api/__init__.py +23 -2
  54. aws_cdk/pipelines/__init__.py +71 -1
  55. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/METADATA +1 -1
  56. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/RECORD +60 -59
  57. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/LICENSE +0 -0
  58. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/NOTICE +0 -0
  59. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/WHEEL +0 -0
  60. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/top_level.txt +0 -0
@@ -153,6 +153,20 @@ rds.DatabaseCluster(self, "DatabaseCluster",
153
153
  )
154
154
  ```
155
155
 
156
+ To configure [the life cycle type of the cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/extended-support.html), use the `engineLifecycleSupport` property:
157
+
158
+ ```python
159
+ # vpc: ec2.IVpc
160
+
161
+
162
+ rds.DatabaseCluster(self, "DatabaseCluster",
163
+ engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_07_0),
164
+ writer=rds.ClusterInstance.serverless_v2("writerInstance"),
165
+ vpc=vpc,
166
+ engine_lifecycle_support=rds.EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT
167
+ )
168
+ ```
169
+
156
170
  ### Updating the database instances in a cluster
157
171
 
158
172
  Database cluster instances may be updated in bulk or on a rolling basis.
@@ -21128,6 +21142,7 @@ class DatabaseClusterEngine(
21128
21142
  "enable_data_api": "enableDataApi",
21129
21143
  "enable_local_write_forwarding": "enableLocalWriteForwarding",
21130
21144
  "enable_performance_insights": "enablePerformanceInsights",
21145
+ "engine_lifecycle_support": "engineLifecycleSupport",
21131
21146
  "iam_authentication": "iamAuthentication",
21132
21147
  "instance_identifier_base": "instanceIdentifierBase",
21133
21148
  "instance_props": "instanceProps",
@@ -21187,6 +21202,7 @@ class DatabaseClusterFromSnapshotProps:
21187
21202
  enable_data_api: typing.Optional[builtins.bool] = None,
21188
21203
  enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
21189
21204
  enable_performance_insights: typing.Optional[builtins.bool] = None,
21205
+ engine_lifecycle_support: typing.Optional["EngineLifecycleSupport"] = None,
21190
21206
  iam_authentication: typing.Optional[builtins.bool] = None,
21191
21207
  instance_identifier_base: typing.Optional[builtins.str] = None,
21192
21208
  instance_props: typing.Optional[typing.Union["InstanceProps", typing.Dict[builtins.str, typing.Any]]] = None,
@@ -21243,6 +21259,7 @@ class DatabaseClusterFromSnapshotProps:
21243
21259
  :param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
21244
21260
  :param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
21245
21261
  :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set, or ``databaseInsightsMode`` is set to ``DatabaseInsightsMode.ADVANCED``.
21262
+ :param engine_lifecycle_support: The life cycle type for this DB cluster. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
21246
21263
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
21247
21264
  :param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
21248
21265
  :param instance_props: (deprecated) Settings for the individual instances that are launched.
@@ -21318,6 +21335,7 @@ class DatabaseClusterFromSnapshotProps:
21318
21335
  check_type(argname="argument enable_data_api", value=enable_data_api, expected_type=type_hints["enable_data_api"])
21319
21336
  check_type(argname="argument enable_local_write_forwarding", value=enable_local_write_forwarding, expected_type=type_hints["enable_local_write_forwarding"])
21320
21337
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
21338
+ check_type(argname="argument engine_lifecycle_support", value=engine_lifecycle_support, expected_type=type_hints["engine_lifecycle_support"])
21321
21339
  check_type(argname="argument iam_authentication", value=iam_authentication, expected_type=type_hints["iam_authentication"])
21322
21340
  check_type(argname="argument instance_identifier_base", value=instance_identifier_base, expected_type=type_hints["instance_identifier_base"])
21323
21341
  check_type(argname="argument instance_props", value=instance_props, expected_type=type_hints["instance_props"])
@@ -21393,6 +21411,8 @@ class DatabaseClusterFromSnapshotProps:
21393
21411
  self._values["enable_local_write_forwarding"] = enable_local_write_forwarding
21394
21412
  if enable_performance_insights is not None:
21395
21413
  self._values["enable_performance_insights"] = enable_performance_insights
21414
+ if engine_lifecycle_support is not None:
21415
+ self._values["engine_lifecycle_support"] = engine_lifecycle_support
21396
21416
  if iam_authentication is not None:
21397
21417
  self._values["iam_authentication"] = iam_authentication
21398
21418
  if instance_identifier_base is not None:
@@ -21711,6 +21731,17 @@ class DatabaseClusterFromSnapshotProps:
21711
21731
  result = self._values.get("enable_performance_insights")
21712
21732
  return typing.cast(typing.Optional[builtins.bool], result)
21713
21733
 
21734
+ @builtins.property
21735
+ def engine_lifecycle_support(self) -> typing.Optional["EngineLifecycleSupport"]:
21736
+ '''The life cycle type for this DB cluster.
21737
+
21738
+ :default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
21739
+
21740
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
21741
+ '''
21742
+ result = self._values.get("engine_lifecycle_support")
21743
+ return typing.cast(typing.Optional["EngineLifecycleSupport"], result)
21744
+
21714
21745
  @builtins.property
21715
21746
  def iam_authentication(self) -> typing.Optional[builtins.bool]:
21716
21747
  '''Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.
@@ -22108,6 +22139,7 @@ class DatabaseClusterFromSnapshotProps:
22108
22139
  "enable_data_api": "enableDataApi",
22109
22140
  "enable_local_write_forwarding": "enableLocalWriteForwarding",
22110
22141
  "enable_performance_insights": "enablePerformanceInsights",
22142
+ "engine_lifecycle_support": "engineLifecycleSupport",
22111
22143
  "iam_authentication": "iamAuthentication",
22112
22144
  "instance_identifier_base": "instanceIdentifierBase",
22113
22145
  "instance_props": "instanceProps",
@@ -22166,6 +22198,7 @@ class DatabaseClusterProps:
22166
22198
  enable_data_api: typing.Optional[builtins.bool] = None,
22167
22199
  enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
22168
22200
  enable_performance_insights: typing.Optional[builtins.bool] = None,
22201
+ engine_lifecycle_support: typing.Optional["EngineLifecycleSupport"] = None,
22169
22202
  iam_authentication: typing.Optional[builtins.bool] = None,
22170
22203
  instance_identifier_base: typing.Optional[builtins.str] = None,
22171
22204
  instance_props: typing.Optional[typing.Union["InstanceProps", typing.Dict[builtins.str, typing.Any]]] = None,
@@ -22221,6 +22254,7 @@ class DatabaseClusterProps:
22221
22254
  :param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
22222
22255
  :param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
22223
22256
  :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set, or ``databaseInsightsMode`` is set to ``DatabaseInsightsMode.ADVANCED``.
22257
+ :param engine_lifecycle_support: The life cycle type for this DB cluster. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
22224
22258
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
22225
22259
  :param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
22226
22260
  :param instance_props: (deprecated) Settings for the individual instances that are launched.
@@ -22304,6 +22338,7 @@ class DatabaseClusterProps:
22304
22338
  check_type(argname="argument enable_data_api", value=enable_data_api, expected_type=type_hints["enable_data_api"])
22305
22339
  check_type(argname="argument enable_local_write_forwarding", value=enable_local_write_forwarding, expected_type=type_hints["enable_local_write_forwarding"])
22306
22340
  check_type(argname="argument enable_performance_insights", value=enable_performance_insights, expected_type=type_hints["enable_performance_insights"])
22341
+ check_type(argname="argument engine_lifecycle_support", value=engine_lifecycle_support, expected_type=type_hints["engine_lifecycle_support"])
22307
22342
  check_type(argname="argument iam_authentication", value=iam_authentication, expected_type=type_hints["iam_authentication"])
22308
22343
  check_type(argname="argument instance_identifier_base", value=instance_identifier_base, expected_type=type_hints["instance_identifier_base"])
22309
22344
  check_type(argname="argument instance_props", value=instance_props, expected_type=type_hints["instance_props"])
@@ -22378,6 +22413,8 @@ class DatabaseClusterProps:
22378
22413
  self._values["enable_local_write_forwarding"] = enable_local_write_forwarding
22379
22414
  if enable_performance_insights is not None:
22380
22415
  self._values["enable_performance_insights"] = enable_performance_insights
22416
+ if engine_lifecycle_support is not None:
22417
+ self._values["engine_lifecycle_support"] = engine_lifecycle_support
22381
22418
  if iam_authentication is not None:
22382
22419
  self._values["iam_authentication"] = iam_authentication
22383
22420
  if instance_identifier_base is not None:
@@ -22673,6 +22710,17 @@ class DatabaseClusterProps:
22673
22710
  result = self._values.get("enable_performance_insights")
22674
22711
  return typing.cast(typing.Optional[builtins.bool], result)
22675
22712
 
22713
+ @builtins.property
22714
+ def engine_lifecycle_support(self) -> typing.Optional["EngineLifecycleSupport"]:
22715
+ '''The life cycle type for this DB cluster.
22716
+
22717
+ :default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
22718
+
22719
+ :see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/extended-support.html
22720
+ '''
22721
+ result = self._values.get("engine_lifecycle_support")
22722
+ return typing.cast(typing.Optional["EngineLifecycleSupport"], result)
22723
+
22676
22724
  @builtins.property
22677
22725
  def iam_authentication(self) -> typing.Optional[builtins.bool]:
22678
22726
  '''Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.
@@ -27328,6 +27376,31 @@ class Endpoint(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_rds.Endpoint"
27328
27376
  return typing.cast(builtins.str, jsii.get(self, "socketAddress"))
27329
27377
 
27330
27378
 
27379
+ @jsii.enum(jsii_type="aws-cdk-lib.aws_rds.EngineLifecycleSupport")
27380
+ class EngineLifecycleSupport(enum.Enum):
27381
+ '''Engine lifecycle support for Amazon RDS and Amazon Aurora.
27382
+
27383
+ :exampleMetadata: infused
27384
+
27385
+ Example::
27386
+
27387
+ # vpc: ec2.IVpc
27388
+
27389
+
27390
+ rds.DatabaseCluster(self, "DatabaseCluster",
27391
+ engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_07_0),
27392
+ writer=rds.ClusterInstance.serverless_v2("writerInstance"),
27393
+ vpc=vpc,
27394
+ engine_lifecycle_support=rds.EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT
27395
+ )
27396
+ '''
27397
+
27398
+ OPEN_SOURCE_RDS_EXTENDED_SUPPORT = "OPEN_SOURCE_RDS_EXTENDED_SUPPORT"
27399
+ '''Using Amazon RDS extended support.'''
27400
+ OPEN_SOURCE_RDS_EXTENDED_SUPPORT_DISABLED = "OPEN_SOURCE_RDS_EXTENDED_SUPPORT_DISABLED"
27401
+ '''Not using Amazon RDS extended support.'''
27402
+
27403
+
27331
27404
  @jsii.data_type(
27332
27405
  jsii_type="aws-cdk-lib.aws_rds.EngineVersion",
27333
27406
  jsii_struct_bases=[],
@@ -42217,6 +42290,7 @@ class DatabaseClusterFromSnapshot(
42217
42290
  enable_data_api: typing.Optional[builtins.bool] = None,
42218
42291
  enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
42219
42292
  enable_performance_insights: typing.Optional[builtins.bool] = None,
42293
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
42220
42294
  iam_authentication: typing.Optional[builtins.bool] = None,
42221
42295
  instance_identifier_base: typing.Optional[builtins.str] = None,
42222
42296
  instance_props: typing.Optional[typing.Union[InstanceProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -42274,6 +42348,7 @@ class DatabaseClusterFromSnapshot(
42274
42348
  :param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
42275
42349
  :param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
42276
42350
  :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set, or ``databaseInsightsMode`` is set to ``DatabaseInsightsMode.ADVANCED``.
42351
+ :param engine_lifecycle_support: The life cycle type for this DB cluster. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
42277
42352
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
42278
42353
  :param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
42279
42354
  :param instance_props: (deprecated) Settings for the individual instances that are launched.
@@ -42333,6 +42408,7 @@ class DatabaseClusterFromSnapshot(
42333
42408
  enable_data_api=enable_data_api,
42334
42409
  enable_local_write_forwarding=enable_local_write_forwarding,
42335
42410
  enable_performance_insights=enable_performance_insights,
42411
+ engine_lifecycle_support=engine_lifecycle_support,
42336
42412
  iam_authentication=iam_authentication,
42337
42413
  instance_identifier_base=instance_identifier_base,
42338
42414
  instance_props=instance_props,
@@ -46374,6 +46450,7 @@ class DatabaseCluster(
46374
46450
  enable_data_api: typing.Optional[builtins.bool] = None,
46375
46451
  enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
46376
46452
  enable_performance_insights: typing.Optional[builtins.bool] = None,
46453
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
46377
46454
  iam_authentication: typing.Optional[builtins.bool] = None,
46378
46455
  instance_identifier_base: typing.Optional[builtins.str] = None,
46379
46456
  instance_props: typing.Optional[typing.Union[InstanceProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -46430,6 +46507,7 @@ class DatabaseCluster(
46430
46507
  :param enable_data_api: Whether to enable the Data API for the cluster. Default: - false
46431
46508
  :param enable_local_write_forwarding: Whether read replicas can forward write operations to the writer DB instance in the DB cluster. This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14). Default: false
46432
46509
  :param enable_performance_insights: Whether to enable Performance Insights for the DB cluster. Default: - false, unless ``performanceInsightRetention`` or ``performanceInsightEncryptionKey`` is set, or ``databaseInsightsMode`` is set to ``DatabaseInsightsMode.ADVANCED``.
46510
+ :param engine_lifecycle_support: The life cycle type for this DB cluster. Default: undefined - AWS RDS default setting is ``EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT``
46433
46511
  :param iam_authentication: Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. Default: false
46434
46512
  :param instance_identifier_base: Base identifier for instances. Every replica is named by appending the replica number to this string, 1-based. Default: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
46435
46513
  :param instance_props: (deprecated) Settings for the individual instances that are launched.
@@ -46488,6 +46566,7 @@ class DatabaseCluster(
46488
46566
  enable_data_api=enable_data_api,
46489
46567
  enable_local_write_forwarding=enable_local_write_forwarding,
46490
46568
  enable_performance_insights=enable_performance_insights,
46569
+ engine_lifecycle_support=engine_lifecycle_support,
46491
46570
  iam_authentication=iam_authentication,
46492
46571
  instance_identifier_base=instance_identifier_base,
46493
46572
  instance_props=instance_props,
@@ -47415,6 +47494,7 @@ __all__ = [
47415
47494
  "DatabaseSecret",
47416
47495
  "DatabaseSecretProps",
47417
47496
  "Endpoint",
47497
+ "EngineLifecycleSupport",
47418
47498
  "EngineVersion",
47419
47499
  "IAuroraClusterInstance",
47420
47500
  "IClusterEngine",
@@ -50189,6 +50269,7 @@ def _typecheckingstub__1e44b5aef872ca17869a17181382f06cd0166bdbe07e2c33701d3bf1e
50189
50269
  enable_data_api: typing.Optional[builtins.bool] = None,
50190
50270
  enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
50191
50271
  enable_performance_insights: typing.Optional[builtins.bool] = None,
50272
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
50192
50273
  iam_authentication: typing.Optional[builtins.bool] = None,
50193
50274
  instance_identifier_base: typing.Optional[builtins.str] = None,
50194
50275
  instance_props: typing.Optional[typing.Union[InstanceProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -50247,6 +50328,7 @@ def _typecheckingstub__a32e21c90ab65d3cfdb3b7ef2a0d741ba1528ec8824cd1817d1e485b4
50247
50328
  enable_data_api: typing.Optional[builtins.bool] = None,
50248
50329
  enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
50249
50330
  enable_performance_insights: typing.Optional[builtins.bool] = None,
50331
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
50250
50332
  iam_authentication: typing.Optional[builtins.bool] = None,
50251
50333
  instance_identifier_base: typing.Optional[builtins.str] = None,
50252
50334
  instance_props: typing.Optional[typing.Union[InstanceProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -51475,6 +51557,7 @@ def _typecheckingstub__d1a2e259091e12a41b0f5818df495769518e049ebcc89ed340ffc7ba4
51475
51557
  enable_data_api: typing.Optional[builtins.bool] = None,
51476
51558
  enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
51477
51559
  enable_performance_insights: typing.Optional[builtins.bool] = None,
51560
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
51478
51561
  iam_authentication: typing.Optional[builtins.bool] = None,
51479
51562
  instance_identifier_base: typing.Optional[builtins.str] = None,
51480
51563
  instance_props: typing.Optional[typing.Union[InstanceProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -51972,6 +52055,7 @@ def _typecheckingstub__c6184cbbefaa372690b9776dafecbf5857cf9bfbab91d1666aad22c56
51972
52055
  enable_data_api: typing.Optional[builtins.bool] = None,
51973
52056
  enable_local_write_forwarding: typing.Optional[builtins.bool] = None,
51974
52057
  enable_performance_insights: typing.Optional[builtins.bool] = None,
52058
+ engine_lifecycle_support: typing.Optional[EngineLifecycleSupport] = None,
51975
52059
  iam_authentication: typing.Optional[builtins.bool] = None,
51976
52060
  instance_identifier_base: typing.Optional[builtins.str] = None,
51977
52061
  instance_props: typing.Optional[typing.Union[InstanceProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -1272,7 +1272,11 @@ class CfnWorkgroup(
1272
1272
  status="status"
1273
1273
  ),
1274
1274
  publicly_accessible=False,
1275
+ recovery_point_id="recoveryPointId",
1275
1276
  security_group_ids=["securityGroupIds"],
1277
+ snapshot_arn="snapshotArn",
1278
+ snapshot_name="snapshotName",
1279
+ snapshot_owner_account="snapshotOwnerAccount",
1276
1280
  subnet_ids=["subnetIds"],
1277
1281
  tags=[CfnTag(
1278
1282
  key="key",
@@ -1333,7 +1337,11 @@ class CfnWorkgroup(
1333
1337
  port: typing.Optional[jsii.Number] = None,
1334
1338
  price_performance_target: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkgroup.PerformanceTargetProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1335
1339
  publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1340
+ recovery_point_id: typing.Optional[builtins.str] = None,
1336
1341
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
1342
+ snapshot_arn: typing.Optional[builtins.str] = None,
1343
+ snapshot_name: typing.Optional[builtins.str] = None,
1344
+ snapshot_owner_account: typing.Optional[builtins.str] = None,
1337
1345
  subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
1338
1346
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1339
1347
  track_name: typing.Optional[builtins.str] = None,
@@ -1351,7 +1359,11 @@ class CfnWorkgroup(
1351
1359
  :param port: The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
1352
1360
  :param price_performance_target: An object that represents the price performance target settings for the workgroup.
1353
1361
  :param publicly_accessible: A value that specifies whether the workgroup can be accessible from a public network. Default: - false
1362
+ :param recovery_point_id: The recovery point id to restore from.
1354
1363
  :param security_group_ids: A list of security group IDs to associate with the workgroup.
1364
+ :param snapshot_arn: The Amazon Resource Name (ARN) of the snapshot to restore from.
1365
+ :param snapshot_name: The snapshot name to restore from.
1366
+ :param snapshot_owner_account: The owner AWS ; account of the snapshot.
1355
1367
  :param subnet_ids: A list of subnet IDs the workgroup is associated with.
1356
1368
  :param tags: The map of the key-value pairs used to tag the workgroup.
1357
1369
  :param track_name: An optional parameter for the name of the track for the workgroup. If you don't provide a track name, the workgroup is assigned to the current track.
@@ -1371,7 +1383,11 @@ class CfnWorkgroup(
1371
1383
  port=port,
1372
1384
  price_performance_target=price_performance_target,
1373
1385
  publicly_accessible=publicly_accessible,
1386
+ recovery_point_id=recovery_point_id,
1374
1387
  security_group_ids=security_group_ids,
1388
+ snapshot_arn=snapshot_arn,
1389
+ snapshot_name=snapshot_name,
1390
+ snapshot_owner_account=snapshot_owner_account,
1375
1391
  subnet_ids=subnet_ids,
1376
1392
  tags=tags,
1377
1393
  track_name=track_name,
@@ -1717,6 +1733,19 @@ class CfnWorkgroup(
1717
1733
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1718
1734
  jsii.set(self, "publiclyAccessible", value) # pyright: ignore[reportArgumentType]
1719
1735
 
1736
+ @builtins.property
1737
+ @jsii.member(jsii_name="recoveryPointId")
1738
+ def recovery_point_id(self) -> typing.Optional[builtins.str]:
1739
+ '''The recovery point id to restore from.'''
1740
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "recoveryPointId"))
1741
+
1742
+ @recovery_point_id.setter
1743
+ def recovery_point_id(self, value: typing.Optional[builtins.str]) -> None:
1744
+ if __debug__:
1745
+ type_hints = typing.get_type_hints(_typecheckingstub__330f25021814c2fb98578117b6d4b45cb103383dd78a1ec221ad5ee1da1af776)
1746
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1747
+ jsii.set(self, "recoveryPointId", value) # pyright: ignore[reportArgumentType]
1748
+
1720
1749
  @builtins.property
1721
1750
  @jsii.member(jsii_name="securityGroupIds")
1722
1751
  def security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
@@ -1733,6 +1762,45 @@ class CfnWorkgroup(
1733
1762
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1734
1763
  jsii.set(self, "securityGroupIds", value) # pyright: ignore[reportArgumentType]
1735
1764
 
1765
+ @builtins.property
1766
+ @jsii.member(jsii_name="snapshotArn")
1767
+ def snapshot_arn(self) -> typing.Optional[builtins.str]:
1768
+ '''The Amazon Resource Name (ARN) of the snapshot to restore from.'''
1769
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "snapshotArn"))
1770
+
1771
+ @snapshot_arn.setter
1772
+ def snapshot_arn(self, value: typing.Optional[builtins.str]) -> None:
1773
+ if __debug__:
1774
+ type_hints = typing.get_type_hints(_typecheckingstub__22c9552850e931e5526d6b100685f6e372509370d50247f9134b09b667c31905)
1775
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1776
+ jsii.set(self, "snapshotArn", value) # pyright: ignore[reportArgumentType]
1777
+
1778
+ @builtins.property
1779
+ @jsii.member(jsii_name="snapshotName")
1780
+ def snapshot_name(self) -> typing.Optional[builtins.str]:
1781
+ '''The snapshot name to restore from.'''
1782
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "snapshotName"))
1783
+
1784
+ @snapshot_name.setter
1785
+ def snapshot_name(self, value: typing.Optional[builtins.str]) -> None:
1786
+ if __debug__:
1787
+ type_hints = typing.get_type_hints(_typecheckingstub__9001e412e7a006803ae5b51d6b1ec1486aa95db2939acfaa5b88a397dfaf1e7b)
1788
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1789
+ jsii.set(self, "snapshotName", value) # pyright: ignore[reportArgumentType]
1790
+
1791
+ @builtins.property
1792
+ @jsii.member(jsii_name="snapshotOwnerAccount")
1793
+ def snapshot_owner_account(self) -> typing.Optional[builtins.str]:
1794
+ '''The owner AWS ;'''
1795
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "snapshotOwnerAccount"))
1796
+
1797
+ @snapshot_owner_account.setter
1798
+ def snapshot_owner_account(self, value: typing.Optional[builtins.str]) -> None:
1799
+ if __debug__:
1800
+ type_hints = typing.get_type_hints(_typecheckingstub__e20f0edef13cea8274ed0af3c59774d9e6b1dc49c1c6cd25ad2a5807f42500fe)
1801
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1802
+ jsii.set(self, "snapshotOwnerAccount", value) # pyright: ignore[reportArgumentType]
1803
+
1736
1804
  @builtins.property
1737
1805
  @jsii.member(jsii_name="subnetIds")
1738
1806
  def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
@@ -2584,7 +2652,11 @@ class CfnWorkgroup(
2584
2652
  "port": "port",
2585
2653
  "price_performance_target": "pricePerformanceTarget",
2586
2654
  "publicly_accessible": "publiclyAccessible",
2655
+ "recovery_point_id": "recoveryPointId",
2587
2656
  "security_group_ids": "securityGroupIds",
2657
+ "snapshot_arn": "snapshotArn",
2658
+ "snapshot_name": "snapshotName",
2659
+ "snapshot_owner_account": "snapshotOwnerAccount",
2588
2660
  "subnet_ids": "subnetIds",
2589
2661
  "tags": "tags",
2590
2662
  "track_name": "trackName",
@@ -2604,7 +2676,11 @@ class CfnWorkgroupProps:
2604
2676
  port: typing.Optional[jsii.Number] = None,
2605
2677
  price_performance_target: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkgroup.PerformanceTargetProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2606
2678
  publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2679
+ recovery_point_id: typing.Optional[builtins.str] = None,
2607
2680
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
2681
+ snapshot_arn: typing.Optional[builtins.str] = None,
2682
+ snapshot_name: typing.Optional[builtins.str] = None,
2683
+ snapshot_owner_account: typing.Optional[builtins.str] = None,
2608
2684
  subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
2609
2685
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2610
2686
  track_name: typing.Optional[builtins.str] = None,
@@ -2621,7 +2697,11 @@ class CfnWorkgroupProps:
2621
2697
  :param port: The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
2622
2698
  :param price_performance_target: An object that represents the price performance target settings for the workgroup.
2623
2699
  :param publicly_accessible: A value that specifies whether the workgroup can be accessible from a public network. Default: - false
2700
+ :param recovery_point_id: The recovery point id to restore from.
2624
2701
  :param security_group_ids: A list of security group IDs to associate with the workgroup.
2702
+ :param snapshot_arn: The Amazon Resource Name (ARN) of the snapshot to restore from.
2703
+ :param snapshot_name: The snapshot name to restore from.
2704
+ :param snapshot_owner_account: The owner AWS ; account of the snapshot.
2625
2705
  :param subnet_ids: A list of subnet IDs the workgroup is associated with.
2626
2706
  :param tags: The map of the key-value pairs used to tag the workgroup.
2627
2707
  :param track_name: An optional parameter for the name of the track for the workgroup. If you don't provide a track name, the workgroup is assigned to the current track.
@@ -2654,7 +2734,11 @@ class CfnWorkgroupProps:
2654
2734
  status="status"
2655
2735
  ),
2656
2736
  publicly_accessible=False,
2737
+ recovery_point_id="recoveryPointId",
2657
2738
  security_group_ids=["securityGroupIds"],
2739
+ snapshot_arn="snapshotArn",
2740
+ snapshot_name="snapshotName",
2741
+ snapshot_owner_account="snapshotOwnerAccount",
2658
2742
  subnet_ids=["subnetIds"],
2659
2743
  tags=[CfnTag(
2660
2744
  key="key",
@@ -2711,7 +2795,11 @@ class CfnWorkgroupProps:
2711
2795
  check_type(argname="argument port", value=port, expected_type=type_hints["port"])
2712
2796
  check_type(argname="argument price_performance_target", value=price_performance_target, expected_type=type_hints["price_performance_target"])
2713
2797
  check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
2798
+ check_type(argname="argument recovery_point_id", value=recovery_point_id, expected_type=type_hints["recovery_point_id"])
2714
2799
  check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
2800
+ check_type(argname="argument snapshot_arn", value=snapshot_arn, expected_type=type_hints["snapshot_arn"])
2801
+ check_type(argname="argument snapshot_name", value=snapshot_name, expected_type=type_hints["snapshot_name"])
2802
+ check_type(argname="argument snapshot_owner_account", value=snapshot_owner_account, expected_type=type_hints["snapshot_owner_account"])
2715
2803
  check_type(argname="argument subnet_ids", value=subnet_ids, expected_type=type_hints["subnet_ids"])
2716
2804
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2717
2805
  check_type(argname="argument track_name", value=track_name, expected_type=type_hints["track_name"])
@@ -2735,8 +2823,16 @@ class CfnWorkgroupProps:
2735
2823
  self._values["price_performance_target"] = price_performance_target
2736
2824
  if publicly_accessible is not None:
2737
2825
  self._values["publicly_accessible"] = publicly_accessible
2826
+ if recovery_point_id is not None:
2827
+ self._values["recovery_point_id"] = recovery_point_id
2738
2828
  if security_group_ids is not None:
2739
2829
  self._values["security_group_ids"] = security_group_ids
2830
+ if snapshot_arn is not None:
2831
+ self._values["snapshot_arn"] = snapshot_arn
2832
+ if snapshot_name is not None:
2833
+ self._values["snapshot_name"] = snapshot_name
2834
+ if snapshot_owner_account is not None:
2835
+ self._values["snapshot_owner_account"] = snapshot_owner_account
2740
2836
  if subnet_ids is not None:
2741
2837
  self._values["subnet_ids"] = subnet_ids
2742
2838
  if tags is not None:
@@ -2846,6 +2942,15 @@ class CfnWorkgroupProps:
2846
2942
  result = self._values.get("publicly_accessible")
2847
2943
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
2848
2944
 
2945
+ @builtins.property
2946
+ def recovery_point_id(self) -> typing.Optional[builtins.str]:
2947
+ '''The recovery point id to restore from.
2948
+
2949
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-workgroup.html#cfn-redshiftserverless-workgroup-recoverypointid
2950
+ '''
2951
+ result = self._values.get("recovery_point_id")
2952
+ return typing.cast(typing.Optional[builtins.str], result)
2953
+
2849
2954
  @builtins.property
2850
2955
  def security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
2851
2956
  '''A list of security group IDs to associate with the workgroup.
@@ -2855,6 +2960,35 @@ class CfnWorkgroupProps:
2855
2960
  result = self._values.get("security_group_ids")
2856
2961
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
2857
2962
 
2963
+ @builtins.property
2964
+ def snapshot_arn(self) -> typing.Optional[builtins.str]:
2965
+ '''The Amazon Resource Name (ARN) of the snapshot to restore from.
2966
+
2967
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-workgroup.html#cfn-redshiftserverless-workgroup-snapshotarn
2968
+ '''
2969
+ result = self._values.get("snapshot_arn")
2970
+ return typing.cast(typing.Optional[builtins.str], result)
2971
+
2972
+ @builtins.property
2973
+ def snapshot_name(self) -> typing.Optional[builtins.str]:
2974
+ '''The snapshot name to restore from.
2975
+
2976
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-workgroup.html#cfn-redshiftserverless-workgroup-snapshotname
2977
+ '''
2978
+ result = self._values.get("snapshot_name")
2979
+ return typing.cast(typing.Optional[builtins.str], result)
2980
+
2981
+ @builtins.property
2982
+ def snapshot_owner_account(self) -> typing.Optional[builtins.str]:
2983
+ '''The owner AWS ;
2984
+
2985
+ account of the snapshot.
2986
+
2987
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-workgroup.html#cfn-redshiftserverless-workgroup-snapshotowneraccount
2988
+ '''
2989
+ result = self._values.get("snapshot_owner_account")
2990
+ return typing.cast(typing.Optional[builtins.str], result)
2991
+
2858
2992
  @builtins.property
2859
2993
  def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
2860
2994
  '''A list of subnet IDs the workgroup is associated with.
@@ -3111,7 +3245,11 @@ def _typecheckingstub__61a1b6ebbdacc577619f4e17ddabdaa553ffe5fe072b72e14ddf7d9c3
3111
3245
  port: typing.Optional[jsii.Number] = None,
3112
3246
  price_performance_target: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkgroup.PerformanceTargetProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3113
3247
  publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3248
+ recovery_point_id: typing.Optional[builtins.str] = None,
3114
3249
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
3250
+ snapshot_arn: typing.Optional[builtins.str] = None,
3251
+ snapshot_name: typing.Optional[builtins.str] = None,
3252
+ snapshot_owner_account: typing.Optional[builtins.str] = None,
3115
3253
  subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
3116
3254
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3117
3255
  track_name: typing.Optional[builtins.str] = None,
@@ -3186,12 +3324,36 @@ def _typecheckingstub__974542b0d8aa6c1847dd536dcf795ef2c4719aed798ea365b0767f6ad
3186
3324
  """Type checking stubs"""
3187
3325
  pass
3188
3326
 
3327
+ def _typecheckingstub__330f25021814c2fb98578117b6d4b45cb103383dd78a1ec221ad5ee1da1af776(
3328
+ value: typing.Optional[builtins.str],
3329
+ ) -> None:
3330
+ """Type checking stubs"""
3331
+ pass
3332
+
3189
3333
  def _typecheckingstub__b2864d0fac41ac305963b5532a731665cbc0d93a810a41ea2d2fe98a5285e8aa(
3190
3334
  value: typing.Optional[typing.List[builtins.str]],
3191
3335
  ) -> None:
3192
3336
  """Type checking stubs"""
3193
3337
  pass
3194
3338
 
3339
+ def _typecheckingstub__22c9552850e931e5526d6b100685f6e372509370d50247f9134b09b667c31905(
3340
+ value: typing.Optional[builtins.str],
3341
+ ) -> None:
3342
+ """Type checking stubs"""
3343
+ pass
3344
+
3345
+ def _typecheckingstub__9001e412e7a006803ae5b51d6b1ec1486aa95db2939acfaa5b88a397dfaf1e7b(
3346
+ value: typing.Optional[builtins.str],
3347
+ ) -> None:
3348
+ """Type checking stubs"""
3349
+ pass
3350
+
3351
+ def _typecheckingstub__e20f0edef13cea8274ed0af3c59774d9e6b1dc49c1c6cd25ad2a5807f42500fe(
3352
+ value: typing.Optional[builtins.str],
3353
+ ) -> None:
3354
+ """Type checking stubs"""
3355
+ pass
3356
+
3195
3357
  def _typecheckingstub__67e139cef151f144f2bb04082850da469be0ab0515cff591edf9fc1e44df78a9(
3196
3358
  value: typing.Optional[typing.List[builtins.str]],
3197
3359
  ) -> None:
@@ -3293,7 +3455,11 @@ def _typecheckingstub__1ee3941005026bdab05d38183c12cc7cf5ff218e6db3877161b60d823
3293
3455
  port: typing.Optional[jsii.Number] = None,
3294
3456
  price_performance_target: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkgroup.PerformanceTargetProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3295
3457
  publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3458
+ recovery_point_id: typing.Optional[builtins.str] = None,
3296
3459
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
3460
+ snapshot_arn: typing.Optional[builtins.str] = None,
3461
+ snapshot_name: typing.Optional[builtins.str] = None,
3462
+ snapshot_owner_account: typing.Optional[builtins.str] = None,
3297
3463
  subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
3298
3464
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3299
3465
  track_name: typing.Optional[builtins.str] = None,
@@ -2254,7 +2254,7 @@ class CfnHostedZone(
2254
2254
  :param scope: Scope in which this resource is defined.
2255
2255
  :param id: Construct identifier for this resource (unique in its scope).
2256
2256
  :param hosted_zone_config: A complex type that contains an optional comment. If you don't want to specify a comment, omit the ``HostedZoneConfig`` and ``Comment`` elements.
2257
- :param hosted_zone_tags: Adds, edits, or deletes tags for a health check or a hosted zone. For information about using tags for cost allocation, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the *AWS Billing and Cost Management User Guide* .
2257
+ :param hosted_zone_tags: Adds, edits, or deletes tags for a health check or a hosted zone. For information about using tags for cost allocation, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the *Billing and Cost Management User Guide* .
2258
2258
  :param name: The name of the domain. Specify a fully qualified domain name, for example, *www.example.com* . The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats *www.example.com* (without a trailing dot) and *www.example.com.* (with a trailing dot) as identical. If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Route 53, change the name servers for your domain to the set of ``NameServers`` that are returned by the ``Fn::GetAtt`` intrinsic function.
2259
2259
  :param query_logging_config: Creates a configuration for DNS query logging. After you create a query logging configuration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs log group. DNS query logs contain information about the queries that Route 53 receives for a specified public hosted zone, such as the following: - Route 53 edge location that responded to the DNS query - Domain or subdomain that was requested - DNS record type, such as A or AAAA - DNS response code, such as ``NoError`` or ``ServFail`` - **Log Group and Resource Policy** - Before you create a query logging configuration, perform the following operations. .. epigraph:: If you create a query logging configuration using the Route 53 console, Route 53 performs these operations automatically. - Create a CloudWatch Logs log group, and make note of the ARN, which you specify when you create a query logging configuration. Note the following: - You must create the log group in the us-east-1 region. - You must use the same AWS account to create the log group and the hosted zone that you want to configure query logging for. - When you create log groups for query logging, we recommend that you use a consistent prefix, for example: ``/aws/route53/ *hosted zone name*`` In the next step, you'll create a resource policy, which controls access to one or more log groups and the associated AWS resources, such as Route 53 hosted zones. There's a limit on the number of resource policies that you can create, so we recommend that you use a consistent prefix so you can use the same resource policy for all the log groups that you create for query logging. - Create a CloudWatch Logs resource policy, and give it the permissions that Route 53 needs to create log streams and to send query logs to log streams. You must create the CloudWatch Logs resource policy in the us-east-1 region. For the value of ``Resource`` , specify the ARN for the log group that you created in the previous step. To use the same resource policy for all the CloudWatch Logs log groups that you created for query logging configurations, replace the hosted zone name with ``*`` , for example: ``arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*`` To avoid the confused deputy problem, a security issue where an entity without a permission for an action can coerce a more-privileged entity to perform it, you can optionally limit the permissions that a service has to a resource in a resource-based policy by supplying the following values: - For ``aws:SourceArn`` , supply the hosted zone ARN used in creating the query logging configuration. For example, ``aws:SourceArn: arn:aws:route53:::hostedzone/hosted zone ID`` . - For ``aws:SourceAccount`` , supply the account ID for the account that creates the query logging configuration. For example, ``aws:SourceAccount:111111111111`` . For more information, see `The confused deputy problem <https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html>`_ in the *AWS IAM User Guide* . .. epigraph:: You can't use the CloudWatch console to create or edit a resource policy. You must use the CloudWatch API, one of the AWS SDKs, or the AWS CLI . - **Log Streams and Edge Locations** - When Route 53 finishes creating the configuration for DNS query logging, it does the following: - Creates a log stream for an edge location the first time that the edge location responds to DNS queries for the specified hosted zone. That log stream is used to log all queries that Route 53 responds to for that edge location. - Begins to send query logs to the applicable log stream. The name of each log stream is in the following format: ``*hosted zone ID* / *edge location code*`` The edge location code is a three-letter code and an arbitrarily assigned number, for example, DFW3. The three-letter code typically corresponds with the International Air Transport Association airport code for an airport near the edge location. (These abbreviations might change in the future.) For a list of edge locations, see "The Route 53 Global Network" on the `Route 53 Product Details <https://docs.aws.amazon.com/route53/details/>`_ page. - **Queries That Are Logged** - Query logs contain only the queries that DNS resolvers forward to Route 53. If a DNS resolver has already cached the response to a query (such as the IP address for a load balancer for example.com), the resolver will continue to return the cached response. It doesn't forward another query to Route 53 until the TTL for the corresponding resource record set expires. Depending on how many DNS queries are submitted for a resource record set, and depending on the TTL for that resource record set, query logs might contain information about only one query out of every several thousand queries that are submitted to DNS. For more information about how DNS works, see `Routing Internet Traffic to Your Website or Web Application <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html>`_ in the *Amazon Route 53 Developer Guide* . - **Log File Format** - For a list of the values in each query log and the format of each value, see `Logging DNS Queries <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html>`_ in the *Amazon Route 53 Developer Guide* . - **Pricing** - For information about charges for query logs, see `Amazon CloudWatch Pricing <https://docs.aws.amazon.com/cloudwatch/pricing/>`_ . - **How to Stop Logging** - If you want Route 53 to stop sending query logs to CloudWatch Logs, delete the query logging configuration. For more information, see `DeleteQueryLoggingConfig <https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteQueryLoggingConfig.html>`_ .
2260
2260
  :param vpcs: *Private hosted zones:* A complex type that contains information about the VPCs that are associated with the specified hosted zone. .. epigraph:: For public hosted zones, omit ``VPCs`` , ``VPCId`` , and ``VPCRegion`` .
@@ -2702,7 +2702,7 @@ class CfnHostedZoneProps:
2702
2702
  '''Properties for defining a ``CfnHostedZone``.
2703
2703
 
2704
2704
  :param hosted_zone_config: A complex type that contains an optional comment. If you don't want to specify a comment, omit the ``HostedZoneConfig`` and ``Comment`` elements.
2705
- :param hosted_zone_tags: Adds, edits, or deletes tags for a health check or a hosted zone. For information about using tags for cost allocation, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the *AWS Billing and Cost Management User Guide* .
2705
+ :param hosted_zone_tags: Adds, edits, or deletes tags for a health check or a hosted zone. For information about using tags for cost allocation, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the *Billing and Cost Management User Guide* .
2706
2706
  :param name: The name of the domain. Specify a fully qualified domain name, for example, *www.example.com* . The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats *www.example.com* (without a trailing dot) and *www.example.com.* (with a trailing dot) as identical. If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Route 53, change the name servers for your domain to the set of ``NameServers`` that are returned by the ``Fn::GetAtt`` intrinsic function.
2707
2707
  :param query_logging_config: Creates a configuration for DNS query logging. After you create a query logging configuration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs log group. DNS query logs contain information about the queries that Route 53 receives for a specified public hosted zone, such as the following: - Route 53 edge location that responded to the DNS query - Domain or subdomain that was requested - DNS record type, such as A or AAAA - DNS response code, such as ``NoError`` or ``ServFail`` - **Log Group and Resource Policy** - Before you create a query logging configuration, perform the following operations. .. epigraph:: If you create a query logging configuration using the Route 53 console, Route 53 performs these operations automatically. - Create a CloudWatch Logs log group, and make note of the ARN, which you specify when you create a query logging configuration. Note the following: - You must create the log group in the us-east-1 region. - You must use the same AWS account to create the log group and the hosted zone that you want to configure query logging for. - When you create log groups for query logging, we recommend that you use a consistent prefix, for example: ``/aws/route53/ *hosted zone name*`` In the next step, you'll create a resource policy, which controls access to one or more log groups and the associated AWS resources, such as Route 53 hosted zones. There's a limit on the number of resource policies that you can create, so we recommend that you use a consistent prefix so you can use the same resource policy for all the log groups that you create for query logging. - Create a CloudWatch Logs resource policy, and give it the permissions that Route 53 needs to create log streams and to send query logs to log streams. You must create the CloudWatch Logs resource policy in the us-east-1 region. For the value of ``Resource`` , specify the ARN for the log group that you created in the previous step. To use the same resource policy for all the CloudWatch Logs log groups that you created for query logging configurations, replace the hosted zone name with ``*`` , for example: ``arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*`` To avoid the confused deputy problem, a security issue where an entity without a permission for an action can coerce a more-privileged entity to perform it, you can optionally limit the permissions that a service has to a resource in a resource-based policy by supplying the following values: - For ``aws:SourceArn`` , supply the hosted zone ARN used in creating the query logging configuration. For example, ``aws:SourceArn: arn:aws:route53:::hostedzone/hosted zone ID`` . - For ``aws:SourceAccount`` , supply the account ID for the account that creates the query logging configuration. For example, ``aws:SourceAccount:111111111111`` . For more information, see `The confused deputy problem <https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html>`_ in the *AWS IAM User Guide* . .. epigraph:: You can't use the CloudWatch console to create or edit a resource policy. You must use the CloudWatch API, one of the AWS SDKs, or the AWS CLI . - **Log Streams and Edge Locations** - When Route 53 finishes creating the configuration for DNS query logging, it does the following: - Creates a log stream for an edge location the first time that the edge location responds to DNS queries for the specified hosted zone. That log stream is used to log all queries that Route 53 responds to for that edge location. - Begins to send query logs to the applicable log stream. The name of each log stream is in the following format: ``*hosted zone ID* / *edge location code*`` The edge location code is a three-letter code and an arbitrarily assigned number, for example, DFW3. The three-letter code typically corresponds with the International Air Transport Association airport code for an airport near the edge location. (These abbreviations might change in the future.) For a list of edge locations, see "The Route 53 Global Network" on the `Route 53 Product Details <https://docs.aws.amazon.com/route53/details/>`_ page. - **Queries That Are Logged** - Query logs contain only the queries that DNS resolvers forward to Route 53. If a DNS resolver has already cached the response to a query (such as the IP address for a load balancer for example.com), the resolver will continue to return the cached response. It doesn't forward another query to Route 53 until the TTL for the corresponding resource record set expires. Depending on how many DNS queries are submitted for a resource record set, and depending on the TTL for that resource record set, query logs might contain information about only one query out of every several thousand queries that are submitted to DNS. For more information about how DNS works, see `Routing Internet Traffic to Your Website or Web Application <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html>`_ in the *Amazon Route 53 Developer Guide* . - **Log File Format** - For a list of the values in each query log and the format of each value, see `Logging DNS Queries <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html>`_ in the *Amazon Route 53 Developer Guide* . - **Pricing** - For information about charges for query logs, see `Amazon CloudWatch Pricing <https://docs.aws.amazon.com/cloudwatch/pricing/>`_ . - **How to Stop Logging** - If you want Route 53 to stop sending query logs to CloudWatch Logs, delete the query logging configuration. For more information, see `DeleteQueryLoggingConfig <https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteQueryLoggingConfig.html>`_ .
2708
2708
  :param vpcs: *Private hosted zones:* A complex type that contains information about the VPCs that are associated with the specified hosted zone. .. epigraph:: For public hosted zones, omit ``VPCs`` , ``VPCId`` , and ``VPCRegion`` .
@@ -2772,7 +2772,7 @@ class CfnHostedZoneProps:
2772
2772
  ) -> typing.Optional[typing.List[CfnHostedZone.HostedZoneTagProperty]]:
2773
2773
  '''Adds, edits, or deletes tags for a health check or a hosted zone.
2774
2774
 
2775
- For information about using tags for cost allocation, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the *AWS Billing and Cost Management User Guide* .
2775
+ For information about using tags for cost allocation, see `Using Cost Allocation Tags <https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html>`_ in the *Billing and Cost Management User Guide* .
2776
2776
 
2777
2777
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-hostedzonetags
2778
2778
  '''