aws-cdk-lib 2.190.0__py3-none-any.whl → 2.192.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.

@@ -102,12 +102,12 @@ class CfnDeployment(
102
102
  cfn_deployment = launchwizard.CfnDeployment(self, "MyCfnDeployment",
103
103
  deployment_pattern_name="deploymentPatternName",
104
104
  name="name",
105
- specifications={
106
- "specifications_key": "specifications"
107
- },
108
105
  workload_name="workloadName",
109
106
 
110
107
  # the properties below are optional
108
+ specifications={
109
+ "specifications_key": "specifications"
110
+ },
111
111
  tags=[CfnTag(
112
112
  key="key",
113
113
  value="value"
@@ -122,8 +122,8 @@ class CfnDeployment(
122
122
  *,
123
123
  deployment_pattern_name: builtins.str,
124
124
  name: builtins.str,
125
- specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
126
125
  workload_name: builtins.str,
126
+ specifications: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
127
127
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
128
128
  ) -> None:
129
129
  '''
@@ -131,8 +131,8 @@ class CfnDeployment(
131
131
  :param id: Construct identifier for this resource (unique in its scope).
132
132
  :param deployment_pattern_name: The name of the deployment pattern.
133
133
  :param name: The name of the deployment.
134
- :param specifications: The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
135
134
  :param workload_name: The name of the workload.
135
+ :param specifications: The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
136
136
  :param tags: Information about the tags attached to a deployment.
137
137
  '''
138
138
  if __debug__:
@@ -142,8 +142,8 @@ class CfnDeployment(
142
142
  props = CfnDeploymentProps(
143
143
  deployment_pattern_name=deployment_pattern_name,
144
144
  name=name,
145
- specifications=specifications,
146
145
  workload_name=workload_name,
146
+ specifications=specifications,
147
147
  tags=tags,
148
148
  )
149
149
 
@@ -270,37 +270,37 @@ class CfnDeployment(
270
270
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
271
271
  jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
272
272
 
273
+ @builtins.property
274
+ @jsii.member(jsii_name="workloadName")
275
+ def workload_name(self) -> builtins.str:
276
+ '''The name of the workload.'''
277
+ return typing.cast(builtins.str, jsii.get(self, "workloadName"))
278
+
279
+ @workload_name.setter
280
+ def workload_name(self, value: builtins.str) -> None:
281
+ if __debug__:
282
+ type_hints = typing.get_type_hints(_typecheckingstub__4ddbc17d8abf4c6daba412028f139c421c42d9da86f2e5b12d5b5a149a84c309)
283
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
284
+ jsii.set(self, "workloadName", value) # pyright: ignore[reportArgumentType]
285
+
273
286
  @builtins.property
274
287
  @jsii.member(jsii_name="specifications")
275
288
  def specifications(
276
289
  self,
277
- ) -> typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]:
290
+ ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
278
291
  '''The settings specified for the deployment.'''
279
- return typing.cast(typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b], jsii.get(self, "specifications"))
292
+ return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], jsii.get(self, "specifications"))
280
293
 
281
294
  @specifications.setter
282
295
  def specifications(
283
296
  self,
284
- value: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
297
+ value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
285
298
  ) -> None:
286
299
  if __debug__:
287
300
  type_hints = typing.get_type_hints(_typecheckingstub__6343321573b3c3c84666431fb123811dbd97cb11a86c65d6c6d7d4c669c25d86)
288
301
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
289
302
  jsii.set(self, "specifications", value) # pyright: ignore[reportArgumentType]
290
303
 
291
- @builtins.property
292
- @jsii.member(jsii_name="workloadName")
293
- def workload_name(self) -> builtins.str:
294
- '''The name of the workload.'''
295
- return typing.cast(builtins.str, jsii.get(self, "workloadName"))
296
-
297
- @workload_name.setter
298
- def workload_name(self, value: builtins.str) -> None:
299
- if __debug__:
300
- type_hints = typing.get_type_hints(_typecheckingstub__4ddbc17d8abf4c6daba412028f139c421c42d9da86f2e5b12d5b5a149a84c309)
301
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
302
- jsii.set(self, "workloadName", value) # pyright: ignore[reportArgumentType]
303
-
304
304
  @builtins.property
305
305
  @jsii.member(jsii_name="tags")
306
306
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -321,8 +321,8 @@ class CfnDeployment(
321
321
  name_mapping={
322
322
  "deployment_pattern_name": "deploymentPatternName",
323
323
  "name": "name",
324
- "specifications": "specifications",
325
324
  "workload_name": "workloadName",
325
+ "specifications": "specifications",
326
326
  "tags": "tags",
327
327
  },
328
328
  )
@@ -332,16 +332,16 @@ class CfnDeploymentProps:
332
332
  *,
333
333
  deployment_pattern_name: builtins.str,
334
334
  name: builtins.str,
335
- specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
336
335
  workload_name: builtins.str,
336
+ specifications: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
337
337
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
338
338
  ) -> None:
339
339
  '''Properties for defining a ``CfnDeployment``.
340
340
 
341
341
  :param deployment_pattern_name: The name of the deployment pattern.
342
342
  :param name: The name of the deployment.
343
- :param specifications: The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
344
343
  :param workload_name: The name of the workload.
344
+ :param specifications: The settings specified for the deployment. These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
345
345
  :param tags: Information about the tags attached to a deployment.
346
346
 
347
347
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html
@@ -356,12 +356,12 @@ class CfnDeploymentProps:
356
356
  cfn_deployment_props = launchwizard.CfnDeploymentProps(
357
357
  deployment_pattern_name="deploymentPatternName",
358
358
  name="name",
359
- specifications={
360
- "specifications_key": "specifications"
361
- },
362
359
  workload_name="workloadName",
363
360
 
364
361
  # the properties below are optional
362
+ specifications={
363
+ "specifications_key": "specifications"
364
+ },
365
365
  tags=[CfnTag(
366
366
  key="key",
367
367
  value="value"
@@ -372,15 +372,16 @@ class CfnDeploymentProps:
372
372
  type_hints = typing.get_type_hints(_typecheckingstub__a6e25238aa51033c6bfd52d31380bf8d8789e604e540fcfff33c0df8b15dcdcf)
373
373
  check_type(argname="argument deployment_pattern_name", value=deployment_pattern_name, expected_type=type_hints["deployment_pattern_name"])
374
374
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
375
- check_type(argname="argument specifications", value=specifications, expected_type=type_hints["specifications"])
376
375
  check_type(argname="argument workload_name", value=workload_name, expected_type=type_hints["workload_name"])
376
+ check_type(argname="argument specifications", value=specifications, expected_type=type_hints["specifications"])
377
377
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
378
378
  self._values: typing.Dict[builtins.str, typing.Any] = {
379
379
  "deployment_pattern_name": deployment_pattern_name,
380
380
  "name": name,
381
- "specifications": specifications,
382
381
  "workload_name": workload_name,
383
382
  }
383
+ if specifications is not None:
384
+ self._values["specifications"] = specifications
384
385
  if tags is not None:
385
386
  self._values["tags"] = tags
386
387
 
@@ -404,10 +405,20 @@ class CfnDeploymentProps:
404
405
  assert result is not None, "Required property 'name' is missing"
405
406
  return typing.cast(builtins.str, result)
406
407
 
408
+ @builtins.property
409
+ def workload_name(self) -> builtins.str:
410
+ '''The name of the workload.
411
+
412
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html#cfn-launchwizard-deployment-workloadname
413
+ '''
414
+ result = self._values.get("workload_name")
415
+ assert result is not None, "Required property 'workload_name' is missing"
416
+ return typing.cast(builtins.str, result)
417
+
407
418
  @builtins.property
408
419
  def specifications(
409
420
  self,
410
- ) -> typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]:
421
+ ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
411
422
  '''The settings specified for the deployment.
412
423
 
413
424
  These settings define how to deploy and configure your resources created by the deployment. For more information about the specifications required for creating a deployment for a SAP workload, see `SAP deployment specifications <https://docs.aws.amazon.com/launchwizard/latest/APIReference/launch-wizard-specifications-sap.html>`_ . To retrieve the specifications required to create a deployment for other workloads, use the ```GetWorkloadDeploymentPattern`` <https://docs.aws.amazon.com/launchwizard/latest/APIReference/API_GetWorkloadDeploymentPattern.html>`_ operation.
@@ -415,18 +426,7 @@ class CfnDeploymentProps:
415
426
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html#cfn-launchwizard-deployment-specifications
416
427
  '''
417
428
  result = self._values.get("specifications")
418
- assert result is not None, "Required property 'specifications' is missing"
419
- return typing.cast(typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b], result)
420
-
421
- @builtins.property
422
- def workload_name(self) -> builtins.str:
423
- '''The name of the workload.
424
-
425
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-launchwizard-deployment.html#cfn-launchwizard-deployment-workloadname
426
- '''
427
- result = self._values.get("workload_name")
428
- assert result is not None, "Required property 'workload_name' is missing"
429
- return typing.cast(builtins.str, result)
429
+ return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
430
430
 
431
431
  @builtins.property
432
432
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -462,8 +462,8 @@ def _typecheckingstub__fe77ed4e81ab71d948f0b03ed5f8780bcc2f324a23805bc45e7eef5f9
462
462
  *,
463
463
  deployment_pattern_name: builtins.str,
464
464
  name: builtins.str,
465
- specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
466
465
  workload_name: builtins.str,
466
+ specifications: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
467
467
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
468
468
  ) -> None:
469
469
  """Type checking stubs"""
@@ -493,14 +493,14 @@ def _typecheckingstub__c0094e37b81e5d8f0b6e42001fe8da7cf6d149317e4ef32b73e5cef5a
493
493
  """Type checking stubs"""
494
494
  pass
495
495
 
496
- def _typecheckingstub__6343321573b3c3c84666431fb123811dbd97cb11a86c65d6c6d7d4c669c25d86(
497
- value: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
496
+ def _typecheckingstub__4ddbc17d8abf4c6daba412028f139c421c42d9da86f2e5b12d5b5a149a84c309(
497
+ value: builtins.str,
498
498
  ) -> None:
499
499
  """Type checking stubs"""
500
500
  pass
501
501
 
502
- def _typecheckingstub__4ddbc17d8abf4c6daba412028f139c421c42d9da86f2e5b12d5b5a149a84c309(
503
- value: builtins.str,
502
+ def _typecheckingstub__6343321573b3c3c84666431fb123811dbd97cb11a86c65d6c6d7d4c669c25d86(
503
+ value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
504
504
  ) -> None:
505
505
  """Type checking stubs"""
506
506
  pass
@@ -515,8 +515,8 @@ def _typecheckingstub__a6e25238aa51033c6bfd52d31380bf8d8789e604e540fcfff33c0df8b
515
515
  *,
516
516
  deployment_pattern_name: builtins.str,
517
517
  name: builtins.str,
518
- specifications: typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b],
519
518
  workload_name: builtins.str,
519
+ specifications: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
520
520
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
521
521
  ) -> None:
522
522
  """Type checking stubs"""
@@ -956,14 +956,6 @@ class CfnDBClusterParameterGroup(
956
956
  '''The CloudFormation resource type name for this resource class.'''
957
957
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
958
958
 
959
- @builtins.property
960
- @jsii.member(jsii_name="attrId")
961
- def attr_id(self) -> builtins.str:
962
- '''
963
- :cloudformationAttribute: Id
964
- '''
965
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
966
-
967
959
  @builtins.property
968
960
  @jsii.member(jsii_name="cfnProperties")
969
961
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -2397,14 +2389,6 @@ class CfnDBParameterGroup(
2397
2389
  '''The CloudFormation resource type name for this resource class.'''
2398
2390
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
2399
2391
 
2400
- @builtins.property
2401
- @jsii.member(jsii_name="attrId")
2402
- def attr_id(self) -> builtins.str:
2403
- '''
2404
- :cloudformationAttribute: Id
2405
- '''
2406
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
2407
-
2408
2392
  @builtins.property
2409
2393
  @jsii.member(jsii_name="cfnProperties")
2410
2394
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -2921,6 +2921,12 @@ class AuroraMysqlEngineVersion(
2921
2921
  '''Version "5.7.mysql_aurora.2.12.3".'''
2922
2922
  return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_2_12_3"))
2923
2923
 
2924
+ @jsii.python.classproperty
2925
+ @jsii.member(jsii_name="VER_2_12_4")
2926
+ def VER_2_12_4(cls) -> "AuroraMysqlEngineVersion":
2927
+ '''Version "5.7.mysql_aurora.2.12.4".'''
2928
+ return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_2_12_4"))
2929
+
2924
2930
  @jsii.python.classproperty
2925
2931
  @jsii.member(jsii_name="VER_3_01_0")
2926
2932
  def VER_3_01_0(cls) -> "AuroraMysqlEngineVersion":
@@ -3119,6 +3125,12 @@ class AuroraMysqlEngineVersion(
3119
3125
  '''Version "8.0.mysql_aurora.3.08.1".'''
3120
3126
  return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_08_1"))
3121
3127
 
3128
+ @jsii.python.classproperty
3129
+ @jsii.member(jsii_name="VER_3_08_2")
3130
+ def VER_3_08_2(cls) -> "AuroraMysqlEngineVersion":
3131
+ '''Version "8.0.mysql_aurora.3.08.2".'''
3132
+ return typing.cast("AuroraMysqlEngineVersion", jsii.sget(cls, "VER_3_08_2"))
3133
+
3122
3134
  @jsii.python.classproperty
3123
3135
  @jsii.member(jsii_name="VER_5_7_12")
3124
3136
  def VER_5_7_12(cls) -> "AuroraMysqlEngineVersion":
@@ -3842,6 +3854,12 @@ class AuroraPostgresEngineVersion(
3842
3854
  '''Version "13.18".'''
3843
3855
  return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_13_18"))
3844
3856
 
3857
+ @jsii.python.classproperty
3858
+ @jsii.member(jsii_name="VER_13_20")
3859
+ def VER_13_20(cls) -> "AuroraPostgresEngineVersion":
3860
+ '''Version "13.20".'''
3861
+ return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_13_20"))
3862
+
3845
3863
  @jsii.python.classproperty
3846
3864
  @jsii.member(jsii_name="VER_13_3")
3847
3865
  def VER_13_3(cls) -> "AuroraPostgresEngineVersion":
@@ -3940,6 +3958,12 @@ class AuroraPostgresEngineVersion(
3940
3958
  '''Version "14.15".'''
3941
3959
  return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_14_15"))
3942
3960
 
3961
+ @jsii.python.classproperty
3962
+ @jsii.member(jsii_name="VER_14_17")
3963
+ def VER_14_17(cls) -> "AuroraPostgresEngineVersion":
3964
+ '''Version "14.17".'''
3965
+ return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_14_17"))
3966
+
3943
3967
  @jsii.python.classproperty
3944
3968
  @jsii.member(jsii_name="VER_14_3")
3945
3969
  def VER_14_3(cls) -> "AuroraPostgresEngineVersion":
@@ -3988,6 +4012,12 @@ class AuroraPostgresEngineVersion(
3988
4012
  '''Version "15.10".'''
3989
4013
  return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_10"))
3990
4014
 
4015
+ @jsii.python.classproperty
4016
+ @jsii.member(jsii_name="VER_15_12")
4017
+ def VER_15_12(cls) -> "AuroraPostgresEngineVersion":
4018
+ '''Version "15.12".'''
4019
+ return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_15_12"))
4020
+
3991
4021
  @jsii.python.classproperty
3992
4022
  @jsii.member(jsii_name="VER_15_2")
3993
4023
  def VER_15_2(cls) -> "AuroraPostgresEngineVersion":
@@ -4095,6 +4125,12 @@ class AuroraPostgresEngineVersion(
4095
4125
  '''Version "16.6 limitless".'''
4096
4126
  return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_6_LIMITLESS"))
4097
4127
 
4128
+ @jsii.python.classproperty
4129
+ @jsii.member(jsii_name="VER_16_8")
4130
+ def VER_16_8(cls) -> "AuroraPostgresEngineVersion":
4131
+ '''Version "16.8".'''
4132
+ return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_8"))
4133
+
4098
4134
  @jsii.python.classproperty
4099
4135
  @jsii.member(jsii_name="VER_17_1")
4100
4136
  def VER_17_1(cls) -> "AuroraPostgresEngineVersion":
@@ -40426,6 +40462,12 @@ class SqlServerEngineVersion(
40426
40462
  '''Version "15.00.4420.2.v1".'''
40427
40463
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4420_2_V1"))
40428
40464
 
40465
+ @jsii.python.classproperty
40466
+ @jsii.member(jsii_name="VER_15_00_4430_1_V1")
40467
+ def VER_15_00_4430_1_V1(cls) -> "SqlServerEngineVersion":
40468
+ '''Version "15.00.4430.1.v1".'''
40469
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_15_00_4430_1_V1"))
40470
+
40429
40471
  @jsii.python.classproperty
40430
40472
  @jsii.member(jsii_name="VER_16")
40431
40473
  def VER_16(cls) -> "SqlServerEngineVersion":
@@ -40504,6 +40546,12 @@ class SqlServerEngineVersion(
40504
40546
  '''Version "16.00.4175.1.v1".'''
40505
40547
  return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4175_1_V1"))
40506
40548
 
40549
+ @jsii.python.classproperty
40550
+ @jsii.member(jsii_name="VER_16_00_4185_3_V1")
40551
+ def VER_16_00_4185_3_V1(cls) -> "SqlServerEngineVersion":
40552
+ '''Version "16.00.4185.3.v1".'''
40553
+ return typing.cast("SqlServerEngineVersion", jsii.sget(cls, "VER_16_00_4185_3_V1"))
40554
+
40507
40555
  @builtins.property
40508
40556
  @jsii.member(jsii_name="sqlServerFullVersion")
40509
40557
  def sql_server_full_version(self) -> builtins.str:
@@ -86,7 +86,8 @@ class CfnTableBucket(
86
86
 
87
87
  For more information, see `Creating a table bucket <https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets-create.html>`_ in the *Amazon Simple Storage Service User Guide* .
88
88
 
89
- - **Permissions** - You must have the ``s3tables:CreateTableBucket`` permission to use this operation.
89
+ - **Permissions** - - You must have the ``s3tables:CreateTableBucket`` permission to use this operation.
90
+ - If you use this operation with the optional ``encryptionConfiguration`` parameter you must have the ``s3tables:PutTableBucketEncryption`` permission.
90
91
 
91
92
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html
92
93
  :cloudformationResource: AWS::S3Tables::TableBucket
@@ -102,6 +103,10 @@ class CfnTableBucket(
102
103
  table_bucket_name="tableBucketName",
103
104
 
104
105
  # the properties below are optional
106
+ encryption_configuration=s3tables.CfnTableBucket.EncryptionConfigurationProperty(
107
+ kms_key_arn="kmsKeyArn",
108
+ sse_algorithm="sseAlgorithm"
109
+ ),
105
110
  unreferenced_file_removal=s3tables.CfnTableBucket.UnreferencedFileRemovalProperty(
106
111
  noncurrent_days=123,
107
112
  status="status",
@@ -116,12 +121,14 @@ class CfnTableBucket(
116
121
  id: builtins.str,
117
122
  *,
118
123
  table_bucket_name: builtins.str,
124
+ encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTableBucket.EncryptionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
119
125
  unreferenced_file_removal: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTableBucket.UnreferencedFileRemovalProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
120
126
  ) -> None:
121
127
  '''
122
128
  :param scope: Scope in which this resource is defined.
123
129
  :param id: Construct identifier for this resource (unique in its scope).
124
130
  :param table_bucket_name: The name for the table bucket.
131
+ :param encryption_configuration: Configuration specifying how data should be encrypted. This structure defines the encryption algorithm and optional KMS key to be used for server-side encryption.
125
132
  :param unreferenced_file_removal: The unreferenced file removal settings for your table bucket. Unreferenced file removal identifies and deletes all objects that are not referenced by any table snapshots. For more information, see the `*Amazon S3 User Guide* <https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-table-buckets-maintenance.html>`_ .
126
133
  '''
127
134
  if __debug__:
@@ -130,6 +137,7 @@ class CfnTableBucket(
130
137
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
131
138
  props = CfnTableBucketProps(
132
139
  table_bucket_name=table_bucket_name,
140
+ encryption_configuration=encryption_configuration,
133
141
  unreferenced_file_removal=unreferenced_file_removal,
134
142
  )
135
143
 
@@ -192,6 +200,24 @@ class CfnTableBucket(
192
200
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
193
201
  jsii.set(self, "tableBucketName", value) # pyright: ignore[reportArgumentType]
194
202
 
203
+ @builtins.property
204
+ @jsii.member(jsii_name="encryptionConfiguration")
205
+ def encryption_configuration(
206
+ self,
207
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableBucket.EncryptionConfigurationProperty"]]:
208
+ '''Configuration specifying how data should be encrypted.'''
209
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableBucket.EncryptionConfigurationProperty"]], jsii.get(self, "encryptionConfiguration"))
210
+
211
+ @encryption_configuration.setter
212
+ def encryption_configuration(
213
+ self,
214
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTableBucket.EncryptionConfigurationProperty"]],
215
+ ) -> None:
216
+ if __debug__:
217
+ type_hints = typing.get_type_hints(_typecheckingstub__61499f569b4e5dc20b99defd26e29c6e9b7761b6630e1adec9c20e97e099dd4a)
218
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
219
+ jsii.set(self, "encryptionConfiguration", value) # pyright: ignore[reportArgumentType]
220
+
195
221
  @builtins.property
196
222
  @jsii.member(jsii_name="unreferencedFileRemoval")
197
223
  def unreferenced_file_removal(
@@ -210,6 +236,82 @@ class CfnTableBucket(
210
236
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
211
237
  jsii.set(self, "unreferencedFileRemoval", value) # pyright: ignore[reportArgumentType]
212
238
 
239
+ @jsii.data_type(
240
+ jsii_type="aws-cdk-lib.aws_s3tables.CfnTableBucket.EncryptionConfigurationProperty",
241
+ jsii_struct_bases=[],
242
+ name_mapping={"kms_key_arn": "kmsKeyArn", "sse_algorithm": "sseAlgorithm"},
243
+ )
244
+ class EncryptionConfigurationProperty:
245
+ def __init__(
246
+ self,
247
+ *,
248
+ kms_key_arn: typing.Optional[builtins.str] = None,
249
+ sse_algorithm: typing.Optional[builtins.str] = None,
250
+ ) -> None:
251
+ '''Configuration specifying how data should be encrypted.
252
+
253
+ This structure defines the encryption algorithm and optional KMS key to be used for server-side encryption.
254
+
255
+ :param kms_key_arn: The Amazon Resource Name (ARN) of the KMS key to use for encryption. This field is required only when ``sseAlgorithm`` is set to ``aws:kms`` .
256
+ :param sse_algorithm: The server-side encryption algorithm to use. Valid values are ``AES256`` for S3-managed encryption keys, or ``aws:kms`` for AWS KMS-managed encryption keys. If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see `Permissions requirements for S3 Tables SSE-KMS encryption <https://docs.aws.amazon.com//AmazonS3/latest/userguide/s3-tables-kms-permissions.html>`_ .
257
+
258
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucket-encryptionconfiguration.html
259
+ :exampleMetadata: fixture=_generated
260
+
261
+ Example::
262
+
263
+ # The code below shows an example of how to instantiate this type.
264
+ # The values are placeholders you should change.
265
+ from aws_cdk import aws_s3tables as s3tables
266
+
267
+ encryption_configuration_property = s3tables.CfnTableBucket.EncryptionConfigurationProperty(
268
+ kms_key_arn="kmsKeyArn",
269
+ sse_algorithm="sseAlgorithm"
270
+ )
271
+ '''
272
+ if __debug__:
273
+ type_hints = typing.get_type_hints(_typecheckingstub__659e946ab1ee4bc0eb13a519adc57d2cb4431347d47a9e6cb4d4086a87be1b2a)
274
+ check_type(argname="argument kms_key_arn", value=kms_key_arn, expected_type=type_hints["kms_key_arn"])
275
+ check_type(argname="argument sse_algorithm", value=sse_algorithm, expected_type=type_hints["sse_algorithm"])
276
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
277
+ if kms_key_arn is not None:
278
+ self._values["kms_key_arn"] = kms_key_arn
279
+ if sse_algorithm is not None:
280
+ self._values["sse_algorithm"] = sse_algorithm
281
+
282
+ @builtins.property
283
+ def kms_key_arn(self) -> typing.Optional[builtins.str]:
284
+ '''The Amazon Resource Name (ARN) of the KMS key to use for encryption.
285
+
286
+ This field is required only when ``sseAlgorithm`` is set to ``aws:kms`` .
287
+
288
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucket-encryptionconfiguration.html#cfn-s3tables-tablebucket-encryptionconfiguration-kmskeyarn
289
+ '''
290
+ result = self._values.get("kms_key_arn")
291
+ return typing.cast(typing.Optional[builtins.str], result)
292
+
293
+ @builtins.property
294
+ def sse_algorithm(self) -> typing.Optional[builtins.str]:
295
+ '''The server-side encryption algorithm to use.
296
+
297
+ Valid values are ``AES256`` for S3-managed encryption keys, or ``aws:kms`` for AWS KMS-managed encryption keys. If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see `Permissions requirements for S3 Tables SSE-KMS encryption <https://docs.aws.amazon.com//AmazonS3/latest/userguide/s3-tables-kms-permissions.html>`_ .
298
+
299
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-tablebucket-encryptionconfiguration.html#cfn-s3tables-tablebucket-encryptionconfiguration-ssealgorithm
300
+ '''
301
+ result = self._values.get("sse_algorithm")
302
+ return typing.cast(typing.Optional[builtins.str], result)
303
+
304
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
305
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
306
+
307
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
308
+ return not (rhs == self)
309
+
310
+ def __repr__(self) -> str:
311
+ return "EncryptionConfigurationProperty(%s)" % ", ".join(
312
+ k + "=" + repr(v) for k, v in self._values.items()
313
+ )
314
+
213
315
  @jsii.data_type(
214
316
  jsii_type="aws-cdk-lib.aws_s3tables.CfnTableBucket.UnreferencedFileRemovalProperty",
215
317
  jsii_struct_bases=[],
@@ -500,6 +602,7 @@ class CfnTableBucketPolicyProps:
500
602
  jsii_struct_bases=[],
501
603
  name_mapping={
502
604
  "table_bucket_name": "tableBucketName",
605
+ "encryption_configuration": "encryptionConfiguration",
503
606
  "unreferenced_file_removal": "unreferencedFileRemoval",
504
607
  },
505
608
  )
@@ -508,11 +611,13 @@ class CfnTableBucketProps:
508
611
  self,
509
612
  *,
510
613
  table_bucket_name: builtins.str,
614
+ encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableBucket.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
511
615
  unreferenced_file_removal: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableBucket.UnreferencedFileRemovalProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
512
616
  ) -> None:
513
617
  '''Properties for defining a ``CfnTableBucket``.
514
618
 
515
619
  :param table_bucket_name: The name for the table bucket.
620
+ :param encryption_configuration: Configuration specifying how data should be encrypted. This structure defines the encryption algorithm and optional KMS key to be used for server-side encryption.
516
621
  :param unreferenced_file_removal: The unreferenced file removal settings for your table bucket. Unreferenced file removal identifies and deletes all objects that are not referenced by any table snapshots. For more information, see the `*Amazon S3 User Guide* <https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-table-buckets-maintenance.html>`_ .
517
622
 
518
623
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html
@@ -528,6 +633,10 @@ class CfnTableBucketProps:
528
633
  table_bucket_name="tableBucketName",
529
634
 
530
635
  # the properties below are optional
636
+ encryption_configuration=s3tables.CfnTableBucket.EncryptionConfigurationProperty(
637
+ kms_key_arn="kmsKeyArn",
638
+ sse_algorithm="sseAlgorithm"
639
+ ),
531
640
  unreferenced_file_removal=s3tables.CfnTableBucket.UnreferencedFileRemovalProperty(
532
641
  noncurrent_days=123,
533
642
  status="status",
@@ -538,10 +647,13 @@ class CfnTableBucketProps:
538
647
  if __debug__:
539
648
  type_hints = typing.get_type_hints(_typecheckingstub__6fb9342a13c0e9f7b21679814e793d7ccc0964ccfe53bc5e0916676b628d20f3)
540
649
  check_type(argname="argument table_bucket_name", value=table_bucket_name, expected_type=type_hints["table_bucket_name"])
650
+ check_type(argname="argument encryption_configuration", value=encryption_configuration, expected_type=type_hints["encryption_configuration"])
541
651
  check_type(argname="argument unreferenced_file_removal", value=unreferenced_file_removal, expected_type=type_hints["unreferenced_file_removal"])
542
652
  self._values: typing.Dict[builtins.str, typing.Any] = {
543
653
  "table_bucket_name": table_bucket_name,
544
654
  }
655
+ if encryption_configuration is not None:
656
+ self._values["encryption_configuration"] = encryption_configuration
545
657
  if unreferenced_file_removal is not None:
546
658
  self._values["unreferenced_file_removal"] = unreferenced_file_removal
547
659
 
@@ -555,6 +667,19 @@ class CfnTableBucketProps:
555
667
  assert result is not None, "Required property 'table_bucket_name' is missing"
556
668
  return typing.cast(builtins.str, result)
557
669
 
670
+ @builtins.property
671
+ def encryption_configuration(
672
+ self,
673
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTableBucket.EncryptionConfigurationProperty]]:
674
+ '''Configuration specifying how data should be encrypted.
675
+
676
+ This structure defines the encryption algorithm and optional KMS key to be used for server-side encryption.
677
+
678
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html#cfn-s3tables-tablebucket-encryptionconfiguration
679
+ '''
680
+ result = self._values.get("encryption_configuration")
681
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTableBucket.EncryptionConfigurationProperty]], result)
682
+
558
683
  @builtins.property
559
684
  def unreferenced_file_removal(
560
685
  self,
@@ -594,6 +719,7 @@ def _typecheckingstub__de433918cd34eecbcaab0e81b6a287f71a48dd308c2f4d42e07a0e19c
594
719
  id: builtins.str,
595
720
  *,
596
721
  table_bucket_name: builtins.str,
722
+ encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableBucket.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
597
723
  unreferenced_file_removal: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableBucket.UnreferencedFileRemovalProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
598
724
  ) -> None:
599
725
  """Type checking stubs"""
@@ -617,12 +743,26 @@ def _typecheckingstub__42ef5079e6a92822a2e6ccbb91b02661f493a7d44dc79dfba0916840d
617
743
  """Type checking stubs"""
618
744
  pass
619
745
 
746
+ def _typecheckingstub__61499f569b4e5dc20b99defd26e29c6e9b7761b6630e1adec9c20e97e099dd4a(
747
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTableBucket.EncryptionConfigurationProperty]],
748
+ ) -> None:
749
+ """Type checking stubs"""
750
+ pass
751
+
620
752
  def _typecheckingstub__02bf42691243dcbc8ea49c2499d3414260e70a80c4e38a371b64664c49f17e6e(
621
753
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTableBucket.UnreferencedFileRemovalProperty]],
622
754
  ) -> None:
623
755
  """Type checking stubs"""
624
756
  pass
625
757
 
758
+ def _typecheckingstub__659e946ab1ee4bc0eb13a519adc57d2cb4431347d47a9e6cb4d4086a87be1b2a(
759
+ *,
760
+ kms_key_arn: typing.Optional[builtins.str] = None,
761
+ sse_algorithm: typing.Optional[builtins.str] = None,
762
+ ) -> None:
763
+ """Type checking stubs"""
764
+ pass
765
+
626
766
  def _typecheckingstub__e5a5e0b11a3cbe8be01a72f3ac6efc85af9472104c94585d26f630d3354c816b(
627
767
  *,
628
768
  noncurrent_days: typing.Optional[jsii.Number] = None,
@@ -677,6 +817,7 @@ def _typecheckingstub__df8972559ed3d0ff90d01d70d1cf8f77869398b91f03a408d49a7b5be
677
817
  def _typecheckingstub__6fb9342a13c0e9f7b21679814e793d7ccc0964ccfe53bc5e0916676b628d20f3(
678
818
  *,
679
819
  table_bucket_name: builtins.str,
820
+ encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableBucket.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
680
821
  unreferenced_file_removal: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTableBucket.UnreferencedFileRemovalProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
681
822
  ) -> None:
682
823
  """Type checking stubs"""