aws-cdk-lib 2.95.0__py3-none-any.whl → 2.96.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 +38 -5
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.95.0.jsii.tgz → aws-cdk-lib@2.96.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +4 -4
- aws_cdk/aws_backup/__init__.py +3 -3
- aws_cdk/aws_batch/__init__.py +15057 -385
- aws_cdk/aws_budgets/__init__.py +9 -4
- aws_cdk/aws_cloudformation/__init__.py +38 -5
- aws_cdk/aws_cloudtrail/__init__.py +25 -3
- aws_cdk/aws_codepipeline/__init__.py +2 -2
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -3
- aws_cdk/aws_config/__init__.py +54 -13
- aws_cdk/aws_datasync/__init__.py +104 -45
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +2 -2
- aws_cdk/aws_ec2/__init__.py +12 -7
- aws_cdk/aws_ecs/__init__.py +55 -19
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -2
- aws_cdk/aws_events_targets/__init__.py +3 -3
- aws_cdk/aws_iam/__init__.py +8 -6
- aws_cdk/aws_internetmonitor/__init__.py +69 -30
- aws_cdk/aws_iotwireless/__init__.py +2 -4
- aws_cdk/aws_lambda/__init__.py +8 -8
- aws_cdk/aws_lambda_nodejs/__init__.py +1 -1
- aws_cdk/aws_managedblockchain/__init__.py +2 -3
- aws_cdk/aws_quicksight/__init__.py +185 -103
- aws_cdk/aws_rds/__init__.py +7 -7
- aws_cdk/aws_rolesanywhere/__init__.py +58 -74
- aws_cdk/aws_s3/__init__.py +1 -1
- aws_cdk/aws_securityhub/__init__.py +108 -42
- aws_cdk/aws_sns/__init__.py +5 -5
- aws_cdk/aws_stepfunctions/__init__.py +36 -25
- aws_cdk/aws_stepfunctions_tasks/__init__.py +13 -12
- aws_cdk/aws_transfer/__init__.py +9 -2
- aws_cdk/aws_wafv2/__init__.py +6 -6
- aws_cdk/pipelines/__init__.py +1 -1
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/RECORD +42 -42
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.95.0.dist-info → aws_cdk_lib-2.96.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_datasync/__init__.py
CHANGED
|
@@ -6769,7 +6769,7 @@ class CfnTask(
|
|
|
6769
6769
|
:param options: Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity. You can also override these options before starting an individual run of a task (also known as a *task execution* ). For more information, see `StartTaskExecution <https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html>`_ .
|
|
6770
6770
|
:param schedule: Specifies a schedule used to periodically transfer files from a source to a destination location. The schedule should be specified in UTC time. For more information, see `Scheduling your task <https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html>`_ .
|
|
6771
6771
|
:param tags: Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task. *Tags* are key-value pairs that help you manage, filter, and search for your DataSync resources.
|
|
6772
|
-
:param task_report_config:
|
|
6772
|
+
:param task_report_config: Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
|
|
6773
6773
|
'''
|
|
6774
6774
|
if __debug__:
|
|
6775
6775
|
type_hints = typing.get_type_hints(_typecheckingstub__9add9673a1f0ceb078949e967bce91066ff7e0441dae95d55c11c4a503a397a6)
|
|
@@ -7012,6 +7012,7 @@ class CfnTask(
|
|
|
7012
7012
|
def task_report_config(
|
|
7013
7013
|
self,
|
|
7014
7014
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.TaskReportConfigProperty"]]:
|
|
7015
|
+
'''Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.'''
|
|
7015
7016
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.TaskReportConfigProperty"]], jsii.get(self, "taskReportConfig"))
|
|
7016
7017
|
|
|
7017
7018
|
@task_report_config.setter
|
|
@@ -7035,8 +7036,9 @@ class CfnTask(
|
|
|
7035
7036
|
*,
|
|
7036
7037
|
report_level: typing.Optional[builtins.str] = None,
|
|
7037
7038
|
) -> None:
|
|
7038
|
-
'''
|
|
7039
|
-
|
|
7039
|
+
'''The reporting level for the deleted section of your DataSync task report.
|
|
7040
|
+
|
|
7041
|
+
:param report_level: Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't. - ``ERRORS_ONLY`` : A report shows what DataSync was unable to delete. - ``SUCCESSES_AND_ERRORS`` : A report shows what DataSync was able and unable to delete.
|
|
7040
7042
|
|
|
7041
7043
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-deleted.html
|
|
7042
7044
|
:exampleMetadata: fixture=_generated
|
|
@@ -7060,7 +7062,11 @@ class CfnTask(
|
|
|
7060
7062
|
|
|
7061
7063
|
@builtins.property
|
|
7062
7064
|
def report_level(self) -> typing.Optional[builtins.str]:
|
|
7063
|
-
'''
|
|
7065
|
+
'''Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.
|
|
7066
|
+
|
|
7067
|
+
- ``ERRORS_ONLY`` : A report shows what DataSync was unable to delete.
|
|
7068
|
+
- ``SUCCESSES_AND_ERRORS`` : A report shows what DataSync was able and unable to delete.
|
|
7069
|
+
|
|
7064
7070
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-deleted.html#cfn-datasync-task-deleted-reportlevel
|
|
7065
7071
|
'''
|
|
7066
7072
|
result = self._values.get("report_level")
|
|
@@ -7088,8 +7094,9 @@ class CfnTask(
|
|
|
7088
7094
|
*,
|
|
7089
7095
|
s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.S3Property", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7090
7096
|
) -> None:
|
|
7091
|
-
'''
|
|
7092
|
-
|
|
7097
|
+
'''Specifies where DataSync uploads your `task report <https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html>`_ .
|
|
7098
|
+
|
|
7099
|
+
:param s3: Specifies the Amazon S3 bucket where DataSync uploads your task report.
|
|
7093
7100
|
|
|
7094
7101
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-destination.html
|
|
7095
7102
|
:exampleMetadata: fixture=_generated
|
|
@@ -7119,7 +7126,8 @@ class CfnTask(
|
|
|
7119
7126
|
def s3(
|
|
7120
7127
|
self,
|
|
7121
7128
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.S3Property"]]:
|
|
7122
|
-
'''
|
|
7129
|
+
'''Specifies the Amazon S3 bucket where DataSync uploads your task report.
|
|
7130
|
+
|
|
7123
7131
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-destination.html#cfn-datasync-task-destination-s3
|
|
7124
7132
|
'''
|
|
7125
7133
|
result = self._values.get("s3")
|
|
@@ -7633,11 +7641,14 @@ class CfnTask(
|
|
|
7633
7641
|
transferred: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.TransferredProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7634
7642
|
verified: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.VerifiedProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7635
7643
|
) -> None:
|
|
7636
|
-
'''
|
|
7637
|
-
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
:param
|
|
7644
|
+
'''Customizes the reporting level for aspects of your task report.
|
|
7645
|
+
|
|
7646
|
+
For example, your report might generally only include errors, but you could specify that you want a list of successes and errors just for the files that DataSync attempted to delete in your destination location.
|
|
7647
|
+
|
|
7648
|
+
:param deleted: Specifies the level of reporting for the files, objects, and directories that DataSync attempted to delete in your destination location. This only applies if you `configure your task <https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html>`_ to delete data in the destination that isn't in the source.
|
|
7649
|
+
:param skipped: Specifies the level of reporting for the files, objects, and directories that DataSync attempted to skip during your transfer.
|
|
7650
|
+
:param transferred: Specifies the level of reporting for the files, objects, and directories that DataSync attempted to transfer.
|
|
7651
|
+
:param verified: Specifies the level of reporting for the files, objects, and directories that DataSync attempted to verify during your transfer.
|
|
7641
7652
|
|
|
7642
7653
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-overrides.html
|
|
7643
7654
|
:exampleMetadata: fixture=_generated
|
|
@@ -7683,7 +7694,10 @@ class CfnTask(
|
|
|
7683
7694
|
def deleted(
|
|
7684
7695
|
self,
|
|
7685
7696
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.DeletedProperty"]]:
|
|
7686
|
-
'''
|
|
7697
|
+
'''Specifies the level of reporting for the files, objects, and directories that DataSync attempted to delete in your destination location.
|
|
7698
|
+
|
|
7699
|
+
This only applies if you `configure your task <https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html>`_ to delete data in the destination that isn't in the source.
|
|
7700
|
+
|
|
7687
7701
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-overrides.html#cfn-datasync-task-overrides-deleted
|
|
7688
7702
|
'''
|
|
7689
7703
|
result = self._values.get("deleted")
|
|
@@ -7693,7 +7707,8 @@ class CfnTask(
|
|
|
7693
7707
|
def skipped(
|
|
7694
7708
|
self,
|
|
7695
7709
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.SkippedProperty"]]:
|
|
7696
|
-
'''
|
|
7710
|
+
'''Specifies the level of reporting for the files, objects, and directories that DataSync attempted to skip during your transfer.
|
|
7711
|
+
|
|
7697
7712
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-overrides.html#cfn-datasync-task-overrides-skipped
|
|
7698
7713
|
'''
|
|
7699
7714
|
result = self._values.get("skipped")
|
|
@@ -7703,7 +7718,8 @@ class CfnTask(
|
|
|
7703
7718
|
def transferred(
|
|
7704
7719
|
self,
|
|
7705
7720
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.TransferredProperty"]]:
|
|
7706
|
-
'''
|
|
7721
|
+
'''Specifies the level of reporting for the files, objects, and directories that DataSync attempted to transfer.
|
|
7722
|
+
|
|
7707
7723
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-overrides.html#cfn-datasync-task-overrides-transferred
|
|
7708
7724
|
'''
|
|
7709
7725
|
result = self._values.get("transferred")
|
|
@@ -7713,7 +7729,8 @@ class CfnTask(
|
|
|
7713
7729
|
def verified(
|
|
7714
7730
|
self,
|
|
7715
7731
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.VerifiedProperty"]]:
|
|
7716
|
-
'''
|
|
7732
|
+
'''Specifies the level of reporting for the files, objects, and directories that DataSync attempted to verify during your transfer.
|
|
7733
|
+
|
|
7717
7734
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-overrides.html#cfn-datasync-task-overrides-verified
|
|
7718
7735
|
'''
|
|
7719
7736
|
result = self._values.get("verified")
|
|
@@ -7747,10 +7764,11 @@ class CfnTask(
|
|
|
7747
7764
|
s3_bucket_arn: typing.Optional[builtins.str] = None,
|
|
7748
7765
|
subdirectory: typing.Optional[builtins.str] = None,
|
|
7749
7766
|
) -> None:
|
|
7750
|
-
'''
|
|
7751
|
-
|
|
7752
|
-
:param
|
|
7753
|
-
:param
|
|
7767
|
+
'''Specifies the Amazon S3 bucket where DataSync uploads your `task report <https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html>`_ .
|
|
7768
|
+
|
|
7769
|
+
:param bucket_access_role_arn: Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket. For more information, see `Allowing DataSync to upload a task report to an Amazon S3 bucket <https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html>`_ .
|
|
7770
|
+
:param s3_bucket_arn: Specifies the ARN of the S3 bucket where DataSync uploads your report.
|
|
7771
|
+
:param subdirectory: Specifies a bucket prefix for your report.
|
|
7754
7772
|
|
|
7755
7773
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html
|
|
7756
7774
|
:exampleMetadata: fixture=_generated
|
|
@@ -7782,7 +7800,10 @@ class CfnTask(
|
|
|
7782
7800
|
|
|
7783
7801
|
@builtins.property
|
|
7784
7802
|
def bucket_access_role_arn(self) -> typing.Optional[builtins.str]:
|
|
7785
|
-
'''
|
|
7803
|
+
'''Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket.
|
|
7804
|
+
|
|
7805
|
+
For more information, see `Allowing DataSync to upload a task report to an Amazon S3 bucket <https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html>`_ .
|
|
7806
|
+
|
|
7786
7807
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html#cfn-datasync-task-s3-bucketaccessrolearn
|
|
7787
7808
|
'''
|
|
7788
7809
|
result = self._values.get("bucket_access_role_arn")
|
|
@@ -7790,7 +7811,8 @@ class CfnTask(
|
|
|
7790
7811
|
|
|
7791
7812
|
@builtins.property
|
|
7792
7813
|
def s3_bucket_arn(self) -> typing.Optional[builtins.str]:
|
|
7793
|
-
'''
|
|
7814
|
+
'''Specifies the ARN of the S3 bucket where DataSync uploads your report.
|
|
7815
|
+
|
|
7794
7816
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html#cfn-datasync-task-s3-s3bucketarn
|
|
7795
7817
|
'''
|
|
7796
7818
|
result = self._values.get("s3_bucket_arn")
|
|
@@ -7798,7 +7820,8 @@ class CfnTask(
|
|
|
7798
7820
|
|
|
7799
7821
|
@builtins.property
|
|
7800
7822
|
def subdirectory(self) -> typing.Optional[builtins.str]:
|
|
7801
|
-
'''
|
|
7823
|
+
'''Specifies a bucket prefix for your report.
|
|
7824
|
+
|
|
7802
7825
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html#cfn-datasync-task-s3-subdirectory
|
|
7803
7826
|
'''
|
|
7804
7827
|
result = self._values.get("subdirectory")
|
|
@@ -7826,8 +7849,9 @@ class CfnTask(
|
|
|
7826
7849
|
*,
|
|
7827
7850
|
report_level: typing.Optional[builtins.str] = None,
|
|
7828
7851
|
) -> None:
|
|
7829
|
-
'''
|
|
7830
|
-
|
|
7852
|
+
'''The reporting level for the skipped section of your DataSync task report.
|
|
7853
|
+
|
|
7854
|
+
:param report_level: Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't. - ``ERRORS_ONLY`` : A report shows what DataSync was unable to skip. - ``SUCCESSES_AND_ERRORS`` : A report shows what DataSync was able and unable to skip.
|
|
7831
7855
|
|
|
7832
7856
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-skipped.html
|
|
7833
7857
|
:exampleMetadata: fixture=_generated
|
|
@@ -7851,7 +7875,11 @@ class CfnTask(
|
|
|
7851
7875
|
|
|
7852
7876
|
@builtins.property
|
|
7853
7877
|
def report_level(self) -> typing.Optional[builtins.str]:
|
|
7854
|
-
'''
|
|
7878
|
+
'''Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.
|
|
7879
|
+
|
|
7880
|
+
- ``ERRORS_ONLY`` : A report shows what DataSync was unable to skip.
|
|
7881
|
+
- ``SUCCESSES_AND_ERRORS`` : A report shows what DataSync was able and unable to skip.
|
|
7882
|
+
|
|
7855
7883
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-skipped.html#cfn-datasync-task-skipped-reportlevel
|
|
7856
7884
|
'''
|
|
7857
7885
|
result = self._values.get("report_level")
|
|
@@ -7889,12 +7917,15 @@ class CfnTask(
|
|
|
7889
7917
|
overrides: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.OverridesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7890
7918
|
report_level: typing.Optional[builtins.str] = None,
|
|
7891
7919
|
) -> None:
|
|
7892
|
-
'''
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
:param
|
|
7897
|
-
:param
|
|
7920
|
+
'''Specifies how you want to configure a task report, which provides detailed information about for your AWS DataSync transfer.
|
|
7921
|
+
|
|
7922
|
+
For more information, see `Task reports <https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html>`_ .
|
|
7923
|
+
|
|
7924
|
+
:param destination: Specifies the Amazon S3 bucket where DataSync uploads your task report. For more information, see `Task reports <https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html#task-report-access>`_ .
|
|
7925
|
+
:param output_type: Specifies the type of task report that you want:. - ``SUMMARY_ONLY`` : Provides necessary details about your task, including the number of files, objects, and directories transferred and transfer duration. - ``STANDARD`` : Provides complete details about your task, including a full list of files, objects, and directories that were transferred, skipped, verified, and more.
|
|
7926
|
+
:param object_version_ids: Specifies whether your task report includes the new version of each object transferred into an S3 bucket. This only applies if you `enable versioning on your bucket <https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html>`_ . Keep in mind that setting this to ``INCLUDE`` can increase the duration of your task execution.
|
|
7927
|
+
:param overrides: Customizes the reporting level for aspects of your task report. For example, your report might generally only include errors, but you could specify that you want a list of successes and errors just for the files that DataSync attempted to delete in your destination location.
|
|
7928
|
+
:param report_level: Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't. - ``ERRORS_ONLY`` : A report shows what DataSync was unable to transfer, skip, verify, and delete. - ``SUCCESSES_AND_ERRORS`` : A report shows what DataSync was able and unable to transfer, skip, verify, and delete.
|
|
7898
7929
|
|
|
7899
7930
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html
|
|
7900
7931
|
:exampleMetadata: fixture=_generated
|
|
@@ -7956,7 +7987,10 @@ class CfnTask(
|
|
|
7956
7987
|
def destination(
|
|
7957
7988
|
self,
|
|
7958
7989
|
) -> typing.Union[_IResolvable_da3f097b, "CfnTask.DestinationProperty"]:
|
|
7959
|
-
'''
|
|
7990
|
+
'''Specifies the Amazon S3 bucket where DataSync uploads your task report.
|
|
7991
|
+
|
|
7992
|
+
For more information, see `Task reports <https://docs.aws.amazon.com/datasync/latest/userguide/creating-task-reports.html#task-report-access>`_ .
|
|
7993
|
+
|
|
7960
7994
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html#cfn-datasync-task-taskreportconfig-destination
|
|
7961
7995
|
'''
|
|
7962
7996
|
result = self._values.get("destination")
|
|
@@ -7965,7 +7999,11 @@ class CfnTask(
|
|
|
7965
7999
|
|
|
7966
8000
|
@builtins.property
|
|
7967
8001
|
def output_type(self) -> builtins.str:
|
|
7968
|
-
'''
|
|
8002
|
+
'''Specifies the type of task report that you want:.
|
|
8003
|
+
|
|
8004
|
+
- ``SUMMARY_ONLY`` : Provides necessary details about your task, including the number of files, objects, and directories transferred and transfer duration.
|
|
8005
|
+
- ``STANDARD`` : Provides complete details about your task, including a full list of files, objects, and directories that were transferred, skipped, verified, and more.
|
|
8006
|
+
|
|
7969
8007
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html#cfn-datasync-task-taskreportconfig-outputtype
|
|
7970
8008
|
'''
|
|
7971
8009
|
result = self._values.get("output_type")
|
|
@@ -7974,7 +8012,10 @@ class CfnTask(
|
|
|
7974
8012
|
|
|
7975
8013
|
@builtins.property
|
|
7976
8014
|
def object_version_ids(self) -> typing.Optional[builtins.str]:
|
|
7977
|
-
'''
|
|
8015
|
+
'''Specifies whether your task report includes the new version of each object transferred into an S3 bucket.
|
|
8016
|
+
|
|
8017
|
+
This only applies if you `enable versioning on your bucket <https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html>`_ . Keep in mind that setting this to ``INCLUDE`` can increase the duration of your task execution.
|
|
8018
|
+
|
|
7978
8019
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html#cfn-datasync-task-taskreportconfig-objectversionids
|
|
7979
8020
|
'''
|
|
7980
8021
|
result = self._values.get("object_version_ids")
|
|
@@ -7984,7 +8025,10 @@ class CfnTask(
|
|
|
7984
8025
|
def overrides(
|
|
7985
8026
|
self,
|
|
7986
8027
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.OverridesProperty"]]:
|
|
7987
|
-
'''
|
|
8028
|
+
'''Customizes the reporting level for aspects of your task report.
|
|
8029
|
+
|
|
8030
|
+
For example, your report might generally only include errors, but you could specify that you want a list of successes and errors just for the files that DataSync attempted to delete in your destination location.
|
|
8031
|
+
|
|
7988
8032
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html#cfn-datasync-task-taskreportconfig-overrides
|
|
7989
8033
|
'''
|
|
7990
8034
|
result = self._values.get("overrides")
|
|
@@ -7992,7 +8036,11 @@ class CfnTask(
|
|
|
7992
8036
|
|
|
7993
8037
|
@builtins.property
|
|
7994
8038
|
def report_level(self) -> typing.Optional[builtins.str]:
|
|
7995
|
-
'''
|
|
8039
|
+
'''Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.
|
|
8040
|
+
|
|
8041
|
+
- ``ERRORS_ONLY`` : A report shows what DataSync was unable to transfer, skip, verify, and delete.
|
|
8042
|
+
- ``SUCCESSES_AND_ERRORS`` : A report shows what DataSync was able and unable to transfer, skip, verify, and delete.
|
|
8043
|
+
|
|
7996
8044
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html#cfn-datasync-task-taskreportconfig-reportlevel
|
|
7997
8045
|
'''
|
|
7998
8046
|
result = self._values.get("report_level")
|
|
@@ -8074,8 +8122,9 @@ class CfnTask(
|
|
|
8074
8122
|
*,
|
|
8075
8123
|
report_level: typing.Optional[builtins.str] = None,
|
|
8076
8124
|
) -> None:
|
|
8077
|
-
'''
|
|
8078
|
-
|
|
8125
|
+
'''The reporting level for the transferred section of your DataSync task report.
|
|
8126
|
+
|
|
8127
|
+
:param report_level: Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't. - ``ERRORS_ONLY`` : A report shows what DataSync was unable to transfer. - ``SUCCESSES_AND_ERRORS`` : A report shows what DataSync was able and unable to transfer.
|
|
8079
8128
|
|
|
8080
8129
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-transferred.html
|
|
8081
8130
|
:exampleMetadata: fixture=_generated
|
|
@@ -8099,7 +8148,11 @@ class CfnTask(
|
|
|
8099
8148
|
|
|
8100
8149
|
@builtins.property
|
|
8101
8150
|
def report_level(self) -> typing.Optional[builtins.str]:
|
|
8102
|
-
'''
|
|
8151
|
+
'''Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.
|
|
8152
|
+
|
|
8153
|
+
- ``ERRORS_ONLY`` : A report shows what DataSync was unable to transfer.
|
|
8154
|
+
- ``SUCCESSES_AND_ERRORS`` : A report shows what DataSync was able and unable to transfer.
|
|
8155
|
+
|
|
8103
8156
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-transferred.html#cfn-datasync-task-transferred-reportlevel
|
|
8104
8157
|
'''
|
|
8105
8158
|
result = self._values.get("report_level")
|
|
@@ -8127,8 +8180,9 @@ class CfnTask(
|
|
|
8127
8180
|
*,
|
|
8128
8181
|
report_level: typing.Optional[builtins.str] = None,
|
|
8129
8182
|
) -> None:
|
|
8130
|
-
'''
|
|
8131
|
-
|
|
8183
|
+
'''The reporting level for the verified section of your DataSync task report.
|
|
8184
|
+
|
|
8185
|
+
:param report_level: Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't. - ``ERRORS_ONLY`` : A report shows what DataSync was unable to verify. - ``SUCCESSES_AND_ERRORS`` : A report shows what DataSync was able and unable to verify.
|
|
8132
8186
|
|
|
8133
8187
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-verified.html
|
|
8134
8188
|
:exampleMetadata: fixture=_generated
|
|
@@ -8152,7 +8206,11 @@ class CfnTask(
|
|
|
8152
8206
|
|
|
8153
8207
|
@builtins.property
|
|
8154
8208
|
def report_level(self) -> typing.Optional[builtins.str]:
|
|
8155
|
-
'''
|
|
8209
|
+
'''Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.
|
|
8210
|
+
|
|
8211
|
+
- ``ERRORS_ONLY`` : A report shows what DataSync was unable to verify.
|
|
8212
|
+
- ``SUCCESSES_AND_ERRORS`` : A report shows what DataSync was able and unable to verify.
|
|
8213
|
+
|
|
8156
8214
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-verified.html#cfn-datasync-task-verified-reportlevel
|
|
8157
8215
|
'''
|
|
8158
8216
|
result = self._values.get("report_level")
|
|
@@ -8212,7 +8270,7 @@ class CfnTaskProps:
|
|
|
8212
8270
|
:param options: Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity. You can also override these options before starting an individual run of a task (also known as a *task execution* ). For more information, see `StartTaskExecution <https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html>`_ .
|
|
8213
8271
|
:param schedule: Specifies a schedule used to periodically transfer files from a source to a destination location. The schedule should be specified in UTC time. For more information, see `Scheduling your task <https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html>`_ .
|
|
8214
8272
|
:param tags: Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task. *Tags* are key-value pairs that help you manage, filter, and search for your DataSync resources.
|
|
8215
|
-
:param task_report_config:
|
|
8273
|
+
:param task_report_config: Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
|
|
8216
8274
|
|
|
8217
8275
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html
|
|
8218
8276
|
:exampleMetadata: fixture=_generated
|
|
@@ -8436,7 +8494,8 @@ class CfnTaskProps:
|
|
|
8436
8494
|
def task_report_config(
|
|
8437
8495
|
self,
|
|
8438
8496
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTask.TaskReportConfigProperty]]:
|
|
8439
|
-
'''
|
|
8497
|
+
'''Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
|
|
8498
|
+
|
|
8440
8499
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-taskreportconfig
|
|
8441
8500
|
'''
|
|
8442
8501
|
result = self._values.get("task_report_config")
|
aws_cdk/aws_dms/__init__.py
CHANGED
|
@@ -613,7 +613,7 @@ class CfnEndpoint(
|
|
|
613
613
|
:param scope: Scope in which this resource is defined.
|
|
614
614
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
615
615
|
:param endpoint_type: The type of endpoint. Valid values are ``source`` and ``target`` .
|
|
616
|
-
:param engine_name: The type of engine for the endpoint, depending on the ``EndpointType`` value. *Valid values* : ``mysql`` | ``oracle`` | ``postgres`` | ``mariadb`` | ``aurora`` | ``aurora-postgresql`` | ``opensearch`` | ``redshift`` | ``s3`` | ``db2`` | ``azuredb`` | ``sybase`` | ``dynamodb`` | ``mongodb`` | ``kinesis`` | ``kafka`` | ``elasticsearch`` | ``docdb`` | ``sqlserver`` | ``neptune``
|
|
616
|
+
:param engine_name: The type of engine for the endpoint, depending on the ``EndpointType`` value. *Valid values* : ``mysql`` | ``oracle`` | ``postgres`` | ``mariadb`` | ``aurora`` | ``aurora-postgresql`` | ``opensearch`` | ``redshift`` | ``redshift-serverless`` | ``s3`` | ``db2`` | ``azuredb`` | ``sybase`` | ``dynamodb`` | ``mongodb`` | ``kinesis`` | ``kafka`` | ``elasticsearch`` | ``docdb`` | ``sqlserver`` | ``neptune``
|
|
617
617
|
:param certificate_arn: The Amazon Resource Name (ARN) for the certificate.
|
|
618
618
|
:param database_name: The name of the endpoint database. For a MySQL source or target endpoint, don't specify ``DatabaseName`` . To migrate to a specific database, use this setting and ``targetDbType`` .
|
|
619
619
|
:param doc_db_settings: Settings in JSON format for the source and target DocumentDB endpoint. For more information about other available settings, see `Using extra connections attributes with Amazon DocumentDB as a source <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DocumentDB.html#CHAP_Source.DocumentDB.ECAs>`_ and `Using Amazon DocumentDB as a target for AWS Database Migration Service <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DocumentDB.html>`_ in the *AWS Database Migration Service User Guide* .
|
|
@@ -6165,7 +6165,7 @@ class CfnEndpointProps:
|
|
|
6165
6165
|
'''Properties for defining a ``CfnEndpoint``.
|
|
6166
6166
|
|
|
6167
6167
|
:param endpoint_type: The type of endpoint. Valid values are ``source`` and ``target`` .
|
|
6168
|
-
:param engine_name: The type of engine for the endpoint, depending on the ``EndpointType`` value. *Valid values* : ``mysql`` | ``oracle`` | ``postgres`` | ``mariadb`` | ``aurora`` | ``aurora-postgresql`` | ``opensearch`` | ``redshift`` | ``s3`` | ``db2`` | ``azuredb`` | ``sybase`` | ``dynamodb`` | ``mongodb`` | ``kinesis`` | ``kafka`` | ``elasticsearch`` | ``docdb`` | ``sqlserver`` | ``neptune``
|
|
6168
|
+
:param engine_name: The type of engine for the endpoint, depending on the ``EndpointType`` value. *Valid values* : ``mysql`` | ``oracle`` | ``postgres`` | ``mariadb`` | ``aurora`` | ``aurora-postgresql`` | ``opensearch`` | ``redshift`` | ``redshift-serverless`` | ``s3`` | ``db2`` | ``azuredb`` | ``sybase`` | ``dynamodb`` | ``mongodb`` | ``kinesis`` | ``kafka`` | ``elasticsearch`` | ``docdb`` | ``sqlserver`` | ``neptune``
|
|
6169
6169
|
:param certificate_arn: The Amazon Resource Name (ARN) for the certificate.
|
|
6170
6170
|
:param database_name: The name of the endpoint database. For a MySQL source or target endpoint, don't specify ``DatabaseName`` . To migrate to a specific database, use this setting and ``targetDbType`` .
|
|
6171
6171
|
:param doc_db_settings: Settings in JSON format for the source and target DocumentDB endpoint. For more information about other available settings, see `Using extra connections attributes with Amazon DocumentDB as a source <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DocumentDB.html#CHAP_Source.DocumentDB.ECAs>`_ and `Using Amazon DocumentDB as a target for AWS Database Migration Service <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.DocumentDB.html>`_ in the *AWS Database Migration Service User Guide* .
|
|
@@ -6589,7 +6589,7 @@ class CfnEndpointProps:
|
|
|
6589
6589
|
def engine_name(self) -> builtins.str:
|
|
6590
6590
|
'''The type of engine for the endpoint, depending on the ``EndpointType`` value.
|
|
6591
6591
|
|
|
6592
|
-
*Valid values* : ``mysql`` | ``oracle`` | ``postgres`` | ``mariadb`` | ``aurora`` | ``aurora-postgresql`` | ``opensearch`` | ``redshift`` | ``s3`` | ``db2`` | ``azuredb`` | ``sybase`` | ``dynamodb`` | ``mongodb`` | ``kinesis`` | ``kafka`` | ``elasticsearch`` | ``docdb`` | ``sqlserver`` | ``neptune``
|
|
6592
|
+
*Valid values* : ``mysql`` | ``oracle`` | ``postgres`` | ``mariadb`` | ``aurora`` | ``aurora-postgresql`` | ``opensearch`` | ``redshift`` | ``redshift-serverless`` | ``s3`` | ``db2`` | ``azuredb`` | ``sybase`` | ``dynamodb`` | ``mongodb`` | ``kinesis`` | ``kafka`` | ``elasticsearch`` | ``docdb`` | ``sqlserver`` | ``neptune``
|
|
6593
6593
|
|
|
6594
6594
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-enginename
|
|
6595
6595
|
'''
|
aws_cdk/aws_dynamodb/__init__.py
CHANGED
|
@@ -10508,7 +10508,7 @@ class TableProps(TableOptions):
|
|
|
10508
10508
|
chain = sfn.Chain.start(custom).next(final_status)
|
|
10509
10509
|
|
|
10510
10510
|
sm = sfn.StateMachine(self, "StateMachine",
|
|
10511
|
-
|
|
10511
|
+
definition_body=sfn.DefinitionBody.from_chainable(chain),
|
|
10512
10512
|
timeout=Duration.seconds(30),
|
|
10513
10513
|
comment="a super cool state machine"
|
|
10514
10514
|
)
|
|
@@ -12538,7 +12538,7 @@ class Table(
|
|
|
12538
12538
|
chain = sfn.Chain.start(custom).next(final_status)
|
|
12539
12539
|
|
|
12540
12540
|
sm = sfn.StateMachine(self, "StateMachine",
|
|
12541
|
-
|
|
12541
|
+
definition_body=sfn.DefinitionBody.from_chainable(chain),
|
|
12542
12542
|
timeout=Duration.seconds(30),
|
|
12543
12543
|
comment="a super cool state machine"
|
|
12544
12544
|
)
|
aws_cdk/aws_ec2/__init__.py
CHANGED
|
@@ -13411,7 +13411,7 @@ class CfnEIPAssociation(
|
|
|
13411
13411
|
:param scope: Scope in which this resource is defined.
|
|
13412
13412
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
13413
13413
|
:param allocation_id: The allocation ID. This is required.
|
|
13414
|
-
:param eip:
|
|
13414
|
+
:param eip:
|
|
13415
13415
|
:param instance_id: The ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.
|
|
13416
13416
|
:param network_interface_id: The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID. You can specify either the instance ID or the network interface ID, but not both.
|
|
13417
13417
|
:param private_ip_address: The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
|
|
@@ -13489,7 +13489,6 @@ class CfnEIPAssociation(
|
|
|
13489
13489
|
@builtins.property
|
|
13490
13490
|
@jsii.member(jsii_name="eip")
|
|
13491
13491
|
def eip(self) -> typing.Optional[builtins.str]:
|
|
13492
|
-
'''Deprecated.'''
|
|
13493
13492
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "eip"))
|
|
13494
13493
|
|
|
13495
13494
|
@eip.setter
|
|
@@ -13563,7 +13562,7 @@ class CfnEIPAssociationProps:
|
|
|
13563
13562
|
'''Properties for defining a ``CfnEIPAssociation``.
|
|
13564
13563
|
|
|
13565
13564
|
:param allocation_id: The allocation ID. This is required.
|
|
13566
|
-
:param eip:
|
|
13565
|
+
:param eip:
|
|
13567
13566
|
:param instance_id: The ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.
|
|
13568
13567
|
:param network_interface_id: The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID. You can specify either the instance ID or the network interface ID, but not both.
|
|
13569
13568
|
:param private_ip_address: The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
|
|
@@ -13617,8 +13616,7 @@ class CfnEIPAssociationProps:
|
|
|
13617
13616
|
|
|
13618
13617
|
@builtins.property
|
|
13619
13618
|
def eip(self) -> typing.Optional[builtins.str]:
|
|
13620
|
-
'''
|
|
13621
|
-
|
|
13619
|
+
'''
|
|
13622
13620
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eipassociation.html#cfn-ec2-eipassociation-eip
|
|
13623
13621
|
'''
|
|
13624
13622
|
result = self._values.get("eip")
|
|
@@ -24700,7 +24698,7 @@ class CfnLaunchTemplate(
|
|
|
24700
24698
|
:param disable_api_termination: If you set this parameter to ``true`` , you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute after launch, use `ModifyInstanceAttribute <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html>`_ . Alternatively, if you set ``InstanceInitiatedShutdownBehavior`` to ``terminate`` , you can terminate the instance by running the shutdown command from the instance.
|
|
24701
24699
|
:param ebs_optimized: Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.
|
|
24702
24700
|
:param elastic_gpu_specifications: An elastic GPU to associate with the instance.
|
|
24703
|
-
:param elastic_inference_accelerators:
|
|
24701
|
+
:param elastic_inference_accelerators: An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads. You cannot specify accelerators from different generations in the same request. .. epigraph:: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
|
|
24704
24702
|
:param enclave_options: Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see `What is AWS Nitro Enclaves? <https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html>`_ in the *AWS Nitro Enclaves User Guide* . You can't enable AWS Nitro Enclaves and hibernation on the same instance.
|
|
24705
24703
|
:param hibernation_options: Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the `hibernation prerequisites <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html>`_ . For more information, see `Hibernate your instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html>`_ in the *Amazon Elastic Compute Cloud User Guide* .
|
|
24706
24704
|
:param iam_instance_profile: The name or Amazon Resource Name (ARN) of an IAM instance profile.
|
|
@@ -25127,7 +25125,14 @@ class CfnLaunchTemplate(
|
|
|
25127
25125
|
def elastic_inference_accelerators(
|
|
25128
25126
|
self,
|
|
25129
25127
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty"]]]]:
|
|
25130
|
-
'''
|
|
25128
|
+
'''An elastic inference accelerator to associate with the instance.
|
|
25129
|
+
|
|
25130
|
+
Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.
|
|
25131
|
+
|
|
25132
|
+
You cannot specify accelerators from different generations in the same request.
|
|
25133
|
+
.. epigraph::
|
|
25134
|
+
|
|
25135
|
+
Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
|
|
25131
25136
|
|
|
25132
25137
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-elasticinferenceaccelerators
|
|
25133
25138
|
'''
|
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -496,8 +496,7 @@ new_container.add_secret("API_KEY", ecs.Secret.from_secrets_manager(secret))
|
|
|
496
496
|
new_container.add_secret("DB_PASSWORD", ecs.Secret.from_secrets_manager(secret, "password"))
|
|
497
497
|
```
|
|
498
498
|
|
|
499
|
-
The task execution role is automatically granted read permissions on the secrets/parameters.
|
|
500
|
-
files is restricted to the EC2 launch type for files hosted on S3. Further details provided in the AWS documentation
|
|
499
|
+
The task execution role is automatically granted read permissions on the secrets/parameters. Further details provided in the AWS documentation
|
|
501
500
|
about [specifying environment variables](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html).
|
|
502
501
|
|
|
503
502
|
### Linux parameters
|
|
@@ -19207,20 +19206,29 @@ class ContainerImage(
|
|
|
19207
19206
|
|
|
19208
19207
|
Example::
|
|
19209
19208
|
|
|
19210
|
-
|
|
19209
|
+
# cluster: ecs.Cluster
|
|
19211
19210
|
|
|
19212
|
-
|
|
19211
|
+
load_balanced_fargate_service = ecs_patterns.ApplicationLoadBalancedFargateService(self, "Service",
|
|
19212
|
+
cluster=cluster,
|
|
19213
|
+
memory_limit_mi_b=1024,
|
|
19214
|
+
desired_count=1,
|
|
19215
|
+
cpu=512,
|
|
19216
|
+
task_image_options=ecsPatterns.ApplicationLoadBalancedTaskImageOptions(
|
|
19217
|
+
image=ecs.ContainerImage.from_registry("amazon/amazon-ecs-sample")
|
|
19218
|
+
)
|
|
19219
|
+
)
|
|
19220
|
+
|
|
19221
|
+
scalable_target = load_balanced_fargate_service.service.auto_scale_task_count(
|
|
19222
|
+
min_capacity=1,
|
|
19223
|
+
max_capacity=20
|
|
19224
|
+
)
|
|
19213
19225
|
|
|
19226
|
+
scalable_target.scale_on_cpu_utilization("CpuScaling",
|
|
19227
|
+
target_utilization_percent=50
|
|
19228
|
+
)
|
|
19214
19229
|
|
|
19215
|
-
|
|
19216
|
-
|
|
19217
|
-
image=ecs.ContainerImage.from_registry("public.ecr.aws/amazonlinux/amazonlinux:latest"),
|
|
19218
|
-
memory=cdk.Size.mebibytes(2048),
|
|
19219
|
-
cpu=256,
|
|
19220
|
-
secrets={
|
|
19221
|
-
"MY_SECRET_ENV_VAR": batch.Secret.from_secrets_manager(my_secret)
|
|
19222
|
-
}
|
|
19223
|
-
)
|
|
19230
|
+
scalable_target.scale_on_memory_utilization("MemoryScaling",
|
|
19231
|
+
target_utilization_percent=50
|
|
19224
19232
|
)
|
|
19225
19233
|
'''
|
|
19226
19234
|
|
|
@@ -19317,18 +19325,18 @@ class ContainerImage(
|
|
|
19317
19325
|
def from_ecr_repository(
|
|
19318
19326
|
cls,
|
|
19319
19327
|
repository: _IRepository_e6004aa6,
|
|
19320
|
-
|
|
19328
|
+
tag_or_digest: typing.Optional[builtins.str] = None,
|
|
19321
19329
|
) -> "EcrImage":
|
|
19322
19330
|
'''Reference an image in an ECR repository.
|
|
19323
19331
|
|
|
19324
|
-
:param repository:
|
|
19325
|
-
:param
|
|
19332
|
+
:param repository: ECR repository.
|
|
19333
|
+
:param tag_or_digest: Optional image tag or digest (digests must start with ``sha256:``).
|
|
19326
19334
|
'''
|
|
19327
19335
|
if __debug__:
|
|
19328
19336
|
type_hints = typing.get_type_hints(_typecheckingstub__c7678d92c566cb839a4e76a199bb9ba47a55910493c94a6a2568984d1b6bd374)
|
|
19329
19337
|
check_type(argname="argument repository", value=repository, expected_type=type_hints["repository"])
|
|
19330
|
-
check_type(argname="argument
|
|
19331
|
-
return typing.cast("EcrImage", jsii.sinvoke(cls, "fromEcrRepository", [repository,
|
|
19338
|
+
check_type(argname="argument tag_or_digest", value=tag_or_digest, expected_type=type_hints["tag_or_digest"])
|
|
19339
|
+
return typing.cast("EcrImage", jsii.sinvoke(cls, "fromEcrRepository", [repository, tag_or_digest]))
|
|
19332
19340
|
|
|
19333
19341
|
@jsii.member(jsii_name="fromRegistry")
|
|
19334
19342
|
@builtins.classmethod
|
|
@@ -21127,6 +21135,26 @@ class EcsOptimizedImage(
|
|
|
21127
21135
|
|
|
21128
21136
|
return typing.cast("EcsOptimizedImage", jsii.sinvoke(cls, "amazonLinux2", [hardware_type, options]))
|
|
21129
21137
|
|
|
21138
|
+
@jsii.member(jsii_name="amazonLinux2023")
|
|
21139
|
+
@builtins.classmethod
|
|
21140
|
+
def amazon_linux2023(
|
|
21141
|
+
cls,
|
|
21142
|
+
hardware_type: typing.Optional[AmiHardwareType] = None,
|
|
21143
|
+
*,
|
|
21144
|
+
cached_in_context: typing.Optional[builtins.bool] = None,
|
|
21145
|
+
) -> "EcsOptimizedImage":
|
|
21146
|
+
'''Construct an Amazon Linux 2023 image from the latest ECS Optimized AMI published in SSM.
|
|
21147
|
+
|
|
21148
|
+
:param hardware_type: ECS-optimized AMI variant to use.
|
|
21149
|
+
:param cached_in_context: Whether the AMI ID is cached to be stable between deployments. By default, the newest image is used on each deployment. This will cause instances to be replaced whenever a new version is released, and may cause downtime if there aren't enough running instances in the AutoScalingGroup to reschedule the tasks on. If set to true, the AMI ID will be cached in ``cdk.context.json`` and the same value will be used on future runs. Your instances will not be replaced but your AMI version will grow old over time. To refresh the AMI lookup, you will have to evict the value from the cache using the ``cdk context`` command. See https://docs.aws.amazon.com/cdk/latest/guide/context.html for more information. Can not be set to ``true`` in environment-agnostic stacks. Default: false
|
|
21150
|
+
'''
|
|
21151
|
+
if __debug__:
|
|
21152
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fc44eec88f6aaee7e170f453974183a08768efc2af4f04d00c94c131fb83f5da)
|
|
21153
|
+
check_type(argname="argument hardware_type", value=hardware_type, expected_type=type_hints["hardware_type"])
|
|
21154
|
+
options = EcsOptimizedImageOptions(cached_in_context=cached_in_context)
|
|
21155
|
+
|
|
21156
|
+
return typing.cast("EcsOptimizedImage", jsii.sinvoke(cls, "amazonLinux2023", [hardware_type, options]))
|
|
21157
|
+
|
|
21130
21158
|
@jsii.member(jsii_name="windows")
|
|
21131
21159
|
@builtins.classmethod
|
|
21132
21160
|
def windows(
|
|
@@ -38948,7 +38976,7 @@ def _typecheckingstub__56a966c7a28ee434f164ef54e3efaa94f5c7d56a677eccaf0a5a33efd
|
|
|
38948
38976
|
|
|
38949
38977
|
def _typecheckingstub__c7678d92c566cb839a4e76a199bb9ba47a55910493c94a6a2568984d1b6bd374(
|
|
38950
38978
|
repository: _IRepository_e6004aa6,
|
|
38951
|
-
|
|
38979
|
+
tag_or_digest: typing.Optional[builtins.str] = None,
|
|
38952
38980
|
) -> None:
|
|
38953
38981
|
"""Type checking stubs"""
|
|
38954
38982
|
pass
|
|
@@ -39125,6 +39153,14 @@ def _typecheckingstub__5924678ba20215bbadbd6bba47ff2a6c9af00997d08c131de1b7efc27
|
|
|
39125
39153
|
"""Type checking stubs"""
|
|
39126
39154
|
pass
|
|
39127
39155
|
|
|
39156
|
+
def _typecheckingstub__fc44eec88f6aaee7e170f453974183a08768efc2af4f04d00c94c131fb83f5da(
|
|
39157
|
+
hardware_type: typing.Optional[AmiHardwareType] = None,
|
|
39158
|
+
*,
|
|
39159
|
+
cached_in_context: typing.Optional[builtins.bool] = None,
|
|
39160
|
+
) -> None:
|
|
39161
|
+
"""Type checking stubs"""
|
|
39162
|
+
pass
|
|
39163
|
+
|
|
39128
39164
|
def _typecheckingstub__2b2ecfae2d485e25e72afeff56a0440720bb0614429d89d481532900bc2f7e9c(
|
|
39129
39165
|
windows_version: WindowsOptimizedVersion,
|
|
39130
39166
|
*,
|