aws-cdk-lib 2.133.0__py3-none-any.whl → 2.135.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.
- aws_cdk/__init__.py +14 -1
- aws_cdk/_jsii/__init__.py +4 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.135.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -0
- aws_cdk/assertions/__init__.py +3 -0
- aws_cdk/aws_accessanalyzer/__init__.py +3 -0
- aws_cdk/aws_acmpca/__init__.py +3 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -0
- aws_cdk/aws_amplify/__init__.py +3 -0
- aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
- aws_cdk/aws_apigateway/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2/__init__.py +108 -3
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +3 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +158 -3
- aws_cdk/aws_appconfig/__init__.py +189 -8
- aws_cdk/aws_appflow/__init__.py +3 -0
- aws_cdk/aws_appintegrations/__init__.py +560 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_applicationinsights/__init__.py +3 -0
- aws_cdk/aws_appmesh/__init__.py +4 -1
- aws_cdk/aws_apprunner/__init__.py +3 -0
- aws_cdk/aws_appstream/__init__.py +3 -0
- aws_cdk/aws_appsync/__init__.py +74 -0
- aws_cdk/aws_aps/__init__.py +805 -1
- aws_cdk/aws_arczonalshift/__init__.py +3 -0
- aws_cdk/aws_athena/__init__.py +3 -0
- aws_cdk/aws_auditmanager/__init__.py +3 -0
- aws_cdk/aws_autoscaling/__init__.py +9 -4
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +3 -0
- aws_cdk/aws_b2bi/__init__.py +3 -0
- aws_cdk/aws_backup/__init__.py +26 -12
- aws_cdk/aws_backupgateway/__init__.py +3 -0
- aws_cdk/aws_batch/__init__.py +426 -73
- aws_cdk/aws_bedrock/__init__.py +200 -2
- aws_cdk/aws_billingconductor/__init__.py +3 -0
- aws_cdk/aws_budgets/__init__.py +3 -0
- aws_cdk/aws_cassandra/__init__.py +3 -0
- aws_cdk/aws_ce/__init__.py +3 -0
- aws_cdk/aws_certificatemanager/__init__.py +3 -0
- aws_cdk/aws_chatbot/__init__.py +3 -0
- aws_cdk/aws_cleanrooms/__init__.py +183 -6
- aws_cdk/aws_cloud9/__init__.py +3 -0
- aws_cdk/aws_cloudformation/__init__.py +4 -1
- aws_cdk/aws_cloudfront/__init__.py +5 -2
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +3 -0
- aws_cdk/aws_cloudtrail/__init__.py +47 -14
- aws_cdk/aws_cloudwatch/__init__.py +21 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +3 -0
- aws_cdk/aws_codeartifact/__init__.py +815 -2
- aws_cdk/aws_codebuild/__init__.py +38 -16
- aws_cdk/aws_codecommit/__init__.py +3 -0
- aws_cdk/aws_codedeploy/__init__.py +3 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
- aws_cdk/aws_codegurureviewer/__init__.py +3 -0
- aws_cdk/aws_codepipeline/__init__.py +27 -8
- aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
- aws_cdk/aws_codestar/__init__.py +3 -0
- aws_cdk/aws_codestarconnections/__init__.py +91 -2
- aws_cdk/aws_codestarnotifications/__init__.py +3 -0
- aws_cdk/aws_cognito/__init__.py +44 -40
- aws_cdk/aws_comprehend/__init__.py +3 -0
- aws_cdk/aws_config/__init__.py +3 -0
- aws_cdk/aws_connect/__init__.py +277 -0
- aws_cdk/aws_connectcampaigns/__init__.py +3 -0
- aws_cdk/aws_controltower/__init__.py +3 -0
- aws_cdk/aws_cur/__init__.py +3 -0
- aws_cdk/aws_customerprofiles/__init__.py +3 -0
- aws_cdk/aws_databrew/__init__.py +3 -0
- aws_cdk/aws_datapipeline/__init__.py +3 -0
- aws_cdk/aws_datasync/__init__.py +396 -13
- aws_cdk/aws_datazone/__init__.py +3 -0
- aws_cdk/aws_dax/__init__.py +3 -0
- aws_cdk/aws_detective/__init__.py +3 -0
- aws_cdk/aws_devicefarm/__init__.py +3 -0
- aws_cdk/aws_devopsguru/__init__.py +3 -0
- aws_cdk/aws_directoryservice/__init__.py +3 -0
- aws_cdk/aws_dlm/__init__.py +5 -2
- aws_cdk/aws_dms/__init__.py +30 -9
- aws_cdk/aws_docdb/__init__.py +3 -0
- aws_cdk/aws_docdbelastic/__init__.py +128 -0
- aws_cdk/aws_dynamodb/__init__.py +419 -5
- aws_cdk/aws_ec2/__init__.py +3530 -504
- aws_cdk/aws_ecr/__init__.py +3 -0
- aws_cdk/aws_ecr_assets/__init__.py +3 -0
- aws_cdk/aws_ecs/__init__.py +12 -4
- aws_cdk/aws_ecs_patterns/__init__.py +3 -0
- aws_cdk/aws_efs/__init__.py +3 -0
- aws_cdk/aws_eks/__init__.py +69 -47
- aws_cdk/aws_elasticache/__init__.py +3 -0
- aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +431 -72
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +3 -0
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +3 -0
- aws_cdk/aws_elasticsearch/__init__.py +3 -0
- aws_cdk/aws_emr/__init__.py +3 -0
- aws_cdk/aws_emrcontainers/__init__.py +3 -0
- aws_cdk/aws_emrserverless/__init__.py +3 -0
- aws_cdk/aws_entityresolution/__init__.py +96 -66
- aws_cdk/aws_events/__init__.py +3 -0
- aws_cdk/aws_events_targets/__init__.py +3 -0
- aws_cdk/aws_eventschemas/__init__.py +3 -0
- aws_cdk/aws_evidently/__init__.py +3 -0
- aws_cdk/aws_finspace/__init__.py +3 -0
- aws_cdk/aws_fis/__init__.py +3 -0
- aws_cdk/aws_fms/__init__.py +3 -0
- aws_cdk/aws_forecast/__init__.py +3 -0
- aws_cdk/aws_frauddetector/__init__.py +3 -0
- aws_cdk/aws_fsx/__init__.py +3 -0
- aws_cdk/aws_gamelift/__init__.py +3 -0
- aws_cdk/aws_globalaccelerator/__init__.py +5 -2
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +3 -0
- aws_cdk/aws_glue/__init__.py +147 -3
- aws_cdk/aws_grafana/__init__.py +3 -0
- aws_cdk/aws_greengrass/__init__.py +3 -0
- aws_cdk/aws_greengrassv2/__init__.py +3 -0
- aws_cdk/aws_groundstation/__init__.py +3 -0
- aws_cdk/aws_guardduty/__init__.py +3 -0
- aws_cdk/aws_healthimaging/__init__.py +3 -0
- aws_cdk/aws_healthlake/__init__.py +3 -0
- aws_cdk/aws_iam/__init__.py +12 -10
- aws_cdk/aws_identitystore/__init__.py +3 -0
- aws_cdk/aws_imagebuilder/__init__.py +3 -0
- aws_cdk/aws_inspector/__init__.py +3 -0
- aws_cdk/aws_inspectorv2/__init__.py +3 -0
- aws_cdk/aws_internetmonitor/__init__.py +88 -0
- aws_cdk/aws_iot/__init__.py +3 -0
- aws_cdk/aws_iot1click/__init__.py +3 -0
- aws_cdk/aws_iotanalytics/__init__.py +3 -0
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
- aws_cdk/aws_iotevents/__init__.py +3 -0
- aws_cdk/aws_iotfleethub/__init__.py +3 -0
- aws_cdk/aws_iotfleetwise/__init__.py +3 -0
- aws_cdk/aws_iotsitewise/__init__.py +138 -55
- aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
- aws_cdk/aws_iottwinmaker/__init__.py +3 -0
- aws_cdk/aws_iotwireless/__init__.py +3 -0
- aws_cdk/aws_ivs/__init__.py +3 -0
- aws_cdk/aws_ivschat/__init__.py +3 -0
- aws_cdk/aws_kafkaconnect/__init__.py +1239 -161
- aws_cdk/aws_kendra/__init__.py +56 -39
- aws_cdk/aws_kendraranking/__init__.py +3 -0
- aws_cdk/aws_kinesis/__init__.py +3 -0
- aws_cdk/aws_kinesisanalytics/__init__.py +40 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +40 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +14 -3
- aws_cdk/aws_kinesisvideo/__init__.py +3 -0
- aws_cdk/aws_kms/__init__.py +3 -0
- aws_cdk/aws_lakeformation/__init__.py +3 -0
- aws_cdk/aws_lambda/__init__.py +9 -0
- aws_cdk/aws_lambda_destinations/__init__.py +3 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +45 -18
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
- aws_cdk/aws_lex/__init__.py +3 -0
- aws_cdk/aws_licensemanager/__init__.py +3 -0
- aws_cdk/aws_lightsail/__init__.py +3 -0
- aws_cdk/aws_location/__init__.py +3 -0
- aws_cdk/aws_logs/__init__.py +3 -0
- aws_cdk/aws_logs_destinations/__init__.py +3 -0
- aws_cdk/aws_lookoutequipment/__init__.py +3 -0
- aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
- aws_cdk/aws_lookoutvision/__init__.py +3 -0
- aws_cdk/aws_m2/__init__.py +3 -0
- aws_cdk/aws_macie/__init__.py +3 -0
- aws_cdk/aws_managedblockchain/__init__.py +5 -3
- aws_cdk/aws_mediaconnect/__init__.py +3 -0
- aws_cdk/aws_mediaconvert/__init__.py +3 -0
- aws_cdk/aws_medialive/__init__.py +3 -0
- aws_cdk/aws_mediapackage/__init__.py +3 -0
- aws_cdk/aws_mediapackagev2/__init__.py +3 -0
- aws_cdk/aws_mediastore/__init__.py +3 -0
- aws_cdk/aws_mediatailor/__init__.py +3 -0
- aws_cdk/aws_memorydb/__init__.py +3 -0
- aws_cdk/aws_msk/__init__.py +91 -0
- aws_cdk/aws_mwaa/__init__.py +3 -0
- aws_cdk/aws_neptune/__init__.py +3 -0
- aws_cdk/aws_neptunegraph/__init__.py +3 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -0
- aws_cdk/aws_networkmanager/__init__.py +3 -0
- aws_cdk/aws_nimblestudio/__init__.py +3 -0
- aws_cdk/aws_oam/__init__.py +6 -3
- aws_cdk/aws_omics/__init__.py +3 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -0
- aws_cdk/aws_opensearchservice/__init__.py +26 -18
- aws_cdk/aws_opsworks/__init__.py +3 -0
- aws_cdk/aws_opsworkscm/__init__.py +3 -0
- aws_cdk/aws_organizations/__init__.py +3 -0
- aws_cdk/aws_osis/__init__.py +3 -0
- aws_cdk/aws_panorama/__init__.py +3 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
- aws_cdk/aws_personalize/__init__.py +3 -0
- aws_cdk/aws_pinpoint/__init__.py +45 -0
- aws_cdk/aws_pinpointemail/__init__.py +3 -0
- aws_cdk/aws_pipes/__init__.py +3 -0
- aws_cdk/aws_proton/__init__.py +3 -0
- aws_cdk/aws_qldb/__init__.py +3 -0
- aws_cdk/aws_quicksight/__init__.py +3 -0
- aws_cdk/aws_ram/__init__.py +3 -0
- aws_cdk/aws_rds/__init__.py +150 -27
- aws_cdk/aws_redshift/__init__.py +3 -0
- aws_cdk/aws_redshiftserverless/__init__.py +3 -0
- aws_cdk/aws_refactorspaces/__init__.py +3 -0
- aws_cdk/aws_rekognition/__init__.py +3 -0
- aws_cdk/aws_resiliencehub/__init__.py +3 -0
- aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
- aws_cdk/aws_resourcegroups/__init__.py +3 -0
- aws_cdk/aws_robomaker/__init__.py +3 -0
- aws_cdk/aws_rolesanywhere/__init__.py +3 -0
- aws_cdk/aws_route53/__init__.py +52 -0
- aws_cdk/aws_route53_patterns/__init__.py +3 -0
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
- aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
- aws_cdk/aws_route53resolver/__init__.py +3 -0
- aws_cdk/aws_rum/__init__.py +3 -0
- aws_cdk/aws_s3/__init__.py +3 -0
- aws_cdk/aws_s3_assets/__init__.py +3 -0
- aws_cdk/aws_s3_deployment/__init__.py +3 -0
- aws_cdk/aws_s3_notifications/__init__.py +3 -0
- aws_cdk/aws_s3express/__init__.py +3 -0
- aws_cdk/aws_s3objectlambda/__init__.py +3 -0
- aws_cdk/aws_s3outposts/__init__.py +3 -0
- aws_cdk/aws_sagemaker/__init__.py +5 -2
- aws_cdk/aws_sam/__init__.py +3 -0
- aws_cdk/aws_scheduler/__init__.py +3 -0
- aws_cdk/aws_sdb/__init__.py +3 -0
- aws_cdk/aws_secretsmanager/__init__.py +3 -0
- aws_cdk/aws_securityhub/__init__.py +59 -14
- aws_cdk/aws_securitylake/__init__.py +859 -0
- aws_cdk/aws_servicecatalog/__init__.py +3 -0
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
- aws_cdk/aws_servicediscovery/__init__.py +3 -0
- aws_cdk/aws_ses/__init__.py +3 -0
- aws_cdk/aws_ses_actions/__init__.py +3 -0
- aws_cdk/aws_shield/__init__.py +3 -0
- aws_cdk/aws_signer/__init__.py +3 -0
- aws_cdk/aws_simspaceweaver/__init__.py +3 -0
- aws_cdk/aws_sns/__init__.py +48 -13
- aws_cdk/aws_sns_subscriptions/__init__.py +3 -0
- aws_cdk/aws_sqs/__init__.py +3 -0
- aws_cdk/aws_ssm/__init__.py +6 -3
- aws_cdk/aws_ssmcontacts/__init__.py +3 -0
- aws_cdk/aws_ssmincidents/__init__.py +3 -0
- aws_cdk/aws_sso/__init__.py +3 -0
- aws_cdk/aws_stepfunctions/__init__.py +3 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +26 -0
- aws_cdk/aws_supportapp/__init__.py +3 -0
- aws_cdk/aws_synthetics/__init__.py +77 -14
- aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
- aws_cdk/aws_timestream/__init__.py +3 -0
- aws_cdk/aws_transfer/__init__.py +7 -3
- aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
- aws_cdk/aws_voiceid/__init__.py +3 -0
- aws_cdk/aws_vpclattice/__init__.py +3 -0
- aws_cdk/aws_waf/__init__.py +3 -0
- aws_cdk/aws_wafregional/__init__.py +3 -0
- aws_cdk/aws_wafv2/__init__.py +99 -46
- aws_cdk/aws_wisdom/__init__.py +3 -0
- aws_cdk/aws_workspaces/__init__.py +3 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
- aws_cdk/aws_workspacesweb/__init__.py +3 -0
- aws_cdk/aws_xray/__init__.py +3 -0
- aws_cdk/cloud_assembly_schema/__init__.py +3 -0
- aws_cdk/cloudformation_include/__init__.py +3 -0
- aws_cdk/custom_resources/__init__.py +7 -4
- aws_cdk/cx_api/__init__.py +20 -0
- aws_cdk/lambda_layer_awscli/__init__.py +3 -0
- aws_cdk/lambda_layer_kubectl/__init__.py +3 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +3 -0
- aws_cdk/pipelines/__init__.py +3 -0
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +3 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.135.0.dist-info/RECORD +282 -0
- aws_cdk_lib-2.133.0.dist-info/RECORD +0 -281
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_datasync/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -6719,6 +6722,20 @@ class CfnTask(
|
|
|
6719
6722
|
filter_type="filterType",
|
|
6720
6723
|
value="value"
|
|
6721
6724
|
)],
|
|
6725
|
+
manifest_config=datasync.CfnTask.ManifestConfigProperty(
|
|
6726
|
+
source=datasync.CfnTask.SourceProperty(
|
|
6727
|
+
s3=datasync.CfnTask.ManifestConfigSourceS3Property(
|
|
6728
|
+
bucket_access_role_arn="bucketAccessRoleArn",
|
|
6729
|
+
manifest_object_path="manifestObjectPath",
|
|
6730
|
+
manifest_object_version_id="manifestObjectVersionId",
|
|
6731
|
+
s3_bucket_arn="s3BucketArn"
|
|
6732
|
+
)
|
|
6733
|
+
),
|
|
6734
|
+
|
|
6735
|
+
# the properties below are optional
|
|
6736
|
+
action="action",
|
|
6737
|
+
format="format"
|
|
6738
|
+
),
|
|
6722
6739
|
name="name",
|
|
6723
6740
|
options=datasync.CfnTask.OptionsProperty(
|
|
6724
6741
|
atime="atime",
|
|
@@ -6785,6 +6802,7 @@ class CfnTask(
|
|
|
6785
6802
|
cloud_watch_log_group_arn: typing.Optional[builtins.str] = None,
|
|
6786
6803
|
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
6804
|
includes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.FilterRuleProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6805
|
+
manifest_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.ManifestConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6788
6806
|
name: typing.Optional[builtins.str] = None,
|
|
6789
6807
|
options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.OptionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6790
6808
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.TaskScheduleProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6799,6 +6817,7 @@ class CfnTask(
|
|
|
6799
6817
|
: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
6818
|
: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
6819
|
: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>`_ .
|
|
6820
|
+
: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
6821
|
:param name: The name of a task. This value is a text reference that is used to identify the task in the console.
|
|
6803
6822
|
: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
6823
|
: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 +6834,7 @@ class CfnTask(
|
|
|
6815
6834
|
cloud_watch_log_group_arn=cloud_watch_log_group_arn,
|
|
6816
6835
|
excludes=excludes,
|
|
6817
6836
|
includes=includes,
|
|
6837
|
+
manifest_config=manifest_config,
|
|
6818
6838
|
name=name,
|
|
6819
6839
|
options=options,
|
|
6820
6840
|
schedule=schedule,
|
|
@@ -6976,6 +6996,24 @@ class CfnTask(
|
|
|
6976
6996
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6977
6997
|
jsii.set(self, "includes", value)
|
|
6978
6998
|
|
|
6999
|
+
@builtins.property
|
|
7000
|
+
@jsii.member(jsii_name="manifestConfig")
|
|
7001
|
+
def manifest_config(
|
|
7002
|
+
self,
|
|
7003
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.ManifestConfigProperty"]]:
|
|
7004
|
+
'''The configuration of the manifest that lists the files or objects to transfer.'''
|
|
7005
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.ManifestConfigProperty"]], jsii.get(self, "manifestConfig"))
|
|
7006
|
+
|
|
7007
|
+
@manifest_config.setter
|
|
7008
|
+
def manifest_config(
|
|
7009
|
+
self,
|
|
7010
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.ManifestConfigProperty"]],
|
|
7011
|
+
) -> None:
|
|
7012
|
+
if __debug__:
|
|
7013
|
+
type_hints = typing.get_type_hints(_typecheckingstub__adfc26e9a88359e12066dd2ec9b2a9e0a61fb79f73189fa8a39e637687c9fa9c)
|
|
7014
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7015
|
+
jsii.set(self, "manifestConfig", value)
|
|
7016
|
+
|
|
6979
7017
|
@builtins.property
|
|
6980
7018
|
@jsii.member(jsii_name="name")
|
|
6981
7019
|
def name(self) -> typing.Optional[builtins.str]:
|
|
@@ -7252,6 +7290,226 @@ class CfnTask(
|
|
|
7252
7290
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
7253
7291
|
)
|
|
7254
7292
|
|
|
7293
|
+
@jsii.data_type(
|
|
7294
|
+
jsii_type="aws-cdk-lib.aws_datasync.CfnTask.ManifestConfigProperty",
|
|
7295
|
+
jsii_struct_bases=[],
|
|
7296
|
+
name_mapping={"source": "source", "action": "action", "format": "format"},
|
|
7297
|
+
)
|
|
7298
|
+
class ManifestConfigProperty:
|
|
7299
|
+
def __init__(
|
|
7300
|
+
self,
|
|
7301
|
+
*,
|
|
7302
|
+
source: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.SourceProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
7303
|
+
action: typing.Optional[builtins.str] = None,
|
|
7304
|
+
format: typing.Optional[builtins.str] = None,
|
|
7305
|
+
) -> None:
|
|
7306
|
+
'''Configures a manifest, which is a list of files or objects that you want AWS DataSync to transfer.
|
|
7307
|
+
|
|
7308
|
+
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>`_ .
|
|
7309
|
+
|
|
7310
|
+
: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>`_ .
|
|
7311
|
+
:param action: Specifies what DataSync uses the manifest for.
|
|
7312
|
+
: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>`_ .
|
|
7313
|
+
|
|
7314
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfig.html
|
|
7315
|
+
:exampleMetadata: fixture=_generated
|
|
7316
|
+
|
|
7317
|
+
Example::
|
|
7318
|
+
|
|
7319
|
+
# The code below shows an example of how to instantiate this type.
|
|
7320
|
+
# The values are placeholders you should change.
|
|
7321
|
+
from aws_cdk import aws_datasync as datasync
|
|
7322
|
+
|
|
7323
|
+
manifest_config_property = datasync.CfnTask.ManifestConfigProperty(
|
|
7324
|
+
source=datasync.CfnTask.SourceProperty(
|
|
7325
|
+
s3=datasync.CfnTask.ManifestConfigSourceS3Property(
|
|
7326
|
+
bucket_access_role_arn="bucketAccessRoleArn",
|
|
7327
|
+
manifest_object_path="manifestObjectPath",
|
|
7328
|
+
manifest_object_version_id="manifestObjectVersionId",
|
|
7329
|
+
s3_bucket_arn="s3BucketArn"
|
|
7330
|
+
)
|
|
7331
|
+
),
|
|
7332
|
+
|
|
7333
|
+
# the properties below are optional
|
|
7334
|
+
action="action",
|
|
7335
|
+
format="format"
|
|
7336
|
+
)
|
|
7337
|
+
'''
|
|
7338
|
+
if __debug__:
|
|
7339
|
+
type_hints = typing.get_type_hints(_typecheckingstub__24f392dd164095fff95d497fcd80fd8e99a252d97a070e9cb64573100cdcc65c)
|
|
7340
|
+
check_type(argname="argument source", value=source, expected_type=type_hints["source"])
|
|
7341
|
+
check_type(argname="argument action", value=action, expected_type=type_hints["action"])
|
|
7342
|
+
check_type(argname="argument format", value=format, expected_type=type_hints["format"])
|
|
7343
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
7344
|
+
"source": source,
|
|
7345
|
+
}
|
|
7346
|
+
if action is not None:
|
|
7347
|
+
self._values["action"] = action
|
|
7348
|
+
if format is not None:
|
|
7349
|
+
self._values["format"] = format
|
|
7350
|
+
|
|
7351
|
+
@builtins.property
|
|
7352
|
+
def source(
|
|
7353
|
+
self,
|
|
7354
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnTask.SourceProperty"]:
|
|
7355
|
+
'''Specifies the manifest that you want DataSync to use and where it's hosted.
|
|
7356
|
+
|
|
7357
|
+
.. epigraph::
|
|
7358
|
+
|
|
7359
|
+
You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
|
|
7360
|
+
|
|
7361
|
+
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>`_ .
|
|
7362
|
+
|
|
7363
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfig.html#cfn-datasync-task-manifestconfig-source
|
|
7364
|
+
'''
|
|
7365
|
+
result = self._values.get("source")
|
|
7366
|
+
assert result is not None, "Required property 'source' is missing"
|
|
7367
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTask.SourceProperty"], result)
|
|
7368
|
+
|
|
7369
|
+
@builtins.property
|
|
7370
|
+
def action(self) -> typing.Optional[builtins.str]:
|
|
7371
|
+
'''Specifies what DataSync uses the manifest for.
|
|
7372
|
+
|
|
7373
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfig.html#cfn-datasync-task-manifestconfig-action
|
|
7374
|
+
'''
|
|
7375
|
+
result = self._values.get("action")
|
|
7376
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7377
|
+
|
|
7378
|
+
@builtins.property
|
|
7379
|
+
def format(self) -> typing.Optional[builtins.str]:
|
|
7380
|
+
'''Specifies the file format of your manifest.
|
|
7381
|
+
|
|
7382
|
+
For more information, see `Creating a manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html#transferring-with-manifest-create>`_ .
|
|
7383
|
+
|
|
7384
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfig.html#cfn-datasync-task-manifestconfig-format
|
|
7385
|
+
'''
|
|
7386
|
+
result = self._values.get("format")
|
|
7387
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7388
|
+
|
|
7389
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7390
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7391
|
+
|
|
7392
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7393
|
+
return not (rhs == self)
|
|
7394
|
+
|
|
7395
|
+
def __repr__(self) -> str:
|
|
7396
|
+
return "ManifestConfigProperty(%s)" % ", ".join(
|
|
7397
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7398
|
+
)
|
|
7399
|
+
|
|
7400
|
+
@jsii.data_type(
|
|
7401
|
+
jsii_type="aws-cdk-lib.aws_datasync.CfnTask.ManifestConfigSourceS3Property",
|
|
7402
|
+
jsii_struct_bases=[],
|
|
7403
|
+
name_mapping={
|
|
7404
|
+
"bucket_access_role_arn": "bucketAccessRoleArn",
|
|
7405
|
+
"manifest_object_path": "manifestObjectPath",
|
|
7406
|
+
"manifest_object_version_id": "manifestObjectVersionId",
|
|
7407
|
+
"s3_bucket_arn": "s3BucketArn",
|
|
7408
|
+
},
|
|
7409
|
+
)
|
|
7410
|
+
class ManifestConfigSourceS3Property:
|
|
7411
|
+
def __init__(
|
|
7412
|
+
self,
|
|
7413
|
+
*,
|
|
7414
|
+
bucket_access_role_arn: typing.Optional[builtins.str] = None,
|
|
7415
|
+
manifest_object_path: typing.Optional[builtins.str] = None,
|
|
7416
|
+
manifest_object_version_id: typing.Optional[builtins.str] = None,
|
|
7417
|
+
s3_bucket_arn: typing.Optional[builtins.str] = None,
|
|
7418
|
+
) -> None:
|
|
7419
|
+
'''Specifies the S3 bucket where you're hosting the manifest that you want AWS DataSync to use.
|
|
7420
|
+
|
|
7421
|
+
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>`_ .
|
|
7422
|
+
|
|
7423
|
+
: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>`_ .
|
|
7424
|
+
:param manifest_object_path: Specifies the Amazon S3 object key of your manifest. This can include a prefix (for example, ``prefix/my-manifest.csv`` ).
|
|
7425
|
+
: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.
|
|
7426
|
+
:param s3_bucket_arn: Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
|
|
7427
|
+
|
|
7428
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfigsources3.html
|
|
7429
|
+
:exampleMetadata: fixture=_generated
|
|
7430
|
+
|
|
7431
|
+
Example::
|
|
7432
|
+
|
|
7433
|
+
# The code below shows an example of how to instantiate this type.
|
|
7434
|
+
# The values are placeholders you should change.
|
|
7435
|
+
from aws_cdk import aws_datasync as datasync
|
|
7436
|
+
|
|
7437
|
+
manifest_config_source_s3_property = datasync.CfnTask.ManifestConfigSourceS3Property(
|
|
7438
|
+
bucket_access_role_arn="bucketAccessRoleArn",
|
|
7439
|
+
manifest_object_path="manifestObjectPath",
|
|
7440
|
+
manifest_object_version_id="manifestObjectVersionId",
|
|
7441
|
+
s3_bucket_arn="s3BucketArn"
|
|
7442
|
+
)
|
|
7443
|
+
'''
|
|
7444
|
+
if __debug__:
|
|
7445
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b1d8718794bcb3bdc90c54997b7600d13961852c4adddc60005e8bf3016ef3f8)
|
|
7446
|
+
check_type(argname="argument bucket_access_role_arn", value=bucket_access_role_arn, expected_type=type_hints["bucket_access_role_arn"])
|
|
7447
|
+
check_type(argname="argument manifest_object_path", value=manifest_object_path, expected_type=type_hints["manifest_object_path"])
|
|
7448
|
+
check_type(argname="argument manifest_object_version_id", value=manifest_object_version_id, expected_type=type_hints["manifest_object_version_id"])
|
|
7449
|
+
check_type(argname="argument s3_bucket_arn", value=s3_bucket_arn, expected_type=type_hints["s3_bucket_arn"])
|
|
7450
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7451
|
+
if bucket_access_role_arn is not None:
|
|
7452
|
+
self._values["bucket_access_role_arn"] = bucket_access_role_arn
|
|
7453
|
+
if manifest_object_path is not None:
|
|
7454
|
+
self._values["manifest_object_path"] = manifest_object_path
|
|
7455
|
+
if manifest_object_version_id is not None:
|
|
7456
|
+
self._values["manifest_object_version_id"] = manifest_object_version_id
|
|
7457
|
+
if s3_bucket_arn is not None:
|
|
7458
|
+
self._values["s3_bucket_arn"] = s3_bucket_arn
|
|
7459
|
+
|
|
7460
|
+
@builtins.property
|
|
7461
|
+
def bucket_access_role_arn(self) -> typing.Optional[builtins.str]:
|
|
7462
|
+
'''Specifies the AWS Identity and Access Management (IAM) role that allows DataSync to access your manifest.
|
|
7463
|
+
|
|
7464
|
+
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>`_ .
|
|
7465
|
+
|
|
7466
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfigsources3.html#cfn-datasync-task-manifestconfigsources3-bucketaccessrolearn
|
|
7467
|
+
'''
|
|
7468
|
+
result = self._values.get("bucket_access_role_arn")
|
|
7469
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7470
|
+
|
|
7471
|
+
@builtins.property
|
|
7472
|
+
def manifest_object_path(self) -> typing.Optional[builtins.str]:
|
|
7473
|
+
'''Specifies the Amazon S3 object key of your manifest.
|
|
7474
|
+
|
|
7475
|
+
This can include a prefix (for example, ``prefix/my-manifest.csv`` ).
|
|
7476
|
+
|
|
7477
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfigsources3.html#cfn-datasync-task-manifestconfigsources3-manifestobjectpath
|
|
7478
|
+
'''
|
|
7479
|
+
result = self._values.get("manifest_object_path")
|
|
7480
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7481
|
+
|
|
7482
|
+
@builtins.property
|
|
7483
|
+
def manifest_object_version_id(self) -> typing.Optional[builtins.str]:
|
|
7484
|
+
'''Specifies the object version ID of the manifest that you want DataSync to use.
|
|
7485
|
+
|
|
7486
|
+
If you don't set this, DataSync uses the latest version of the object.
|
|
7487
|
+
|
|
7488
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfigsources3.html#cfn-datasync-task-manifestconfigsources3-manifestobjectversionid
|
|
7489
|
+
'''
|
|
7490
|
+
result = self._values.get("manifest_object_version_id")
|
|
7491
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7492
|
+
|
|
7493
|
+
@builtins.property
|
|
7494
|
+
def s3_bucket_arn(self) -> typing.Optional[builtins.str]:
|
|
7495
|
+
'''Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
|
|
7496
|
+
|
|
7497
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-manifestconfigsources3.html#cfn-datasync-task-manifestconfigsources3-s3bucketarn
|
|
7498
|
+
'''
|
|
7499
|
+
result = self._values.get("s3_bucket_arn")
|
|
7500
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
7501
|
+
|
|
7502
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7503
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7504
|
+
|
|
7505
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7506
|
+
return not (rhs == self)
|
|
7507
|
+
|
|
7508
|
+
def __repr__(self) -> str:
|
|
7509
|
+
return "ManifestConfigSourceS3Property(%s)" % ", ".join(
|
|
7510
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7511
|
+
)
|
|
7512
|
+
|
|
7255
7513
|
@jsii.data_type(
|
|
7256
7514
|
jsii_type="aws-cdk-lib.aws_datasync.CfnTask.OptionsProperty",
|
|
7257
7515
|
jsii_struct_bases=[],
|
|
@@ -7800,11 +8058,10 @@ class CfnTask(
|
|
|
7800
8058
|
s3_bucket_arn: typing.Optional[builtins.str] = None,
|
|
7801
8059
|
subdirectory: typing.Optional[builtins.str] = None,
|
|
7802
8060
|
) -> None:
|
|
7803
|
-
'''
|
|
7804
|
-
|
|
7805
|
-
:param
|
|
7806
|
-
:param
|
|
7807
|
-
:param subdirectory: Specifies a bucket prefix for your report.
|
|
8061
|
+
'''
|
|
8062
|
+
:param bucket_access_role_arn:
|
|
8063
|
+
:param s3_bucket_arn:
|
|
8064
|
+
:param subdirectory:
|
|
7808
8065
|
|
|
7809
8066
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html
|
|
7810
8067
|
:exampleMetadata: fixture=_generated
|
|
@@ -7836,10 +8093,7 @@ class CfnTask(
|
|
|
7836
8093
|
|
|
7837
8094
|
@builtins.property
|
|
7838
8095
|
def bucket_access_role_arn(self) -> typing.Optional[builtins.str]:
|
|
7839
|
-
'''
|
|
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
|
-
|
|
8096
|
+
'''
|
|
7843
8097
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html#cfn-datasync-task-s3-bucketaccessrolearn
|
|
7844
8098
|
'''
|
|
7845
8099
|
result = self._values.get("bucket_access_role_arn")
|
|
@@ -7847,8 +8101,7 @@ class CfnTask(
|
|
|
7847
8101
|
|
|
7848
8102
|
@builtins.property
|
|
7849
8103
|
def s3_bucket_arn(self) -> typing.Optional[builtins.str]:
|
|
7850
|
-
'''
|
|
7851
|
-
|
|
8104
|
+
'''
|
|
7852
8105
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html#cfn-datasync-task-s3-s3bucketarn
|
|
7853
8106
|
'''
|
|
7854
8107
|
result = self._values.get("s3_bucket_arn")
|
|
@@ -7856,8 +8109,7 @@ class CfnTask(
|
|
|
7856
8109
|
|
|
7857
8110
|
@builtins.property
|
|
7858
8111
|
def subdirectory(self) -> typing.Optional[builtins.str]:
|
|
7859
|
-
'''
|
|
7860
|
-
|
|
8112
|
+
'''
|
|
7861
8113
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-s3.html#cfn-datasync-task-s3-subdirectory
|
|
7862
8114
|
'''
|
|
7863
8115
|
result = self._values.get("subdirectory")
|
|
@@ -7932,6 +8184,70 @@ class CfnTask(
|
|
|
7932
8184
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
7933
8185
|
)
|
|
7934
8186
|
|
|
8187
|
+
@jsii.data_type(
|
|
8188
|
+
jsii_type="aws-cdk-lib.aws_datasync.CfnTask.SourceProperty",
|
|
8189
|
+
jsii_struct_bases=[],
|
|
8190
|
+
name_mapping={"s3": "s3"},
|
|
8191
|
+
)
|
|
8192
|
+
class SourceProperty:
|
|
8193
|
+
def __init__(
|
|
8194
|
+
self,
|
|
8195
|
+
*,
|
|
8196
|
+
s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTask.ManifestConfigSourceS3Property", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8197
|
+
) -> None:
|
|
8198
|
+
'''Specifies the manifest that you want AWS DataSync to use and where it's hosted.
|
|
8199
|
+
|
|
8200
|
+
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>`_ .
|
|
8201
|
+
|
|
8202
|
+
:param s3: Specifies the S3 bucket where you're hosting your manifest.
|
|
8203
|
+
|
|
8204
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-source.html
|
|
8205
|
+
:exampleMetadata: fixture=_generated
|
|
8206
|
+
|
|
8207
|
+
Example::
|
|
8208
|
+
|
|
8209
|
+
# The code below shows an example of how to instantiate this type.
|
|
8210
|
+
# The values are placeholders you should change.
|
|
8211
|
+
from aws_cdk import aws_datasync as datasync
|
|
8212
|
+
|
|
8213
|
+
source_property = datasync.CfnTask.SourceProperty(
|
|
8214
|
+
s3=datasync.CfnTask.ManifestConfigSourceS3Property(
|
|
8215
|
+
bucket_access_role_arn="bucketAccessRoleArn",
|
|
8216
|
+
manifest_object_path="manifestObjectPath",
|
|
8217
|
+
manifest_object_version_id="manifestObjectVersionId",
|
|
8218
|
+
s3_bucket_arn="s3BucketArn"
|
|
8219
|
+
)
|
|
8220
|
+
)
|
|
8221
|
+
'''
|
|
8222
|
+
if __debug__:
|
|
8223
|
+
type_hints = typing.get_type_hints(_typecheckingstub__648d2c1cae7d2043ba70966584d1164b3b2f9700f7b684da9f7e31f727c3d14d)
|
|
8224
|
+
check_type(argname="argument s3", value=s3, expected_type=type_hints["s3"])
|
|
8225
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8226
|
+
if s3 is not None:
|
|
8227
|
+
self._values["s3"] = s3
|
|
8228
|
+
|
|
8229
|
+
@builtins.property
|
|
8230
|
+
def s3(
|
|
8231
|
+
self,
|
|
8232
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.ManifestConfigSourceS3Property"]]:
|
|
8233
|
+
'''Specifies the S3 bucket where you're hosting your manifest.
|
|
8234
|
+
|
|
8235
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-source.html#cfn-datasync-task-source-s3
|
|
8236
|
+
'''
|
|
8237
|
+
result = self._values.get("s3")
|
|
8238
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.ManifestConfigSourceS3Property"]], result)
|
|
8239
|
+
|
|
8240
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8241
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8242
|
+
|
|
8243
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8244
|
+
return not (rhs == self)
|
|
8245
|
+
|
|
8246
|
+
def __repr__(self) -> str:
|
|
8247
|
+
return "SourceProperty(%s)" % ", ".join(
|
|
8248
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8249
|
+
)
|
|
8250
|
+
|
|
7935
8251
|
@jsii.data_type(
|
|
7936
8252
|
jsii_type="aws-cdk-lib.aws_datasync.CfnTask.TaskReportConfigProperty",
|
|
7937
8253
|
jsii_struct_bases=[],
|
|
@@ -8273,6 +8589,7 @@ class CfnTask(
|
|
|
8273
8589
|
"cloud_watch_log_group_arn": "cloudWatchLogGroupArn",
|
|
8274
8590
|
"excludes": "excludes",
|
|
8275
8591
|
"includes": "includes",
|
|
8592
|
+
"manifest_config": "manifestConfig",
|
|
8276
8593
|
"name": "name",
|
|
8277
8594
|
"options": "options",
|
|
8278
8595
|
"schedule": "schedule",
|
|
@@ -8289,6 +8606,7 @@ class CfnTaskProps:
|
|
|
8289
8606
|
cloud_watch_log_group_arn: typing.Optional[builtins.str] = None,
|
|
8290
8607
|
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
8608
|
includes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.FilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
8609
|
+
manifest_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.ManifestConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8292
8610
|
name: typing.Optional[builtins.str] = None,
|
|
8293
8611
|
options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.OptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8294
8612
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.TaskScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -8302,6 +8620,7 @@ class CfnTaskProps:
|
|
|
8302
8620
|
: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
8621
|
: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
8622
|
: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>`_ .
|
|
8623
|
+
: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
8624
|
:param name: The name of a task. This value is a text reference that is used to identify the task in the console.
|
|
8306
8625
|
: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
8626
|
: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 +8650,20 @@ class CfnTaskProps:
|
|
|
8331
8650
|
filter_type="filterType",
|
|
8332
8651
|
value="value"
|
|
8333
8652
|
)],
|
|
8653
|
+
manifest_config=datasync.CfnTask.ManifestConfigProperty(
|
|
8654
|
+
source=datasync.CfnTask.SourceProperty(
|
|
8655
|
+
s3=datasync.CfnTask.ManifestConfigSourceS3Property(
|
|
8656
|
+
bucket_access_role_arn="bucketAccessRoleArn",
|
|
8657
|
+
manifest_object_path="manifestObjectPath",
|
|
8658
|
+
manifest_object_version_id="manifestObjectVersionId",
|
|
8659
|
+
s3_bucket_arn="s3BucketArn"
|
|
8660
|
+
)
|
|
8661
|
+
),
|
|
8662
|
+
|
|
8663
|
+
# the properties below are optional
|
|
8664
|
+
action="action",
|
|
8665
|
+
format="format"
|
|
8666
|
+
),
|
|
8334
8667
|
name="name",
|
|
8335
8668
|
options=datasync.CfnTask.OptionsProperty(
|
|
8336
8669
|
atime="atime",
|
|
@@ -8393,6 +8726,7 @@ class CfnTaskProps:
|
|
|
8393
8726
|
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
8727
|
check_type(argname="argument excludes", value=excludes, expected_type=type_hints["excludes"])
|
|
8395
8728
|
check_type(argname="argument includes", value=includes, expected_type=type_hints["includes"])
|
|
8729
|
+
check_type(argname="argument manifest_config", value=manifest_config, expected_type=type_hints["manifest_config"])
|
|
8396
8730
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
8397
8731
|
check_type(argname="argument options", value=options, expected_type=type_hints["options"])
|
|
8398
8732
|
check_type(argname="argument schedule", value=schedule, expected_type=type_hints["schedule"])
|
|
@@ -8408,6 +8742,8 @@ class CfnTaskProps:
|
|
|
8408
8742
|
self._values["excludes"] = excludes
|
|
8409
8743
|
if includes is not None:
|
|
8410
8744
|
self._values["includes"] = includes
|
|
8745
|
+
if manifest_config is not None:
|
|
8746
|
+
self._values["manifest_config"] = manifest_config
|
|
8411
8747
|
if name is not None:
|
|
8412
8748
|
self._values["name"] = name
|
|
8413
8749
|
if options is not None:
|
|
@@ -8478,6 +8814,19 @@ class CfnTaskProps:
|
|
|
8478
8814
|
result = self._values.get("includes")
|
|
8479
8815
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnTask.FilterRuleProperty]]]], result)
|
|
8480
8816
|
|
|
8817
|
+
@builtins.property
|
|
8818
|
+
def manifest_config(
|
|
8819
|
+
self,
|
|
8820
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTask.ManifestConfigProperty]]:
|
|
8821
|
+
'''The configuration of the manifest that lists the files or objects to transfer.
|
|
8822
|
+
|
|
8823
|
+
For more information, see `Specifying what DataSync transfers by using a manifest <https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html>`_ .
|
|
8824
|
+
|
|
8825
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-manifestconfig
|
|
8826
|
+
'''
|
|
8827
|
+
result = self._values.get("manifest_config")
|
|
8828
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTask.ManifestConfigProperty]], result)
|
|
8829
|
+
|
|
8481
8830
|
@builtins.property
|
|
8482
8831
|
def name(self) -> typing.Optional[builtins.str]:
|
|
8483
8832
|
'''The name of a task.
|
|
@@ -9788,6 +10137,7 @@ def _typecheckingstub__9add9673a1f0ceb078949e967bce91066ff7e0441dae95d55c11c4a50
|
|
|
9788
10137
|
cloud_watch_log_group_arn: typing.Optional[builtins.str] = None,
|
|
9789
10138
|
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
10139
|
includes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.FilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10140
|
+
manifest_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.ManifestConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9791
10141
|
name: typing.Optional[builtins.str] = None,
|
|
9792
10142
|
options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.OptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9793
10143
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.TaskScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -9839,6 +10189,12 @@ def _typecheckingstub__b70b42cfb53e13801c9b46a0aeb316cf7696061c5b7fc11b20c797067
|
|
|
9839
10189
|
"""Type checking stubs"""
|
|
9840
10190
|
pass
|
|
9841
10191
|
|
|
10192
|
+
def _typecheckingstub__adfc26e9a88359e12066dd2ec9b2a9e0a61fb79f73189fa8a39e637687c9fa9c(
|
|
10193
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTask.ManifestConfigProperty]],
|
|
10194
|
+
) -> None:
|
|
10195
|
+
"""Type checking stubs"""
|
|
10196
|
+
pass
|
|
10197
|
+
|
|
9842
10198
|
def _typecheckingstub__de210bcc8ac65745973f2b8e5143c561a12afe1f24163e2b50a4fe61574c7317(
|
|
9843
10199
|
value: typing.Optional[builtins.str],
|
|
9844
10200
|
) -> None:
|
|
@@ -9891,6 +10247,25 @@ def _typecheckingstub__d2957bcb9b505b6af4afc512d05d4225e97bb106c72da06526a6a27ec
|
|
|
9891
10247
|
"""Type checking stubs"""
|
|
9892
10248
|
pass
|
|
9893
10249
|
|
|
10250
|
+
def _typecheckingstub__24f392dd164095fff95d497fcd80fd8e99a252d97a070e9cb64573100cdcc65c(
|
|
10251
|
+
*,
|
|
10252
|
+
source: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.SourceProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
10253
|
+
action: typing.Optional[builtins.str] = None,
|
|
10254
|
+
format: typing.Optional[builtins.str] = None,
|
|
10255
|
+
) -> None:
|
|
10256
|
+
"""Type checking stubs"""
|
|
10257
|
+
pass
|
|
10258
|
+
|
|
10259
|
+
def _typecheckingstub__b1d8718794bcb3bdc90c54997b7600d13961852c4adddc60005e8bf3016ef3f8(
|
|
10260
|
+
*,
|
|
10261
|
+
bucket_access_role_arn: typing.Optional[builtins.str] = None,
|
|
10262
|
+
manifest_object_path: typing.Optional[builtins.str] = None,
|
|
10263
|
+
manifest_object_version_id: typing.Optional[builtins.str] = None,
|
|
10264
|
+
s3_bucket_arn: typing.Optional[builtins.str] = None,
|
|
10265
|
+
) -> None:
|
|
10266
|
+
"""Type checking stubs"""
|
|
10267
|
+
pass
|
|
10268
|
+
|
|
9894
10269
|
def _typecheckingstub__c7557db697c0c06b71a63bdcbecc24fb94bbe4de1de1980fd9b1a7e36f454ea9(
|
|
9895
10270
|
*,
|
|
9896
10271
|
atime: typing.Optional[builtins.str] = None,
|
|
@@ -9938,6 +10313,13 @@ def _typecheckingstub__3c18544378625bf9f1fbb6beae21b7f0068188b1f7befe07dd931ccd6
|
|
|
9938
10313
|
"""Type checking stubs"""
|
|
9939
10314
|
pass
|
|
9940
10315
|
|
|
10316
|
+
def _typecheckingstub__648d2c1cae7d2043ba70966584d1164b3b2f9700f7b684da9f7e31f727c3d14d(
|
|
10317
|
+
*,
|
|
10318
|
+
s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.ManifestConfigSourceS3Property, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10319
|
+
) -> None:
|
|
10320
|
+
"""Type checking stubs"""
|
|
10321
|
+
pass
|
|
10322
|
+
|
|
9941
10323
|
def _typecheckingstub__b009bd11595c3338d0fb505588fdbb9ccbeb567f140029bfcac0b346936a0fe1(
|
|
9942
10324
|
*,
|
|
9943
10325
|
destination: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.DestinationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
@@ -9977,6 +10359,7 @@ def _typecheckingstub__5632ab868186e470f4d8f0c14e3f12b71107be017f54f3194a076b9da
|
|
|
9977
10359
|
cloud_watch_log_group_arn: typing.Optional[builtins.str] = None,
|
|
9978
10360
|
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
10361
|
includes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.FilterRuleProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
10362
|
+
manifest_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.ManifestConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9980
10363
|
name: typing.Optional[builtins.str] = None,
|
|
9981
10364
|
options: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.OptionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
9982
10365
|
schedule: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTask.TaskScheduleProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
aws_cdk/aws_datazone/__init__.py
CHANGED
|
@@ -35,6 +35,9 @@ For more information on the resources and properties available for this service,
|
|
|
35
35
|
|
|
36
36
|
<!--END CFNONLY DISCLAIMER-->
|
|
37
37
|
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
38
41
|
import abc
|
|
39
42
|
import builtins
|
|
40
43
|
import datetime
|
aws_cdk/aws_dax/__init__.py
CHANGED
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|
|
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
|
|
|
25
25
|
|
|
26
26
|
<!--END CFNONLY DISCLAIMER-->
|
|
27
27
|
'''
|
|
28
|
+
from pkgutil import extend_path
|
|
29
|
+
__path__ = extend_path(__path__, __name__)
|
|
30
|
+
|
|
28
31
|
import abc
|
|
29
32
|
import builtins
|
|
30
33
|
import datetime
|