aws-cdk-lib 2.187.0__py3-none-any.whl → 2.189.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.
- aws_cdk/__init__.py +24 -3
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.187.0.jsii.tgz → aws-cdk-lib@2.189.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +21 -9
- aws_cdk/aws_apigateway/__init__.py +27 -19
- aws_cdk/aws_apigatewayv2/__init__.py +170 -0
- aws_cdk/aws_appconfig/__init__.py +30 -14
- aws_cdk/aws_arczonalshift/__init__.py +4 -4
- aws_cdk/aws_batch/__init__.py +2 -0
- aws_cdk/aws_bedrock/__init__.py +629 -32
- aws_cdk/aws_budgets/__init__.py +8 -8
- aws_cdk/aws_cassandra/__init__.py +3 -1
- aws_cdk/aws_ce/__init__.py +2 -2
- aws_cdk/aws_cloudformation/__init__.py +3 -3
- aws_cdk/aws_codebuild/__init__.py +23 -1
- aws_cdk/aws_codepipeline/__init__.py +47 -32
- aws_cdk/aws_codepipeline_actions/__init__.py +2786 -1042
- aws_cdk/aws_codestarnotifications/__init__.py +16 -16
- aws_cdk/aws_cognito/__init__.py +8 -2
- aws_cdk/aws_dsql/__init__.py +366 -0
- aws_cdk/aws_dynamodb/__init__.py +4 -4
- aws_cdk/aws_ec2/__init__.py +2130 -237
- aws_cdk/aws_eks/__init__.py +112 -10
- aws_cdk/aws_events_targets/__init__.py +136 -0
- aws_cdk/aws_fsx/__init__.py +2 -8
- aws_cdk/aws_gamelift/__init__.py +140 -14
- aws_cdk/aws_groundstation/__init__.py +4 -2
- aws_cdk/aws_iam/__init__.py +6 -4
- aws_cdk/aws_identitystore/__init__.py +15 -13
- aws_cdk/aws_kinesisfirehose/__init__.py +38 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +22 -22
- aws_cdk/aws_lex/__init__.py +21 -17
- aws_cdk/aws_logs/__init__.py +18 -0
- aws_cdk/aws_logs_destinations/__init__.py +146 -0
- aws_cdk/aws_notifications/__init__.py +4 -4
- aws_cdk/aws_omics/__init__.py +9 -1
- aws_cdk/aws_opensearchserverless/__init__.py +31 -23
- aws_cdk/aws_organizations/__init__.py +1 -1
- aws_cdk/aws_paymentcryptography/__init__.py +6 -2
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -2
- aws_cdk/aws_quicksight/__init__.py +35 -22
- aws_cdk/aws_rds/__init__.py +84 -0
- aws_cdk/aws_redshiftserverless/__init__.py +166 -0
- aws_cdk/aws_route53/__init__.py +3 -3
- aws_cdk/aws_route53recoverycontrol/__init__.py +4 -6
- aws_cdk/aws_rum/__init__.py +13 -10
- aws_cdk/aws_s3/__init__.py +3 -6
- aws_cdk/aws_sagemaker/__init__.py +41 -0
- aws_cdk/aws_ssmincidents/__init__.py +10 -10
- aws_cdk/aws_systemsmanagersap/__init__.py +17 -7
- aws_cdk/aws_transfer/__init__.py +19 -10
- aws_cdk/aws_wafv2/__init__.py +80 -35
- aws_cdk/cx_api/__init__.py +23 -2
- aws_cdk/pipelines/__init__.py +71 -1
- {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/RECORD +60 -59
- {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/top_level.txt +0 -0
|
@@ -1415,7 +1415,7 @@ class CfnConfigurationProfile(
|
|
|
1415
1415
|
:param application_id: The application ID.
|
|
1416
1416
|
:param location_uri: A URI to locate the configuration. You can specify the following:. - For the AWS AppConfig hosted configuration store and for feature flags, specify ``hosted`` . - For an AWS Systems Manager Parameter Store parameter, specify either the parameter name in the format ``ssm-parameter://<parameter name>`` or the ARN. - For an AWS CodePipeline pipeline, specify the URI in the following format: ``codepipeline`` ://. - For an AWS Secrets Manager secret, specify the URI in the following format: ``secretsmanager`` ://. - For an Amazon S3 object, specify the URI in the following format: ``s3://<bucket>/<objectKey>`` . Here is an example: ``s3://amzn-s3-demo-bucket/my-app/us-east-1/my-config.json`` - For an SSM document, specify either the document name in the format ``ssm-document://<document name>`` or the Amazon Resource Name (ARN).
|
|
1417
1417
|
:param name: A name for the configuration profile.
|
|
1418
|
-
:param deletion_protection_check:
|
|
1418
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either `GetLatestConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html>`_ or `GetConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_GetConfiguration.html>`_ for the configuration profile during the specified interval. This parameter supports the following values: - ``BYPASS`` : Instructs AWS AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. - ``APPLY`` : Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. ``APPLY`` also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. - ``ACCOUNT_DEFAULT`` : The default setting, which instructs AWS AppConfig to implement the deletion protection value specified in the ``UpdateAccountSettings`` API.
|
|
1419
1419
|
:param description: A description of the configuration profile.
|
|
1420
1420
|
:param kms_key_identifier: The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
|
|
1421
1421
|
:param retrieval_role_arn: The ARN of an IAM role with permission to access the configuration at the specified ``LocationUri`` . .. epigraph:: A retrieval role ARN is not required for configurations stored in AWS CodePipeline or the AWS AppConfig hosted configuration store. It is required for all other sources that store your configuration.
|
|
@@ -1548,7 +1548,7 @@ class CfnConfigurationProfile(
|
|
|
1548
1548
|
@builtins.property
|
|
1549
1549
|
@jsii.member(jsii_name="deletionProtectionCheck")
|
|
1550
1550
|
def deletion_protection_check(self) -> typing.Optional[builtins.str]:
|
|
1551
|
-
'''
|
|
1551
|
+
'''A parameter to configure deletion protection.'''
|
|
1552
1552
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "deletionProtectionCheck"))
|
|
1553
1553
|
|
|
1554
1554
|
@deletion_protection_check.setter
|
|
@@ -1750,7 +1750,7 @@ class CfnConfigurationProfileProps:
|
|
|
1750
1750
|
:param application_id: The application ID.
|
|
1751
1751
|
:param location_uri: A URI to locate the configuration. You can specify the following:. - For the AWS AppConfig hosted configuration store and for feature flags, specify ``hosted`` . - For an AWS Systems Manager Parameter Store parameter, specify either the parameter name in the format ``ssm-parameter://<parameter name>`` or the ARN. - For an AWS CodePipeline pipeline, specify the URI in the following format: ``codepipeline`` ://. - For an AWS Secrets Manager secret, specify the URI in the following format: ``secretsmanager`` ://. - For an Amazon S3 object, specify the URI in the following format: ``s3://<bucket>/<objectKey>`` . Here is an example: ``s3://amzn-s3-demo-bucket/my-app/us-east-1/my-config.json`` - For an SSM document, specify either the document name in the format ``ssm-document://<document name>`` or the Amazon Resource Name (ARN).
|
|
1752
1752
|
:param name: A name for the configuration profile.
|
|
1753
|
-
:param deletion_protection_check:
|
|
1753
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile if your application has called either `GetLatestConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html>`_ or `GetConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_GetConfiguration.html>`_ for the configuration profile during the specified interval. This parameter supports the following values: - ``BYPASS`` : Instructs AWS AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. - ``APPLY`` : Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. ``APPLY`` also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. - ``ACCOUNT_DEFAULT`` : The default setting, which instructs AWS AppConfig to implement the deletion protection value specified in the ``UpdateAccountSettings`` API.
|
|
1754
1754
|
:param description: A description of the configuration profile.
|
|
1755
1755
|
:param kms_key_identifier: The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
|
|
1756
1756
|
:param retrieval_role_arn: The ARN of an IAM role with permission to access the configuration at the specified ``LocationUri`` . .. epigraph:: A retrieval role ARN is not required for configurations stored in AWS CodePipeline or the AWS AppConfig hosted configuration store. It is required for all other sources that store your configuration.
|
|
@@ -1859,9 +1859,15 @@ class CfnConfigurationProfileProps:
|
|
|
1859
1859
|
|
|
1860
1860
|
@builtins.property
|
|
1861
1861
|
def deletion_protection_check(self) -> typing.Optional[builtins.str]:
|
|
1862
|
-
'''
|
|
1862
|
+
'''A parameter to configure deletion protection.
|
|
1863
1863
|
|
|
1864
|
-
|
|
1864
|
+
Deletion protection prevents a user from deleting a configuration profile if your application has called either `GetLatestConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html>`_ or `GetConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_GetConfiguration.html>`_ for the configuration profile during the specified interval.
|
|
1865
|
+
|
|
1866
|
+
This parameter supports the following values:
|
|
1867
|
+
|
|
1868
|
+
- ``BYPASS`` : Instructs AWS AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it.
|
|
1869
|
+
- ``APPLY`` : Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. ``APPLY`` also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks.
|
|
1870
|
+
- ``ACCOUNT_DEFAULT`` : The default setting, which instructs AWS AppConfig to implement the deletion protection value specified in the ``UpdateAccountSettings`` API.
|
|
1865
1871
|
|
|
1866
1872
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-deletionprotectioncheck
|
|
1867
1873
|
'''
|
|
@@ -3017,7 +3023,7 @@ class CfnEnvironment(
|
|
|
3017
3023
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
3018
3024
|
:param application_id: The application ID.
|
|
3019
3025
|
:param name: A name for the environment.
|
|
3020
|
-
:param deletion_protection_check:
|
|
3026
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting an environment if your application called either `GetLatestConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html>`_ or `GetConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_GetConfiguration.html>`_ in the environment during the specified interval. This parameter supports the following values: - ``BYPASS`` : Instructs AWS AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. - ``APPLY`` : Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. ``APPLY`` also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. - ``ACCOUNT_DEFAULT`` : The default setting, which instructs AWS AppConfig to implement the deletion protection value specified in the ``UpdateAccountSettings`` API.
|
|
3021
3027
|
:param description: A description of the environment.
|
|
3022
3028
|
:param monitors: Amazon CloudWatch alarms to monitor during the deployment process.
|
|
3023
3029
|
:param tags: Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
|
|
@@ -3116,7 +3122,7 @@ class CfnEnvironment(
|
|
|
3116
3122
|
@builtins.property
|
|
3117
3123
|
@jsii.member(jsii_name="deletionProtectionCheck")
|
|
3118
3124
|
def deletion_protection_check(self) -> typing.Optional[builtins.str]:
|
|
3119
|
-
'''
|
|
3125
|
+
'''A parameter to configure deletion protection.'''
|
|
3120
3126
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "deletionProtectionCheck"))
|
|
3121
3127
|
|
|
3122
3128
|
@deletion_protection_check.setter
|
|
@@ -3338,7 +3344,7 @@ class CfnEnvironmentProps:
|
|
|
3338
3344
|
|
|
3339
3345
|
:param application_id: The application ID.
|
|
3340
3346
|
:param name: A name for the environment.
|
|
3341
|
-
:param deletion_protection_check:
|
|
3347
|
+
:param deletion_protection_check: A parameter to configure deletion protection. Deletion protection prevents a user from deleting an environment if your application called either `GetLatestConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html>`_ or `GetConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_GetConfiguration.html>`_ in the environment during the specified interval. This parameter supports the following values: - ``BYPASS`` : Instructs AWS AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. - ``APPLY`` : Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. ``APPLY`` also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks. - ``ACCOUNT_DEFAULT`` : The default setting, which instructs AWS AppConfig to implement the deletion protection value specified in the ``UpdateAccountSettings`` API.
|
|
3342
3348
|
:param description: A description of the environment.
|
|
3343
3349
|
:param monitors: Amazon CloudWatch alarms to monitor during the deployment process.
|
|
3344
3350
|
:param tags: Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
|
|
@@ -3412,9 +3418,15 @@ class CfnEnvironmentProps:
|
|
|
3412
3418
|
|
|
3413
3419
|
@builtins.property
|
|
3414
3420
|
def deletion_protection_check(self) -> typing.Optional[builtins.str]:
|
|
3415
|
-
'''
|
|
3421
|
+
'''A parameter to configure deletion protection.
|
|
3422
|
+
|
|
3423
|
+
Deletion protection prevents a user from deleting an environment if your application called either `GetLatestConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html>`_ or `GetConfiguration <https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_GetConfiguration.html>`_ in the environment during the specified interval.
|
|
3424
|
+
|
|
3425
|
+
This parameter supports the following values:
|
|
3416
3426
|
|
|
3417
|
-
|
|
3427
|
+
- ``BYPASS`` : Instructs AWS AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it.
|
|
3428
|
+
- ``APPLY`` : Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. ``APPLY`` also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks.
|
|
3429
|
+
- ``ACCOUNT_DEFAULT`` : The default setting, which instructs AWS AppConfig to implement the deletion protection value specified in the ``UpdateAccountSettings`` API.
|
|
3418
3430
|
|
|
3419
3431
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#cfn-appconfig-environment-deletionprotectioncheck
|
|
3420
3432
|
'''
|
|
@@ -3726,7 +3738,7 @@ class CfnExtension(
|
|
|
3726
3738
|
) -> None:
|
|
3727
3739
|
'''The actions defined in the extension.
|
|
3728
3740
|
|
|
3729
|
-
:param name: The
|
|
3741
|
+
:param name: The extension name.
|
|
3730
3742
|
:param uri: The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an AWS Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
|
|
3731
3743
|
:param description: Information about actions defined in the extension.
|
|
3732
3744
|
:param role_arn: An Amazon Resource Name (ARN) for an AWS Identity and Access Management assume role.
|
|
@@ -3766,7 +3778,7 @@ class CfnExtension(
|
|
|
3766
3778
|
|
|
3767
3779
|
@builtins.property
|
|
3768
3780
|
def name(self) -> builtins.str:
|
|
3769
|
-
'''The
|
|
3781
|
+
'''The extension name.
|
|
3770
3782
|
|
|
3771
3783
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-extension-action.html#cfn-appconfig-extension-action-name
|
|
3772
3784
|
'''
|
|
@@ -4488,7 +4500,7 @@ class CfnHostedConfigurationVersion(
|
|
|
4488
4500
|
:param configuration_profile_id: The configuration profile ID.
|
|
4489
4501
|
:param content: The configuration data, as bytes. .. epigraph:: AWS AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.
|
|
4490
4502
|
:param content_type: A standard MIME type describing the format of the configuration content. For more information, see `Content-Type <https://docs.aws.amazon.com/https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17>`_ .
|
|
4491
|
-
:param description: A description of the configuration.
|
|
4503
|
+
:param description: A description of the configuration. .. epigraph:: Due to HTTP limitations, this field only supports ASCII characters.
|
|
4492
4504
|
:param latest_version_number: An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
|
|
4493
4505
|
:param version_label: A user-defined label for an AWS AppConfig hosted configuration version.
|
|
4494
4506
|
'''
|
|
@@ -4675,7 +4687,7 @@ class CfnHostedConfigurationVersionProps:
|
|
|
4675
4687
|
:param configuration_profile_id: The configuration profile ID.
|
|
4676
4688
|
:param content: The configuration data, as bytes. .. epigraph:: AWS AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.
|
|
4677
4689
|
:param content_type: A standard MIME type describing the format of the configuration content. For more information, see `Content-Type <https://docs.aws.amazon.com/https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17>`_ .
|
|
4678
|
-
:param description: A description of the configuration.
|
|
4690
|
+
:param description: A description of the configuration. .. epigraph:: Due to HTTP limitations, this field only supports ASCII characters.
|
|
4679
4691
|
:param latest_version_number: An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
|
|
4680
4692
|
:param version_label: A user-defined label for an AWS AppConfig hosted configuration version.
|
|
4681
4693
|
|
|
@@ -4772,6 +4784,10 @@ class CfnHostedConfigurationVersionProps:
|
|
|
4772
4784
|
def description(self) -> typing.Optional[builtins.str]:
|
|
4773
4785
|
'''A description of the configuration.
|
|
4774
4786
|
|
|
4787
|
+
.. epigraph::
|
|
4788
|
+
|
|
4789
|
+
Due to HTTP limitations, this field only supports ASCII characters.
|
|
4790
|
+
|
|
4775
4791
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-description
|
|
4776
4792
|
'''
|
|
4777
4793
|
result = self._values.get("description")
|
|
@@ -294,7 +294,7 @@ class CfnZonalAutoshiftConfiguration(
|
|
|
294
294
|
:param scope: Scope in which this resource is defined.
|
|
295
295
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
296
296
|
:param resource_identifier: The identifier for the resource that AWS shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
|
|
297
|
-
:param practice_run_configuration: A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run configuration,
|
|
297
|
+
:param practice_run_configuration: A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run configuration, ARC shifts traffic for the resource weekly for practice runs. Practice runs are required for zonal autoshift. The zonal shifts that ARC starts for practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application. You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.
|
|
298
298
|
:param zonal_autoshift_status: When zonal autoshift is ``ENABLED`` , you authorize AWS to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away for the required weekly practice runs.
|
|
299
299
|
'''
|
|
300
300
|
if __debug__:
|
|
@@ -622,7 +622,7 @@ class CfnZonalAutoshiftConfigurationProps:
|
|
|
622
622
|
'''Properties for defining a ``CfnZonalAutoshiftConfiguration``.
|
|
623
623
|
|
|
624
624
|
:param resource_identifier: The identifier for the resource that AWS shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource. At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.
|
|
625
|
-
:param practice_run_configuration: A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run configuration,
|
|
625
|
+
:param practice_run_configuration: A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run. When a resource has a practice run configuration, ARC shifts traffic for the resource weekly for practice runs. Practice runs are required for zonal autoshift. The zonal shifts that ARC starts for practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application. You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.
|
|
626
626
|
:param zonal_autoshift_status: When zonal autoshift is ``ENABLED`` , you authorize AWS to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away for the required weekly practice runs.
|
|
627
627
|
|
|
628
628
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arczonalshift-zonalautoshiftconfiguration.html
|
|
@@ -688,9 +688,9 @@ class CfnZonalAutoshiftConfigurationProps:
|
|
|
688
688
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnZonalAutoshiftConfiguration.PracticeRunConfigurationProperty]]:
|
|
689
689
|
'''A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run.
|
|
690
690
|
|
|
691
|
-
When a resource has a practice run configuration,
|
|
691
|
+
When a resource has a practice run configuration, ARC shifts traffic for the resource weekly for practice runs.
|
|
692
692
|
|
|
693
|
-
Practice runs are required for zonal autoshift. The zonal shifts that
|
|
693
|
+
Practice runs are required for zonal autoshift. The zonal shifts that ARC starts for practice runs help you to ensure that shifting away traffic from an Availability Zone during an autoshift is safe for your application.
|
|
694
694
|
|
|
695
695
|
You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.
|
|
696
696
|
|
aws_cdk/aws_batch/__init__.py
CHANGED
|
@@ -51,6 +51,8 @@ and only applies to `ManagedEc2EcsComputeEnvironment`s.
|
|
|
51
51
|
The following code configures a Compute Environment to only use spot instances that
|
|
52
52
|
are at most 20% the price of the on-demand instance price:
|
|
53
53
|
|
|
54
|
+
*Note*: For `FargateComputeEnvironment`, while the `FargateComputeEnvironmentProps` interface includes properties like `replaceComputeEnvironment`, `terminateOnUpdate`, `updateTimeout`, and `updateToLatestImageVersion`, these specific properties are **not applicable** when configuring AWS Batch Fargate compute environments. They primarily apply to EC2-based compute environments. Please refer to the official [AWS Batch UpdateComputeEnvironment API documentation](https://docs.aws.amazon.com/batch/latest/APIReference/API_UpdateComputeEnvironment.html) and [User Guide](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) for details on updating Fargate compute environments.
|
|
55
|
+
|
|
54
56
|
```python
|
|
55
57
|
vpc = ec2.Vpc(self, "VPC")
|
|
56
58
|
batch.ManagedEc2EcsComputeEnvironment(self, "myEc2ComputeEnv",
|