aws-cdk-lib 2.147.3__py3-none-any.whl → 2.148.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.
Files changed (291) hide show
  1. aws_cdk/__init__.py +7 -5
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.147.3.jsii.tgz → aws-cdk-lib@2.148.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +1 -1
  5. aws_cdk/assertions/__init__.py +1 -1
  6. aws_cdk/aws_accessanalyzer/__init__.py +1 -1
  7. aws_cdk/aws_acmpca/__init__.py +1 -1
  8. aws_cdk/aws_amazonmq/__init__.py +1 -1
  9. aws_cdk/aws_amplify/__init__.py +1 -1
  10. aws_cdk/aws_amplifyuibuilder/__init__.py +1 -1
  11. aws_cdk/aws_apigateway/__init__.py +1 -1
  12. aws_cdk/aws_apigatewayv2/__init__.py +1 -1
  13. aws_cdk/aws_apigatewayv2_authorizers/__init__.py +1 -1
  14. aws_cdk/aws_apigatewayv2_integrations/__init__.py +1 -1
  15. aws_cdk/aws_appconfig/__init__.py +1 -1
  16. aws_cdk/aws_appflow/__init__.py +1 -1
  17. aws_cdk/aws_appintegrations/__init__.py +1 -1
  18. aws_cdk/aws_applicationautoscaling/__init__.py +1 -1
  19. aws_cdk/aws_applicationinsights/__init__.py +1 -1
  20. aws_cdk/aws_applicationsignals/__init__.py +143 -87
  21. aws_cdk/aws_appmesh/__init__.py +1 -1
  22. aws_cdk/aws_apprunner/__init__.py +1 -1
  23. aws_cdk/aws_appstream/__init__.py +1 -1
  24. aws_cdk/aws_appsync/__init__.py +1 -1
  25. aws_cdk/aws_apptest/__init__.py +3042 -0
  26. aws_cdk/aws_aps/__init__.py +1 -1
  27. aws_cdk/aws_arczonalshift/__init__.py +1 -1
  28. aws_cdk/aws_athena/__init__.py +1 -1
  29. aws_cdk/aws_auditmanager/__init__.py +1 -1
  30. aws_cdk/aws_autoscaling/__init__.py +1 -1
  31. aws_cdk/aws_autoscaling_common/__init__.py +1 -1
  32. aws_cdk/aws_autoscaling_hooktargets/__init__.py +1 -1
  33. aws_cdk/aws_autoscalingplans/__init__.py +1 -1
  34. aws_cdk/aws_b2bi/__init__.py +1 -1
  35. aws_cdk/aws_backup/__init__.py +4 -6
  36. aws_cdk/aws_backupgateway/__init__.py +1 -1
  37. aws_cdk/aws_batch/__init__.py +1 -216
  38. aws_cdk/aws_bcmdataexports/__init__.py +1 -1
  39. aws_cdk/aws_bedrock/__init__.py +178 -1
  40. aws_cdk/aws_billingconductor/__init__.py +1 -1
  41. aws_cdk/aws_budgets/__init__.py +1 -1
  42. aws_cdk/aws_cassandra/__init__.py +1 -1
  43. aws_cdk/aws_ce/__init__.py +1 -1
  44. aws_cdk/aws_certificatemanager/__init__.py +1 -1
  45. aws_cdk/aws_chatbot/__init__.py +1 -1
  46. aws_cdk/aws_cleanrooms/__init__.py +1 -1
  47. aws_cdk/aws_cleanroomsml/__init__.py +1 -1
  48. aws_cdk/aws_cloud9/__init__.py +1 -1
  49. aws_cdk/aws_cloudformation/__init__.py +1 -1
  50. aws_cdk/aws_cloudfront/__init__.py +1 -1
  51. aws_cdk/aws_cloudfront/experimental/__init__.py +44 -0
  52. aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
  53. aws_cdk/aws_cloudtrail/__init__.py +20 -12
  54. aws_cdk/aws_cloudwatch/__init__.py +1 -1
  55. aws_cdk/aws_cloudwatch_actions/__init__.py +1 -1
  56. aws_cdk/aws_codeartifact/__init__.py +11 -9
  57. aws_cdk/aws_codebuild/__init__.py +193 -6
  58. aws_cdk/aws_codecommit/__init__.py +1 -1
  59. aws_cdk/aws_codeconnections/__init__.py +1 -1
  60. aws_cdk/aws_codedeploy/__init__.py +35 -4
  61. aws_cdk/aws_codeguruprofiler/__init__.py +1 -1
  62. aws_cdk/aws_codegurureviewer/__init__.py +1 -1
  63. aws_cdk/aws_codepipeline/__init__.py +1 -1
  64. aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
  65. aws_cdk/aws_codestar/__init__.py +1 -1
  66. aws_cdk/aws_codestarconnections/__init__.py +1 -1
  67. aws_cdk/aws_codestarnotifications/__init__.py +1 -1
  68. aws_cdk/aws_cognito/__init__.py +56 -18
  69. aws_cdk/aws_comprehend/__init__.py +1 -1
  70. aws_cdk/aws_config/__init__.py +1 -1
  71. aws_cdk/aws_connect/__init__.py +1 -1
  72. aws_cdk/aws_connectcampaigns/__init__.py +1 -1
  73. aws_cdk/aws_controltower/__init__.py +1 -1
  74. aws_cdk/aws_cur/__init__.py +1 -1
  75. aws_cdk/aws_customerprofiles/__init__.py +1 -1
  76. aws_cdk/aws_databrew/__init__.py +1 -1
  77. aws_cdk/aws_datapipeline/__init__.py +1 -1
  78. aws_cdk/aws_datasync/__init__.py +12 -12
  79. aws_cdk/aws_datazone/__init__.py +1 -1
  80. aws_cdk/aws_dax/__init__.py +1 -1
  81. aws_cdk/aws_deadline/__init__.py +3 -2
  82. aws_cdk/aws_detective/__init__.py +1 -1
  83. aws_cdk/aws_devicefarm/__init__.py +1 -1
  84. aws_cdk/aws_devopsguru/__init__.py +1 -1
  85. aws_cdk/aws_directoryservice/__init__.py +1 -1
  86. aws_cdk/aws_dlm/__init__.py +1 -1
  87. aws_cdk/aws_dms/__init__.py +2 -2
  88. aws_cdk/aws_docdb/__init__.py +1 -1
  89. aws_cdk/aws_docdbelastic/__init__.py +1 -1
  90. aws_cdk/aws_dynamodb/__init__.py +1 -1
  91. aws_cdk/aws_ec2/__init__.py +24 -26
  92. aws_cdk/aws_ecr/__init__.py +1 -1
  93. aws_cdk/aws_ecr_assets/__init__.py +1 -1
  94. aws_cdk/aws_ecs/__init__.py +29 -25
  95. aws_cdk/aws_ecs_patterns/__init__.py +1 -1
  96. aws_cdk/aws_efs/__init__.py +1 -1
  97. aws_cdk/aws_eks/__init__.py +619 -31
  98. aws_cdk/aws_elasticache/__init__.py +29 -18
  99. aws_cdk/aws_elasticbeanstalk/__init__.py +1 -1
  100. aws_cdk/aws_elasticloadbalancing/__init__.py +1 -1
  101. aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -4
  102. aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +1 -1
  103. aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +1 -1
  104. aws_cdk/aws_elasticsearch/__init__.py +1 -1
  105. aws_cdk/aws_emr/__init__.py +1 -1
  106. aws_cdk/aws_emrcontainers/__init__.py +1 -1
  107. aws_cdk/aws_emrserverless/__init__.py +34 -7
  108. aws_cdk/aws_entityresolution/__init__.py +1 -1
  109. aws_cdk/aws_events/__init__.py +1 -1
  110. aws_cdk/aws_events_targets/__init__.py +1 -1
  111. aws_cdk/aws_eventschemas/__init__.py +1 -1
  112. aws_cdk/aws_evidently/__init__.py +1 -1
  113. aws_cdk/aws_finspace/__init__.py +1 -1
  114. aws_cdk/aws_fis/__init__.py +1 -1
  115. aws_cdk/aws_fms/__init__.py +1 -1
  116. aws_cdk/aws_forecast/__init__.py +1 -1
  117. aws_cdk/aws_frauddetector/__init__.py +1 -1
  118. aws_cdk/aws_fsx/__init__.py +186 -2
  119. aws_cdk/aws_gamelift/__init__.py +10 -6
  120. aws_cdk/aws_globalaccelerator/__init__.py +1 -1
  121. aws_cdk/aws_globalaccelerator_endpoints/__init__.py +1 -1
  122. aws_cdk/aws_glue/__init__.py +18 -14
  123. aws_cdk/aws_grafana/__init__.py +9 -5
  124. aws_cdk/aws_greengrass/__init__.py +1 -1
  125. aws_cdk/aws_greengrassv2/__init__.py +1 -1
  126. aws_cdk/aws_groundstation/__init__.py +1 -1
  127. aws_cdk/aws_guardduty/__init__.py +171 -132
  128. aws_cdk/aws_healthimaging/__init__.py +1 -1
  129. aws_cdk/aws_healthlake/__init__.py +1 -1
  130. aws_cdk/aws_iam/__init__.py +1 -1
  131. aws_cdk/aws_identitystore/__init__.py +1 -1
  132. aws_cdk/aws_imagebuilder/__init__.py +1 -1
  133. aws_cdk/aws_inspector/__init__.py +1 -1
  134. aws_cdk/aws_inspectorv2/__init__.py +1 -1
  135. aws_cdk/aws_internetmonitor/__init__.py +1 -1
  136. aws_cdk/aws_iot/__init__.py +1 -1
  137. aws_cdk/aws_iot1click/__init__.py +1 -1
  138. aws_cdk/aws_iotanalytics/__init__.py +1 -1
  139. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +1 -1
  140. aws_cdk/aws_iotevents/__init__.py +1 -1
  141. aws_cdk/aws_iotfleethub/__init__.py +1 -1
  142. aws_cdk/aws_iotfleetwise/__init__.py +1 -1
  143. aws_cdk/aws_iotsitewise/__init__.py +1 -1
  144. aws_cdk/aws_iotthingsgraph/__init__.py +1 -1
  145. aws_cdk/aws_iottwinmaker/__init__.py +1 -1
  146. aws_cdk/aws_iotwireless/__init__.py +1 -1
  147. aws_cdk/aws_ivs/__init__.py +1 -1
  148. aws_cdk/aws_ivschat/__init__.py +1 -1
  149. aws_cdk/aws_kafkaconnect/__init__.py +1 -1
  150. aws_cdk/aws_kendra/__init__.py +1 -1
  151. aws_cdk/aws_kendraranking/__init__.py +1 -1
  152. aws_cdk/aws_kinesis/__init__.py +1 -1
  153. aws_cdk/aws_kinesisanalytics/__init__.py +93 -1
  154. aws_cdk/aws_kinesisanalyticsv2/__init__.py +93 -1
  155. aws_cdk/aws_kinesisfirehose/__init__.py +301 -94
  156. aws_cdk/aws_kinesisvideo/__init__.py +1 -1
  157. aws_cdk/aws_kms/__init__.py +16 -15
  158. aws_cdk/aws_lakeformation/__init__.py +1 -1
  159. aws_cdk/aws_lambda/__init__.py +160 -1
  160. aws_cdk/aws_lambda_destinations/__init__.py +1 -1
  161. aws_cdk/aws_lambda_event_sources/__init__.py +1 -1
  162. aws_cdk/aws_lambda_nodejs/__init__.py +1 -1
  163. aws_cdk/aws_lex/__init__.py +1 -1
  164. aws_cdk/aws_licensemanager/__init__.py +1 -1
  165. aws_cdk/aws_lightsail/__init__.py +1 -1
  166. aws_cdk/aws_location/__init__.py +1 -1
  167. aws_cdk/aws_logs/__init__.py +1 -1
  168. aws_cdk/aws_logs_destinations/__init__.py +1 -1
  169. aws_cdk/aws_lookoutequipment/__init__.py +1 -1
  170. aws_cdk/aws_lookoutmetrics/__init__.py +1 -1
  171. aws_cdk/aws_lookoutvision/__init__.py +1 -1
  172. aws_cdk/aws_m2/__init__.py +1 -1
  173. aws_cdk/aws_macie/__init__.py +1 -1
  174. aws_cdk/aws_managedblockchain/__init__.py +1 -1
  175. aws_cdk/aws_mediaconnect/__init__.py +1 -1
  176. aws_cdk/aws_mediaconvert/__init__.py +1 -1
  177. aws_cdk/aws_medialive/__init__.py +1 -1
  178. aws_cdk/aws_mediapackage/__init__.py +1 -1
  179. aws_cdk/aws_mediapackagev2/__init__.py +33 -1
  180. aws_cdk/aws_mediastore/__init__.py +1 -1
  181. aws_cdk/aws_mediatailor/__init__.py +1 -1
  182. aws_cdk/aws_memorydb/__init__.py +1 -1
  183. aws_cdk/aws_msk/__init__.py +1 -1
  184. aws_cdk/aws_mwaa/__init__.py +1 -1
  185. aws_cdk/aws_neptune/__init__.py +1 -1
  186. aws_cdk/aws_neptunegraph/__init__.py +1 -1
  187. aws_cdk/aws_networkfirewall/__init__.py +1 -1
  188. aws_cdk/aws_networkmanager/__init__.py +10 -10
  189. aws_cdk/aws_nimblestudio/__init__.py +1 -1
  190. aws_cdk/aws_oam/__init__.py +1 -1
  191. aws_cdk/aws_omics/__init__.py +2 -2
  192. aws_cdk/aws_opensearchserverless/__init__.py +1 -1
  193. aws_cdk/aws_opensearchservice/__init__.py +1 -1
  194. aws_cdk/aws_opsworks/__init__.py +1 -1
  195. aws_cdk/aws_opsworkscm/__init__.py +8 -4
  196. aws_cdk/aws_organizations/__init__.py +1 -1
  197. aws_cdk/aws_osis/__init__.py +1 -1
  198. aws_cdk/aws_panorama/__init__.py +1 -1
  199. aws_cdk/aws_paymentcryptography/__init__.py +1 -1
  200. aws_cdk/aws_pcaconnectorad/__init__.py +1 -1
  201. aws_cdk/aws_personalize/__init__.py +1 -1
  202. aws_cdk/aws_pinpoint/__init__.py +1 -1
  203. aws_cdk/aws_pinpointemail/__init__.py +1 -1
  204. aws_cdk/aws_pipes/__init__.py +1 -1
  205. aws_cdk/aws_proton/__init__.py +1 -1
  206. aws_cdk/aws_qbusiness/__init__.py +1 -1
  207. aws_cdk/aws_qldb/__init__.py +1 -1
  208. aws_cdk/aws_quicksight/__init__.py +1 -1
  209. aws_cdk/aws_ram/__init__.py +1 -1
  210. aws_cdk/aws_rds/__init__.py +515 -34
  211. aws_cdk/aws_redshift/__init__.py +10 -10
  212. aws_cdk/aws_redshiftserverless/__init__.py +1 -1
  213. aws_cdk/aws_refactorspaces/__init__.py +1 -1
  214. aws_cdk/aws_rekognition/__init__.py +1 -1
  215. aws_cdk/aws_resiliencehub/__init__.py +1 -1
  216. aws_cdk/aws_resourceexplorer2/__init__.py +1 -1
  217. aws_cdk/aws_resourcegroups/__init__.py +1 -1
  218. aws_cdk/aws_robomaker/__init__.py +1 -1
  219. aws_cdk/aws_rolesanywhere/__init__.py +1 -1
  220. aws_cdk/aws_route53/__init__.py +1 -1
  221. aws_cdk/aws_route53_patterns/__init__.py +1 -1
  222. aws_cdk/aws_route53_targets/__init__.py +1 -1
  223. aws_cdk/aws_route53profiles/__init__.py +1 -1
  224. aws_cdk/aws_route53recoverycontrol/__init__.py +1 -1
  225. aws_cdk/aws_route53recoveryreadiness/__init__.py +1 -1
  226. aws_cdk/aws_route53resolver/__init__.py +1 -1
  227. aws_cdk/aws_rum/__init__.py +1 -1
  228. aws_cdk/aws_s3/__init__.py +30 -6
  229. aws_cdk/aws_s3_assets/__init__.py +1 -1
  230. aws_cdk/aws_s3_deployment/__init__.py +1 -1
  231. aws_cdk/aws_s3_notifications/__init__.py +1 -1
  232. aws_cdk/aws_s3express/__init__.py +1 -1
  233. aws_cdk/aws_s3objectlambda/__init__.py +1 -1
  234. aws_cdk/aws_s3outposts/__init__.py +1 -1
  235. aws_cdk/aws_sagemaker/__init__.py +1 -1
  236. aws_cdk/aws_sam/__init__.py +1 -1
  237. aws_cdk/aws_scheduler/__init__.py +1 -1
  238. aws_cdk/aws_sdb/__init__.py +1 -1
  239. aws_cdk/aws_secretsmanager/__init__.py +1 -1
  240. aws_cdk/aws_securityhub/__init__.py +1 -1
  241. aws_cdk/aws_securitylake/__init__.py +1 -1
  242. aws_cdk/aws_servicecatalog/__init__.py +1 -1
  243. aws_cdk/aws_servicecatalogappregistry/__init__.py +1 -1
  244. aws_cdk/aws_servicediscovery/__init__.py +21 -4
  245. aws_cdk/aws_ses/__init__.py +86 -1
  246. aws_cdk/aws_ses_actions/__init__.py +1 -1
  247. aws_cdk/aws_shield/__init__.py +1 -1
  248. aws_cdk/aws_signer/__init__.py +42 -1
  249. aws_cdk/aws_simspaceweaver/__init__.py +1 -1
  250. aws_cdk/aws_sns/__init__.py +1 -1
  251. aws_cdk/aws_sns_subscriptions/__init__.py +1 -1
  252. aws_cdk/aws_sqs/__init__.py +7 -9
  253. aws_cdk/aws_ssm/__init__.py +106 -37
  254. aws_cdk/aws_ssmcontacts/__init__.py +1 -1
  255. aws_cdk/aws_ssmincidents/__init__.py +1 -1
  256. aws_cdk/aws_sso/__init__.py +1 -1
  257. aws_cdk/aws_stepfunctions/__init__.py +1 -1
  258. aws_cdk/aws_stepfunctions_tasks/__init__.py +793 -152
  259. aws_cdk/aws_supportapp/__init__.py +1 -1
  260. aws_cdk/aws_synthetics/__init__.py +1 -1
  261. aws_cdk/aws_systemsmanagersap/__init__.py +1 -1
  262. aws_cdk/aws_timestream/__init__.py +1 -1
  263. aws_cdk/aws_transfer/__init__.py +1 -1
  264. aws_cdk/aws_verifiedpermissions/__init__.py +602 -9
  265. aws_cdk/aws_voiceid/__init__.py +1 -1
  266. aws_cdk/aws_vpclattice/__init__.py +1 -1
  267. aws_cdk/aws_waf/__init__.py +1 -1
  268. aws_cdk/aws_wafregional/__init__.py +1 -1
  269. aws_cdk/aws_wafv2/__init__.py +1 -1
  270. aws_cdk/aws_wisdom/__init__.py +1 -1
  271. aws_cdk/aws_workspaces/__init__.py +774 -1
  272. aws_cdk/aws_workspacesthinclient/__init__.py +1 -1
  273. aws_cdk/aws_workspacesweb/__init__.py +5 -5
  274. aws_cdk/aws_xray/__init__.py +1 -1
  275. aws_cdk/cloud_assembly_schema/__init__.py +1 -1
  276. aws_cdk/cloudformation_include/__init__.py +1 -1
  277. aws_cdk/custom_resources/__init__.py +1 -1
  278. aws_cdk/cx_api/__init__.py +19 -1
  279. aws_cdk/lambda_layer_awscli/__init__.py +1 -1
  280. aws_cdk/lambda_layer_kubectl/__init__.py +1 -1
  281. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +1 -1
  282. aws_cdk/pipelines/__init__.py +2 -2
  283. aws_cdk/region_info/__init__.py +1 -1
  284. aws_cdk/triggers/__init__.py +1 -1
  285. {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/METADATA +2 -2
  286. aws_cdk_lib-2.148.0.dist-info/RECORD +291 -0
  287. aws_cdk_lib-2.147.3.dist-info/RECORD +0 -290
  288. {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/LICENSE +0 -0
  289. {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/NOTICE +0 -0
  290. {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/WHEEL +0 -0
  291. {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # Amazon Redshift Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -210,7 +210,7 @@ class CfnCluster(
210
210
  :param cluster_type: The type of the cluster. When cluster type is specified as. - ``single-node`` , the *NumberOfNodes* parameter is not required. - ``multi-node`` , the *NumberOfNodes* parameter is required. Valid Values: ``multi-node`` | ``single-node`` Default: ``multi-node``
211
211
  :param db_name: The name of the first database to be created when the cluster is created. To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to `Create a Database <https://docs.aws.amazon.com/redshift/latest/dg/t_creating_database.html>`_ in the Amazon Redshift Database Developer Guide. Default: ``dev`` Constraints: - Must contain 1 to 64 alphanumeric characters. - Must contain only lowercase letters. - Cannot be a word that is reserved by the service. A list of reserved words can be found in `Reserved Words <https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html>`_ in the Amazon Redshift Database Developer Guide.
212
212
  :param master_username: The user name associated with the admin user account for the cluster that is being created. Constraints: - Must be 1 - 128 alphanumeric characters or hyphens. The user name can't be ``PUBLIC`` . - Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen. - The first character must be a letter. - Must not contain a colon (:) or a slash (/). - Cannot be a reserved word. A list of reserved words can be found in `Reserved Words <https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html>`_ in the Amazon Redshift Database Developer Guide.
213
- :param node_type: The node type to be provisioned for the cluster. For information about node types, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* . Valid Values: ``ds2.xlarge`` | ``ds2.8xlarge`` | ``dc1.large`` | ``dc1.8xlarge`` | ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
213
+ :param node_type: The node type to be provisioned for the cluster. For information about node types, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* . Valid Values: ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
214
214
  :param allow_version_upgrade: If ``true`` , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. When a new major version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster. Default: ``true``
215
215
  :param aqua_configuration_status: This parameter is retired. It does not set the AQUA configuration status. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
216
216
  :param automated_snapshot_retention_period: The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with `CreateClusterSnapshot <https://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSnapshot.html>`_ in the *Amazon Redshift API Reference* . Default: ``1`` Constraints: Must be a value from 0 to 35.
@@ -245,7 +245,7 @@ class CfnCluster(
245
245
  :param namespace_resource_policy: The policy that is attached to a resource.
246
246
  :param number_of_nodes: The number of compute nodes in the cluster. This parameter is required when the *ClusterType* parameter is specified as ``multi-node`` . For information about determining how many nodes you need, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* . If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster. Default: ``1`` Constraints: Value must be at least 1 and no more than 100.
247
247
  :param owner_account: The AWS account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
248
- :param port: The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default: ``5439`` Valid Values: - For clusters with ra3 nodes - Select a port within the ranges ``5431-5455`` or ``8191-8215`` . (If you have an existing cluster with ra3 nodes, it isn't required that you change the port to these ranges.) - For clusters with ds2 or dc2 nodes - Select a port within the range ``1150-65535`` .
248
+ :param port: The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default: ``5439`` Valid Values: - For clusters with ra3 nodes - Select a port within the ranges ``5431-5455`` or ``8191-8215`` . (If you have an existing cluster with ra3 nodes, it isn't required that you change the port to these ranges.) - For clusters with dc2 nodes - Select a port within the range ``1150-65535`` .
249
249
  :param preferred_maintenance_window: The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ``ddd:hh24:mi-ddd:hh24:mi`` Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. For more information about the time blocks for each region, see `Maintenance Windows <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#rs-maintenance-windows>`_ in Amazon Redshift Cluster Management Guide. Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Minimum 30-minute window.
250
250
  :param publicly_accessible: If ``true`` , the cluster can be accessed from a public network.
251
251
  :param resource_action: The Amazon Redshift operation to be performed. Supported operations are ``pause-cluster`` , ``resume-cluster`` , and ``failover-primary-compute`` .
@@ -1858,7 +1858,7 @@ class CfnClusterProps:
1858
1858
  :param cluster_type: The type of the cluster. When cluster type is specified as. - ``single-node`` , the *NumberOfNodes* parameter is not required. - ``multi-node`` , the *NumberOfNodes* parameter is required. Valid Values: ``multi-node`` | ``single-node`` Default: ``multi-node``
1859
1859
  :param db_name: The name of the first database to be created when the cluster is created. To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. For more information, go to `Create a Database <https://docs.aws.amazon.com/redshift/latest/dg/t_creating_database.html>`_ in the Amazon Redshift Database Developer Guide. Default: ``dev`` Constraints: - Must contain 1 to 64 alphanumeric characters. - Must contain only lowercase letters. - Cannot be a word that is reserved by the service. A list of reserved words can be found in `Reserved Words <https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html>`_ in the Amazon Redshift Database Developer Guide.
1860
1860
  :param master_username: The user name associated with the admin user account for the cluster that is being created. Constraints: - Must be 1 - 128 alphanumeric characters or hyphens. The user name can't be ``PUBLIC`` . - Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen. - The first character must be a letter. - Must not contain a colon (:) or a slash (/). - Cannot be a reserved word. A list of reserved words can be found in `Reserved Words <https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html>`_ in the Amazon Redshift Database Developer Guide.
1861
- :param node_type: The node type to be provisioned for the cluster. For information about node types, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* . Valid Values: ``ds2.xlarge`` | ``ds2.8xlarge`` | ``dc1.large`` | ``dc1.8xlarge`` | ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
1861
+ :param node_type: The node type to be provisioned for the cluster. For information about node types, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* . Valid Values: ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
1862
1862
  :param allow_version_upgrade: If ``true`` , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. When a new major version of the Amazon Redshift engine is released, you can request that the service automatically apply upgrades during the maintenance window to the Amazon Redshift engine that is running on your cluster. Default: ``true``
1863
1863
  :param aqua_configuration_status: This parameter is retired. It does not set the AQUA configuration status. Amazon Redshift automatically determines whether to use AQUA (Advanced Query Accelerator).
1864
1864
  :param automated_snapshot_retention_period: The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with `CreateClusterSnapshot <https://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSnapshot.html>`_ in the *Amazon Redshift API Reference* . Default: ``1`` Constraints: Must be a value from 0 to 35.
@@ -1893,7 +1893,7 @@ class CfnClusterProps:
1893
1893
  :param namespace_resource_policy: The policy that is attached to a resource.
1894
1894
  :param number_of_nodes: The number of compute nodes in the cluster. This parameter is required when the *ClusterType* parameter is specified as ``multi-node`` . For information about determining how many nodes you need, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* . If you don't specify this parameter, you get a single-node cluster. When requesting a multi-node cluster, you must specify the number of nodes that you want in the cluster. Default: ``1`` Constraints: Value must be at least 1 and no more than 100.
1895
1895
  :param owner_account: The AWS account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
1896
- :param port: The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default: ``5439`` Valid Values: - For clusters with ra3 nodes - Select a port within the ranges ``5431-5455`` or ``8191-8215`` . (If you have an existing cluster with ra3 nodes, it isn't required that you change the port to these ranges.) - For clusters with ds2 or dc2 nodes - Select a port within the range ``1150-65535`` .
1896
+ :param port: The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default: ``5439`` Valid Values: - For clusters with ra3 nodes - Select a port within the ranges ``5431-5455`` or ``8191-8215`` . (If you have an existing cluster with ra3 nodes, it isn't required that you change the port to these ranges.) - For clusters with dc2 nodes - Select a port within the range ``1150-65535`` .
1897
1897
  :param preferred_maintenance_window: The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ``ddd:hh24:mi-ddd:hh24:mi`` Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. For more information about the time blocks for each region, see `Maintenance Windows <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#rs-maintenance-windows>`_ in Amazon Redshift Cluster Management Guide. Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun Constraints: Minimum 30-minute window.
1898
1898
  :param publicly_accessible: If ``true`` , the cluster can be accessed from a public network.
1899
1899
  :param resource_action: The Amazon Redshift operation to be performed. Supported operations are ``pause-cluster`` , ``resume-cluster`` , and ``failover-primary-compute`` .
@@ -2198,7 +2198,7 @@ class CfnClusterProps:
2198
2198
 
2199
2199
  For information about node types, go to `Working with Clusters <https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes>`_ in the *Amazon Redshift Cluster Management Guide* .
2200
2200
 
2201
- Valid Values: ``ds2.xlarge`` | ``ds2.8xlarge`` | ``dc1.large`` | ``dc1.8xlarge`` | ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
2201
+ Valid Values: ``dc2.large`` | ``dc2.8xlarge`` | ``ra3.xlplus`` | ``ra3.4xlarge`` | ``ra3.16xlarge``
2202
2202
 
2203
2203
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype
2204
2204
  '''
@@ -2643,7 +2643,7 @@ class CfnClusterProps:
2643
2643
  Valid Values:
2644
2644
 
2645
2645
  - For clusters with ra3 nodes - Select a port within the ranges ``5431-5455`` or ``8191-8215`` . (If you have an existing cluster with ra3 nodes, it isn't required that you change the port to these ranges.)
2646
- - For clusters with ds2 or dc2 nodes - Select a port within the range ``1150-65535`` .
2646
+ - For clusters with dc2 nodes - Select a port within the range ``1150-65535`` .
2647
2647
 
2648
2648
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-port
2649
2649
  '''
@@ -5097,7 +5097,7 @@ class CfnScheduledAction(
5097
5097
  :param schedule: The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour. Format of at expressions is " ``at(yyyy-mm-ddThh:mm:ss)`` ". For example, " ``at(2016-03-04T17:27:00)`` ". Format of cron expressions is " ``cron(Minutes Hours Day-of-month Month Day-of-week Year)`` ". For example, " ``cron(0 10 ? * MON *)`` ". For more information, see `Cron Expressions <https://docs.aws.amazon.com//AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions>`_ in the *Amazon CloudWatch Events User Guide* .
5098
5098
  :param scheduled_action_description: The description of the scheduled action.
5099
5099
  :param start_time: The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.
5100
- :param target_action: A JSON format string of the Amazon Redshift API operation with input parameters. " ``{\\"ResizeCluster\\":{\\"NodeType\\":\\"ds2.8xlarge\\",\\"ClusterIdentifier\\":\\"my-test-cluster\\",\\"NumberOfNodes\\":3}}`` ".
5100
+ :param target_action: A JSON format string of the Amazon Redshift API operation with input parameters. " ``{\\"ResizeCluster\\":{\\"NodeType\\":\\"ra3.4xlarge\\",\\"ClusterIdentifier\\":\\"my-test-cluster\\",\\"NumberOfNodes\\":3}}`` ".
5101
5101
  '''
5102
5102
  if __debug__:
5103
5103
  type_hints = typing.get_type_hints(_typecheckingstub__1b090f5bcac0321af743a2821b9b20cd050f984204fe9b5d4288918250e146d1)
@@ -5674,7 +5674,7 @@ class CfnScheduledActionProps:
5674
5674
  :param schedule: The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour. Format of at expressions is " ``at(yyyy-mm-ddThh:mm:ss)`` ". For example, " ``at(2016-03-04T17:27:00)`` ". Format of cron expressions is " ``cron(Minutes Hours Day-of-month Month Day-of-week Year)`` ". For example, " ``cron(0 10 ? * MON *)`` ". For more information, see `Cron Expressions <https://docs.aws.amazon.com//AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions>`_ in the *Amazon CloudWatch Events User Guide* .
5675
5675
  :param scheduled_action_description: The description of the scheduled action.
5676
5676
  :param start_time: The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.
5677
- :param target_action: A JSON format string of the Amazon Redshift API operation with input parameters. " ``{\\"ResizeCluster\\":{\\"NodeType\\":\\"ds2.8xlarge\\",\\"ClusterIdentifier\\":\\"my-test-cluster\\",\\"NumberOfNodes\\":3}}`` ".
5677
+ :param target_action: A JSON format string of the Amazon Redshift API operation with input parameters. " ``{\\"ResizeCluster\\":{\\"NodeType\\":\\"ra3.4xlarge\\",\\"ClusterIdentifier\\":\\"my-test-cluster\\",\\"NumberOfNodes\\":3}}`` ".
5678
5678
 
5679
5679
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html
5680
5680
  :exampleMetadata: fixture=_generated
@@ -5828,7 +5828,7 @@ class CfnScheduledActionProps:
5828
5828
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnScheduledAction.ScheduledActionTypeProperty]]:
5829
5829
  '''A JSON format string of the Amazon Redshift API operation with input parameters.
5830
5830
 
5831
- " ``{\\"ResizeCluster\\":{\\"NodeType\\":\\"ds2.8xlarge\\",\\"ClusterIdentifier\\":\\"my-test-cluster\\",\\"NumberOfNodes\\":3}}`` ".
5831
+ " ``{\\"ResizeCluster\\":{\\"NodeType\\":\\"ra3.4xlarge\\",\\"ClusterIdentifier\\":\\"my-test-cluster\\",\\"NumberOfNodes\\":3}}`` ".
5832
5832
 
5833
5833
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html#cfn-redshift-scheduledaction-targetaction
5834
5834
  '''
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::RedshiftServerless Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::RefactorSpaces Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::Rekognition Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::ResilienceHub Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::ResourceExplorer2 Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::ResourceGroups Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS RoboMaker Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::RolesAnywhere Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # Amazon Route53 Construct Library
3
3
 
4
4
  To add a public hosted zone:
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # CDK Construct library for higher-level Route 53 Constructs
3
3
 
4
4
  This library provides higher-level Amazon Route 53 constructs which follow common
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # Route53 Alias Record Targets for the CDK Route53 Library
3
3
 
4
4
  This library contains Route53 Alias Record targets for:
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::Route53Profiles Construct Library
3
3
 
4
4
  <!--BEGIN STABILITY BANNER-->---
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::Route53RecoveryControl Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::Route53RecoveryReadiness Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # Amazon Route53 Resolver Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::RUM Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # Amazon S3 Construct Library
3
3
 
4
4
  Define an S3 bucket.
@@ -212,6 +212,10 @@ To import an existing bucket into your CDK application, use the `Bucket.fromBuck
212
212
  factory method. This method accepts `BucketAttributes` which describes the properties of an already
213
213
  existing bucket:
214
214
 
215
+ Note that this method allows importing buckets with legacy names containing underscores (`_`), which was
216
+ permitted for buckets created before March 1, 2018. For buckets created after this date, underscores
217
+ are not allowed in the bucket name.
218
+
215
219
  ```python
216
220
  # my_lambda: lambda.Function
217
221
 
@@ -5438,6 +5442,10 @@ class CfnBucket(
5438
5442
  def __init__(self, *, replica_kms_key_id: builtins.str) -> None:
5439
5443
  '''Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.
5440
5444
 
5445
+ .. epigraph::
5446
+
5447
+ If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then AWS KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
5448
+
5441
5449
  :param replica_kms_key_id: Specifies the ID (Key ARN or Alias ARN) of the customer managed AWS KMS key stored in AWS Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more information, see `Asymmetric keys in AWS KMS <https://docs.aws.amazon.com//kms/latest/developerguide/symmetric-asymmetric.html>`_ in the *AWS Key Management Service Developer Guide* .
5442
5450
 
5443
5451
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-encryptionconfiguration.html
@@ -7140,7 +7148,7 @@ class CfnBucket(
7140
7148
 
7141
7149
  PartitionedPrefix defaults to EventTime delivery when server access logs are delivered.
7142
7150
 
7143
- :param partition_date_source: Specifies the partition date source for the partitioned prefix. PartitionDateSource can be EventTime or DeliveryTime.
7151
+ :param partition_date_source: Specifies the partition date source for the partitioned prefix. ``PartitionDateSource`` can be ``EventTime`` or ``DeliveryTime`` . For ``DeliveryTime`` , the time in the log file names corresponds to the delivery time for the log files. For ``EventTime`` , The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.
7144
7152
 
7145
7153
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-partitionedprefix.html
7146
7154
  :exampleMetadata: fixture=_generated
@@ -7164,9 +7172,11 @@ class CfnBucket(
7164
7172
 
7165
7173
  @builtins.property
7166
7174
  def partition_date_source(self) -> typing.Optional[builtins.str]:
7167
- '''Specifies the partition date source for the partitioned prefix.
7175
+ '''Specifies the partition date source for the partitioned prefix. ``PartitionDateSource`` can be ``EventTime`` or ``DeliveryTime`` .
7176
+
7177
+ For ``DeliveryTime`` , the time in the log file names corresponds to the delivery time for the log files.
7168
7178
 
7169
- PartitionDateSource can be EventTime or DeliveryTime.
7179
+ For ``EventTime`` , The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.
7170
7180
 
7171
7181
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-partitionedprefix.html#cfn-s3-bucket-partitionedprefix-partitiondatesource
7172
7182
  '''
@@ -9237,6 +9247,9 @@ class CfnBucket(
9237
9247
  '''Describes the default server-side encryption to apply to new objects in the bucket.
9238
9248
 
9239
9249
  If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. If you don't specify a customer managed key at configuration, Amazon S3 automatically creates an AWS KMS key in your AWS account the first time that you add an object encrypted with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS. For more information, see `PUT Bucket encryption <https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTencryption.html>`_ in the *Amazon S3 API Reference* .
9250
+ .. epigraph::
9251
+
9252
+ If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then AWS KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
9240
9253
 
9241
9254
  :param sse_algorithm: Server-side encryption algorithm to use for the default encryption.
9242
9255
  :param kms_master_key_id: AWS Key Management Service (KMS) customer AWS KMS key ID to use for the default encryption. This parameter is allowed if and only if ``SSEAlgorithm`` is set to ``aws:kms`` or ``aws:kms:dsse`` . You can specify the key ID, key alias, or the Amazon Resource Name (ARN) of the KMS key. - Key ID: ``1234abcd-12ab-34cd-56ef-1234567890ab`` - Key ARN: ``arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`` - Key Alias: ``alias/alias-name`` If you use a key ID, you can run into a LogDestination undeliverable error when creating a VPC flow log. If you are using encryption with cross-account or AWS service operations you must use a fully qualified KMS key ARN. For more information, see `Using encryption for cross-account operations <https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy>`_ . .. epigraph:: Amazon S3 only supports symmetric encryption KMS keys. For more information, see `Asymmetric keys in AWS KMS <https://docs.aws.amazon.com//kms/latest/developerguide/symmetric-asymmetric.html>`_ in the *AWS Key Management Service Developer Guide* .
@@ -9329,6 +9342,10 @@ class CfnBucket(
9329
9342
  ) -> None:
9330
9343
  '''Specifies the default server-side encryption configuration.
9331
9344
 
9345
+ .. epigraph::
9346
+
9347
+ If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then AWS KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
9348
+
9332
9349
  :param bucket_key_enabled: Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the ``BucketKeyEnabled`` element to ``true`` causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled. For more information, see `Amazon S3 Bucket Keys <https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html>`_ in the *Amazon S3 User Guide* .
9333
9350
  :param server_side_encryption_by_default: Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
9334
9351
 
@@ -19570,15 +19587,21 @@ class Bucket(
19570
19587
 
19571
19588
  @jsii.member(jsii_name="validateBucketName")
19572
19589
  @builtins.classmethod
19573
- def validate_bucket_name(cls, physical_name: builtins.str) -> None:
19590
+ def validate_bucket_name(
19591
+ cls,
19592
+ physical_name: builtins.str,
19593
+ allow_legacy_bucket_naming: typing.Optional[builtins.bool] = None,
19594
+ ) -> None:
19574
19595
  '''Thrown an exception if the given bucket name is not valid.
19575
19596
 
19576
19597
  :param physical_name: name of the bucket.
19598
+ :param allow_legacy_bucket_naming: allow legacy bucket naming style, default is false.
19577
19599
  '''
19578
19600
  if __debug__:
19579
19601
  type_hints = typing.get_type_hints(_typecheckingstub__10125aca07a5ed543e6c249753a620f7ce3caff4891d6a855e381bd97ccb69cc)
19580
19602
  check_type(argname="argument physical_name", value=physical_name, expected_type=type_hints["physical_name"])
19581
- return typing.cast(None, jsii.sinvoke(cls, "validateBucketName", [physical_name]))
19603
+ check_type(argname="argument allow_legacy_bucket_naming", value=allow_legacy_bucket_naming, expected_type=type_hints["allow_legacy_bucket_naming"])
19604
+ return typing.cast(None, jsii.sinvoke(cls, "validateBucketName", [physical_name, allow_legacy_bucket_naming]))
19582
19605
 
19583
19606
  @jsii.member(jsii_name="addCorsRule")
19584
19607
  def add_cors_rule(
@@ -22094,6 +22117,7 @@ def _typecheckingstub__5e4f336ad6f2162d39bb89016dbbc133484826beb7a002127d30db907
22094
22117
 
22095
22118
  def _typecheckingstub__10125aca07a5ed543e6c249753a620f7ce3caff4891d6a855e381bd97ccb69cc(
22096
22119
  physical_name: builtins.str,
22120
+ allow_legacy_bucket_naming: typing.Optional[builtins.bool] = None,
22097
22121
  ) -> None:
22098
22122
  """Type checking stubs"""
22099
22123
  pass
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS CDK Assets
3
3
 
4
4
  Assets are local files or directories which are needed by a CDK app. A common
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS S3 Deployment Construct Library
3
3
 
4
4
  This library allows populating an S3 bucket with the contents of .zip files
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # S3 Bucket Notifications Destinations
3
3
 
4
4
  This module includes integration classes for using Topics, Queues or Lambdas
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::S3Express Construct Library
3
3
 
4
4
  <!--BEGIN STABILITY BANNER-->---
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::S3ObjectLambda Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::S3Outposts Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # Amazon SageMaker Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS Serverless Application Model Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::Scheduler Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # Amazon SimpleDB Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS Secrets Manager Construct Library
3
3
 
4
4
  ```python
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS Security Hub Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::SecurityLake Construct Library
3
3
 
4
4
  <!--BEGIN STABILITY BANNER-->---
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS Service Catalog Construct Library
3
3
 
4
4
  [AWS Service Catalog](https://docs.aws.amazon.com/servicecatalog/latest/dg/what-is-service-catalog.html)
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # AWS::ServiceCatalogAppRegistry Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # Amazon ECS Service Discovery Construct Library
3
3
 
4
4
  This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
@@ -776,7 +776,7 @@ class CfnInstance(
776
776
  :param id: Construct identifier for this resource (unique in its scope).
777
777
  :param instance_attributes: A string map that contains the following information for the service that you specify in ``ServiceId`` :. - The attributes that apply to the records that are defined in the service. - For each attribute, the applicable value. Supported attribute keys include the following: - **AWS_ALIAS_DNS_NAME** - If you want AWS Cloud Map to create a Route 53 alias record that routes traffic to an Elastic Load Balancing load balancer, specify the DNS name that is associated with the load balancer. For information about how to get the DNS name, see `AliasTarget->DNSName <https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html#Route53-Type-AliasTarget-DNSName>`_ in the *Route 53 API Reference* . Note the following: - The configuration for the service that is specified by ``ServiceId`` must include settings for an ``A`` record, an ``AAAA`` record, or both. - In the service that is specified by ``ServiceId`` , the value of ``RoutingPolicy`` must be ``WEIGHTED`` . - If the service that is specified by ``ServiceId`` includes ``HealthCheckConfig`` settings, AWS Cloud Map will create the health check, but it won't associate the health check with the alias record. - Auto naming currently doesn't support creating alias records that route traffic to AWS resources other than ELB load balancers. - If you specify a value for ``AWS_ALIAS_DNS_NAME`` , don't specify values for any of the ``AWS_INSTANCE`` attributes. - **AWS_EC2_INSTANCE_ID** - *HTTP namespaces only.* The Amazon EC2 instance ID for the instance. The ``AWS_INSTANCE_IPV4`` attribute contains the primary private IPv4 address. When creating resources with a type of `AWS::ServiceDiscovery::Instance <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html>`_ , if the ``AWS_EC2_INSTANCE_ID`` attribute is specified, the only other attribute that can be specified is ``AWS_INIT_HEALTH_STATUS`` . After the resource has been created, the ``AWS_INSTANCE_IPV4`` attribute contains the primary private IPv4 address. - **AWS_INIT_HEALTH_STATUS** - If the service configuration includes ``HealthCheckCustomConfig`` , when creating resources with a type of `AWS::ServiceDiscovery::Instance <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html>`_ you can optionally use ``AWS_INIT_HEALTH_STATUS`` to specify the initial status of the custom health check, ``HEALTHY`` or ``UNHEALTHY`` . If you don't specify a value for ``AWS_INIT_HEALTH_STATUS`` , the initial status is ``HEALTHY`` . This attribute can only be used when creating resources and will not be seen on existing resources. - **AWS_INSTANCE_CNAME** - If the service configuration includes a ``CNAME`` record, the domain name that you want Route 53 to return in response to DNS queries, for example, ``example.com`` . This value is required if the service specified by ``ServiceId`` includes settings for an ``CNAME`` record. - **AWS_INSTANCE_IPV4** - If the service configuration includes an ``A`` record, the IPv4 address that you want Route 53 to return in response to DNS queries, for example, ``192.0.2.44`` . This value is required if the service specified by ``ServiceId`` includes settings for an ``A`` record. If the service includes settings for an ``SRV`` record, you must specify a value for ``AWS_INSTANCE_IPV4`` , ``AWS_INSTANCE_IPV6`` , or both. - **AWS_INSTANCE_IPV6** - If the service configuration includes an ``AAAA`` record, the IPv6 address that you want Route 53 to return in response to DNS queries, for example, ``2001:0db8:85a3:0000:0000:abcd:0001:2345`` . This value is required if the service specified by ``ServiceId`` includes settings for an ``AAAA`` record. If the service includes settings for an ``SRV`` record, you must specify a value for ``AWS_INSTANCE_IPV4`` , ``AWS_INSTANCE_IPV6`` , or both. - **AWS_INSTANCE_PORT** - If the service includes an ``SRV`` record, the value that you want Route 53 to return for the port. If the service includes ``HealthCheckConfig`` , the port on the endpoint that you want Route 53 to send requests to. This value is required if you specified settings for an ``SRV`` record or a Route 53 health check when you created the service.
778
778
  :param service_id: The ID of the service that you want to use for settings for the instance.
779
- :param instance_id:
779
+ :param instance_id: An identifier that you want to associate with the instance. Note the following:. - If the service that's specified by ``ServiceId`` includes settings for an ``SRV`` record, the value of ``InstanceId`` is automatically included as part of the value for the ``SRV`` record. For more information, see `DnsRecord > Type <https://docs.aws.amazon.com/cloud-map/latest/api/API_DnsRecord.html#cloudmap-Type-DnsRecord-Type>`_ . - You can use this value to update an existing instance. - To register a new instance, you must specify a value that's unique among instances that you register by using the same service. - If you specify an existing ``InstanceId`` and ``ServiceId`` , AWS Cloud Map updates the existing DNS records, if any. If there's also an existing health check, AWS Cloud Map deletes the old health check and creates a new one. .. epigraph:: The health check isn't deleted immediately, so it will still appear for a while if you submit a ``ListHealthChecks`` request, for example. .. epigraph:: Do not include sensitive information in ``InstanceId`` if the namespace is discoverable by public DNS queries and any ``Type`` member of ``DnsRecord`` for the service contains ``SRV`` because the ``InstanceId`` is discoverable by public DNS queries.
780
780
  '''
781
781
  if __debug__:
782
782
  type_hints = typing.get_type_hints(_typecheckingstub__53cddcf8f52bbabdc74ba7b36fc8116615f126e10decf3c988f3d9d637d3cb24)
@@ -854,6 +854,10 @@ class CfnInstance(
854
854
  @builtins.property
855
855
  @jsii.member(jsii_name="instanceId")
856
856
  def instance_id(self) -> typing.Optional[builtins.str]:
857
+ '''An identifier that you want to associate with the instance.
858
+
859
+ Note the following:.
860
+ '''
857
861
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "instanceId"))
858
862
 
859
863
  @instance_id.setter
@@ -885,7 +889,7 @@ class CfnInstanceProps:
885
889
 
886
890
  :param instance_attributes: A string map that contains the following information for the service that you specify in ``ServiceId`` :. - The attributes that apply to the records that are defined in the service. - For each attribute, the applicable value. Supported attribute keys include the following: - **AWS_ALIAS_DNS_NAME** - If you want AWS Cloud Map to create a Route 53 alias record that routes traffic to an Elastic Load Balancing load balancer, specify the DNS name that is associated with the load balancer. For information about how to get the DNS name, see `AliasTarget->DNSName <https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html#Route53-Type-AliasTarget-DNSName>`_ in the *Route 53 API Reference* . Note the following: - The configuration for the service that is specified by ``ServiceId`` must include settings for an ``A`` record, an ``AAAA`` record, or both. - In the service that is specified by ``ServiceId`` , the value of ``RoutingPolicy`` must be ``WEIGHTED`` . - If the service that is specified by ``ServiceId`` includes ``HealthCheckConfig`` settings, AWS Cloud Map will create the health check, but it won't associate the health check with the alias record. - Auto naming currently doesn't support creating alias records that route traffic to AWS resources other than ELB load balancers. - If you specify a value for ``AWS_ALIAS_DNS_NAME`` , don't specify values for any of the ``AWS_INSTANCE`` attributes. - **AWS_EC2_INSTANCE_ID** - *HTTP namespaces only.* The Amazon EC2 instance ID for the instance. The ``AWS_INSTANCE_IPV4`` attribute contains the primary private IPv4 address. When creating resources with a type of `AWS::ServiceDiscovery::Instance <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html>`_ , if the ``AWS_EC2_INSTANCE_ID`` attribute is specified, the only other attribute that can be specified is ``AWS_INIT_HEALTH_STATUS`` . After the resource has been created, the ``AWS_INSTANCE_IPV4`` attribute contains the primary private IPv4 address. - **AWS_INIT_HEALTH_STATUS** - If the service configuration includes ``HealthCheckCustomConfig`` , when creating resources with a type of `AWS::ServiceDiscovery::Instance <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html>`_ you can optionally use ``AWS_INIT_HEALTH_STATUS`` to specify the initial status of the custom health check, ``HEALTHY`` or ``UNHEALTHY`` . If you don't specify a value for ``AWS_INIT_HEALTH_STATUS`` , the initial status is ``HEALTHY`` . This attribute can only be used when creating resources and will not be seen on existing resources. - **AWS_INSTANCE_CNAME** - If the service configuration includes a ``CNAME`` record, the domain name that you want Route 53 to return in response to DNS queries, for example, ``example.com`` . This value is required if the service specified by ``ServiceId`` includes settings for an ``CNAME`` record. - **AWS_INSTANCE_IPV4** - If the service configuration includes an ``A`` record, the IPv4 address that you want Route 53 to return in response to DNS queries, for example, ``192.0.2.44`` . This value is required if the service specified by ``ServiceId`` includes settings for an ``A`` record. If the service includes settings for an ``SRV`` record, you must specify a value for ``AWS_INSTANCE_IPV4`` , ``AWS_INSTANCE_IPV6`` , or both. - **AWS_INSTANCE_IPV6** - If the service configuration includes an ``AAAA`` record, the IPv6 address that you want Route 53 to return in response to DNS queries, for example, ``2001:0db8:85a3:0000:0000:abcd:0001:2345`` . This value is required if the service specified by ``ServiceId`` includes settings for an ``AAAA`` record. If the service includes settings for an ``SRV`` record, you must specify a value for ``AWS_INSTANCE_IPV4`` , ``AWS_INSTANCE_IPV6`` , or both. - **AWS_INSTANCE_PORT** - If the service includes an ``SRV`` record, the value that you want Route 53 to return for the port. If the service includes ``HealthCheckConfig`` , the port on the endpoint that you want Route 53 to send requests to. This value is required if you specified settings for an ``SRV`` record or a Route 53 health check when you created the service.
887
891
  :param service_id: The ID of the service that you want to use for settings for the instance.
888
- :param instance_id:
892
+ :param instance_id: An identifier that you want to associate with the instance. Note the following:. - If the service that's specified by ``ServiceId`` includes settings for an ``SRV`` record, the value of ``InstanceId`` is automatically included as part of the value for the ``SRV`` record. For more information, see `DnsRecord > Type <https://docs.aws.amazon.com/cloud-map/latest/api/API_DnsRecord.html#cloudmap-Type-DnsRecord-Type>`_ . - You can use this value to update an existing instance. - To register a new instance, you must specify a value that's unique among instances that you register by using the same service. - If you specify an existing ``InstanceId`` and ``ServiceId`` , AWS Cloud Map updates the existing DNS records, if any. If there's also an existing health check, AWS Cloud Map deletes the old health check and creates a new one. .. epigraph:: The health check isn't deleted immediately, so it will still appear for a while if you submit a ``ListHealthChecks`` request, for example. .. epigraph:: Do not include sensitive information in ``InstanceId`` if the namespace is discoverable by public DNS queries and any ``Type`` member of ``DnsRecord`` for the service contains ``SRV`` because the ``InstanceId`` is discoverable by public DNS queries.
889
893
 
890
894
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html
891
895
  :exampleMetadata: fixture=_generated
@@ -974,7 +978,20 @@ class CfnInstanceProps:
974
978
 
975
979
  @builtins.property
976
980
  def instance_id(self) -> typing.Optional[builtins.str]:
977
- '''
981
+ '''An identifier that you want to associate with the instance. Note the following:.
982
+
983
+ - If the service that's specified by ``ServiceId`` includes settings for an ``SRV`` record, the value of ``InstanceId`` is automatically included as part of the value for the ``SRV`` record. For more information, see `DnsRecord > Type <https://docs.aws.amazon.com/cloud-map/latest/api/API_DnsRecord.html#cloudmap-Type-DnsRecord-Type>`_ .
984
+ - You can use this value to update an existing instance.
985
+ - To register a new instance, you must specify a value that's unique among instances that you register by using the same service.
986
+ - If you specify an existing ``InstanceId`` and ``ServiceId`` , AWS Cloud Map updates the existing DNS records, if any. If there's also an existing health check, AWS Cloud Map deletes the old health check and creates a new one.
987
+
988
+ .. epigraph::
989
+
990
+ The health check isn't deleted immediately, so it will still appear for a while if you submit a ``ListHealthChecks`` request, for example.
991
+ .. epigraph::
992
+
993
+ Do not include sensitive information in ``InstanceId`` if the namespace is discoverable by public DNS queries and any ``Type`` member of ``DnsRecord`` for the service contains ``SRV`` because the ``InstanceId`` is discoverable by public DNS queries.
994
+
978
995
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html#cfn-servicediscovery-instance-instanceid
979
996
  '''
980
997
  result = self._values.get("instance_id")