aws-cdk-lib 2.158.0__py3-none-any.whl → 2.159.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 (62) hide show
  1. aws_cdk/__init__.py +36 -19
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.158.0.jsii.tgz → aws-cdk-lib@2.159.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +22 -8
  5. aws_cdk/aws_apigatewayv2/__init__.py +30 -0
  6. aws_cdk/aws_appconfig/__init__.py +3 -3
  7. aws_cdk/aws_applicationinsights/__init__.py +544 -4
  8. aws_cdk/aws_applicationsignals/__init__.py +170 -142
  9. aws_cdk/aws_athena/__init__.py +15 -15
  10. aws_cdk/aws_auditmanager/__init__.py +5 -5
  11. aws_cdk/aws_bedrock/__init__.py +7 -7
  12. aws_cdk/aws_codebuild/__init__.py +39 -18
  13. aws_cdk/aws_codeconnections/__init__.py +1 -1
  14. aws_cdk/aws_cognito/__init__.py +390 -203
  15. aws_cdk/aws_connect/__init__.py +1679 -152
  16. aws_cdk/aws_datazone/__init__.py +665 -40
  17. aws_cdk/aws_docdb/__init__.py +6 -1
  18. aws_cdk/aws_dynamodb/__init__.py +5 -5
  19. aws_cdk/aws_ec2/__init__.py +121 -36
  20. aws_cdk/aws_ecr/__init__.py +14 -6
  21. aws_cdk/aws_ecs/__init__.py +20 -20
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +167 -20
  23. aws_cdk/aws_emr/__init__.py +8 -8
  24. aws_cdk/aws_events/__init__.py +19 -17
  25. aws_cdk/aws_events_targets/__init__.py +165 -85
  26. aws_cdk/aws_fms/__init__.py +59 -0
  27. aws_cdk/aws_fsx/__init__.py +3 -3
  28. aws_cdk/aws_gamelift/__init__.py +40 -52
  29. aws_cdk/aws_globalaccelerator/__init__.py +22 -29
  30. aws_cdk/aws_iam/__init__.py +22 -20
  31. aws_cdk/aws_iotfleetwise/__init__.py +419 -0
  32. aws_cdk/aws_iotsitewise/__init__.py +90 -1
  33. aws_cdk/aws_iotwireless/__init__.py +205 -0
  34. aws_cdk/aws_lambda/__init__.py +129 -16
  35. aws_cdk/aws_lex/__init__.py +15 -1
  36. aws_cdk/aws_logs/__init__.py +1 -1
  37. aws_cdk/aws_mediaconnect/__init__.py +111 -0
  38. aws_cdk/aws_medialive/__init__.py +7988 -3262
  39. aws_cdk/aws_msk/__init__.py +287 -479
  40. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  41. aws_cdk/aws_pcaconnectorscep/__init__.py +69 -30
  42. aws_cdk/aws_pipes/__init__.py +49 -0
  43. aws_cdk/aws_qbusiness/__init__.py +11 -14
  44. aws_cdk/aws_quicksight/__init__.py +638 -99
  45. aws_cdk/aws_rds/__init__.py +38 -27
  46. aws_cdk/aws_s3/__init__.py +215 -33
  47. aws_cdk/aws_s3objectlambda/__init__.py +2 -2
  48. aws_cdk/aws_sagemaker/__init__.py +872 -58
  49. aws_cdk/aws_secretsmanager/__init__.py +22 -8
  50. aws_cdk/aws_securityhub/__init__.py +261 -19
  51. aws_cdk/aws_securitylake/__init__.py +327 -7
  52. aws_cdk/aws_servicediscovery/__init__.py +5 -5
  53. aws_cdk/aws_sns/__init__.py +0 -8
  54. aws_cdk/aws_ssm/__init__.py +20 -12
  55. aws_cdk/aws_stepfunctions_tasks/__init__.py +36 -0
  56. aws_cdk/cx_api/__init__.py +19 -0
  57. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/METADATA +1 -1
  58. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/RECORD +62 -62
  59. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.0.dist-info}/top_level.txt +0 -0
@@ -3036,7 +3036,7 @@ class CfnMaintenanceWindowTask(
3036
3036
  :param max_concurrency: The maximum number of targets this task can be run for, in parallel. .. epigraph:: Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a `targetless task <https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html>`_ You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of ``1`` . This value doesn't affect the running of your task.
3037
3037
  :param max_errors: The maximum number of errors allowed before this task stops being scheduled. .. epigraph:: Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a `targetless task <https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html>`_ You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of ``1`` . This value doesn't affect the running of your task.
3038
3038
  :param name: The task name.
3039
- :param service_role_arn: The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` . However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up maintenance windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
3039
+ :param service_role_arn: The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` . However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up Maintenance Windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
3040
3040
  :param targets: The targets, either instances or window target IDs. - Specify instances using ``Key=InstanceIds,Values= *instanceid1* , *instanceid2*`` . - Specify window target IDs using ``Key=WindowTargetIds,Values= *window-target-id-1* , *window-target-id-2*`` .
3041
3041
  :param task_invocation_parameters: The parameters to pass to the task when it runs. Populate only the fields that match the task type. All other fields should be empty. .. epigraph:: When you update a maintenance window task that has options specified in ``TaskInvocationParameters`` , you must provide again all the ``TaskInvocationParameters`` values that you want to retain. The values you do not specify again are removed. For example, suppose that when you registered a Run Command task, you specified ``TaskInvocationParameters`` values for ``Comment`` , ``NotificationConfig`` , and ``OutputS3BucketName`` . If you update the maintenance window task and specify only a different ``OutputS3BucketName`` value, the values for ``Comment`` and ``NotificationConfig`` are removed.
3042
3042
  :param task_parameters: The parameters to pass to the task when it runs. .. epigraph:: ``TaskParameters`` has been deprecated. To specify parameters to pass to a task when it runs, instead use the ``Parameters`` option in the ``TaskInvocationParameters`` structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see `MaintenanceWindowTaskInvocationParameters <https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_MaintenanceWindowTaskInvocationParameters.html>`_ .
@@ -3710,7 +3710,7 @@ class CfnMaintenanceWindowTask(
3710
3710
  :param output_s3_bucket_name: The name of the Amazon Simple Storage Service (Amazon S3) bucket.
3711
3711
  :param output_s3_key_prefix: The S3 bucket subfolder.
3712
3712
  :param parameters: The parameters for the ``RUN_COMMAND`` task execution. The supported parameters are the same as those for the ``SendCommand`` API call. For more information, see `SendCommand <https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_SendCommand.html>`_ in the *AWS Systems Manager API Reference* .
3713
- :param service_role_arn: The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` . However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up maintenance windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
3713
+ :param service_role_arn: The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` . However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up Maintenance Windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
3714
3714
  :param timeout_seconds: If this time is reached and the command hasn't already started running, it doesn't run.
3715
3715
 
3716
3716
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html
@@ -3889,7 +3889,7 @@ class CfnMaintenanceWindowTask(
3889
3889
 
3890
3890
  If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` .
3891
3891
 
3892
- However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up maintenance windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
3892
+ However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up Maintenance Windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
3893
3893
 
3894
3894
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-servicerolearn
3895
3895
  '''
@@ -4371,7 +4371,7 @@ class CfnMaintenanceWindowTaskProps:
4371
4371
  :param max_concurrency: The maximum number of targets this task can be run for, in parallel. .. epigraph:: Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a `targetless task <https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html>`_ You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of ``1`` . This value doesn't affect the running of your task.
4372
4372
  :param max_errors: The maximum number of errors allowed before this task stops being scheduled. .. epigraph:: Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a `targetless task <https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html>`_ You must provide a value in all other cases. For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of ``1`` . This value doesn't affect the running of your task.
4373
4373
  :param name: The task name.
4374
- :param service_role_arn: The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` . However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up maintenance windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
4374
+ :param service_role_arn: The Amazon Resource Name (ARN) of the IAM service role for AWS Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` . However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up Maintenance Windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
4375
4375
  :param targets: The targets, either instances or window target IDs. - Specify instances using ``Key=InstanceIds,Values= *instanceid1* , *instanceid2*`` . - Specify window target IDs using ``Key=WindowTargetIds,Values= *window-target-id-1* , *window-target-id-2*`` .
4376
4376
  :param task_invocation_parameters: The parameters to pass to the task when it runs. Populate only the fields that match the task type. All other fields should be empty. .. epigraph:: When you update a maintenance window task that has options specified in ``TaskInvocationParameters`` , you must provide again all the ``TaskInvocationParameters`` values that you want to retain. The values you do not specify again are removed. For example, suppose that when you registered a Run Command task, you specified ``TaskInvocationParameters`` values for ``Comment`` , ``NotificationConfig`` , and ``OutputS3BucketName`` . If you update the maintenance window task and specify only a different ``OutputS3BucketName`` value, the values for ``Comment`` and ``NotificationConfig`` are removed.
4377
4377
  :param task_parameters: The parameters to pass to the task when it runs. .. epigraph:: ``TaskParameters`` has been deprecated. To specify parameters to pass to a task when it runs, instead use the ``Parameters`` option in the ``TaskInvocationParameters`` structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see `MaintenanceWindowTaskInvocationParameters <https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_MaintenanceWindowTaskInvocationParameters.html>`_ .
@@ -4623,7 +4623,7 @@ class CfnMaintenanceWindowTaskProps:
4623
4623
 
4624
4624
  If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run ``RegisterTaskWithMaintenanceWindow`` .
4625
4625
 
4626
- However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up maintenance windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
4626
+ However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see `Setting up Maintenance Windows <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html>`_ in the in the *AWS Systems Manager User Guide* .
4627
4627
 
4628
4628
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-servicerolearn
4629
4629
  '''
@@ -5255,7 +5255,7 @@ class CfnPatchBaseline(
5255
5255
  :param id: Construct identifier for this resource (unique in its scope).
5256
5256
  :param name: The name of the patch baseline.
5257
5257
  :param approval_rules: A set of rules used to include patches in the baseline.
5258
- :param approved_patches: A list of explicitly approved patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see `About package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
5258
+ :param approved_patches: A list of explicitly approved patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see `Package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
5259
5259
  :param approved_patches_compliance_level: Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation. The default value is ``UNSPECIFIED`` . Default: - "UNSPECIFIED"
5260
5260
  :param approved_patches_enable_non_security: Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is ``false`` . Applies to Linux managed nodes only. Default: - false
5261
5261
  :param default_baseline: Set the baseline as default baseline. Only registering to default patch baseline is allowed. Default: - false
@@ -5263,7 +5263,7 @@ class CfnPatchBaseline(
5263
5263
  :param global_filters: A set of global filters used to include patches in the baseline.
5264
5264
  :param operating_system: Defines the operating system the patch baseline applies to. The default value is ``WINDOWS`` . Default: - "WINDOWS"
5265
5265
  :param patch_groups: The name of the patch group to be registered with the patch baseline.
5266
- :param rejected_patches: A list of explicitly rejected patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see `About package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
5266
+ :param rejected_patches: A list of explicitly rejected patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see `Package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
5267
5267
  :param rejected_patches_action: The action for Patch Manager to take on patches included in the ``RejectedPackages`` list. - **ALLOW_AS_DEPENDENCY** - *Linux and macOS* : A package in the rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as ``INSTALLED_OTHER`` . This is the default action if no option is specified. *Windows Server* : Windows Server doesn't support the concept of package dependencies. If a package in the rejected patches list and already installed on the node, its status is reported as ``INSTALLED_OTHER`` . Any package not already installed on the node is skipped. This is the default action if no option is specified. - **BLOCK** - *All OSs* : Packages in the rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as ``INSTALLED_REJECTED`` . Default: - "ALLOW_AS_DEPENDENCY"
5268
5268
  :param sources: Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
5269
5269
  :param tags: Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a patch baseline to identify the severity level of patches it specifies and the operating system family it applies to.
@@ -6071,7 +6071,7 @@ class CfnPatchBaselineProps:
6071
6071
 
6072
6072
  :param name: The name of the patch baseline.
6073
6073
  :param approval_rules: A set of rules used to include patches in the baseline.
6074
- :param approved_patches: A list of explicitly approved patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see `About package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
6074
+ :param approved_patches: A list of explicitly approved patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see `Package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
6075
6075
  :param approved_patches_compliance_level: Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation. The default value is ``UNSPECIFIED`` . Default: - "UNSPECIFIED"
6076
6076
  :param approved_patches_enable_non_security: Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is ``false`` . Applies to Linux managed nodes only. Default: - false
6077
6077
  :param default_baseline: Set the baseline as default baseline. Only registering to default patch baseline is allowed. Default: - false
@@ -6079,7 +6079,7 @@ class CfnPatchBaselineProps:
6079
6079
  :param global_filters: A set of global filters used to include patches in the baseline.
6080
6080
  :param operating_system: Defines the operating system the patch baseline applies to. The default value is ``WINDOWS`` . Default: - "WINDOWS"
6081
6081
  :param patch_groups: The name of the patch group to be registered with the patch baseline.
6082
- :param rejected_patches: A list of explicitly rejected patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see `About package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
6082
+ :param rejected_patches: A list of explicitly rejected patches for the baseline. For information about accepted formats for lists of approved patches and rejected patches, see `Package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
6083
6083
  :param rejected_patches_action: The action for Patch Manager to take on patches included in the ``RejectedPackages`` list. - **ALLOW_AS_DEPENDENCY** - *Linux and macOS* : A package in the rejected patches list is installed only if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is reported as ``INSTALLED_OTHER`` . This is the default action if no option is specified. *Windows Server* : Windows Server doesn't support the concept of package dependencies. If a package in the rejected patches list and already installed on the node, its status is reported as ``INSTALLED_OTHER`` . Any package not already installed on the node is skipped. This is the default action if no option is specified. - **BLOCK** - *All OSs* : Packages in the rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as ``INSTALLED_REJECTED`` . Default: - "ALLOW_AS_DEPENDENCY"
6084
6084
  :param sources: Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
6085
6085
  :param tags: Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a patch baseline to identify the severity level of patches it specifies and the operating system family it applies to.
@@ -6208,7 +6208,7 @@ class CfnPatchBaselineProps:
6208
6208
  def approved_patches(self) -> typing.Optional[typing.List[builtins.str]]:
6209
6209
  '''A list of explicitly approved patches for the baseline.
6210
6210
 
6211
- For information about accepted formats for lists of approved patches and rejected patches, see `About package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
6211
+ For information about accepted formats for lists of approved patches and rejected patches, see `Package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
6212
6212
 
6213
6213
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-approvedpatches
6214
6214
  '''
@@ -6304,7 +6304,7 @@ class CfnPatchBaselineProps:
6304
6304
  def rejected_patches(self) -> typing.Optional[typing.List[builtins.str]]:
6305
6305
  '''A list of explicitly rejected patches for the baseline.
6306
6306
 
6307
- For information about accepted formats for lists of approved patches and rejected patches, see `About package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
6307
+ For information about accepted formats for lists of approved patches and rejected patches, see `Package name formats for approved and rejected patch lists <https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html>`_ in the *AWS Systems Manager User Guide* .
6308
6308
 
6309
6309
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-rejectedpatches
6310
6310
  '''
@@ -8817,20 +8817,27 @@ class StringParameter(
8817
8817
  cls,
8818
8818
  scope: _constructs_77d1e7e8.Construct,
8819
8819
  parameter_name: builtins.str,
8820
+ default_value: typing.Optional[builtins.str] = None,
8820
8821
  ) -> builtins.str:
8821
8822
  '''Reads the value of an SSM parameter during synthesis through an environmental context provider.
8822
8823
 
8823
8824
  Requires that the stack this scope is defined in will have explicit
8824
8825
  account/region information. Otherwise, it will fail during synthesis.
8825
8826
 
8827
+ If defaultValue is provided, it will be used as the dummyValue
8828
+ and the ContextProvider will be told NOT to raise an error on synthesis
8829
+ if the SSM Parameter is not found in the account at synth time.
8830
+
8826
8831
  :param scope: -
8827
8832
  :param parameter_name: -
8833
+ :param default_value: -
8828
8834
  '''
8829
8835
  if __debug__:
8830
8836
  type_hints = typing.get_type_hints(_typecheckingstub__352ba5506c7762dcb469028a7b0515dc3daed2b43c5a8ff339ed16372f650250)
8831
8837
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
8832
8838
  check_type(argname="argument parameter_name", value=parameter_name, expected_type=type_hints["parameter_name"])
8833
- return typing.cast(builtins.str, jsii.sinvoke(cls, "valueFromLookup", [scope, parameter_name]))
8839
+ check_type(argname="argument default_value", value=default_value, expected_type=type_hints["default_value"])
8840
+ return typing.cast(builtins.str, jsii.sinvoke(cls, "valueFromLookup", [scope, parameter_name, default_value]))
8834
8841
 
8835
8842
  @jsii.member(jsii_name="grantRead")
8836
8843
  def grant_read(self, grantee: _IGrantable_71c4f5de) -> _Grant_a7ae64f8:
@@ -10692,6 +10699,7 @@ def _typecheckingstub__f4ec30255f3ac830ba0695e062a34e2012e0542d68a61c236b791945a
10692
10699
  def _typecheckingstub__352ba5506c7762dcb469028a7b0515dc3daed2b43c5a8ff339ed16372f650250(
10693
10700
  scope: _constructs_77d1e7e8.Construct,
10694
10701
  parameter_name: builtins.str,
10702
+ default_value: typing.Optional[builtins.str] = None,
10695
10703
  ) -> None:
10696
10704
  """Type checking stubs"""
10697
10705
  pass
@@ -900,6 +900,18 @@ tasks.EmrCreateCluster(self, "Create Cluster",
900
900
  )
901
901
  ```
902
902
 
903
+ If you want to use an [auto-termination policy](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-auto-termination-policy.html),
904
+ you can specify the `autoTerminationPolicyIdleTimeout` property.
905
+ Specifies the amount of idle time after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).
906
+
907
+ ```python
908
+ tasks.EmrCreateCluster(self, "Create Cluster",
909
+ instances=tasks.EmrCreateCluster.InstancesConfigProperty(),
910
+ name="ClusterName",
911
+ auto_termination_policy_idle_timeout=Duration.seconds(100)
912
+ )
913
+ ```
914
+
903
915
  ### Termination Protection
904
916
 
905
917
  Locks a cluster (job flow) so the EC2 instances in the cluster cannot be
@@ -16198,6 +16210,7 @@ class EmrCreateCluster(
16198
16210
  additional_info: typing.Optional[builtins.str] = None,
16199
16211
  applications: typing.Optional[typing.Sequence[typing.Union["EmrCreateCluster.ApplicationConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
16200
16212
  auto_scaling_role: typing.Optional[_IRole_235f5d8e] = None,
16213
+ auto_termination_policy_idle_timeout: typing.Optional[_Duration_4839e8c3] = None,
16201
16214
  bootstrap_actions: typing.Optional[typing.Sequence[typing.Union["EmrCreateCluster.BootstrapActionConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
16202
16215
  cluster_role: typing.Optional[_IRole_235f5d8e] = None,
16203
16216
  configurations: typing.Optional[typing.Sequence[typing.Union["EmrCreateCluster.ConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -16233,6 +16246,7 @@ class EmrCreateCluster(
16233
16246
  :param additional_info: A JSON string for selecting additional features. Default: - None
16234
16247
  :param applications: A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster. Default: - EMR selected default
16235
16248
  :param auto_scaling_role: An IAM role for automatic scaling policies. Default: - A role will be created.
16249
+ :param auto_termination_policy_idle_timeout: The amount of idle time after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days). Default: - No timeout
16236
16250
  :param bootstrap_actions: A list of bootstrap actions to run before Hadoop starts on the cluster nodes. Default: - None
16237
16251
  :param cluster_role: Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. This attribute has been renamed from jobFlowRole to clusterRole to align with other ERM/StepFunction integration parameters. Default: - - A Role will be created
16238
16252
  :param configurations: The list of configurations supplied for the EMR cluster you are creating. Default: - None
@@ -16270,6 +16284,7 @@ class EmrCreateCluster(
16270
16284
  additional_info=additional_info,
16271
16285
  applications=applications,
16272
16286
  auto_scaling_role=auto_scaling_role,
16287
+ auto_termination_policy_idle_timeout=auto_termination_policy_idle_timeout,
16273
16288
  bootstrap_actions=bootstrap_actions,
16274
16289
  cluster_role=cluster_role,
16275
16290
  configurations=configurations,
@@ -19725,6 +19740,7 @@ class EmrCreateCluster(
19725
19740
  "additional_info": "additionalInfo",
19726
19741
  "applications": "applications",
19727
19742
  "auto_scaling_role": "autoScalingRole",
19743
+ "auto_termination_policy_idle_timeout": "autoTerminationPolicyIdleTimeout",
19728
19744
  "bootstrap_actions": "bootstrapActions",
19729
19745
  "cluster_role": "clusterRole",
19730
19746
  "configurations": "configurations",
@@ -19762,6 +19778,7 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
19762
19778
  additional_info: typing.Optional[builtins.str] = None,
19763
19779
  applications: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ApplicationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19764
19780
  auto_scaling_role: typing.Optional[_IRole_235f5d8e] = None,
19781
+ auto_termination_policy_idle_timeout: typing.Optional[_Duration_4839e8c3] = None,
19765
19782
  bootstrap_actions: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.BootstrapActionConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
19766
19783
  cluster_role: typing.Optional[_IRole_235f5d8e] = None,
19767
19784
  configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -19798,6 +19815,7 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
19798
19815
  :param additional_info: A JSON string for selecting additional features. Default: - None
19799
19816
  :param applications: A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster. Default: - EMR selected default
19800
19817
  :param auto_scaling_role: An IAM role for automatic scaling policies. Default: - A role will be created.
19818
+ :param auto_termination_policy_idle_timeout: The amount of idle time after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days). Default: - No timeout
19801
19819
  :param bootstrap_actions: A list of bootstrap actions to run before Hadoop starts on the cluster nodes. Default: - None
19802
19820
  :param cluster_role: Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. This attribute has been renamed from jobFlowRole to clusterRole to align with other ERM/StepFunction integration parameters. Default: - - A Role will be created
19803
19821
  :param configurations: The list of configurations supplied for the EMR cluster you are creating. Default: - None
@@ -19873,6 +19891,7 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
19873
19891
  check_type(argname="argument additional_info", value=additional_info, expected_type=type_hints["additional_info"])
19874
19892
  check_type(argname="argument applications", value=applications, expected_type=type_hints["applications"])
19875
19893
  check_type(argname="argument auto_scaling_role", value=auto_scaling_role, expected_type=type_hints["auto_scaling_role"])
19894
+ check_type(argname="argument auto_termination_policy_idle_timeout", value=auto_termination_policy_idle_timeout, expected_type=type_hints["auto_termination_policy_idle_timeout"])
19876
19895
  check_type(argname="argument bootstrap_actions", value=bootstrap_actions, expected_type=type_hints["bootstrap_actions"])
19877
19896
  check_type(argname="argument cluster_role", value=cluster_role, expected_type=type_hints["cluster_role"])
19878
19897
  check_type(argname="argument configurations", value=configurations, expected_type=type_hints["configurations"])
@@ -19921,6 +19940,8 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
19921
19940
  self._values["applications"] = applications
19922
19941
  if auto_scaling_role is not None:
19923
19942
  self._values["auto_scaling_role"] = auto_scaling_role
19943
+ if auto_termination_policy_idle_timeout is not None:
19944
+ self._values["auto_termination_policy_idle_timeout"] = auto_termination_policy_idle_timeout
19924
19945
  if bootstrap_actions is not None:
19925
19946
  self._values["bootstrap_actions"] = bootstrap_actions
19926
19947
  if cluster_role is not None:
@@ -20148,6 +20169,19 @@ class EmrCreateClusterProps(_TaskStateBaseProps_3a62b6d0):
20148
20169
  result = self._values.get("auto_scaling_role")
20149
20170
  return typing.cast(typing.Optional[_IRole_235f5d8e], result)
20150
20171
 
20172
+ @builtins.property
20173
+ def auto_termination_policy_idle_timeout(
20174
+ self,
20175
+ ) -> typing.Optional[_Duration_4839e8c3]:
20176
+ '''The amount of idle time after which the cluster automatically terminates.
20177
+
20178
+ You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).
20179
+
20180
+ :default: - No timeout
20181
+ '''
20182
+ result = self._values.get("auto_termination_policy_idle_timeout")
20183
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
20184
+
20151
20185
  @builtins.property
20152
20186
  def bootstrap_actions(
20153
20187
  self,
@@ -36036,6 +36070,7 @@ def _typecheckingstub__cea19fa2105afe952446f5bd0f605c16f7727beccef02df2d7846fc03
36036
36070
  additional_info: typing.Optional[builtins.str] = None,
36037
36071
  applications: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ApplicationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
36038
36072
  auto_scaling_role: typing.Optional[_IRole_235f5d8e] = None,
36073
+ auto_termination_policy_idle_timeout: typing.Optional[_Duration_4839e8c3] = None,
36039
36074
  bootstrap_actions: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.BootstrapActionConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
36040
36075
  cluster_role: typing.Optional[_IRole_235f5d8e] = None,
36041
36076
  configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -36324,6 +36359,7 @@ def _typecheckingstub__47264d4efff2249070476b1432ca851665096bb89026c6d6564ff3c77
36324
36359
  additional_info: typing.Optional[builtins.str] = None,
36325
36360
  applications: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ApplicationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
36326
36361
  auto_scaling_role: typing.Optional[_IRole_235f5d8e] = None,
36362
+ auto_termination_policy_idle_timeout: typing.Optional[_Duration_4839e8c3] = None,
36327
36363
  bootstrap_actions: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.BootstrapActionConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
36328
36364
  cluster_role: typing.Optional[_IRole_235f5d8e] = None,
36329
36365
  configurations: typing.Optional[typing.Sequence[typing.Union[EmrCreateCluster.ConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -393,6 +393,23 @@ When this feature flag is enabled, use newly introduced props `s3InputUri` and `
393
393
  }
394
394
  }
395
395
  ```
396
+
397
+ * `@aws-cdk/aws-ecs:reduceEc2FargateCloudWatchPermissions`
398
+
399
+ Currently, we will automatically add a number of cloudwatch permissions to the task role when no cloudwatch log group is
400
+ specified as logConfiguration and it will grant 'Resources': ['*'] to the task role.
401
+
402
+ When this feature flag is enabled, we will only grant the necessary permissions when users specify cloudwatch log group.
403
+
404
+ *cdk.json*
405
+
406
+ ```json
407
+ {
408
+ "context": {
409
+ "@aws-cdk/aws-ecs:reduceEc2FargateCloudWatchPermissions": true
410
+ }
411
+ }
412
+ ```
396
413
  '''
397
414
  from pkgutil import extend_path
398
415
  __path__ = extend_path(__path__, __name__)
@@ -2071,6 +2088,8 @@ class LoadBalancerIpAddressType(enum.Enum):
2071
2088
  '''IPV4 ip address.'''
2072
2089
  DUAL_STACK = "DUAL_STACK"
2073
2090
  '''Dual stack address.'''
2091
+ DUAL_STACK_WITHOUT_PUBLIC_IPV4 = "DUAL_STACK_WITHOUT_PUBLIC_IPV4"
2092
+ '''IPv6 only public addresses, with private IPv4 and IPv6 addresses.'''
2074
2093
 
2075
2094
 
2076
2095
  @jsii.data_type(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk-lib
3
- Version: 2.158.0
3
+ Version: 2.159.0
4
4
  Summary: Version 2 of the AWS Cloud Development Kit library
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services