aws-cdk-lib 2.96.2__py3-none-any.whl → 2.97.1__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 (53) hide show
  1. aws_cdk/__init__.py +246 -62
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.96.2.jsii.tgz → aws-cdk-lib@2.97.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +1 -1
  5. aws_cdk/aws_appflow/__init__.py +205 -7
  6. aws_cdk/aws_appstream/__init__.py +33 -28
  7. aws_cdk/aws_appsync/__init__.py +555 -71
  8. aws_cdk/aws_autoscaling/__init__.py +5 -11
  9. aws_cdk/aws_billingconductor/__init__.py +145 -1
  10. aws_cdk/aws_cleanrooms/__init__.py +1198 -86
  11. aws_cdk/aws_cloudformation/__init__.py +221 -55
  12. aws_cdk/aws_cloudwatch/__init__.py +325 -2
  13. aws_cdk/aws_cognito/__init__.py +9 -13
  14. aws_cdk/aws_config/__init__.py +68 -73
  15. aws_cdk/aws_connect/__init__.py +909 -164
  16. aws_cdk/aws_customerprofiles/__init__.py +44 -0
  17. aws_cdk/aws_dms/__init__.py +198 -0
  18. aws_cdk/aws_ec2/__init__.py +593 -73
  19. aws_cdk/aws_ecr/__init__.py +7 -2
  20. aws_cdk/aws_ecs/__init__.py +2 -2
  21. aws_cdk/aws_efs/__init__.py +237 -0
  22. aws_cdk/aws_emr/__init__.py +232 -0
  23. aws_cdk/aws_entityresolution/__init__.py +1702 -0
  24. aws_cdk/aws_events/__init__.py +13 -18
  25. aws_cdk/aws_fms/__init__.py +3 -3
  26. aws_cdk/aws_gamelift/__init__.py +10 -15
  27. aws_cdk/aws_grafana/__init__.py +9 -5
  28. aws_cdk/aws_guardduty/__init__.py +272 -205
  29. aws_cdk/aws_iam/__init__.py +20 -18
  30. aws_cdk/aws_iotwireless/__init__.py +38 -54
  31. aws_cdk/aws_lakeformation/__init__.py +18 -6
  32. aws_cdk/aws_lambda/__init__.py +1 -1
  33. aws_cdk/aws_lightsail/__init__.py +225 -0
  34. aws_cdk/aws_lookoutequipment/__init__.py +4 -4
  35. aws_cdk/aws_macie/__init__.py +5 -3
  36. aws_cdk/aws_mediapackagev2/__init__.py +3227 -0
  37. aws_cdk/aws_pcaconnectorad/__init__.py +6785 -0
  38. aws_cdk/aws_quicksight/__init__.py +189 -116
  39. aws_cdk/aws_rds/__init__.py +316 -9
  40. aws_cdk/aws_resiliencehub/__init__.py +38 -21
  41. aws_cdk/aws_route53resolver/__init__.py +429 -0
  42. aws_cdk/aws_sagemaker/__init__.py +34 -34
  43. aws_cdk/aws_stepfunctions/__init__.py +111 -14
  44. aws_cdk/aws_transfer/__init__.py +2 -2
  45. aws_cdk/aws_vpclattice/__init__.py +128 -120
  46. aws_cdk/aws_workspacesweb/__init__.py +3790 -0
  47. aws_cdk/region_info/__init__.py +49 -0
  48. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/METADATA +2 -2
  49. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/RECORD +53 -49
  50. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/LICENSE +0 -0
  51. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/NOTICE +0 -0
  52. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/WHEEL +0 -0
  53. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/top_level.txt +0 -0
@@ -2219,7 +2219,7 @@ class CfnDataQualityJobDefinition(
2219
2219
  :param container_entrypoint: The entrypoint for a container used to run a monitoring job.
2220
2220
  :param environment: Sets the environment variables in the container that the monitoring job runs.
2221
2221
  :param post_analytics_processor_source_uri: An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.
2222
- :param record_preprocessor_source_uri: An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
2222
+ :param record_preprocessor_source_uri: An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
2223
2223
 
2224
2224
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityappspecification.html
2225
2225
  :exampleMetadata: fixture=_generated
@@ -2319,7 +2319,7 @@ class CfnDataQualityJobDefinition(
2319
2319
  def record_preprocessor_source_uri(self) -> typing.Optional[builtins.str]:
2320
2320
  '''An Amazon S3 URI to a script that is called per row prior to running analysis.
2321
2321
 
2322
- It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
2322
+ It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
2323
2323
 
2324
2324
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityappspecification.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityappspecification-recordpreprocessorsourceuri
2325
2325
  '''
@@ -2658,7 +2658,7 @@ class CfnDataQualityJobDefinition(
2658
2658
 
2659
2659
  :param endpoint_name: An endpoint in customer's account which has enabled ``DataCaptureConfig`` enabled.
2660
2660
  :param local_path: Path to the filesystem where the endpoint data is available to the container.
2661
- :param s3_data_distribution_type: Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defaults to ``FullyReplicated``
2661
+ :param s3_data_distribution_type: Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key. Defaults to ``FullyReplicated``
2662
2662
  :param s3_input_mode: Whether the ``Pipe`` or ``File`` is used as the input mode for transferring data for the monitoring job. ``Pipe`` mode is recommended for large datasets. ``File`` mode is useful for small files that fit in memory. Defaults to ``File`` .
2663
2663
 
2664
2664
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html
@@ -2716,7 +2716,7 @@ class CfnDataQualityJobDefinition(
2716
2716
 
2717
2717
  @builtins.property
2718
2718
  def s3_data_distribution_type(self) -> typing.Optional[builtins.str]:
2719
- '''Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key.
2719
+ '''Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key.
2720
2720
 
2721
2721
  Defaults to ``FullyReplicated``
2722
2722
 
@@ -2822,7 +2822,7 @@ class CfnDataQualityJobDefinition(
2822
2822
  '''The output configuration for monitoring jobs.
2823
2823
 
2824
2824
  :param monitoring_outputs: Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.
2825
- :param kms_key_id: The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
2825
+ :param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
2826
2826
 
2827
2827
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-monitoringoutputconfig.html
2828
2828
  :exampleMetadata: fixture=_generated
@@ -2874,7 +2874,7 @@ class CfnDataQualityJobDefinition(
2874
2874
 
2875
2875
  @builtins.property
2876
2876
  def kms_key_id(self) -> typing.Optional[builtins.str]:
2877
- '''The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
2877
+ '''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
2878
2878
 
2879
2879
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-dataqualityjobdefinition-monitoringoutputconfig-kmskeyid
2880
2880
  '''
@@ -12444,9 +12444,9 @@ class CfnInferenceExperiment(
12444
12444
  ) -> None:
12445
12445
  '''Configuration specifying how to treat different headers.
12446
12446
 
12447
- If no headers are specified SageMaker will by default base64 encode when capturing the data.
12447
+ If no headers are specified Amazon SageMaker will by default base64 encode when capturing the data.
12448
12448
 
12449
- :param csv_content_types: The list of all content type headers that SageMaker will treat as CSV and capture accordingly.
12449
+ :param csv_content_types: The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
12450
12450
  :param json_content_types: The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
12451
12451
 
12452
12452
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-capturecontenttypeheader.html
@@ -12475,7 +12475,7 @@ class CfnInferenceExperiment(
12475
12475
 
12476
12476
  @builtins.property
12477
12477
  def csv_content_types(self) -> typing.Optional[typing.List[builtins.str]]:
12478
- '''The list of all content type headers that SageMaker will treat as CSV and capture accordingly.
12478
+ '''The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
12479
12479
 
12480
12480
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-capturecontenttypeheader.html#cfn-sagemaker-inferenceexperiment-capturecontenttypeheader-csvcontenttypes
12481
12481
  '''
@@ -15354,7 +15354,7 @@ class CfnModelBiasJobDefinition(
15354
15354
  :param inference_attribute: The attribute of the input data that represents the ground truth label.
15355
15355
  :param probability_attribute: In a classification problem, the attribute that represents the class probability.
15356
15356
  :param probability_threshold_attribute: The threshold for the class probability to be evaluated as a positive result.
15357
- :param s3_data_distribution_type: Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defaults to ``FullyReplicated``
15357
+ :param s3_data_distribution_type: Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key. Defaults to ``FullyReplicated``
15358
15358
  :param s3_input_mode: Whether the ``Pipe`` or ``File`` is used as the input mode for transferring data for the monitoring job. ``Pipe`` mode is recommended for large datasets. ``File`` mode is useful for small files that fit in memory. Defaults to ``File`` .
15359
15359
  :param start_time_offset: If specified, monitoring jobs substract this time from the start time. For information about using offsets for scheduling monitoring jobs, see `Schedule Model Quality Monitoring Jobs <https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html>`_ .
15360
15360
 
@@ -15484,7 +15484,7 @@ class CfnModelBiasJobDefinition(
15484
15484
 
15485
15485
  @builtins.property
15486
15486
  def s3_data_distribution_type(self) -> typing.Optional[builtins.str]:
15487
- '''Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key.
15487
+ '''Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key.
15488
15488
 
15489
15489
  Defaults to ``FullyReplicated``
15490
15490
 
@@ -15963,7 +15963,7 @@ class CfnModelBiasJobDefinition(
15963
15963
  '''The output configuration for monitoring jobs.
15964
15964
 
15965
15965
  :param monitoring_outputs: Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.
15966
- :param kms_key_id: The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
15966
+ :param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
15967
15967
 
15968
15968
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringoutputconfig.html
15969
15969
  :exampleMetadata: fixture=_generated
@@ -16015,7 +16015,7 @@ class CfnModelBiasJobDefinition(
16015
16015
 
16016
16016
  @builtins.property
16017
16017
  def kms_key_id(self) -> typing.Optional[builtins.str]:
16018
- '''The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
16018
+ '''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
16019
16019
 
16020
16020
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelbiasjobdefinition-monitoringoutputconfig-kmskeyid
16021
16021
  '''
@@ -21234,7 +21234,7 @@ class CfnModelExplainabilityJobDefinition(
21234
21234
  :param features_attribute: The attributes of the input data that are the input features.
21235
21235
  :param inference_attribute: The attribute of the input data that represents the ground truth label.
21236
21236
  :param probability_attribute: In a classification problem, the attribute that represents the class probability.
21237
- :param s3_data_distribution_type: Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defaults to ``FullyReplicated``
21237
+ :param s3_data_distribution_type: Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key. Defaults to ``FullyReplicated``
21238
21238
  :param s3_input_mode: Whether the ``Pipe`` or ``File`` is used as the input mode for transferring data for the monitoring job. ``Pipe`` mode is recommended for large datasets. ``File`` mode is useful for small files that fit in memory. Defaults to ``File`` .
21239
21239
 
21240
21240
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-endpointinput.html
@@ -21331,7 +21331,7 @@ class CfnModelExplainabilityJobDefinition(
21331
21331
 
21332
21332
  @builtins.property
21333
21333
  def s3_data_distribution_type(self) -> typing.Optional[builtins.str]:
21334
- '''Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key.
21334
+ '''Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key.
21335
21335
 
21336
21336
  Defaults to ``FullyReplicated``
21337
21337
 
@@ -21438,7 +21438,7 @@ class CfnModelExplainabilityJobDefinition(
21438
21438
  ) -> None:
21439
21439
  '''Docker container image configuration object for the model explainability job.
21440
21440
 
21441
- :param config_uri: JSON formatted S3 file that defines explainability parameters. For more information on this JSON configuration file, see `Configure model explainability parameters <https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-config-json-monitor-model-explainability-parameters.html>`_ .
21441
+ :param config_uri: JSON formatted Amazon S3 file that defines explainability parameters. For more information on this JSON configuration file, see `Configure model explainability parameters <https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-config-json-monitor-model-explainability-parameters.html>`_ .
21442
21442
  :param image_uri: The container image to be run by the model explainability job.
21443
21443
  :param environment: Sets the environment variables in the Docker container.
21444
21444
 
@@ -21475,7 +21475,7 @@ class CfnModelExplainabilityJobDefinition(
21475
21475
 
21476
21476
  @builtins.property
21477
21477
  def config_uri(self) -> builtins.str:
21478
- '''JSON formatted S3 file that defines explainability parameters.
21478
+ '''JSON formatted Amazon S3 file that defines explainability parameters.
21479
21479
 
21480
21480
  For more information on this JSON configuration file, see `Configure model explainability parameters <https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-config-json-monitor-model-explainability-parameters.html>`_ .
21481
21481
 
@@ -21718,7 +21718,7 @@ class CfnModelExplainabilityJobDefinition(
21718
21718
  '''The output configuration for monitoring jobs.
21719
21719
 
21720
21720
  :param monitoring_outputs: Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.
21721
- :param kms_key_id: The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
21721
+ :param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
21722
21722
 
21723
21723
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-monitoringoutputconfig.html
21724
21724
  :exampleMetadata: fixture=_generated
@@ -21770,7 +21770,7 @@ class CfnModelExplainabilityJobDefinition(
21770
21770
 
21771
21771
  @builtins.property
21772
21772
  def kms_key_id(self) -> typing.Optional[builtins.str]:
21773
- '''The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
21773
+ '''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
21774
21774
 
21775
21775
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-monitoringoutputconfig-kmskeyid
21776
21776
  '''
@@ -28897,7 +28897,7 @@ class CfnModelQualityJobDefinition(
28897
28897
  :param inference_attribute: The attribute of the input data that represents the ground truth label.
28898
28898
  :param probability_attribute: In a classification problem, the attribute that represents the class probability.
28899
28899
  :param probability_threshold_attribute: The threshold for the class probability to be evaluated as a positive result.
28900
- :param s3_data_distribution_type: Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defaults to ``FullyReplicated``
28900
+ :param s3_data_distribution_type: Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key. Defaults to ``FullyReplicated``
28901
28901
  :param s3_input_mode: Whether the ``Pipe`` or ``File`` is used as the input mode for transferring data for the monitoring job. ``Pipe`` mode is recommended for large datasets. ``File`` mode is useful for small files that fit in memory. Defaults to ``File`` .
28902
28902
  :param start_time_offset: If specified, monitoring jobs substract this time from the start time. For information about using offsets for scheduling monitoring jobs, see `Schedule Model Quality Monitoring Jobs <https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html>`_ .
28903
28903
 
@@ -29014,7 +29014,7 @@ class CfnModelQualityJobDefinition(
29014
29014
 
29015
29015
  @builtins.property
29016
29016
  def s3_data_distribution_type(self) -> typing.Optional[builtins.str]:
29017
- '''Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key.
29017
+ '''Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key.
29018
29018
 
29019
29019
  Defaults to ``FullyReplicated``
29020
29020
 
@@ -29146,7 +29146,7 @@ class CfnModelQualityJobDefinition(
29146
29146
  :param container_entrypoint: Specifies the entrypoint for a container that the monitoring job runs.
29147
29147
  :param environment: Sets the environment variables in the container that the monitoring job runs.
29148
29148
  :param post_analytics_processor_source_uri: An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.
29149
- :param record_preprocessor_source_uri: An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
29149
+ :param record_preprocessor_source_uri: An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
29150
29150
 
29151
29151
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityappspecification.html
29152
29152
  :exampleMetadata: fixture=_generated
@@ -29259,7 +29259,7 @@ class CfnModelQualityJobDefinition(
29259
29259
  def record_preprocessor_source_uri(self) -> typing.Optional[builtins.str]:
29260
29260
  '''An Amazon S3 URI to a script that is called per row prior to running analysis.
29261
29261
 
29262
- It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
29262
+ It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
29263
29263
 
29264
29264
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityappspecification.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityappspecification-recordpreprocessorsourceuri
29265
29265
  '''
@@ -29375,7 +29375,7 @@ class CfnModelQualityJobDefinition(
29375
29375
  ) -> None:
29376
29376
  '''The input for the model quality monitoring job.
29377
29377
 
29378
- Currently endponts are supported for input for model quality monitoring jobs.
29378
+ Currently endpoints are supported for input for model quality monitoring jobs.
29379
29379
 
29380
29380
  :param ground_truth_s3_input: The ground truth label provided for the model.
29381
29381
  :param batch_transform_input: The batch transform input for a monitoring job.
@@ -29561,7 +29561,7 @@ class CfnModelQualityJobDefinition(
29561
29561
  '''The output configuration for monitoring jobs.
29562
29562
 
29563
29563
  :param monitoring_outputs: Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.
29564
- :param kms_key_id: The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
29564
+ :param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
29565
29565
 
29566
29566
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringoutputconfig.html
29567
29567
  :exampleMetadata: fixture=_generated
@@ -29613,7 +29613,7 @@ class CfnModelQualityJobDefinition(
29613
29613
 
29614
29614
  @builtins.property
29615
29615
  def kms_key_id(self) -> typing.Optional[builtins.str]:
29616
- '''The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
29616
+ '''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
29617
29617
 
29618
29618
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelqualityjobdefinition-monitoringoutputconfig-kmskeyid
29619
29619
  '''
@@ -31335,7 +31335,7 @@ class CfnMonitoringSchedule(
31335
31335
 
31336
31336
  :param endpoint_name: An endpoint in customer's account which has enabled ``DataCaptureConfig`` enabled.
31337
31337
  :param local_path: Path to the filesystem where the endpoint data is available to the container.
31338
- :param s3_data_distribution_type: Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defaults to ``FullyReplicated``
31338
+ :param s3_data_distribution_type: Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key. Defaults to ``FullyReplicated``
31339
31339
  :param s3_input_mode: Whether the ``Pipe`` or ``File`` is used as the input mode for transferring data for the monitoring job. ``Pipe`` mode is recommended for large datasets. ``File`` mode is useful for small files that fit in memory. Defaults to ``File`` .
31340
31340
 
31341
31341
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-endpointinput.html
@@ -31393,7 +31393,7 @@ class CfnMonitoringSchedule(
31393
31393
 
31394
31394
  @builtins.property
31395
31395
  def s3_data_distribution_type(self) -> typing.Optional[builtins.str]:
31396
- '''Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key.
31396
+ '''Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key.
31397
31397
 
31398
31398
  Defaults to ``FullyReplicated``
31399
31399
 
@@ -31508,7 +31508,7 @@ class CfnMonitoringSchedule(
31508
31508
  :param container_arguments: An array of arguments for the container used to run the monitoring job.
31509
31509
  :param container_entrypoint: Specifies the entrypoint for a container used to run the monitoring job.
31510
31510
  :param post_analytics_processor_source_uri: An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.
31511
- :param record_preprocessor_source_uri: An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
31511
+ :param record_preprocessor_source_uri: An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
31512
31512
 
31513
31513
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringappspecification.html
31514
31514
  :exampleMetadata: fixture=_generated
@@ -31591,7 +31591,7 @@ class CfnMonitoringSchedule(
31591
31591
  def record_preprocessor_source_uri(self) -> typing.Optional[builtins.str]:
31592
31592
  '''An Amazon S3 URI to a script that is called per row prior to running analysis.
31593
31593
 
31594
- It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
31594
+ It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.
31595
31595
 
31596
31596
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringappspecification.html#cfn-sagemaker-monitoringschedule-monitoringappspecification-recordpreprocessorsourceuri
31597
31597
  '''
@@ -31914,7 +31914,7 @@ class CfnMonitoringSchedule(
31914
31914
 
31915
31915
  :param monitoring_app_specification: Configures the monitoring job to run a specified Docker container image.
31916
31916
  :param monitoring_inputs: The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.
31917
- :param monitoring_output_config: The array of outputs from the monitoring job to be uploaded to Amazon Simple Storage Service (Amazon S3).
31917
+ :param monitoring_output_config: The array of outputs from the monitoring job to be uploaded to Amazon S3.
31918
31918
  :param monitoring_resources: Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. In distributed processing, you specify more than one instance.
31919
31919
  :param role_arn: The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
31920
31920
  :param baseline_config: Baseline configuration used to validate that the data conforms to the specified constraints and statistics.
@@ -32076,7 +32076,7 @@ class CfnMonitoringSchedule(
32076
32076
  def monitoring_output_config(
32077
32077
  self,
32078
32078
  ) -> typing.Union[_IResolvable_da3f097b, "CfnMonitoringSchedule.MonitoringOutputConfigProperty"]:
32079
- '''The array of outputs from the monitoring job to be uploaded to Amazon Simple Storage Service (Amazon S3).
32079
+ '''The array of outputs from the monitoring job to be uploaded to Amazon S3.
32080
32080
 
32081
32081
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-monitoringoutputconfig
32082
32082
  '''
@@ -32181,7 +32181,7 @@ class CfnMonitoringSchedule(
32181
32181
  '''The output configuration for monitoring jobs.
32182
32182
 
32183
32183
  :param monitoring_outputs: Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.
32184
- :param kms_key_id: The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
32184
+ :param kms_key_id: The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
32185
32185
 
32186
32186
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringoutputconfig.html
32187
32187
  :exampleMetadata: fixture=_generated
@@ -32233,7 +32233,7 @@ class CfnMonitoringSchedule(
32233
32233
 
32234
32234
  @builtins.property
32235
32235
  def kms_key_id(self) -> typing.Optional[builtins.str]:
32236
- '''The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
32236
+ '''The AWS Key Management Service ( AWS KMS ) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
32237
32237
 
32238
32238
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringoutputconfig.html#cfn-sagemaker-monitoringschedule-monitoringoutputconfig-kmskeyid
32239
32239
  '''
@@ -343,6 +343,20 @@ ship_the_item = sfn.Pass(self, "ShipTheItem")
343
343
  choice.afterwards().next(ship_the_item)
344
344
  ```
345
345
 
346
+ You can add comments to `Choice` states as well as conditions that use `choice.when`.
347
+
348
+ ```python
349
+ choice = sfn.Choice(self, "What color is it?",
350
+ comment="color comment"
351
+ )
352
+ handle_blue_item = sfn.Pass(self, "HandleBlueItem")
353
+ handle_other_item_color = sfn.Pass(self, "HanldeOtherItemColor")
354
+ choice.when(sfn.Condition.string_equals("$.color", "BLUE"), handle_blue_item,
355
+ comment="blue item comment"
356
+ )
357
+ choice.otherwise(handle_other_item_color)
358
+ ```
359
+
346
360
  If your `Choice` doesn't have an `otherwise()` and none of the conditions match
347
361
  the JSON state, a `NoChoiceMatched` error will be thrown. Wrap the state machine
348
362
  in a `Parallel` state if you want to catch and recover from this.
@@ -3397,19 +3411,19 @@ class ChoiceProps:
3397
3411
  :param input_path: JSONPath expression to select part of the state to be the input to this state. May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}. Default: $
3398
3412
  :param output_path: JSONPath expression to select part of the state to be the output to this state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: $
3399
3413
 
3400
- :exampleMetadata: fixture=_generated
3414
+ :exampleMetadata: infused
3401
3415
 
3402
3416
  Example::
3403
3417
 
3404
- # The code below shows an example of how to instantiate this type.
3405
- # The values are placeholders you should change.
3406
- from aws_cdk import aws_stepfunctions as stepfunctions
3407
-
3408
- choice_props = stepfunctions.ChoiceProps(
3409
- comment="comment",
3410
- input_path="inputPath",
3411
- output_path="outputPath"
3418
+ choice = sfn.Choice(self, "What color is it?",
3419
+ comment="color comment"
3420
+ )
3421
+ handle_blue_item = sfn.Pass(self, "HandleBlueItem")
3422
+ handle_other_item_color = sfn.Pass(self, "HanldeOtherItemColor")
3423
+ choice.when(sfn.Condition.string_equals("$.color", "BLUE"), handle_blue_item,
3424
+ comment="blue item comment"
3412
3425
  )
3426
+ choice.otherwise(handle_other_item_color)
3413
3427
  '''
3414
3428
  if __debug__:
3415
3429
  type_hints = typing.get_type_hints(_typecheckingstub__a926bb3a79f5cf3706dd32093c49a75fa6045aeefbff3e1b4943eb654489e685)
@@ -3469,6 +3483,59 @@ class ChoiceProps:
3469
3483
  )
3470
3484
 
3471
3485
 
3486
+ @jsii.data_type(
3487
+ jsii_type="aws-cdk-lib.aws_stepfunctions.ChoiceTransitionOptions",
3488
+ jsii_struct_bases=[],
3489
+ name_mapping={"comment": "comment"},
3490
+ )
3491
+ class ChoiceTransitionOptions:
3492
+ def __init__(self, *, comment: typing.Optional[builtins.str] = None) -> None:
3493
+ '''Options for Choice Transition.
3494
+
3495
+ :param comment: An optional description for the choice transition. Default: No comment
3496
+
3497
+ :exampleMetadata: infused
3498
+
3499
+ Example::
3500
+
3501
+ choice = sfn.Choice(self, "What color is it?",
3502
+ comment="color comment"
3503
+ )
3504
+ handle_blue_item = sfn.Pass(self, "HandleBlueItem")
3505
+ handle_other_item_color = sfn.Pass(self, "HanldeOtherItemColor")
3506
+ choice.when(sfn.Condition.string_equals("$.color", "BLUE"), handle_blue_item,
3507
+ comment="blue item comment"
3508
+ )
3509
+ choice.otherwise(handle_other_item_color)
3510
+ '''
3511
+ if __debug__:
3512
+ type_hints = typing.get_type_hints(_typecheckingstub__254c8670f15896e504e7f2c5398c9717ddc003fe66835e546b52b1693c004add)
3513
+ check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
3514
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3515
+ if comment is not None:
3516
+ self._values["comment"] = comment
3517
+
3518
+ @builtins.property
3519
+ def comment(self) -> typing.Optional[builtins.str]:
3520
+ '''An optional description for the choice transition.
3521
+
3522
+ :default: No comment
3523
+ '''
3524
+ result = self._values.get("comment")
3525
+ return typing.cast(typing.Optional[builtins.str], result)
3526
+
3527
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3528
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3529
+
3530
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3531
+ return not (rhs == self)
3532
+
3533
+ def __repr__(self) -> str:
3534
+ return "ChoiceTransitionOptions(%s)" % ", ".join(
3535
+ k + "=" + repr(v) for k, v in self._values.items()
3536
+ )
3537
+
3538
+
3472
3539
  class Condition(
3473
3540
  metaclass=jsii.JSIIAbstractClass,
3474
3541
  jsii_type="aws-cdk-lib.aws_stepfunctions.Condition",
@@ -7800,7 +7867,7 @@ class State(
7800
7867
 
7801
7868
  @jsii.member(jsii_name="addBranch")
7802
7869
  def _add_branch(self, branch: "StateGraph") -> None:
7803
- '''Add a paralle branch to this state.
7870
+ '''Add a parallel branch to this state.
7804
7871
 
7805
7872
  :param branch: -
7806
7873
  '''
@@ -7810,17 +7877,26 @@ class State(
7810
7877
  return typing.cast(None, jsii.invoke(self, "addBranch", [branch]))
7811
7878
 
7812
7879
  @jsii.member(jsii_name="addChoice")
7813
- def _add_choice(self, condition: Condition, next: "State") -> None:
7880
+ def _add_choice(
7881
+ self,
7882
+ condition: Condition,
7883
+ next: "State",
7884
+ *,
7885
+ comment: typing.Optional[builtins.str] = None,
7886
+ ) -> None:
7814
7887
  '''Add a choice branch to this state.
7815
7888
 
7816
7889
  :param condition: -
7817
7890
  :param next: -
7891
+ :param comment: An optional description for the choice transition. Default: No comment
7818
7892
  '''
7819
7893
  if __debug__:
7820
7894
  type_hints = typing.get_type_hints(_typecheckingstub__df2c90f3de37dcdaf38ae6a3e70460c7cdfd78a154847df351088cd8a3b22960)
7821
7895
  check_type(argname="argument condition", value=condition, expected_type=type_hints["condition"])
7822
7896
  check_type(argname="argument next", value=next, expected_type=type_hints["next"])
7823
- return typing.cast(None, jsii.invoke(self, "addChoice", [condition, next]))
7897
+ options = ChoiceTransitionOptions(comment=comment)
7898
+
7899
+ return typing.cast(None, jsii.invoke(self, "addChoice", [condition, next, options]))
7824
7900
 
7825
7901
  @jsii.member(jsii_name="addIterator")
7826
7902
  def _add_iterator(self, iteration: "StateGraph") -> None:
@@ -12113,17 +12189,26 @@ class Choice(
12113
12189
  return typing.cast(typing.Mapping[typing.Any, typing.Any], jsii.invoke(self, "toStateJson", []))
12114
12190
 
12115
12191
  @jsii.member(jsii_name="when")
12116
- def when(self, condition: Condition, next: IChainable) -> "Choice":
12192
+ def when(
12193
+ self,
12194
+ condition: Condition,
12195
+ next: IChainable,
12196
+ *,
12197
+ comment: typing.Optional[builtins.str] = None,
12198
+ ) -> "Choice":
12117
12199
  '''If the given condition matches, continue execution with the given state.
12118
12200
 
12119
12201
  :param condition: -
12120
12202
  :param next: -
12203
+ :param comment: An optional description for the choice transition. Default: No comment
12121
12204
  '''
12122
12205
  if __debug__:
12123
12206
  type_hints = typing.get_type_hints(_typecheckingstub__c5351e3ee5e1f4b5b58ec322e57749fdd65cdc8bb76443318ef63b4eedc5cb0b)
12124
12207
  check_type(argname="argument condition", value=condition, expected_type=type_hints["condition"])
12125
12208
  check_type(argname="argument next", value=next, expected_type=type_hints["next"])
12126
- return typing.cast("Choice", jsii.invoke(self, "when", [condition, next]))
12209
+ options = ChoiceTransitionOptions(comment=comment)
12210
+
12211
+ return typing.cast("Choice", jsii.invoke(self, "when", [condition, next, options]))
12127
12212
 
12128
12213
  @builtins.property
12129
12214
  @jsii.member(jsii_name="endStates")
@@ -12769,6 +12854,7 @@ __all__ = [
12769
12854
  "ChainDefinitionBody",
12770
12855
  "Choice",
12771
12856
  "ChoiceProps",
12857
+ "ChoiceTransitionOptions",
12772
12858
  "Condition",
12773
12859
  "Credentials",
12774
12860
  "CustomState",
@@ -13187,6 +13273,13 @@ def _typecheckingstub__a926bb3a79f5cf3706dd32093c49a75fa6045aeefbff3e1b4943eb654
13187
13273
  """Type checking stubs"""
13188
13274
  pass
13189
13275
 
13276
+ def _typecheckingstub__254c8670f15896e504e7f2c5398c9717ddc003fe66835e546b52b1693c004add(
13277
+ *,
13278
+ comment: typing.Optional[builtins.str] = None,
13279
+ ) -> None:
13280
+ """Type checking stubs"""
13281
+ pass
13282
+
13190
13283
  def _typecheckingstub__71eb0d2598d910c950378149f21b99ac6c39c861109d3ab21b603c6dd4a39f67(
13191
13284
  *conditions: Condition,
13192
13285
  ) -> None:
@@ -14008,6 +14101,8 @@ def _typecheckingstub__d9f89078424459b1c694d56e01d3910a25c8af32756935aaace102680
14008
14101
  def _typecheckingstub__df2c90f3de37dcdaf38ae6a3e70460c7cdfd78a154847df351088cd8a3b22960(
14009
14102
  condition: Condition,
14010
14103
  next: State,
14104
+ *,
14105
+ comment: typing.Optional[builtins.str] = None,
14011
14106
  ) -> None:
14012
14107
  """Type checking stubs"""
14013
14108
  pass
@@ -14595,6 +14690,8 @@ def _typecheckingstub__58e659f8b3dba6c37e918b57bca058880f69e9f4da0a230edb80f223a
14595
14690
  def _typecheckingstub__c5351e3ee5e1f4b5b58ec322e57749fdd65cdc8bb76443318ef63b4eedc5cb0b(
14596
14691
  condition: Condition,
14597
14692
  next: IChainable,
14693
+ *,
14694
+ comment: typing.Optional[builtins.str] = None,
14598
14695
  ) -> None:
14599
14696
  """Type checking stubs"""
14600
14697
  pass
@@ -1409,7 +1409,7 @@ class CfnConnector(
1409
1409
  ) -> None:
1410
1410
  '''A structure that contains the parameters for an SFTP connector object.
1411
1411
 
1412
- :param trusted_host_keys: The public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting. You can use the ``ssh-keyscan`` command against the SFTP server to retrieve the necessary key. The three standard SSH public key format elements are ``<key type>`` , ``<body base64>`` , and an optional ``<comment>`` , with spaces between each element. For the trusted host key, AWS Transfer Family accepts RSA and ECDSA keys. - For RSA keys, the key type is ``ssh-rsa`` . - For ECDSA keys, the key type is either ``ecdsa-sha2-nistp256`` , ``ecdsa-sha2-nistp384`` , or ``ecdsa-sha2-nistp521`` , depending on the size of the key you generated.
1412
+ :param trusted_host_keys: The public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting. You can use the ``ssh-keyscan`` command against the SFTP server to retrieve the necessary key. The three standard SSH public key format elements are ``<key type>`` , ``<body base64>`` , and an optional ``<comment>`` , with spaces between each element. Specify only the ``<key type>`` and ``<body base64>`` : do not enter the ``<comment>`` portion of the key. For the trusted host key, AWS Transfer Family accepts RSA and ECDSA keys. - For RSA keys, the key type is ``ssh-rsa`` . - For ECDSA keys, the key type is either ``ecdsa-sha2-nistp256`` , ``ecdsa-sha2-nistp384`` , or ``ecdsa-sha2-nistp521`` , depending on the size of the key you generated.
1413
1413
  :param user_secret_id: The identifier for the secret (in AWS Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret.
1414
1414
 
1415
1415
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-connector-sftpconfig.html
@@ -1442,7 +1442,7 @@ class CfnConnector(
1442
1442
 
1443
1443
  You can use the ``ssh-keyscan`` command against the SFTP server to retrieve the necessary key.
1444
1444
 
1445
- The three standard SSH public key format elements are ``<key type>`` , ``<body base64>`` , and an optional ``<comment>`` , with spaces between each element.
1445
+ The three standard SSH public key format elements are ``<key type>`` , ``<body base64>`` , and an optional ``<comment>`` , with spaces between each element. Specify only the ``<key type>`` and ``<body base64>`` : do not enter the ``<comment>`` portion of the key.
1446
1446
 
1447
1447
  For the trusted host key, AWS Transfer Family accepts RSA and ECDSA keys.
1448
1448