aws-cdk-lib 2.133.0__py3-none-any.whl → 2.134.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 (56) hide show
  1. aws_cdk/__init__.py +9 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +105 -3
  5. aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
  6. aws_cdk/aws_appconfig/__init__.py +186 -8
  7. aws_cdk/aws_appintegrations/__init__.py +551 -0
  8. aws_cdk/aws_appsync/__init__.py +71 -0
  9. aws_cdk/aws_autoscaling/__init__.py +6 -4
  10. aws_cdk/aws_backup/__init__.py +23 -12
  11. aws_cdk/aws_batch/__init__.py +423 -73
  12. aws_cdk/aws_bedrock/__init__.py +197 -2
  13. aws_cdk/aws_cloudformation/__init__.py +1 -1
  14. aws_cdk/aws_cloudfront/__init__.py +2 -2
  15. aws_cdk/aws_cloudtrail/__init__.py +44 -14
  16. aws_cdk/aws_cloudwatch/__init__.py +18 -0
  17. aws_cdk/aws_codeartifact/__init__.py +812 -2
  18. aws_cdk/aws_codebuild/__init__.py +21 -5
  19. aws_cdk/aws_codepipeline/__init__.py +24 -8
  20. aws_cdk/aws_cognito/__init__.py +41 -40
  21. aws_cdk/aws_connect/__init__.py +256 -0
  22. aws_cdk/aws_datasync/__init__.py +393 -13
  23. aws_cdk/aws_dlm/__init__.py +2 -2
  24. aws_cdk/aws_docdbelastic/__init__.py +117 -0
  25. aws_cdk/aws_dynamodb/__init__.py +416 -5
  26. aws_cdk/aws_ec2/__init__.py +493 -93
  27. aws_cdk/aws_ecs/__init__.py +6 -4
  28. aws_cdk/aws_eks/__init__.py +27 -25
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +359 -60
  30. aws_cdk/aws_entityresolution/__init__.py +91 -64
  31. aws_cdk/aws_glue/__init__.py +137 -3
  32. aws_cdk/aws_iam/__init__.py +9 -10
  33. aws_cdk/aws_internetmonitor/__init__.py +85 -0
  34. aws_cdk/aws_iotsitewise/__init__.py +110 -50
  35. aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
  36. aws_cdk/aws_kendra/__init__.py +34 -24
  37. aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
  38. aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
  39. aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
  40. aws_cdk/aws_msk/__init__.py +88 -0
  41. aws_cdk/aws_opensearchservice/__init__.py +19 -17
  42. aws_cdk/aws_pinpoint/__init__.py +42 -0
  43. aws_cdk/aws_rds/__init__.py +48 -14
  44. aws_cdk/aws_sagemaker/__init__.py +2 -2
  45. aws_cdk/aws_ssm/__init__.py +3 -3
  46. aws_cdk/aws_stepfunctions_tasks/__init__.py +23 -0
  47. aws_cdk/aws_synthetics/__init__.py +74 -14
  48. aws_cdk/aws_transfer/__init__.py +4 -3
  49. aws_cdk/aws_wafv2/__init__.py +96 -46
  50. aws_cdk/cx_api/__init__.py +17 -0
  51. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
  52. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +56 -56
  53. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
  54. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
  55. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
  56. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
@@ -6719,6 +6719,20 @@ class CfnTask(
6719
6719
  filter_type="filterType",
6720
6720
  value="value"
6721
6721
  )],
6722
+ manifest_config=datasync.CfnTask.ManifestConfigProperty(
6723
+ source=datasync.CfnTask.SourceProperty(
6724
+ s3=datasync.CfnTask.ManifestConfigSourceS3Property(
6725
+ bucket_access_role_arn="bucketAccessRoleArn",
6726
+ manifest_object_path="manifestObjectPath",
6727
+ manifest_object_version_id="manifestObjectVersionId",
6728
+ s3_bucket_arn="s3BucketArn"
6729
+ )
6730
+ ),
6731
+
6732
+ # the properties below are optional
6733
+ action="action",
6734
+ format="format"
6735
+ ),
6722
6736
  name="name",
6723
6737
  options=datasync.CfnTask.OptionsProperty(
6724
6738
  atime="atime",
@@ -6785,6 +6799,7 @@ class CfnTask(
6785
6799
  cloud_watch_log_group_arn: typing.Optional[builtins.str] = None,
6786
6800
  excludes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.FilterRuleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
6787
6801
  includes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.FilterRuleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
6802
+ manifest_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.ManifestConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6788
6803
  name: typing.Optional[builtins.str] = None,
6789
6804
  options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.OptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6790
6805
  schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.TaskScheduleProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -6799,6 +6814,7 @@ class CfnTask(
6799
6814
  :param cloud_watch_log_group_arn: The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the task. For more information about how to use CloudWatch Logs with DataSync, see `Monitoring Your Task <https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html#cloudwatchlogs>`_ in the *AWS DataSync User Guide.* For more information about these groups, see `Working with Log Groups and Log Streams <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html>`_ in the *Amazon CloudWatch Logs User Guide* .
6800
6815
  :param excludes: Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see `Filtering data transferred by DataSync <https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html>`_ .
6801
6816
  :param includes: Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see `Filtering data transferred by DataSync <https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html>`_ .
6817
+ :param manifest_config: The configuration of the manifest that lists the files or objects to transfer. For more information, see `Specifying what DataSync transfers by using a manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html>`_ .
6802
6818
  :param name: The name of a task. This value is a text reference that is used to identify the task in the console.
6803
6819
  :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>`_ .
6804
6820
  :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>`_ .
@@ -6815,6 +6831,7 @@ class CfnTask(
6815
6831
  cloud_watch_log_group_arn=cloud_watch_log_group_arn,
6816
6832
  excludes=excludes,
6817
6833
  includes=includes,
6834
+ manifest_config=manifest_config,
6818
6835
  name=name,
6819
6836
  options=options,
6820
6837
  schedule=schedule,
@@ -6976,6 +6993,24 @@ class CfnTask(
6976
6993
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
6977
6994
  jsii.set(self, "includes", value)
6978
6995
 
6996
+ @builtins.property
6997
+ @jsii.member(jsii_name="manifestConfig")
6998
+ def manifest_config(
6999
+ self,
7000
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.ManifestConfigProperty"]]:
7001
+ '''The configuration of the manifest that lists the files or objects to transfer.'''
7002
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.ManifestConfigProperty"]], jsii.get(self, "manifestConfig"))
7003
+
7004
+ @manifest_config.setter
7005
+ def manifest_config(
7006
+ self,
7007
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.ManifestConfigProperty"]],
7008
+ ) -> None:
7009
+ if __debug__:
7010
+ type_hints = typing.get_type_hints(_typecheckingstub__adfc26e9a88359e12066dd2ec9b2a9e0a61fb79f73189fa8a39e637687c9fa9c)
7011
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
7012
+ jsii.set(self, "manifestConfig", value)
7013
+
6979
7014
  @builtins.property
6980
7015
  @jsii.member(jsii_name="name")
6981
7016
  def name(self) -> typing.Optional[builtins.str]:
@@ -7252,6 +7287,226 @@ class CfnTask(
7252
7287
  k + "=" + repr(v) for k, v in self._values.items()
7253
7288
  )
7254
7289
 
7290
+ @jsii.data_type(
7291
+ jsii_type="aws-cdk-lib.aws_datasync.CfnTask.ManifestConfigProperty",
7292
+ jsii_struct_bases=[],
7293
+ name_mapping={"source": "source", "action": "action", "format": "format"},
7294
+ )
7295
+ class ManifestConfigProperty:
7296
+ def __init__(
7297
+ self,
7298
+ *,
7299
+ source: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.SourceProperty", typing.Dict[builtins.str, typing.Any]]],
7300
+ action: typing.Optional[builtins.str] = None,
7301
+ format: typing.Optional[builtins.str] = None,
7302
+ ) -> None:
7303
+ '''Configures a manifest, which is a list of files or objects that you want AWS DataSync to transfer.
7304
+
7305
+ For more information and configuration examples, see `Specifying what DataSync transfers by using a manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html>`_ .
7306
+
7307
+ :param source: Specifies the manifest that you want DataSync to use and where it's hosted. .. epigraph:: You must specify this parameter if you're configuring a new manifest on or after February 7, 2024. If you don't, you'll get a 400 status code and ``ValidationException`` error stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see `Providing DataSync access to your manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html#transferring-with-manifest-access>`_ .
7308
+ :param action: Specifies what DataSync uses the manifest for.
7309
+ :param format: Specifies the file format of your manifest. For more information, see `Creating a manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html#transferring-with-manifest-create>`_ .
7310
+
7311
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfig.html
7312
+ :exampleMetadata: fixture=_generated
7313
+
7314
+ Example::
7315
+
7316
+ # The code below shows an example of how to instantiate this type.
7317
+ # The values are placeholders you should change.
7318
+ from aws_cdk import aws_datasync as datasync
7319
+
7320
+ manifest_config_property = datasync.CfnTask.ManifestConfigProperty(
7321
+ source=datasync.CfnTask.SourceProperty(
7322
+ s3=datasync.CfnTask.ManifestConfigSourceS3Property(
7323
+ bucket_access_role_arn="bucketAccessRoleArn",
7324
+ manifest_object_path="manifestObjectPath",
7325
+ manifest_object_version_id="manifestObjectVersionId",
7326
+ s3_bucket_arn="s3BucketArn"
7327
+ )
7328
+ ),
7329
+
7330
+ # the properties below are optional
7331
+ action="action",
7332
+ format="format"
7333
+ )
7334
+ '''
7335
+ if __debug__:
7336
+ type_hints = typing.get_type_hints(_typecheckingstub__24f392dd164095fff95d497fcd80fd8e99a252d97a070e9cb64573100cdcc65c)
7337
+ check_type(argname="argument source", value=source, expected_type=type_hints["source"])
7338
+ check_type(argname="argument action", value=action, expected_type=type_hints["action"])
7339
+ check_type(argname="argument format", value=format, expected_type=type_hints["format"])
7340
+ self._values: typing.Dict[builtins.str, typing.Any] = {
7341
+ "source": source,
7342
+ }
7343
+ if action is not None:
7344
+ self._values["action"] = action
7345
+ if format is not None:
7346
+ self._values["format"] = format
7347
+
7348
+ @builtins.property
7349
+ def source(
7350
+ self,
7351
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnTask.SourceProperty"]:
7352
+ '''Specifies the manifest that you want DataSync to use and where it's hosted.
7353
+
7354
+ .. epigraph::
7355
+
7356
+ You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
7357
+
7358
+ If you don't, you'll get a 400 status code and ``ValidationException`` error stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see `Providing DataSync access to your manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html#transferring-with-manifest-access>`_ .
7359
+
7360
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfig.html#cfn-datasync-task-manifestconfig-source
7361
+ '''
7362
+ result = self._values.get("source")
7363
+ assert result is not None, "Required property 'source' is missing"
7364
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTask.SourceProperty"], result)
7365
+
7366
+ @builtins.property
7367
+ def action(self) -> typing.Optional[builtins.str]:
7368
+ '''Specifies what DataSync uses the manifest for.
7369
+
7370
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfig.html#cfn-datasync-task-manifestconfig-action
7371
+ '''
7372
+ result = self._values.get("action")
7373
+ return typing.cast(typing.Optional[builtins.str], result)
7374
+
7375
+ @builtins.property
7376
+ def format(self) -> typing.Optional[builtins.str]:
7377
+ '''Specifies the file format of your manifest.
7378
+
7379
+ For more information, see `Creating a manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html#transferring-with-manifest-create>`_ .
7380
+
7381
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfig.html#cfn-datasync-task-manifestconfig-format
7382
+ '''
7383
+ result = self._values.get("format")
7384
+ return typing.cast(typing.Optional[builtins.str], result)
7385
+
7386
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
7387
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
7388
+
7389
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
7390
+ return not (rhs == self)
7391
+
7392
+ def __repr__(self) -> str:
7393
+ return "ManifestConfigProperty(%s)" % ", ".join(
7394
+ k + "=" + repr(v) for k, v in self._values.items()
7395
+ )
7396
+
7397
+ @jsii.data_type(
7398
+ jsii_type="aws-cdk-lib.aws_datasync.CfnTask.ManifestConfigSourceS3Property",
7399
+ jsii_struct_bases=[],
7400
+ name_mapping={
7401
+ "bucket_access_role_arn": "bucketAccessRoleArn",
7402
+ "manifest_object_path": "manifestObjectPath",
7403
+ "manifest_object_version_id": "manifestObjectVersionId",
7404
+ "s3_bucket_arn": "s3BucketArn",
7405
+ },
7406
+ )
7407
+ class ManifestConfigSourceS3Property:
7408
+ def __init__(
7409
+ self,
7410
+ *,
7411
+ bucket_access_role_arn: typing.Optional[builtins.str] = None,
7412
+ manifest_object_path: typing.Optional[builtins.str] = None,
7413
+ manifest_object_version_id: typing.Optional[builtins.str] = None,
7414
+ s3_bucket_arn: typing.Optional[builtins.str] = None,
7415
+ ) -> None:
7416
+ '''Specifies the S3 bucket where you're hosting the manifest that you want AWS DataSync to use.
7417
+
7418
+ For more information and configuration examples, see `Specifying what DataSync transfers by using a manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html>`_ .
7419
+
7420
+ :param bucket_access_role_arn: Specifies the AWS Identity and Access Management (IAM) role that allows DataSync to access your manifest. For more information, see `Providing DataSync access to your manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html#transferring-with-manifest-access>`_ .
7421
+ :param manifest_object_path: Specifies the Amazon S3 object key of your manifest. This can include a prefix (for example, ``prefix/my-manifest.csv`` ).
7422
+ :param manifest_object_version_id: Specifies the object version ID of the manifest that you want DataSync to use. If you don't set this, DataSync uses the latest version of the object.
7423
+ :param s3_bucket_arn: Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
7424
+
7425
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfigsources3.html
7426
+ :exampleMetadata: fixture=_generated
7427
+
7428
+ Example::
7429
+
7430
+ # The code below shows an example of how to instantiate this type.
7431
+ # The values are placeholders you should change.
7432
+ from aws_cdk import aws_datasync as datasync
7433
+
7434
+ manifest_config_source_s3_property = datasync.CfnTask.ManifestConfigSourceS3Property(
7435
+ bucket_access_role_arn="bucketAccessRoleArn",
7436
+ manifest_object_path="manifestObjectPath",
7437
+ manifest_object_version_id="manifestObjectVersionId",
7438
+ s3_bucket_arn="s3BucketArn"
7439
+ )
7440
+ '''
7441
+ if __debug__:
7442
+ type_hints = typing.get_type_hints(_typecheckingstub__b1d8718794bcb3bdc90c54997b7600d13961852c4adddc60005e8bf3016ef3f8)
7443
+ check_type(argname="argument bucket_access_role_arn", value=bucket_access_role_arn, expected_type=type_hints["bucket_access_role_arn"])
7444
+ check_type(argname="argument manifest_object_path", value=manifest_object_path, expected_type=type_hints["manifest_object_path"])
7445
+ check_type(argname="argument manifest_object_version_id", value=manifest_object_version_id, expected_type=type_hints["manifest_object_version_id"])
7446
+ check_type(argname="argument s3_bucket_arn", value=s3_bucket_arn, expected_type=type_hints["s3_bucket_arn"])
7447
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
7448
+ if bucket_access_role_arn is not None:
7449
+ self._values["bucket_access_role_arn"] = bucket_access_role_arn
7450
+ if manifest_object_path is not None:
7451
+ self._values["manifest_object_path"] = manifest_object_path
7452
+ if manifest_object_version_id is not None:
7453
+ self._values["manifest_object_version_id"] = manifest_object_version_id
7454
+ if s3_bucket_arn is not None:
7455
+ self._values["s3_bucket_arn"] = s3_bucket_arn
7456
+
7457
+ @builtins.property
7458
+ def bucket_access_role_arn(self) -> typing.Optional[builtins.str]:
7459
+ '''Specifies the AWS Identity and Access Management (IAM) role that allows DataSync to access your manifest.
7460
+
7461
+ For more information, see `Providing DataSync access to your manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html#transferring-with-manifest-access>`_ .
7462
+
7463
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfigsources3.html#cfn-datasync-task-manifestconfigsources3-bucketaccessrolearn
7464
+ '''
7465
+ result = self._values.get("bucket_access_role_arn")
7466
+ return typing.cast(typing.Optional[builtins.str], result)
7467
+
7468
+ @builtins.property
7469
+ def manifest_object_path(self) -> typing.Optional[builtins.str]:
7470
+ '''Specifies the Amazon S3 object key of your manifest.
7471
+
7472
+ This can include a prefix (for example, ``prefix/my-manifest.csv`` ).
7473
+
7474
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfigsources3.html#cfn-datasync-task-manifestconfigsources3-manifestobjectpath
7475
+ '''
7476
+ result = self._values.get("manifest_object_path")
7477
+ return typing.cast(typing.Optional[builtins.str], result)
7478
+
7479
+ @builtins.property
7480
+ def manifest_object_version_id(self) -> typing.Optional[builtins.str]:
7481
+ '''Specifies the object version ID of the manifest that you want DataSync to use.
7482
+
7483
+ If you don't set this, DataSync uses the latest version of the object.
7484
+
7485
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfigsources3.html#cfn-datasync-task-manifestconfigsources3-manifestobjectversionid
7486
+ '''
7487
+ result = self._values.get("manifest_object_version_id")
7488
+ return typing.cast(typing.Optional[builtins.str], result)
7489
+
7490
+ @builtins.property
7491
+ def s3_bucket_arn(self) -> typing.Optional[builtins.str]:
7492
+ '''Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
7493
+
7494
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfigsources3.html#cfn-datasync-task-manifestconfigsources3-s3bucketarn
7495
+ '''
7496
+ result = self._values.get("s3_bucket_arn")
7497
+ return typing.cast(typing.Optional[builtins.str], result)
7498
+
7499
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
7500
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
7501
+
7502
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
7503
+ return not (rhs == self)
7504
+
7505
+ def __repr__(self) -> str:
7506
+ return "ManifestConfigSourceS3Property(%s)" % ", ".join(
7507
+ k + "=" + repr(v) for k, v in self._values.items()
7508
+ )
7509
+
7255
7510
  @jsii.data_type(
7256
7511
  jsii_type="aws-cdk-lib.aws_datasync.CfnTask.OptionsProperty",
7257
7512
  jsii_struct_bases=[],
@@ -7800,11 +8055,10 @@ class CfnTask(
7800
8055
  s3_bucket_arn: typing.Optional[builtins.str] = None,
7801
8056
  subdirectory: typing.Optional[builtins.str] = None,
7802
8057
  ) -> None:
7803
- '''Specifies the Amazon S3 bucket where DataSync uploads your `task report <https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html>`_ .
7804
-
7805
- :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>`_ .
7806
- :param s3_bucket_arn: Specifies the ARN of the S3 bucket where DataSync uploads your report.
7807
- :param subdirectory: Specifies a bucket prefix for your report.
8058
+ '''
8059
+ :param bucket_access_role_arn:
8060
+ :param s3_bucket_arn:
8061
+ :param subdirectory:
7808
8062
 
7809
8063
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html
7810
8064
  :exampleMetadata: fixture=_generated
@@ -7836,10 +8090,7 @@ class CfnTask(
7836
8090
 
7837
8091
  @builtins.property
7838
8092
  def bucket_access_role_arn(self) -> typing.Optional[builtins.str]:
7839
- '''Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket.
7840
-
7841
- 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>`_ .
7842
-
8093
+ '''
7843
8094
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html#cfn-datasync-task-s3-bucketaccessrolearn
7844
8095
  '''
7845
8096
  result = self._values.get("bucket_access_role_arn")
@@ -7847,8 +8098,7 @@ class CfnTask(
7847
8098
 
7848
8099
  @builtins.property
7849
8100
  def s3_bucket_arn(self) -> typing.Optional[builtins.str]:
7850
- '''Specifies the ARN of the S3 bucket where DataSync uploads your report.
7851
-
8101
+ '''
7852
8102
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html#cfn-datasync-task-s3-s3bucketarn
7853
8103
  '''
7854
8104
  result = self._values.get("s3_bucket_arn")
@@ -7856,8 +8106,7 @@ class CfnTask(
7856
8106
 
7857
8107
  @builtins.property
7858
8108
  def subdirectory(self) -> typing.Optional[builtins.str]:
7859
- '''Specifies a bucket prefix for your report.
7860
-
8109
+ '''
7861
8110
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html#cfn-datasync-task-s3-subdirectory
7862
8111
  '''
7863
8112
  result = self._values.get("subdirectory")
@@ -7932,6 +8181,70 @@ class CfnTask(
7932
8181
  k + "=" + repr(v) for k, v in self._values.items()
7933
8182
  )
7934
8183
 
8184
+ @jsii.data_type(
8185
+ jsii_type="aws-cdk-lib.aws_datasync.CfnTask.SourceProperty",
8186
+ jsii_struct_bases=[],
8187
+ name_mapping={"s3": "s3"},
8188
+ )
8189
+ class SourceProperty:
8190
+ def __init__(
8191
+ self,
8192
+ *,
8193
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.ManifestConfigSourceS3Property", typing.Dict[builtins.str, typing.Any]]]] = None,
8194
+ ) -> None:
8195
+ '''Specifies the manifest that you want AWS DataSync to use and where it's hosted.
8196
+
8197
+ For more information and configuration examples, see `Specifying what DataSync transfers by using a manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html>`_ .
8198
+
8199
+ :param s3: Specifies the S3 bucket where you're hosting your manifest.
8200
+
8201
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-source.html
8202
+ :exampleMetadata: fixture=_generated
8203
+
8204
+ Example::
8205
+
8206
+ # The code below shows an example of how to instantiate this type.
8207
+ # The values are placeholders you should change.
8208
+ from aws_cdk import aws_datasync as datasync
8209
+
8210
+ source_property = datasync.CfnTask.SourceProperty(
8211
+ s3=datasync.CfnTask.ManifestConfigSourceS3Property(
8212
+ bucket_access_role_arn="bucketAccessRoleArn",
8213
+ manifest_object_path="manifestObjectPath",
8214
+ manifest_object_version_id="manifestObjectVersionId",
8215
+ s3_bucket_arn="s3BucketArn"
8216
+ )
8217
+ )
8218
+ '''
8219
+ if __debug__:
8220
+ type_hints = typing.get_type_hints(_typecheckingstub__648d2c1cae7d2043ba70966584d1164b3b2f9700f7b684da9f7e31f727c3d14d)
8221
+ check_type(argname="argument s3", value=s3, expected_type=type_hints["s3"])
8222
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
8223
+ if s3 is not None:
8224
+ self._values["s3"] = s3
8225
+
8226
+ @builtins.property
8227
+ def s3(
8228
+ self,
8229
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.ManifestConfigSourceS3Property"]]:
8230
+ '''Specifies the S3 bucket where you're hosting your manifest.
8231
+
8232
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-source.html#cfn-datasync-task-source-s3
8233
+ '''
8234
+ result = self._values.get("s3")
8235
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.ManifestConfigSourceS3Property"]], result)
8236
+
8237
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
8238
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
8239
+
8240
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
8241
+ return not (rhs == self)
8242
+
8243
+ def __repr__(self) -> str:
8244
+ return "SourceProperty(%s)" % ", ".join(
8245
+ k + "=" + repr(v) for k, v in self._values.items()
8246
+ )
8247
+
7935
8248
  @jsii.data_type(
7936
8249
  jsii_type="aws-cdk-lib.aws_datasync.CfnTask.TaskReportConfigProperty",
7937
8250
  jsii_struct_bases=[],
@@ -8273,6 +8586,7 @@ class CfnTask(
8273
8586
  "cloud_watch_log_group_arn": "cloudWatchLogGroupArn",
8274
8587
  "excludes": "excludes",
8275
8588
  "includes": "includes",
8589
+ "manifest_config": "manifestConfig",
8276
8590
  "name": "name",
8277
8591
  "options": "options",
8278
8592
  "schedule": "schedule",
@@ -8289,6 +8603,7 @@ class CfnTaskProps:
8289
8603
  cloud_watch_log_group_arn: typing.Optional[builtins.str] = None,
8290
8604
  excludes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.FilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
8291
8605
  includes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.FilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
8606
+ manifest_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.ManifestConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
8292
8607
  name: typing.Optional[builtins.str] = None,
8293
8608
  options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.OptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
8294
8609
  schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.TaskScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -8302,6 +8617,7 @@ class CfnTaskProps:
8302
8617
  :param cloud_watch_log_group_arn: The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the task. For more information about how to use CloudWatch Logs with DataSync, see `Monitoring Your Task <https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html#cloudwatchlogs>`_ in the *AWS DataSync User Guide.* For more information about these groups, see `Working with Log Groups and Log Streams <https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html>`_ in the *Amazon CloudWatch Logs User Guide* .
8303
8618
  :param excludes: Specifies a list of filter rules that exclude specific data during your transfer. For more information and examples, see `Filtering data transferred by DataSync <https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html>`_ .
8304
8619
  :param includes: Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see `Filtering data transferred by DataSync <https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html>`_ .
8620
+ :param manifest_config: The configuration of the manifest that lists the files or objects to transfer. For more information, see `Specifying what DataSync transfers by using a manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html>`_ .
8305
8621
  :param name: The name of a task. This value is a text reference that is used to identify the task in the console.
8306
8622
  :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>`_ .
8307
8623
  :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>`_ .
@@ -8331,6 +8647,20 @@ class CfnTaskProps:
8331
8647
  filter_type="filterType",
8332
8648
  value="value"
8333
8649
  )],
8650
+ manifest_config=datasync.CfnTask.ManifestConfigProperty(
8651
+ source=datasync.CfnTask.SourceProperty(
8652
+ s3=datasync.CfnTask.ManifestConfigSourceS3Property(
8653
+ bucket_access_role_arn="bucketAccessRoleArn",
8654
+ manifest_object_path="manifestObjectPath",
8655
+ manifest_object_version_id="manifestObjectVersionId",
8656
+ s3_bucket_arn="s3BucketArn"
8657
+ )
8658
+ ),
8659
+
8660
+ # the properties below are optional
8661
+ action="action",
8662
+ format="format"
8663
+ ),
8334
8664
  name="name",
8335
8665
  options=datasync.CfnTask.OptionsProperty(
8336
8666
  atime="atime",
@@ -8393,6 +8723,7 @@ class CfnTaskProps:
8393
8723
  check_type(argname="argument cloud_watch_log_group_arn", value=cloud_watch_log_group_arn, expected_type=type_hints["cloud_watch_log_group_arn"])
8394
8724
  check_type(argname="argument excludes", value=excludes, expected_type=type_hints["excludes"])
8395
8725
  check_type(argname="argument includes", value=includes, expected_type=type_hints["includes"])
8726
+ check_type(argname="argument manifest_config", value=manifest_config, expected_type=type_hints["manifest_config"])
8396
8727
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
8397
8728
  check_type(argname="argument options", value=options, expected_type=type_hints["options"])
8398
8729
  check_type(argname="argument schedule", value=schedule, expected_type=type_hints["schedule"])
@@ -8408,6 +8739,8 @@ class CfnTaskProps:
8408
8739
  self._values["excludes"] = excludes
8409
8740
  if includes is not None:
8410
8741
  self._values["includes"] = includes
8742
+ if manifest_config is not None:
8743
+ self._values["manifest_config"] = manifest_config
8411
8744
  if name is not None:
8412
8745
  self._values["name"] = name
8413
8746
  if options is not None:
@@ -8478,6 +8811,19 @@ class CfnTaskProps:
8478
8811
  result = self._values.get("includes")
8479
8812
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnTask.FilterRuleProperty]]]], result)
8480
8813
 
8814
+ @builtins.property
8815
+ def manifest_config(
8816
+ self,
8817
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTask.ManifestConfigProperty]]:
8818
+ '''The configuration of the manifest that lists the files or objects to transfer.
8819
+
8820
+ For more information, see `Specifying what DataSync transfers by using a manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html>`_ .
8821
+
8822
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-manifestconfig
8823
+ '''
8824
+ result = self._values.get("manifest_config")
8825
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTask.ManifestConfigProperty]], result)
8826
+
8481
8827
  @builtins.property
8482
8828
  def name(self) -> typing.Optional[builtins.str]:
8483
8829
  '''The name of a task.
@@ -9788,6 +10134,7 @@ def _typecheckingstub__9add9673a1f0ceb078949e967bce91066ff7e0441dae95d55c11c4a50
9788
10134
  cloud_watch_log_group_arn: typing.Optional[builtins.str] = None,
9789
10135
  excludes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.FilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
9790
10136
  includes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.FilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10137
+ manifest_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.ManifestConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9791
10138
  name: typing.Optional[builtins.str] = None,
9792
10139
  options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.OptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9793
10140
  schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.TaskScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -9839,6 +10186,12 @@ def _typecheckingstub__b70b42cfb53e13801c9b46a0aeb316cf7696061c5b7fc11b20c797067
9839
10186
  """Type checking stubs"""
9840
10187
  pass
9841
10188
 
10189
+ def _typecheckingstub__adfc26e9a88359e12066dd2ec9b2a9e0a61fb79f73189fa8a39e637687c9fa9c(
10190
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTask.ManifestConfigProperty]],
10191
+ ) -> None:
10192
+ """Type checking stubs"""
10193
+ pass
10194
+
9842
10195
  def _typecheckingstub__de210bcc8ac65745973f2b8e5143c561a12afe1f24163e2b50a4fe61574c7317(
9843
10196
  value: typing.Optional[builtins.str],
9844
10197
  ) -> None:
@@ -9891,6 +10244,25 @@ def _typecheckingstub__d2957bcb9b505b6af4afc512d05d4225e97bb106c72da06526a6a27ec
9891
10244
  """Type checking stubs"""
9892
10245
  pass
9893
10246
 
10247
+ def _typecheckingstub__24f392dd164095fff95d497fcd80fd8e99a252d97a070e9cb64573100cdcc65c(
10248
+ *,
10249
+ source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
10250
+ action: typing.Optional[builtins.str] = None,
10251
+ format: typing.Optional[builtins.str] = None,
10252
+ ) -> None:
10253
+ """Type checking stubs"""
10254
+ pass
10255
+
10256
+ def _typecheckingstub__b1d8718794bcb3bdc90c54997b7600d13961852c4adddc60005e8bf3016ef3f8(
10257
+ *,
10258
+ bucket_access_role_arn: typing.Optional[builtins.str] = None,
10259
+ manifest_object_path: typing.Optional[builtins.str] = None,
10260
+ manifest_object_version_id: typing.Optional[builtins.str] = None,
10261
+ s3_bucket_arn: typing.Optional[builtins.str] = None,
10262
+ ) -> None:
10263
+ """Type checking stubs"""
10264
+ pass
10265
+
9894
10266
  def _typecheckingstub__c7557db697c0c06b71a63bdcbecc24fb94bbe4de1de1980fd9b1a7e36f454ea9(
9895
10267
  *,
9896
10268
  atime: typing.Optional[builtins.str] = None,
@@ -9938,6 +10310,13 @@ def _typecheckingstub__3c18544378625bf9f1fbb6beae21b7f0068188b1f7befe07dd931ccd6
9938
10310
  """Type checking stubs"""
9939
10311
  pass
9940
10312
 
10313
+ def _typecheckingstub__648d2c1cae7d2043ba70966584d1164b3b2f9700f7b684da9f7e31f727c3d14d(
10314
+ *,
10315
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.ManifestConfigSourceS3Property, typing.Dict[builtins.str, typing.Any]]]] = None,
10316
+ ) -> None:
10317
+ """Type checking stubs"""
10318
+ pass
10319
+
9941
10320
  def _typecheckingstub__b009bd11595c3338d0fb505588fdbb9ccbeb567f140029bfcac0b346936a0fe1(
9942
10321
  *,
9943
10322
  destination: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.DestinationProperty, typing.Dict[builtins.str, typing.Any]]],
@@ -9977,6 +10356,7 @@ def _typecheckingstub__5632ab868186e470f4d8f0c14e3f12b71107be017f54f3194a076b9da
9977
10356
  cloud_watch_log_group_arn: typing.Optional[builtins.str] = None,
9978
10357
  excludes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.FilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
9979
10358
  includes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.FilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10359
+ manifest_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.ManifestConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9980
10360
  name: typing.Optional[builtins.str] = None,
9981
10361
  options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.OptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9982
10362
  schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.TaskScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -764,7 +764,7 @@ class CfnLifecyclePolicy(
764
764
  - You must specify either *CronExpression* , or *Interval* , *IntervalUnit* , and *Times* .
765
765
  - If you need to specify an `ArchiveRule <https://docs.aws.amazon.com/dlm/latest/APIReference/API_ArchiveRule.html>`_ for the schedule, then you must specify a creation frequency of at least 28 days.
766
766
 
767
- :param cron_expression: The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see `Cron expressions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions>`_ in the *Amazon CloudWatch User Guide* .
767
+ :param cron_expression: The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see the `Cron expressions reference <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html>`_ in the *Amazon EventBridge User Guide* .
768
768
  :param interval: The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.
769
769
  :param interval_unit: The interval unit.
770
770
  :param location: *[Custom snapshot policies only]* Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify ``CLOUD`` . To create snapshots on the same Outpost as the source resource, specify ``OUTPOST_LOCAL`` . If you omit this parameter, ``CLOUD`` is used by default. If the policy targets resources in an AWS Region , then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost.
@@ -822,7 +822,7 @@ class CfnLifecyclePolicy(
822
822
  def cron_expression(self) -> typing.Optional[builtins.str]:
823
823
  '''The schedule, as a Cron expression.
824
824
 
825
- The schedule interval must be between 1 hour and 1 year. For more information, see `Cron expressions <https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions>`_ in the *Amazon CloudWatch User Guide* .
825
+ The schedule interval must be between 1 hour and 1 year. For more information, see the `Cron expressions reference <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html>`_ in the *Amazon EventBridge User Guide* .
826
826
 
827
827
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html#cfn-dlm-lifecyclepolicy-createrule-cronexpression
828
828
  '''