aws-cdk-lib 2.197.0__py3-none-any.whl → 2.199.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (38) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.197.0.jsii.tgz → aws-cdk-lib@2.199.0.jsii.tgz} +0 -0
  3. aws_cdk/aws_appconfig/__init__.py +296 -48
  4. aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
  5. aws_cdk/aws_appsync/__init__.py +31 -21
  6. aws_cdk/aws_aps/__init__.py +343 -0
  7. aws_cdk/aws_autoscaling/__init__.py +2 -1
  8. aws_cdk/aws_bedrock/__init__.py +387 -4
  9. aws_cdk/aws_codepipeline/__init__.py +4 -2
  10. aws_cdk/aws_datasync/__init__.py +885 -839
  11. aws_cdk/aws_deadline/__init__.py +23 -4
  12. aws_cdk/aws_ec2/__init__.py +229 -12
  13. aws_cdk/aws_ecs/__init__.py +14 -2
  14. aws_cdk/aws_ecs_patterns/__init__.py +64 -12
  15. aws_cdk/aws_eks/__init__.py +40 -9
  16. aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
  17. aws_cdk/aws_events_targets/__init__.py +78 -1
  18. aws_cdk/aws_gamelift/__init__.py +15 -17
  19. aws_cdk/aws_lex/__init__.py +1245 -172
  20. aws_cdk/aws_mediapackagev2/__init__.py +11 -10
  21. aws_cdk/aws_omics/__init__.py +41 -19
  22. aws_cdk/aws_pcs/__init__.py +126 -0
  23. aws_cdk/aws_rds/__init__.py +48 -21
  24. aws_cdk/aws_rolesanywhere/__init__.py +14 -13
  25. aws_cdk/aws_sagemaker/__init__.py +38 -12
  26. aws_cdk/aws_ses/__init__.py +437 -0
  27. aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
  28. aws_cdk/aws_stepfunctions_tasks/__init__.py +1502 -2
  29. aws_cdk/aws_synthetics/__init__.py +137 -3
  30. aws_cdk/aws_vpclattice/__init__.py +219 -209
  31. aws_cdk/aws_wafv2/__init__.py +4 -4
  32. aws_cdk/aws_workspaces/__init__.py +5 -3
  33. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/METADATA +2 -2
  34. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/RECORD +38 -38
  35. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/LICENSE +0 -0
  36. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/NOTICE +0 -0
  37. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/WHEEL +0 -0
  38. {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.199.0.dist-info}/top_level.txt +0 -0
@@ -201,7 +201,7 @@ class CfnChannel(
201
201
  @builtins.property
202
202
  @jsii.member(jsii_name="attrCreatedAt")
203
203
  def attr_created_at(self) -> builtins.str:
204
- '''The timestamp of the ccreation of the channel.
204
+ '''The timestamp of the creation of the channel.
205
205
 
206
206
  :cloudformationAttribute: CreatedAt
207
207
  '''
@@ -540,7 +540,7 @@ class CfnChannelGroup(
540
540
  metaclass=jsii.JSIIMeta,
541
541
  jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannelGroup",
542
542
  ):
543
- '''Specifies the configuraiton for a MediaPackage V2 channel group.
543
+ '''Specifies the configuration for a MediaPackage V2 channel group.
544
544
 
545
545
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelgroup.html
546
546
  :cloudformationResource: AWS::MediaPackageV2::ChannelGroup
@@ -1374,7 +1374,7 @@ class CfnOriginEndpoint(
1374
1374
  :param dash_manifests: A DASH manifest configuration.
1375
1375
  :param description: The description associated with the origin endpoint.
1376
1376
  :param force_endpoint_error_configuration: The failover settings for the endpoint.
1377
- :param hls_manifests: The HLS manfiests associated with the origin endpoint configuration.
1377
+ :param hls_manifests: The HLS manifests associated with the origin endpoint configuration.
1378
1378
  :param low_latency_hls_manifests: The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.
1379
1379
  :param segment: The segment associated with the origin endpoint.
1380
1380
  :param startover_window_seconds: The size of the window (in seconds) to specify a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window.
@@ -1599,7 +1599,7 @@ class CfnOriginEndpoint(
1599
1599
  def hls_manifests(
1600
1600
  self,
1601
1601
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.HlsManifestConfigurationProperty"]]]]:
1602
- '''The HLS manfiests associated with the origin endpoint configuration.'''
1602
+ '''The HLS manifests associated with the origin endpoint configuration.'''
1603
1603
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.HlsManifestConfigurationProperty"]]]], jsii.get(self, "hlsManifests"))
1604
1604
 
1605
1605
  @hls_manifests.setter
@@ -1707,7 +1707,8 @@ class CfnOriginEndpoint(
1707
1707
  suggested_presentation_delay_seconds: typing.Optional[jsii.Number] = None,
1708
1708
  utc_timing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.DashUtcTimingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1709
1709
  ) -> None:
1710
- '''
1710
+ '''The DASH manifest configuration associated with the origin endpoint.
1711
+
1711
1712
  :param manifest_name: The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index.
1712
1713
  :param drm_signaling:
1713
1714
  :param filter_configuration:
@@ -2493,7 +2494,7 @@ class CfnOriginEndpoint(
2493
2494
  url: typing.Optional[builtins.str] = None,
2494
2495
  url_encode_child_manifest: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2495
2496
  ) -> None:
2496
- '''The HLS manfiest configuration associated with the origin endpoint.
2497
+ '''The HLS manifest configuration associated with the origin endpoint.
2497
2498
 
2498
2499
  :param manifest_name: The name of the manifest associated with the HLS manifest configuration.
2499
2500
  :param child_manifest_name: The name of the child manifest associated with the HLS manifest configuration.
@@ -2706,7 +2707,7 @@ class CfnOriginEndpoint(
2706
2707
  ) -> None:
2707
2708
  '''Specify a low-latency HTTP live streaming (LL-HLS) manifest configuration.
2708
2709
 
2709
- :param manifest_name: A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, ``index`` . MediaPackage automatically inserts the format extension, such as ``.m3u8`` . You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The ``manifestName`` on the ``HLSManifest`` object overrides the ``manifestName`` you provided on the ``originEndpoint`` object.
2710
+ :param manifest_name: A short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, ``index`` . MediaPackage automatically inserts the format extension, such as ``.m3u8`` . You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The ``manifestName`` on the ``HLSManifest`` object overrides the ``manifestName`` you provided on the ``originEndpoint`` object.
2710
2711
  :param child_manifest_name: The name of the child manifest associated with the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.
2711
2712
  :param filter_configuration:
2712
2713
  :param manifest_window_seconds: The total duration (in seconds) of the manifest's content.
@@ -2785,7 +2786,7 @@ class CfnOriginEndpoint(
2785
2786
 
2786
2787
  @builtins.property
2787
2788
  def manifest_name(self) -> builtins.str:
2788
- '''A short short string that's appended to the endpoint URL.
2789
+ '''A short string that's appended to the endpoint URL.
2789
2790
 
2790
2791
  The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, ``index`` . MediaPackage automatically inserts the format extension, such as ``.m3u8`` . You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The ``manifestName`` on the ``HLSManifest`` object overrides the ``manifestName`` you provided on the ``originEndpoint`` object.
2791
2792
 
@@ -3765,7 +3766,7 @@ class CfnOriginEndpointProps:
3765
3766
  :param dash_manifests: A DASH manifest configuration.
3766
3767
  :param description: The description associated with the origin endpoint.
3767
3768
  :param force_endpoint_error_configuration: The failover settings for the endpoint.
3768
- :param hls_manifests: The HLS manfiests associated with the origin endpoint configuration.
3769
+ :param hls_manifests: The HLS manifests associated with the origin endpoint configuration.
3769
3770
  :param low_latency_hls_manifests: The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.
3770
3771
  :param segment: The segment associated with the origin endpoint.
3771
3772
  :param startover_window_seconds: The size of the window (in seconds) to specify a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window.
@@ -4018,7 +4019,7 @@ class CfnOriginEndpointProps:
4018
4019
  def hls_manifests(
4019
4020
  self,
4020
4021
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.HlsManifestConfigurationProperty]]]]:
4021
- '''The HLS manfiests associated with the origin endpoint configuration.
4022
+ '''The HLS manifests associated with the origin endpoint configuration.
4022
4023
 
4023
4024
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-hlsmanifests
4024
4025
  '''
@@ -3316,7 +3316,16 @@ class CfnWorkflowVersion(
3316
3316
  metaclass=jsii.JSIIMeta,
3317
3317
  jsii_type="aws-cdk-lib.aws_omics.CfnWorkflowVersion",
3318
3318
  ):
3319
- '''Definition of AWS::Omics::WorkflowVersion Resource Type.
3319
+ '''Creates a new workflow version for the workflow that you specify with the ``workflowId`` parameter.
3320
+
3321
+ When you create a new version of a workflow, you need to specify the configuration for the new version. It doesn't inherit any configuration values from the workflow.
3322
+
3323
+ Provide a version name that is unique for this workflow. You cannot change the name after HealthOmics creates the version.
3324
+ .. epigraph::
3325
+
3326
+ Don’t include any personally identifiable information (PII) in the version name. Version names appear in the workflow version ARN.
3327
+
3328
+ For more information, see `Workflow versioning in AWS HealthOmics <https://docs.aws.amazon.com/omics/latest/dev/workflow-versions.html>`_ in the AWS HealthOmics User Guide.
3320
3329
 
3321
3330
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflowversion.html
3322
3331
  :cloudformationResource: AWS::Omics::WorkflowVersion
@@ -3374,11 +3383,11 @@ class CfnWorkflowVersion(
3374
3383
  '''
3375
3384
  :param scope: Scope in which this resource is defined.
3376
3385
  :param id: Construct identifier for this resource (unique in its scope).
3377
- :param version_name:
3378
- :param workflow_id:
3386
+ :param version_name: The name of the workflow version.
3387
+ :param workflow_id: The workflow's ID.
3379
3388
  :param accelerators:
3380
3389
  :param definition_uri:
3381
- :param description:
3390
+ :param description: The description of the workflow version.
3382
3391
  :param engine:
3383
3392
  :param main:
3384
3393
  :param parameter_template:
@@ -3441,7 +3450,8 @@ class CfnWorkflowVersion(
3441
3450
  @builtins.property
3442
3451
  @jsii.member(jsii_name="attrArn")
3443
3452
  def attr_arn(self) -> builtins.str:
3444
- '''
3453
+ '''ARN of the workflow version.
3454
+
3445
3455
  :cloudformationAttribute: Arn
3446
3456
  '''
3447
3457
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
@@ -3449,7 +3459,8 @@ class CfnWorkflowVersion(
3449
3459
  @builtins.property
3450
3460
  @jsii.member(jsii_name="attrCreationTime")
3451
3461
  def attr_creation_time(self) -> builtins.str:
3452
- '''
3462
+ '''The creation time of the workflow version.
3463
+
3453
3464
  :cloudformationAttribute: CreationTime
3454
3465
  '''
3455
3466
  return typing.cast(builtins.str, jsii.get(self, "attrCreationTime"))
@@ -3457,7 +3468,8 @@ class CfnWorkflowVersion(
3457
3468
  @builtins.property
3458
3469
  @jsii.member(jsii_name="attrStatus")
3459
3470
  def attr_status(self) -> builtins.str:
3460
- '''
3471
+ '''The status of the workflow version.
3472
+
3461
3473
  :cloudformationAttribute: Status
3462
3474
  '''
3463
3475
  return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
@@ -3465,7 +3477,8 @@ class CfnWorkflowVersion(
3465
3477
  @builtins.property
3466
3478
  @jsii.member(jsii_name="attrType")
3467
3479
  def attr_type(self) -> builtins.str:
3468
- '''
3480
+ '''The type of the workflow version.
3481
+
3469
3482
  :cloudformationAttribute: Type
3470
3483
  '''
3471
3484
  return typing.cast(builtins.str, jsii.get(self, "attrType"))
@@ -3492,6 +3505,7 @@ class CfnWorkflowVersion(
3492
3505
  @builtins.property
3493
3506
  @jsii.member(jsii_name="versionName")
3494
3507
  def version_name(self) -> builtins.str:
3508
+ '''The name of the workflow version.'''
3495
3509
  return typing.cast(builtins.str, jsii.get(self, "versionName"))
3496
3510
 
3497
3511
  @version_name.setter
@@ -3504,6 +3518,7 @@ class CfnWorkflowVersion(
3504
3518
  @builtins.property
3505
3519
  @jsii.member(jsii_name="workflowId")
3506
3520
  def workflow_id(self) -> builtins.str:
3521
+ '''The workflow's ID.'''
3507
3522
  return typing.cast(builtins.str, jsii.get(self, "workflowId"))
3508
3523
 
3509
3524
  @workflow_id.setter
@@ -3540,6 +3555,7 @@ class CfnWorkflowVersion(
3540
3555
  @builtins.property
3541
3556
  @jsii.member(jsii_name="description")
3542
3557
  def description(self) -> typing.Optional[builtins.str]:
3558
+ '''The description of the workflow version.'''
3543
3559
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
3544
3560
 
3545
3561
  @description.setter
@@ -3654,9 +3670,10 @@ class CfnWorkflowVersion(
3654
3670
  description: typing.Optional[builtins.str] = None,
3655
3671
  optional: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3656
3672
  ) -> None:
3657
- '''
3658
- :param description:
3659
- :param optional:
3673
+ '''A workflow parameter.
3674
+
3675
+ :param description: The parameter's description.
3676
+ :param optional: Whether the parameter is optional.
3660
3677
 
3661
3678
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflowversion-workflowparameter.html
3662
3679
  :exampleMetadata: fixture=_generated
@@ -3684,7 +3701,8 @@ class CfnWorkflowVersion(
3684
3701
 
3685
3702
  @builtins.property
3686
3703
  def description(self) -> typing.Optional[builtins.str]:
3687
- '''
3704
+ '''The parameter's description.
3705
+
3688
3706
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflowversion-workflowparameter.html#cfn-omics-workflowversion-workflowparameter-description
3689
3707
  '''
3690
3708
  result = self._values.get("description")
@@ -3694,7 +3712,8 @@ class CfnWorkflowVersion(
3694
3712
  def optional(
3695
3713
  self,
3696
3714
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
3697
- '''
3715
+ '''Whether the parameter is optional.
3716
+
3698
3717
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflowversion-workflowparameter.html#cfn-omics-workflowversion-workflowparameter-optional
3699
3718
  '''
3700
3719
  result = self._values.get("optional")
@@ -3749,11 +3768,11 @@ class CfnWorkflowVersionProps:
3749
3768
  ) -> None:
3750
3769
  '''Properties for defining a ``CfnWorkflowVersion``.
3751
3770
 
3752
- :param version_name:
3753
- :param workflow_id:
3771
+ :param version_name: The name of the workflow version.
3772
+ :param workflow_id: The workflow's ID.
3754
3773
  :param accelerators:
3755
3774
  :param definition_uri:
3756
- :param description:
3775
+ :param description: The description of the workflow version.
3757
3776
  :param engine:
3758
3777
  :param main:
3759
3778
  :param parameter_template:
@@ -3836,7 +3855,8 @@ class CfnWorkflowVersionProps:
3836
3855
 
3837
3856
  @builtins.property
3838
3857
  def version_name(self) -> builtins.str:
3839
- '''
3858
+ '''The name of the workflow version.
3859
+
3840
3860
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflowversion.html#cfn-omics-workflowversion-versionname
3841
3861
  '''
3842
3862
  result = self._values.get("version_name")
@@ -3845,7 +3865,8 @@ class CfnWorkflowVersionProps:
3845
3865
 
3846
3866
  @builtins.property
3847
3867
  def workflow_id(self) -> builtins.str:
3848
- '''
3868
+ '''The workflow's ID.
3869
+
3849
3870
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflowversion.html#cfn-omics-workflowversion-workflowid
3850
3871
  '''
3851
3872
  result = self._values.get("workflow_id")
@@ -3870,7 +3891,8 @@ class CfnWorkflowVersionProps:
3870
3891
 
3871
3892
  @builtins.property
3872
3893
  def description(self) -> typing.Optional[builtins.str]:
3873
- '''
3894
+ '''The description of the workflow version.
3895
+
3874
3896
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflowversion.html#cfn-omics-workflowversion-description
3875
3897
  '''
3876
3898
  result = self._values.get("description")
@@ -110,6 +110,12 @@ class CfnCluster(
110
110
  # the properties below are optional
111
111
  name="name",
112
112
  slurm_configuration=pcs.CfnCluster.SlurmConfigurationProperty(
113
+ accounting=pcs.CfnCluster.AccountingProperty(
114
+ mode="mode",
115
+
116
+ # the properties below are optional
117
+ default_purge_time_in_days=123
118
+ ),
113
119
  auth_key=pcs.CfnCluster.AuthKeyProperty(
114
120
  secret_arn="secretArn",
115
121
  secret_version="secretVersion"
@@ -347,6 +353,88 @@ class CfnCluster(
347
353
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
348
354
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
349
355
 
356
+ @jsii.data_type(
357
+ jsii_type="aws-cdk-lib.aws_pcs.CfnCluster.AccountingProperty",
358
+ jsii_struct_bases=[],
359
+ name_mapping={
360
+ "mode": "mode",
361
+ "default_purge_time_in_days": "defaultPurgeTimeInDays",
362
+ },
363
+ )
364
+ class AccountingProperty:
365
+ def __init__(
366
+ self,
367
+ *,
368
+ mode: builtins.str,
369
+ default_purge_time_in_days: typing.Optional[jsii.Number] = None,
370
+ ) -> None:
371
+ '''The accounting configuration includes configurable settings for Slurm accounting.
372
+
373
+ :param mode: The default value is ``STANDARD``. A value of ``STANDARD`` means that Slurm accounting is enabled. Default: - "NONE"
374
+ :param default_purge_time_in_days: The default value for all purge settings for ``slurmdbd.conf``. For more information, see the `slurmdbd.conf documentation at SchedMD <https://slurm.schedmd.com/slurmdbd.conf.html>`_. The default value is ``-1``. A value of ``-1`` means there is no purge time and records persist as long as the cluster exists. Default: - -1
375
+
376
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-accounting.html
377
+ :exampleMetadata: fixture=_generated
378
+
379
+ Example::
380
+
381
+ # The code below shows an example of how to instantiate this type.
382
+ # The values are placeholders you should change.
383
+ from aws_cdk import aws_pcs as pcs
384
+
385
+ accounting_property = pcs.CfnCluster.AccountingProperty(
386
+ mode="mode",
387
+
388
+ # the properties below are optional
389
+ default_purge_time_in_days=123
390
+ )
391
+ '''
392
+ if __debug__:
393
+ type_hints = typing.get_type_hints(_typecheckingstub__1371c6dd1b40632a0c832b301d232842e616e6e2e20240f16e1a18c257dec328)
394
+ check_type(argname="argument mode", value=mode, expected_type=type_hints["mode"])
395
+ check_type(argname="argument default_purge_time_in_days", value=default_purge_time_in_days, expected_type=type_hints["default_purge_time_in_days"])
396
+ self._values: typing.Dict[builtins.str, typing.Any] = {
397
+ "mode": mode,
398
+ }
399
+ if default_purge_time_in_days is not None:
400
+ self._values["default_purge_time_in_days"] = default_purge_time_in_days
401
+
402
+ @builtins.property
403
+ def mode(self) -> builtins.str:
404
+ '''The default value is ``STANDARD``.
405
+
406
+ A value of ``STANDARD`` means that Slurm accounting is enabled.
407
+
408
+ :default: - "NONE"
409
+
410
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-accounting.html#cfn-pcs-cluster-accounting-mode
411
+ '''
412
+ result = self._values.get("mode")
413
+ assert result is not None, "Required property 'mode' is missing"
414
+ return typing.cast(builtins.str, result)
415
+
416
+ @builtins.property
417
+ def default_purge_time_in_days(self) -> typing.Optional[jsii.Number]:
418
+ '''The default value for all purge settings for ``slurmdbd.conf``. For more information, see the `slurmdbd.conf documentation at SchedMD <https://slurm.schedmd.com/slurmdbd.conf.html>`_. The default value is ``-1``. A value of ``-1`` means there is no purge time and records persist as long as the cluster exists.
419
+
420
+ :default: - -1
421
+
422
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-accounting.html#cfn-pcs-cluster-accounting-defaultpurgetimeindays
423
+ '''
424
+ result = self._values.get("default_purge_time_in_days")
425
+ return typing.cast(typing.Optional[jsii.Number], result)
426
+
427
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
428
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
429
+
430
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
431
+ return not (rhs == self)
432
+
433
+ def __repr__(self) -> str:
434
+ return "AccountingProperty(%s)" % ", ".join(
435
+ k + "=" + repr(v) for k, v in self._values.items()
436
+ )
437
+
350
438
  @jsii.data_type(
351
439
  jsii_type="aws-cdk-lib.aws_pcs.CfnCluster.AuthKeyProperty",
352
440
  jsii_struct_bases=[],
@@ -741,6 +829,7 @@ class CfnCluster(
741
829
  jsii_type="aws-cdk-lib.aws_pcs.CfnCluster.SlurmConfigurationProperty",
742
830
  jsii_struct_bases=[],
743
831
  name_mapping={
832
+ "accounting": "accounting",
744
833
  "auth_key": "authKey",
745
834
  "scale_down_idle_time_in_seconds": "scaleDownIdleTimeInSeconds",
746
835
  "slurm_custom_settings": "slurmCustomSettings",
@@ -750,12 +839,14 @@ class CfnCluster(
750
839
  def __init__(
751
840
  self,
752
841
  *,
842
+ accounting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.AccountingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
753
843
  auth_key: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.AuthKeyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
754
844
  scale_down_idle_time_in_seconds: typing.Optional[jsii.Number] = None,
755
845
  slurm_custom_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.SlurmCustomSettingProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
756
846
  ) -> None:
757
847
  '''Additional options related to the Slurm scheduler.
758
848
 
849
+ :param accounting: The accounting configuration includes configurable settings for Slurm accounting.
759
850
  :param auth_key: The shared Slurm key for authentication, also known as the cluster secret.
760
851
  :param scale_down_idle_time_in_seconds: The time before an idle node is scaled down.
761
852
  :param slurm_custom_settings: Additional Slurm-specific configuration that directly maps to Slurm settings.
@@ -770,6 +861,12 @@ class CfnCluster(
770
861
  from aws_cdk import aws_pcs as pcs
771
862
 
772
863
  slurm_configuration_property = pcs.CfnCluster.SlurmConfigurationProperty(
864
+ accounting=pcs.CfnCluster.AccountingProperty(
865
+ mode="mode",
866
+
867
+ # the properties below are optional
868
+ default_purge_time_in_days=123
869
+ ),
773
870
  auth_key=pcs.CfnCluster.AuthKeyProperty(
774
871
  secret_arn="secretArn",
775
872
  secret_version="secretVersion"
@@ -783,10 +880,13 @@ class CfnCluster(
783
880
  '''
784
881
  if __debug__:
785
882
  type_hints = typing.get_type_hints(_typecheckingstub__e6bb8855a5cf237041c92e56f09fd1b1d2d40c49f363bfde280100fbfd6f137f)
883
+ check_type(argname="argument accounting", value=accounting, expected_type=type_hints["accounting"])
786
884
  check_type(argname="argument auth_key", value=auth_key, expected_type=type_hints["auth_key"])
787
885
  check_type(argname="argument scale_down_idle_time_in_seconds", value=scale_down_idle_time_in_seconds, expected_type=type_hints["scale_down_idle_time_in_seconds"])
788
886
  check_type(argname="argument slurm_custom_settings", value=slurm_custom_settings, expected_type=type_hints["slurm_custom_settings"])
789
887
  self._values: typing.Dict[builtins.str, typing.Any] = {}
888
+ if accounting is not None:
889
+ self._values["accounting"] = accounting
790
890
  if auth_key is not None:
791
891
  self._values["auth_key"] = auth_key
792
892
  if scale_down_idle_time_in_seconds is not None:
@@ -794,6 +894,17 @@ class CfnCluster(
794
894
  if slurm_custom_settings is not None:
795
895
  self._values["slurm_custom_settings"] = slurm_custom_settings
796
896
 
897
+ @builtins.property
898
+ def accounting(
899
+ self,
900
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.AccountingProperty"]]:
901
+ '''The accounting configuration includes configurable settings for Slurm accounting.
902
+
903
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-slurmconfiguration.html#cfn-pcs-cluster-slurmconfiguration-accounting
904
+ '''
905
+ result = self._values.get("accounting")
906
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.AccountingProperty"]], result)
907
+
797
908
  @builtins.property
798
909
  def auth_key(
799
910
  self,
@@ -974,6 +1085,12 @@ class CfnClusterProps:
974
1085
  # the properties below are optional
975
1086
  name="name",
976
1087
  slurm_configuration=pcs.CfnCluster.SlurmConfigurationProperty(
1088
+ accounting=pcs.CfnCluster.AccountingProperty(
1089
+ mode="mode",
1090
+
1091
+ # the properties below are optional
1092
+ default_purge_time_in_days=123
1093
+ ),
977
1094
  auth_key=pcs.CfnCluster.AuthKeyProperty(
978
1095
  secret_arn="secretArn",
979
1096
  secret_version="secretVersion"
@@ -2729,6 +2846,14 @@ def _typecheckingstub__b386ea2d0b46e98dda569b5edccc0da74b6c12d09181731c93163fcad
2729
2846
  """Type checking stubs"""
2730
2847
  pass
2731
2848
 
2849
+ def _typecheckingstub__1371c6dd1b40632a0c832b301d232842e616e6e2e20240f16e1a18c257dec328(
2850
+ *,
2851
+ mode: builtins.str,
2852
+ default_purge_time_in_days: typing.Optional[jsii.Number] = None,
2853
+ ) -> None:
2854
+ """Type checking stubs"""
2855
+ pass
2856
+
2732
2857
  def _typecheckingstub__1864f71bcded956851b861671a045d1c7d6402331c1d756c5ac88d21e9fe823c(
2733
2858
  *,
2734
2859
  secret_arn: builtins.str,
@@ -2773,6 +2898,7 @@ def _typecheckingstub__fe24d9f1c44d1db4489549227b033216d5b6490b74f43ce9c2871e34c
2773
2898
 
2774
2899
  def _typecheckingstub__e6bb8855a5cf237041c92e56f09fd1b1d2d40c49f363bfde280100fbfd6f137f(
2775
2900
  *,
2901
+ accounting: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.AccountingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2776
2902
  auth_key: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.AuthKeyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2777
2903
  scale_down_idle_time_in_seconds: typing.Optional[jsii.Number] = None,
2778
2904
  slurm_custom_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.SlurmCustomSettingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -9430,14 +9430,6 @@ class CfnDBInstance(
9430
9430
  '''
9431
9431
  return typing.cast(builtins.str, jsii.get(self, "attrCertificateDetailsValidTill"))
9432
9432
 
9433
- @builtins.property
9434
- @jsii.member(jsii_name="attrDatabaseInsightsMode")
9435
- def attr_database_insights_mode(self) -> builtins.str:
9436
- '''
9437
- :cloudformationAttribute: DatabaseInsightsMode
9438
- '''
9439
- return typing.cast(builtins.str, jsii.get(self, "attrDatabaseInsightsMode"))
9440
-
9441
9433
  @builtins.property
9442
9434
  @jsii.member(jsii_name="attrDbInstanceArn")
9443
9435
  def attr_db_instance_arn(self) -> builtins.str:
@@ -21431,7 +21423,7 @@ class DatabaseClusterFromSnapshotProps:
21431
21423
  :param snapshot_credentials: Master user credentials. Note - It is not possible to change the master username for a snapshot; however, it is possible to provide (or generate) a new password. Default: - The existing username and password from the snapshot will be used.
21432
21424
  :param storage_encrypted: Whether to enable storage encryption. Default: - true if storageEncryptionKey is provided, false otherwise
21433
21425
  :param storage_encryption_key: The KMS key for storage encryption. If specified, ``storageEncrypted`` will be set to ``true``. Default: - if storageEncrypted is true then the default master key, no key otherwise
21434
- :param storage_type: The storage type to be associated with the DB cluster. Default: - DBClusterStorageType.AURORA_IOPT1
21426
+ :param storage_type: The storage type to be associated with the DB cluster. Default: - DBClusterStorageType.AURORA
21435
21427
  :param subnet_group: Existing subnet group for the cluster. Default: - a new subnet group will be created.
21436
21428
  :param vpc: What subnets to run the RDS instances in. Must be at least 2 subnets in two different AZs.
21437
21429
  :param vpc_subnets: Where to place the instances within the VPC. Default: - the Vpc default strategy if not specified.
@@ -22206,7 +22198,7 @@ class DatabaseClusterFromSnapshotProps:
22206
22198
  def storage_type(self) -> typing.Optional[DBClusterStorageType]:
22207
22199
  '''The storage type to be associated with the DB cluster.
22208
22200
 
22209
- :default: - DBClusterStorageType.AURORA_IOPT1
22201
+ :default: - DBClusterStorageType.AURORA
22210
22202
  '''
22211
22203
  result = self._values.get("storage_type")
22212
22204
  return typing.cast(typing.Optional[DBClusterStorageType], result)
@@ -22426,7 +22418,7 @@ class DatabaseClusterProps:
22426
22418
  :param serverless_v2_min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5. Default: 0.5
22427
22419
  :param storage_encrypted: Whether to enable storage encryption. Default: - true if storageEncryptionKey is provided, false otherwise
22428
22420
  :param storage_encryption_key: The KMS key for storage encryption. If specified, ``storageEncrypted`` will be set to ``true``. Default: - if storageEncrypted is true then the default master key, no key otherwise
22429
- :param storage_type: The storage type to be associated with the DB cluster. Default: - DBClusterStorageType.AURORA_IOPT1
22421
+ :param storage_type: The storage type to be associated with the DB cluster. Default: - DBClusterStorageType.AURORA
22430
22422
  :param subnet_group: Existing subnet group for the cluster. Default: - a new subnet group will be created.
22431
22423
  :param vpc: What subnets to run the RDS instances in. Must be at least 2 subnets in two different AZs.
22432
22424
  :param vpc_subnets: Where to place the instances within the VPC. Default: - the Vpc default strategy if not specified.
@@ -23184,7 +23176,7 @@ class DatabaseClusterProps:
23184
23176
  def storage_type(self) -> typing.Optional[DBClusterStorageType]:
23185
23177
  '''The storage type to be associated with the DB cluster.
23186
23178
 
23187
- :default: - DBClusterStorageType.AURORA_IOPT1
23179
+ :default: - DBClusterStorageType.AURORA
23188
23180
  '''
23189
23181
  result = self._values.get("storage_type")
23190
23182
  return typing.cast(typing.Optional[DBClusterStorageType], result)
@@ -31969,7 +31961,12 @@ class MariaDbEngineVersion(
31969
31961
  @jsii.python.classproperty
31970
31962
  @jsii.member(jsii_name="VER_10_4")
31971
31963
  def VER_10_4(cls) -> "MariaDbEngineVersion":
31972
- '''Version "10.4" (only a major version, without a specific minor version).'''
31964
+ '''(deprecated) Version "10.4" (only a major version, without a specific minor version).
31965
+
31966
+ :deprecated: MariaDB 10.4 is no longer supported by Amazon RDS.
31967
+
31968
+ :stability: deprecated
31969
+ '''
31973
31970
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4"))
31974
31971
 
31975
31972
  @jsii.python.classproperty
@@ -32074,37 +32071,67 @@ class MariaDbEngineVersion(
32074
32071
  @jsii.python.classproperty
32075
32072
  @jsii.member(jsii_name="VER_10_4_29")
32076
32073
  def VER_10_4_29(cls) -> "MariaDbEngineVersion":
32077
- '''Version "10.4.29".'''
32074
+ '''(deprecated) Version "10.4.29".
32075
+
32076
+ :deprecated: MariaDB 10.4.29 is no longer supported by Amazon RDS.
32077
+
32078
+ :stability: deprecated
32079
+ '''
32078
32080
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_29"))
32079
32081
 
32080
32082
  @jsii.python.classproperty
32081
32083
  @jsii.member(jsii_name="VER_10_4_30")
32082
32084
  def VER_10_4_30(cls) -> "MariaDbEngineVersion":
32083
- '''Version "10.4.30".'''
32085
+ '''(deprecated) Version "10.4.30".
32086
+
32087
+ :deprecated: MariaDB 10.4.30 is no longer supported by Amazon RDS.
32088
+
32089
+ :stability: deprecated
32090
+ '''
32084
32091
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_30"))
32085
32092
 
32086
32093
  @jsii.python.classproperty
32087
32094
  @jsii.member(jsii_name="VER_10_4_31")
32088
32095
  def VER_10_4_31(cls) -> "MariaDbEngineVersion":
32089
- '''Version "10.4.31".'''
32096
+ '''(deprecated) Version "10.4.31".
32097
+
32098
+ :deprecated: MariaDB 10.4.31 is no longer supported by Amazon RDS.
32099
+
32100
+ :stability: deprecated
32101
+ '''
32090
32102
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_31"))
32091
32103
 
32092
32104
  @jsii.python.classproperty
32093
32105
  @jsii.member(jsii_name="VER_10_4_32")
32094
32106
  def VER_10_4_32(cls) -> "MariaDbEngineVersion":
32095
- '''Version "10.4.32".'''
32107
+ '''(deprecated) Version "10.4.32".
32108
+
32109
+ :deprecated: MariaDB 10.4.32 is no longer supported by Amazon RDS.
32110
+
32111
+ :stability: deprecated
32112
+ '''
32096
32113
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_32"))
32097
32114
 
32098
32115
  @jsii.python.classproperty
32099
32116
  @jsii.member(jsii_name="VER_10_4_33")
32100
32117
  def VER_10_4_33(cls) -> "MariaDbEngineVersion":
32101
- '''Version "10.4.33".'''
32118
+ '''(deprecated) Version "10.4.33".
32119
+
32120
+ :deprecated: MariaDB 10.4.33 is no longer supported by Amazon RDS.
32121
+
32122
+ :stability: deprecated
32123
+ '''
32102
32124
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_33"))
32103
32125
 
32104
32126
  @jsii.python.classproperty
32105
32127
  @jsii.member(jsii_name="VER_10_4_34")
32106
32128
  def VER_10_4_34(cls) -> "MariaDbEngineVersion":
32107
- '''Version "10.4.34".'''
32129
+ '''(deprecated) Version "10.4.34".
32130
+
32131
+ :deprecated: MariaDB 10.4.34 is no longer supported by Amazon RDS.
32132
+
32133
+ :stability: deprecated
32134
+ '''
32108
32135
  return typing.cast("MariaDbEngineVersion", jsii.sget(cls, "VER_10_4_34"))
32109
32136
 
32110
32137
  @jsii.python.classproperty
@@ -42701,7 +42728,7 @@ class DatabaseClusterFromSnapshot(
42701
42728
  :param snapshot_credentials: Master user credentials. Note - It is not possible to change the master username for a snapshot; however, it is possible to provide (or generate) a new password. Default: - The existing username and password from the snapshot will be used.
42702
42729
  :param storage_encrypted: Whether to enable storage encryption. Default: - true if storageEncryptionKey is provided, false otherwise
42703
42730
  :param storage_encryption_key: The KMS key for storage encryption. If specified, ``storageEncrypted`` will be set to ``true``. Default: - if storageEncrypted is true then the default master key, no key otherwise
42704
- :param storage_type: The storage type to be associated with the DB cluster. Default: - DBClusterStorageType.AURORA_IOPT1
42731
+ :param storage_type: The storage type to be associated with the DB cluster. Default: - DBClusterStorageType.AURORA
42705
42732
  :param subnet_group: Existing subnet group for the cluster. Default: - a new subnet group will be created.
42706
42733
  :param vpc: What subnets to run the RDS instances in. Must be at least 2 subnets in two different AZs.
42707
42734
  :param vpc_subnets: Where to place the instances within the VPC. Default: - the Vpc default strategy if not specified.
@@ -46909,7 +46936,7 @@ class DatabaseCluster(
46909
46936
  :param serverless_v2_min_capacity: The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5. Default: 0.5
46910
46937
  :param storage_encrypted: Whether to enable storage encryption. Default: - true if storageEncryptionKey is provided, false otherwise
46911
46938
  :param storage_encryption_key: The KMS key for storage encryption. If specified, ``storageEncrypted`` will be set to ``true``. Default: - if storageEncrypted is true then the default master key, no key otherwise
46912
- :param storage_type: The storage type to be associated with the DB cluster. Default: - DBClusterStorageType.AURORA_IOPT1
46939
+ :param storage_type: The storage type to be associated with the DB cluster. Default: - DBClusterStorageType.AURORA
46913
46940
  :param subnet_group: Existing subnet group for the cluster. Default: - a new subnet group will be created.
46914
46941
  :param vpc: What subnets to run the RDS instances in. Must be at least 2 subnets in two different AZs.
46915
46942
  :param vpc_subnets: Where to place the instances within the VPC. Default: - the Vpc default strategy if not specified.