aws-cdk-lib 2.147.3__py3-none-any.whl → 2.148.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 +7 -5
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.147.3.jsii.tgz → aws-cdk-lib@2.148.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +1 -1
- aws_cdk/assertions/__init__.py +1 -1
- aws_cdk/aws_accessanalyzer/__init__.py +1 -1
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +1 -1
- aws_cdk/aws_amplify/__init__.py +1 -1
- aws_cdk/aws_amplifyuibuilder/__init__.py +1 -1
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_authorizers/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +1 -1
- aws_cdk/aws_appconfig/__init__.py +1 -1
- aws_cdk/aws_appflow/__init__.py +1 -1
- aws_cdk/aws_appintegrations/__init__.py +1 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +1 -1
- aws_cdk/aws_applicationinsights/__init__.py +1 -1
- aws_cdk/aws_applicationsignals/__init__.py +143 -87
- aws_cdk/aws_appmesh/__init__.py +1 -1
- aws_cdk/aws_apprunner/__init__.py +1 -1
- aws_cdk/aws_appstream/__init__.py +1 -1
- aws_cdk/aws_appsync/__init__.py +1 -1
- aws_cdk/aws_apptest/__init__.py +3042 -0
- aws_cdk/aws_aps/__init__.py +1 -1
- aws_cdk/aws_arczonalshift/__init__.py +1 -1
- aws_cdk/aws_athena/__init__.py +1 -1
- aws_cdk/aws_auditmanager/__init__.py +1 -1
- aws_cdk/aws_autoscaling/__init__.py +1 -1
- aws_cdk/aws_autoscaling_common/__init__.py +1 -1
- aws_cdk/aws_autoscaling_hooktargets/__init__.py +1 -1
- aws_cdk/aws_autoscalingplans/__init__.py +1 -1
- aws_cdk/aws_b2bi/__init__.py +1 -1
- aws_cdk/aws_backup/__init__.py +4 -6
- aws_cdk/aws_backupgateway/__init__.py +1 -1
- aws_cdk/aws_batch/__init__.py +1 -216
- aws_cdk/aws_bcmdataexports/__init__.py +1 -1
- aws_cdk/aws_bedrock/__init__.py +178 -1
- aws_cdk/aws_billingconductor/__init__.py +1 -1
- aws_cdk/aws_budgets/__init__.py +1 -1
- aws_cdk/aws_cassandra/__init__.py +1 -1
- aws_cdk/aws_ce/__init__.py +1 -1
- aws_cdk/aws_certificatemanager/__init__.py +1 -1
- aws_cdk/aws_chatbot/__init__.py +1 -1
- aws_cdk/aws_cleanrooms/__init__.py +1 -1
- aws_cdk/aws_cleanroomsml/__init__.py +1 -1
- aws_cdk/aws_cloud9/__init__.py +1 -1
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +1 -1
- aws_cdk/aws_cloudfront/experimental/__init__.py +44 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
- aws_cdk/aws_cloudtrail/__init__.py +20 -12
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_cloudwatch_actions/__init__.py +1 -1
- aws_cdk/aws_codeartifact/__init__.py +11 -9
- aws_cdk/aws_codebuild/__init__.py +193 -6
- aws_cdk/aws_codecommit/__init__.py +1 -1
- aws_cdk/aws_codeconnections/__init__.py +1 -1
- aws_cdk/aws_codedeploy/__init__.py +35 -4
- aws_cdk/aws_codeguruprofiler/__init__.py +1 -1
- aws_cdk/aws_codegurureviewer/__init__.py +1 -1
- aws_cdk/aws_codepipeline/__init__.py +1 -1
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_codestarconnections/__init__.py +1 -1
- aws_cdk/aws_codestarnotifications/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +56 -18
- aws_cdk/aws_comprehend/__init__.py +1 -1
- aws_cdk/aws_config/__init__.py +1 -1
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_connectcampaigns/__init__.py +1 -1
- aws_cdk/aws_controltower/__init__.py +1 -1
- aws_cdk/aws_cur/__init__.py +1 -1
- aws_cdk/aws_customerprofiles/__init__.py +1 -1
- aws_cdk/aws_databrew/__init__.py +1 -1
- aws_cdk/aws_datapipeline/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +12 -12
- aws_cdk/aws_datazone/__init__.py +1 -1
- aws_cdk/aws_dax/__init__.py +1 -1
- aws_cdk/aws_deadline/__init__.py +3 -2
- aws_cdk/aws_detective/__init__.py +1 -1
- aws_cdk/aws_devicefarm/__init__.py +1 -1
- aws_cdk/aws_devopsguru/__init__.py +1 -1
- aws_cdk/aws_directoryservice/__init__.py +1 -1
- aws_cdk/aws_dlm/__init__.py +1 -1
- aws_cdk/aws_dms/__init__.py +2 -2
- aws_cdk/aws_docdb/__init__.py +1 -1
- aws_cdk/aws_docdbelastic/__init__.py +1 -1
- aws_cdk/aws_dynamodb/__init__.py +1 -1
- aws_cdk/aws_ec2/__init__.py +24 -26
- aws_cdk/aws_ecr/__init__.py +1 -1
- aws_cdk/aws_ecr_assets/__init__.py +1 -1
- aws_cdk/aws_ecs/__init__.py +29 -25
- aws_cdk/aws_ecs_patterns/__init__.py +1 -1
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +619 -31
- aws_cdk/aws_elasticache/__init__.py +29 -18
- aws_cdk/aws_elasticbeanstalk/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancing/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -4
- aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +1 -1
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +1 -1
- aws_cdk/aws_elasticsearch/__init__.py +1 -1
- aws_cdk/aws_emr/__init__.py +1 -1
- aws_cdk/aws_emrcontainers/__init__.py +1 -1
- aws_cdk/aws_emrserverless/__init__.py +34 -7
- aws_cdk/aws_entityresolution/__init__.py +1 -1
- aws_cdk/aws_events/__init__.py +1 -1
- aws_cdk/aws_events_targets/__init__.py +1 -1
- aws_cdk/aws_eventschemas/__init__.py +1 -1
- aws_cdk/aws_evidently/__init__.py +1 -1
- aws_cdk/aws_finspace/__init__.py +1 -1
- aws_cdk/aws_fis/__init__.py +1 -1
- aws_cdk/aws_fms/__init__.py +1 -1
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_frauddetector/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +186 -2
- aws_cdk/aws_gamelift/__init__.py +10 -6
- aws_cdk/aws_globalaccelerator/__init__.py +1 -1
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +1 -1
- aws_cdk/aws_glue/__init__.py +18 -14
- aws_cdk/aws_grafana/__init__.py +9 -5
- aws_cdk/aws_greengrass/__init__.py +1 -1
- aws_cdk/aws_greengrassv2/__init__.py +1 -1
- aws_cdk/aws_groundstation/__init__.py +1 -1
- aws_cdk/aws_guardduty/__init__.py +171 -132
- aws_cdk/aws_healthimaging/__init__.py +1 -1
- aws_cdk/aws_healthlake/__init__.py +1 -1
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_identitystore/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +1 -1
- aws_cdk/aws_inspector/__init__.py +1 -1
- aws_cdk/aws_inspectorv2/__init__.py +1 -1
- aws_cdk/aws_internetmonitor/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +1 -1
- aws_cdk/aws_iot1click/__init__.py +1 -1
- aws_cdk/aws_iotanalytics/__init__.py +1 -1
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +1 -1
- aws_cdk/aws_iotevents/__init__.py +1 -1
- aws_cdk/aws_iotfleethub/__init__.py +1 -1
- aws_cdk/aws_iotfleetwise/__init__.py +1 -1
- aws_cdk/aws_iotsitewise/__init__.py +1 -1
- aws_cdk/aws_iotthingsgraph/__init__.py +1 -1
- aws_cdk/aws_iottwinmaker/__init__.py +1 -1
- aws_cdk/aws_iotwireless/__init__.py +1 -1
- aws_cdk/aws_ivs/__init__.py +1 -1
- aws_cdk/aws_ivschat/__init__.py +1 -1
- aws_cdk/aws_kafkaconnect/__init__.py +1 -1
- aws_cdk/aws_kendra/__init__.py +1 -1
- aws_cdk/aws_kendraranking/__init__.py +1 -1
- aws_cdk/aws_kinesis/__init__.py +1 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +93 -1
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +93 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +301 -94
- aws_cdk/aws_kinesisvideo/__init__.py +1 -1
- aws_cdk/aws_kms/__init__.py +16 -15
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +160 -1
- aws_cdk/aws_lambda_destinations/__init__.py +1 -1
- aws_cdk/aws_lambda_event_sources/__init__.py +1 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +1 -1
- aws_cdk/aws_lex/__init__.py +1 -1
- aws_cdk/aws_licensemanager/__init__.py +1 -1
- aws_cdk/aws_lightsail/__init__.py +1 -1
- aws_cdk/aws_location/__init__.py +1 -1
- aws_cdk/aws_logs/__init__.py +1 -1
- aws_cdk/aws_logs_destinations/__init__.py +1 -1
- aws_cdk/aws_lookoutequipment/__init__.py +1 -1
- aws_cdk/aws_lookoutmetrics/__init__.py +1 -1
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +1 -1
- aws_cdk/aws_macie/__init__.py +1 -1
- aws_cdk/aws_managedblockchain/__init__.py +1 -1
- aws_cdk/aws_mediaconnect/__init__.py +1 -1
- aws_cdk/aws_mediaconvert/__init__.py +1 -1
- aws_cdk/aws_medialive/__init__.py +1 -1
- aws_cdk/aws_mediapackage/__init__.py +1 -1
- aws_cdk/aws_mediapackagev2/__init__.py +33 -1
- aws_cdk/aws_mediastore/__init__.py +1 -1
- aws_cdk/aws_mediatailor/__init__.py +1 -1
- aws_cdk/aws_memorydb/__init__.py +1 -1
- aws_cdk/aws_msk/__init__.py +1 -1
- aws_cdk/aws_mwaa/__init__.py +1 -1
- aws_cdk/aws_neptune/__init__.py +1 -1
- aws_cdk/aws_neptunegraph/__init__.py +1 -1
- aws_cdk/aws_networkfirewall/__init__.py +1 -1
- aws_cdk/aws_networkmanager/__init__.py +10 -10
- aws_cdk/aws_nimblestudio/__init__.py +1 -1
- aws_cdk/aws_oam/__init__.py +1 -1
- aws_cdk/aws_omics/__init__.py +2 -2
- aws_cdk/aws_opensearchserverless/__init__.py +1 -1
- aws_cdk/aws_opensearchservice/__init__.py +1 -1
- aws_cdk/aws_opsworks/__init__.py +1 -1
- aws_cdk/aws_opsworkscm/__init__.py +8 -4
- aws_cdk/aws_organizations/__init__.py +1 -1
- aws_cdk/aws_osis/__init__.py +1 -1
- aws_cdk/aws_panorama/__init__.py +1 -1
- aws_cdk/aws_paymentcryptography/__init__.py +1 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +1 -1
- aws_cdk/aws_personalize/__init__.py +1 -1
- aws_cdk/aws_pinpoint/__init__.py +1 -1
- aws_cdk/aws_pinpointemail/__init__.py +1 -1
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_proton/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +1 -1
- aws_cdk/aws_qldb/__init__.py +1 -1
- aws_cdk/aws_quicksight/__init__.py +1 -1
- aws_cdk/aws_ram/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +515 -34
- aws_cdk/aws_redshift/__init__.py +10 -10
- aws_cdk/aws_redshiftserverless/__init__.py +1 -1
- aws_cdk/aws_refactorspaces/__init__.py +1 -1
- aws_cdk/aws_rekognition/__init__.py +1 -1
- aws_cdk/aws_resiliencehub/__init__.py +1 -1
- aws_cdk/aws_resourceexplorer2/__init__.py +1 -1
- aws_cdk/aws_resourcegroups/__init__.py +1 -1
- aws_cdk/aws_robomaker/__init__.py +1 -1
- aws_cdk/aws_rolesanywhere/__init__.py +1 -1
- aws_cdk/aws_route53/__init__.py +1 -1
- aws_cdk/aws_route53_patterns/__init__.py +1 -1
- aws_cdk/aws_route53_targets/__init__.py +1 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -1
- aws_cdk/aws_route53recoveryreadiness/__init__.py +1 -1
- aws_cdk/aws_route53resolver/__init__.py +1 -1
- aws_cdk/aws_rum/__init__.py +1 -1
- aws_cdk/aws_s3/__init__.py +30 -6
- aws_cdk/aws_s3_assets/__init__.py +1 -1
- aws_cdk/aws_s3_deployment/__init__.py +1 -1
- aws_cdk/aws_s3_notifications/__init__.py +1 -1
- aws_cdk/aws_s3express/__init__.py +1 -1
- aws_cdk/aws_s3objectlambda/__init__.py +1 -1
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +1 -1
- aws_cdk/aws_sam/__init__.py +1 -1
- aws_cdk/aws_scheduler/__init__.py +1 -1
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +1 -1
- aws_cdk/aws_securityhub/__init__.py +1 -1
- aws_cdk/aws_securitylake/__init__.py +1 -1
- aws_cdk/aws_servicecatalog/__init__.py +1 -1
- aws_cdk/aws_servicecatalogappregistry/__init__.py +1 -1
- aws_cdk/aws_servicediscovery/__init__.py +21 -4
- aws_cdk/aws_ses/__init__.py +86 -1
- aws_cdk/aws_ses_actions/__init__.py +1 -1
- aws_cdk/aws_shield/__init__.py +1 -1
- aws_cdk/aws_signer/__init__.py +42 -1
- aws_cdk/aws_simspaceweaver/__init__.py +1 -1
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_sns_subscriptions/__init__.py +1 -1
- aws_cdk/aws_sqs/__init__.py +7 -9
- aws_cdk/aws_ssm/__init__.py +106 -37
- aws_cdk/aws_ssmcontacts/__init__.py +1 -1
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_sso/__init__.py +1 -1
- aws_cdk/aws_stepfunctions/__init__.py +1 -1
- aws_cdk/aws_stepfunctions_tasks/__init__.py +793 -152
- aws_cdk/aws_supportapp/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +1 -1
- aws_cdk/aws_systemsmanagersap/__init__.py +1 -1
- aws_cdk/aws_timestream/__init__.py +1 -1
- aws_cdk/aws_transfer/__init__.py +1 -1
- aws_cdk/aws_verifiedpermissions/__init__.py +602 -9
- aws_cdk/aws_voiceid/__init__.py +1 -1
- aws_cdk/aws_vpclattice/__init__.py +1 -1
- aws_cdk/aws_waf/__init__.py +1 -1
- aws_cdk/aws_wafregional/__init__.py +1 -1
- aws_cdk/aws_wafv2/__init__.py +1 -1
- aws_cdk/aws_wisdom/__init__.py +1 -1
- aws_cdk/aws_workspaces/__init__.py +774 -1
- aws_cdk/aws_workspacesthinclient/__init__.py +1 -1
- aws_cdk/aws_workspacesweb/__init__.py +5 -5
- aws_cdk/aws_xray/__init__.py +1 -1
- aws_cdk/cloud_assembly_schema/__init__.py +1 -1
- aws_cdk/cloudformation_include/__init__.py +1 -1
- aws_cdk/custom_resources/__init__.py +1 -1
- aws_cdk/cx_api/__init__.py +19 -1
- aws_cdk/lambda_layer_awscli/__init__.py +1 -1
- aws_cdk/lambda_layer_kubectl/__init__.py +1 -1
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +1 -1
- aws_cdk/pipelines/__init__.py +2 -2
- aws_cdk/region_info/__init__.py +1 -1
- aws_cdk/triggers/__init__.py +1 -1
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/METADATA +2 -2
- aws_cdk_lib-2.148.0.dist-info/RECORD +291 -0
- aws_cdk_lib-2.147.3.dist-info/RECORD +0 -290
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.147.3.dist-info → aws_cdk_lib-2.148.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,3042 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# AWS::AppTest Construct Library
|
|
3
|
+
|
|
4
|
+
<!--BEGIN STABILITY BANNER-->---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
> All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
<!--END STABILITY BANNER-->
|
|
13
|
+
|
|
14
|
+
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
import aws_cdk.aws_apptest as apptest
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
21
|
+
|
|
22
|
+
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
23
|
+
|
|
24
|
+
* Search [Construct Hub for AppTest construct libraries](https://constructs.dev/search?q=apptest)
|
|
25
|
+
* Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::AppTest resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_AppTest.html) directly.
|
|
26
|
+
|
|
27
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
28
|
+
|
|
29
|
+
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
30
|
+
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
31
|
+
|
|
32
|
+
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::AppTest](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_AppTest.html).
|
|
33
|
+
|
|
34
|
+
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
35
|
+
|
|
36
|
+
<!--END CFNONLY DISCLAIMER-->
|
|
37
|
+
'''
|
|
38
|
+
from pkgutil import extend_path
|
|
39
|
+
__path__ = extend_path(__path__, __name__)
|
|
40
|
+
|
|
41
|
+
import abc
|
|
42
|
+
import builtins
|
|
43
|
+
import datetime
|
|
44
|
+
import enum
|
|
45
|
+
import typing
|
|
46
|
+
|
|
47
|
+
import jsii
|
|
48
|
+
import publication
|
|
49
|
+
import typing_extensions
|
|
50
|
+
|
|
51
|
+
from typeguard import check_type
|
|
52
|
+
|
|
53
|
+
from .._jsii import *
|
|
54
|
+
|
|
55
|
+
import constructs as _constructs_77d1e7e8
|
|
56
|
+
from .. import (
|
|
57
|
+
CfnResource as _CfnResource_9df397a6,
|
|
58
|
+
IInspectable as _IInspectable_c2943556,
|
|
59
|
+
IResolvable as _IResolvable_da3f097b,
|
|
60
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
61
|
+
TagManager as _TagManager_0a598cb3,
|
|
62
|
+
TreeInspector as _TreeInspector_488e0dd5,
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
67
|
+
class CfnTestCase(
|
|
68
|
+
_CfnResource_9df397a6,
|
|
69
|
+
metaclass=jsii.JSIIMeta,
|
|
70
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase",
|
|
71
|
+
):
|
|
72
|
+
'''Creates a test case for an application.
|
|
73
|
+
|
|
74
|
+
For more information about test cases, see `Test cases <https://docs.aws.amazon.com/m2/latest/userguide/testing-test-cases.html>`_ and `Application Testing concepts <https://docs.aws.amazon.com/m2/latest/userguide/concepts-apptest.html>`_ in the *AWS Mainframe Modernization User Guide* .
|
|
75
|
+
|
|
76
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html
|
|
77
|
+
:cloudformationResource: AWS::AppTest::TestCase
|
|
78
|
+
:exampleMetadata: fixture=_generated
|
|
79
|
+
|
|
80
|
+
Example::
|
|
81
|
+
|
|
82
|
+
# The code below shows an example of how to instantiate this type.
|
|
83
|
+
# The values are placeholders you should change.
|
|
84
|
+
from aws_cdk import aws_apptest as apptest
|
|
85
|
+
|
|
86
|
+
cfn_test_case = apptest.CfnTestCase(self, "MyCfnTestCase",
|
|
87
|
+
name="name",
|
|
88
|
+
steps=[apptest.CfnTestCase.StepProperty(
|
|
89
|
+
action=apptest.CfnTestCase.StepActionProperty(
|
|
90
|
+
compare_action=apptest.CfnTestCase.CompareActionProperty(
|
|
91
|
+
input=apptest.CfnTestCase.InputProperty(
|
|
92
|
+
file=apptest.CfnTestCase.InputFileProperty(
|
|
93
|
+
file_metadata=apptest.CfnTestCase.FileMetadataProperty(
|
|
94
|
+
database_cdc=apptest.CfnTestCase.DatabaseCDCProperty(
|
|
95
|
+
source_metadata=apptest.CfnTestCase.SourceDatabaseMetadataProperty(
|
|
96
|
+
capture_tool="captureTool",
|
|
97
|
+
type="type"
|
|
98
|
+
),
|
|
99
|
+
target_metadata=apptest.CfnTestCase.TargetDatabaseMetadataProperty(
|
|
100
|
+
capture_tool="captureTool",
|
|
101
|
+
type="type"
|
|
102
|
+
)
|
|
103
|
+
),
|
|
104
|
+
data_sets=[apptest.CfnTestCase.DataSetProperty(
|
|
105
|
+
ccsid="ccsid",
|
|
106
|
+
format="format",
|
|
107
|
+
length=123,
|
|
108
|
+
name="name",
|
|
109
|
+
type="type"
|
|
110
|
+
)]
|
|
111
|
+
),
|
|
112
|
+
source_location="sourceLocation",
|
|
113
|
+
target_location="targetLocation"
|
|
114
|
+
)
|
|
115
|
+
),
|
|
116
|
+
|
|
117
|
+
# the properties below are optional
|
|
118
|
+
output=apptest.CfnTestCase.OutputProperty(
|
|
119
|
+
file=apptest.CfnTestCase.OutputFileProperty(
|
|
120
|
+
file_location="fileLocation"
|
|
121
|
+
)
|
|
122
|
+
)
|
|
123
|
+
),
|
|
124
|
+
mainframe_action=apptest.CfnTestCase.MainframeActionProperty(
|
|
125
|
+
action_type=apptest.CfnTestCase.MainframeActionTypeProperty(
|
|
126
|
+
batch=apptest.CfnTestCase.BatchProperty(
|
|
127
|
+
batch_job_name="batchJobName",
|
|
128
|
+
|
|
129
|
+
# the properties below are optional
|
|
130
|
+
batch_job_parameters={
|
|
131
|
+
"batch_job_parameters_key": "batchJobParameters"
|
|
132
|
+
},
|
|
133
|
+
export_data_set_names=["exportDataSetNames"]
|
|
134
|
+
),
|
|
135
|
+
tn3270=apptest.CfnTestCase.TN3270Property(
|
|
136
|
+
script=apptest.CfnTestCase.ScriptProperty(
|
|
137
|
+
script_location="scriptLocation",
|
|
138
|
+
type="type"
|
|
139
|
+
),
|
|
140
|
+
|
|
141
|
+
# the properties below are optional
|
|
142
|
+
export_data_set_names=["exportDataSetNames"]
|
|
143
|
+
)
|
|
144
|
+
),
|
|
145
|
+
resource="resource",
|
|
146
|
+
|
|
147
|
+
# the properties below are optional
|
|
148
|
+
properties=apptest.CfnTestCase.MainframeActionPropertiesProperty(
|
|
149
|
+
dms_task_arn="dmsTaskArn"
|
|
150
|
+
)
|
|
151
|
+
),
|
|
152
|
+
resource_action=apptest.CfnTestCase.ResourceActionProperty(
|
|
153
|
+
cloud_formation_action=apptest.CfnTestCase.CloudFormationActionProperty(
|
|
154
|
+
resource="resource",
|
|
155
|
+
|
|
156
|
+
# the properties below are optional
|
|
157
|
+
action_type="actionType"
|
|
158
|
+
),
|
|
159
|
+
m2_managed_application_action=apptest.CfnTestCase.M2ManagedApplicationActionProperty(
|
|
160
|
+
action_type="actionType",
|
|
161
|
+
resource="resource",
|
|
162
|
+
|
|
163
|
+
# the properties below are optional
|
|
164
|
+
properties=apptest.CfnTestCase.M2ManagedActionPropertiesProperty(
|
|
165
|
+
force_stop=False,
|
|
166
|
+
import_data_set_location="importDataSetLocation"
|
|
167
|
+
)
|
|
168
|
+
),
|
|
169
|
+
m2_non_managed_application_action=apptest.CfnTestCase.M2NonManagedApplicationActionProperty(
|
|
170
|
+
action_type="actionType",
|
|
171
|
+
resource="resource"
|
|
172
|
+
)
|
|
173
|
+
)
|
|
174
|
+
),
|
|
175
|
+
name="name",
|
|
176
|
+
|
|
177
|
+
# the properties below are optional
|
|
178
|
+
description="description"
|
|
179
|
+
)],
|
|
180
|
+
|
|
181
|
+
# the properties below are optional
|
|
182
|
+
description="description",
|
|
183
|
+
tags={
|
|
184
|
+
"tags_key": "tags"
|
|
185
|
+
}
|
|
186
|
+
)
|
|
187
|
+
'''
|
|
188
|
+
|
|
189
|
+
def __init__(
|
|
190
|
+
self,
|
|
191
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
192
|
+
id: builtins.str,
|
|
193
|
+
*,
|
|
194
|
+
name: builtins.str,
|
|
195
|
+
steps: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.StepProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
196
|
+
description: typing.Optional[builtins.str] = None,
|
|
197
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
198
|
+
) -> None:
|
|
199
|
+
'''
|
|
200
|
+
:param scope: Scope in which this resource is defined.
|
|
201
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
202
|
+
:param name: The name of the test case.
|
|
203
|
+
:param steps: The steps in the test case.
|
|
204
|
+
:param description: The description of the test case.
|
|
205
|
+
:param tags: The specified tags of the test case.
|
|
206
|
+
'''
|
|
207
|
+
if __debug__:
|
|
208
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b54328fdade9df4505a5f85498cf53fc62e7fc59a222ac471d1a63974ed7f0a5)
|
|
209
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
210
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
211
|
+
props = CfnTestCaseProps(
|
|
212
|
+
name=name, steps=steps, description=description, tags=tags
|
|
213
|
+
)
|
|
214
|
+
|
|
215
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
216
|
+
|
|
217
|
+
@jsii.member(jsii_name="inspect")
|
|
218
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
219
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
220
|
+
|
|
221
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
222
|
+
'''
|
|
223
|
+
if __debug__:
|
|
224
|
+
type_hints = typing.get_type_hints(_typecheckingstub__224090306333e2fc48135738c3d25b5e41f34e68b81b058fbfb26e7eda0deb3b)
|
|
225
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
226
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
227
|
+
|
|
228
|
+
@jsii.member(jsii_name="renderProperties")
|
|
229
|
+
def _render_properties(
|
|
230
|
+
self,
|
|
231
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
232
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
233
|
+
'''
|
|
234
|
+
:param props: -
|
|
235
|
+
'''
|
|
236
|
+
if __debug__:
|
|
237
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0b44c10d3df56f34cf8ff918478ccaaa747cba69c96444d92b98e0cf0cb4efe1)
|
|
238
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
239
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
240
|
+
|
|
241
|
+
@jsii.python.classproperty
|
|
242
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
243
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
244
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
245
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
246
|
+
|
|
247
|
+
@builtins.property
|
|
248
|
+
@jsii.member(jsii_name="attrCreationTime")
|
|
249
|
+
def attr_creation_time(self) -> builtins.str:
|
|
250
|
+
'''The creation time of the test case.
|
|
251
|
+
|
|
252
|
+
:cloudformationAttribute: CreationTime
|
|
253
|
+
'''
|
|
254
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreationTime"))
|
|
255
|
+
|
|
256
|
+
@builtins.property
|
|
257
|
+
@jsii.member(jsii_name="attrLastUpdateTime")
|
|
258
|
+
def attr_last_update_time(self) -> builtins.str:
|
|
259
|
+
'''The last update time of the test case.
|
|
260
|
+
|
|
261
|
+
:cloudformationAttribute: LastUpdateTime
|
|
262
|
+
'''
|
|
263
|
+
return typing.cast(builtins.str, jsii.get(self, "attrLastUpdateTime"))
|
|
264
|
+
|
|
265
|
+
@builtins.property
|
|
266
|
+
@jsii.member(jsii_name="attrLatestVersion")
|
|
267
|
+
def attr_latest_version(self) -> _IResolvable_da3f097b:
|
|
268
|
+
'''
|
|
269
|
+
:cloudformationAttribute: LatestVersion
|
|
270
|
+
'''
|
|
271
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrLatestVersion"))
|
|
272
|
+
|
|
273
|
+
@builtins.property
|
|
274
|
+
@jsii.member(jsii_name="attrStatus")
|
|
275
|
+
def attr_status(self) -> builtins.str:
|
|
276
|
+
'''The status of the test case.
|
|
277
|
+
|
|
278
|
+
:cloudformationAttribute: Status
|
|
279
|
+
'''
|
|
280
|
+
return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
|
|
281
|
+
|
|
282
|
+
@builtins.property
|
|
283
|
+
@jsii.member(jsii_name="attrTestCaseArn")
|
|
284
|
+
def attr_test_case_arn(self) -> builtins.str:
|
|
285
|
+
'''The Amazon Resource Name (ARN) of the test case.
|
|
286
|
+
|
|
287
|
+
:cloudformationAttribute: TestCaseArn
|
|
288
|
+
'''
|
|
289
|
+
return typing.cast(builtins.str, jsii.get(self, "attrTestCaseArn"))
|
|
290
|
+
|
|
291
|
+
@builtins.property
|
|
292
|
+
@jsii.member(jsii_name="attrTestCaseId")
|
|
293
|
+
def attr_test_case_id(self) -> builtins.str:
|
|
294
|
+
'''The response test case ID of the test case.
|
|
295
|
+
|
|
296
|
+
:cloudformationAttribute: TestCaseId
|
|
297
|
+
'''
|
|
298
|
+
return typing.cast(builtins.str, jsii.get(self, "attrTestCaseId"))
|
|
299
|
+
|
|
300
|
+
@builtins.property
|
|
301
|
+
@jsii.member(jsii_name="attrTestCaseVersion")
|
|
302
|
+
def attr_test_case_version(self) -> _IResolvable_da3f097b:
|
|
303
|
+
'''The version of the test case.
|
|
304
|
+
|
|
305
|
+
:cloudformationAttribute: TestCaseVersion
|
|
306
|
+
'''
|
|
307
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrTestCaseVersion"))
|
|
308
|
+
|
|
309
|
+
@builtins.property
|
|
310
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
311
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
312
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
313
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
314
|
+
|
|
315
|
+
@builtins.property
|
|
316
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
317
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
318
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
319
|
+
|
|
320
|
+
@builtins.property
|
|
321
|
+
@jsii.member(jsii_name="name")
|
|
322
|
+
def name(self) -> builtins.str:
|
|
323
|
+
'''The name of the test case.'''
|
|
324
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
325
|
+
|
|
326
|
+
@name.setter
|
|
327
|
+
def name(self, value: builtins.str) -> None:
|
|
328
|
+
if __debug__:
|
|
329
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a0b8945362e3fa289aad135a767811c67a4cdb45010d2377c0fb6dd670ca829f)
|
|
330
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
331
|
+
jsii.set(self, "name", value)
|
|
332
|
+
|
|
333
|
+
@builtins.property
|
|
334
|
+
@jsii.member(jsii_name="steps")
|
|
335
|
+
def steps(
|
|
336
|
+
self,
|
|
337
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTestCase.StepProperty"]]]:
|
|
338
|
+
'''The steps in the test case.'''
|
|
339
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTestCase.StepProperty"]]], jsii.get(self, "steps"))
|
|
340
|
+
|
|
341
|
+
@steps.setter
|
|
342
|
+
def steps(
|
|
343
|
+
self,
|
|
344
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTestCase.StepProperty"]]],
|
|
345
|
+
) -> None:
|
|
346
|
+
if __debug__:
|
|
347
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b0a0c6d80a2bab21c010f9956a7784691e07a0d6ed782a3cc4f9fe81b470a060)
|
|
348
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
349
|
+
jsii.set(self, "steps", value)
|
|
350
|
+
|
|
351
|
+
@builtins.property
|
|
352
|
+
@jsii.member(jsii_name="description")
|
|
353
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
354
|
+
'''The description of the test case.'''
|
|
355
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
356
|
+
|
|
357
|
+
@description.setter
|
|
358
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
359
|
+
if __debug__:
|
|
360
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a7d3be2bb2b7f3fe2d6ec231a15d229997932dffe177165c78ec826c8431cca3)
|
|
361
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
362
|
+
jsii.set(self, "description", value)
|
|
363
|
+
|
|
364
|
+
@builtins.property
|
|
365
|
+
@jsii.member(jsii_name="tags")
|
|
366
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
367
|
+
'''The specified tags of the test case.'''
|
|
368
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
|
|
369
|
+
|
|
370
|
+
@tags.setter
|
|
371
|
+
def tags(
|
|
372
|
+
self,
|
|
373
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
374
|
+
) -> None:
|
|
375
|
+
if __debug__:
|
|
376
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6e8acfd7d3d54fa56bbe1ab5b9bc79609eaccb189083fe4b8cc7217ad659a8e7)
|
|
377
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
378
|
+
jsii.set(self, "tags", value)
|
|
379
|
+
|
|
380
|
+
@jsii.data_type(
|
|
381
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.BatchProperty",
|
|
382
|
+
jsii_struct_bases=[],
|
|
383
|
+
name_mapping={
|
|
384
|
+
"batch_job_name": "batchJobName",
|
|
385
|
+
"batch_job_parameters": "batchJobParameters",
|
|
386
|
+
"export_data_set_names": "exportDataSetNames",
|
|
387
|
+
},
|
|
388
|
+
)
|
|
389
|
+
class BatchProperty:
|
|
390
|
+
def __init__(
|
|
391
|
+
self,
|
|
392
|
+
*,
|
|
393
|
+
batch_job_name: builtins.str,
|
|
394
|
+
batch_job_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
395
|
+
export_data_set_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
396
|
+
) -> None:
|
|
397
|
+
'''Defines a batch.
|
|
398
|
+
|
|
399
|
+
:param batch_job_name: The job name of the batch.
|
|
400
|
+
:param batch_job_parameters: The batch job parameters of the batch.
|
|
401
|
+
:param export_data_set_names: The export data set names of the batch.
|
|
402
|
+
|
|
403
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-batch.html
|
|
404
|
+
:exampleMetadata: fixture=_generated
|
|
405
|
+
|
|
406
|
+
Example::
|
|
407
|
+
|
|
408
|
+
# The code below shows an example of how to instantiate this type.
|
|
409
|
+
# The values are placeholders you should change.
|
|
410
|
+
from aws_cdk import aws_apptest as apptest
|
|
411
|
+
|
|
412
|
+
batch_property = apptest.CfnTestCase.BatchProperty(
|
|
413
|
+
batch_job_name="batchJobName",
|
|
414
|
+
|
|
415
|
+
# the properties below are optional
|
|
416
|
+
batch_job_parameters={
|
|
417
|
+
"batch_job_parameters_key": "batchJobParameters"
|
|
418
|
+
},
|
|
419
|
+
export_data_set_names=["exportDataSetNames"]
|
|
420
|
+
)
|
|
421
|
+
'''
|
|
422
|
+
if __debug__:
|
|
423
|
+
type_hints = typing.get_type_hints(_typecheckingstub__22fbc9e8380b6b0f7acb2ff9ce8665660f1341dbe513e19f269854edf36bf947)
|
|
424
|
+
check_type(argname="argument batch_job_name", value=batch_job_name, expected_type=type_hints["batch_job_name"])
|
|
425
|
+
check_type(argname="argument batch_job_parameters", value=batch_job_parameters, expected_type=type_hints["batch_job_parameters"])
|
|
426
|
+
check_type(argname="argument export_data_set_names", value=export_data_set_names, expected_type=type_hints["export_data_set_names"])
|
|
427
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
428
|
+
"batch_job_name": batch_job_name,
|
|
429
|
+
}
|
|
430
|
+
if batch_job_parameters is not None:
|
|
431
|
+
self._values["batch_job_parameters"] = batch_job_parameters
|
|
432
|
+
if export_data_set_names is not None:
|
|
433
|
+
self._values["export_data_set_names"] = export_data_set_names
|
|
434
|
+
|
|
435
|
+
@builtins.property
|
|
436
|
+
def batch_job_name(self) -> builtins.str:
|
|
437
|
+
'''The job name of the batch.
|
|
438
|
+
|
|
439
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-batch.html#cfn-apptest-testcase-batch-batchjobname
|
|
440
|
+
'''
|
|
441
|
+
result = self._values.get("batch_job_name")
|
|
442
|
+
assert result is not None, "Required property 'batch_job_name' is missing"
|
|
443
|
+
return typing.cast(builtins.str, result)
|
|
444
|
+
|
|
445
|
+
@builtins.property
|
|
446
|
+
def batch_job_parameters(
|
|
447
|
+
self,
|
|
448
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
449
|
+
'''The batch job parameters of the batch.
|
|
450
|
+
|
|
451
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-batch.html#cfn-apptest-testcase-batch-batchjobparameters
|
|
452
|
+
'''
|
|
453
|
+
result = self._values.get("batch_job_parameters")
|
|
454
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
|
|
455
|
+
|
|
456
|
+
@builtins.property
|
|
457
|
+
def export_data_set_names(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
458
|
+
'''The export data set names of the batch.
|
|
459
|
+
|
|
460
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-batch.html#cfn-apptest-testcase-batch-exportdatasetnames
|
|
461
|
+
'''
|
|
462
|
+
result = self._values.get("export_data_set_names")
|
|
463
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
464
|
+
|
|
465
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
466
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
467
|
+
|
|
468
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
469
|
+
return not (rhs == self)
|
|
470
|
+
|
|
471
|
+
def __repr__(self) -> str:
|
|
472
|
+
return "BatchProperty(%s)" % ", ".join(
|
|
473
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
474
|
+
)
|
|
475
|
+
|
|
476
|
+
@jsii.data_type(
|
|
477
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.CloudFormationActionProperty",
|
|
478
|
+
jsii_struct_bases=[],
|
|
479
|
+
name_mapping={"resource": "resource", "action_type": "actionType"},
|
|
480
|
+
)
|
|
481
|
+
class CloudFormationActionProperty:
|
|
482
|
+
def __init__(
|
|
483
|
+
self,
|
|
484
|
+
*,
|
|
485
|
+
resource: builtins.str,
|
|
486
|
+
action_type: typing.Optional[builtins.str] = None,
|
|
487
|
+
) -> None:
|
|
488
|
+
'''Specifies the CloudFormation action.
|
|
489
|
+
|
|
490
|
+
:param resource: The resource of the CloudFormation action.
|
|
491
|
+
:param action_type: The action type of the CloudFormation action.
|
|
492
|
+
|
|
493
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-cloudformationaction.html
|
|
494
|
+
:exampleMetadata: fixture=_generated
|
|
495
|
+
|
|
496
|
+
Example::
|
|
497
|
+
|
|
498
|
+
# The code below shows an example of how to instantiate this type.
|
|
499
|
+
# The values are placeholders you should change.
|
|
500
|
+
from aws_cdk import aws_apptest as apptest
|
|
501
|
+
|
|
502
|
+
cloud_formation_action_property = apptest.CfnTestCase.CloudFormationActionProperty(
|
|
503
|
+
resource="resource",
|
|
504
|
+
|
|
505
|
+
# the properties below are optional
|
|
506
|
+
action_type="actionType"
|
|
507
|
+
)
|
|
508
|
+
'''
|
|
509
|
+
if __debug__:
|
|
510
|
+
type_hints = typing.get_type_hints(_typecheckingstub__78e388b0bdedf30c61617f56e880ca6fde56252f230c4ae15398e7f9e212b149)
|
|
511
|
+
check_type(argname="argument resource", value=resource, expected_type=type_hints["resource"])
|
|
512
|
+
check_type(argname="argument action_type", value=action_type, expected_type=type_hints["action_type"])
|
|
513
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
514
|
+
"resource": resource,
|
|
515
|
+
}
|
|
516
|
+
if action_type is not None:
|
|
517
|
+
self._values["action_type"] = action_type
|
|
518
|
+
|
|
519
|
+
@builtins.property
|
|
520
|
+
def resource(self) -> builtins.str:
|
|
521
|
+
'''The resource of the CloudFormation action.
|
|
522
|
+
|
|
523
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-cloudformationaction.html#cfn-apptest-testcase-cloudformationaction-resource
|
|
524
|
+
'''
|
|
525
|
+
result = self._values.get("resource")
|
|
526
|
+
assert result is not None, "Required property 'resource' is missing"
|
|
527
|
+
return typing.cast(builtins.str, result)
|
|
528
|
+
|
|
529
|
+
@builtins.property
|
|
530
|
+
def action_type(self) -> typing.Optional[builtins.str]:
|
|
531
|
+
'''The action type of the CloudFormation action.
|
|
532
|
+
|
|
533
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-cloudformationaction.html#cfn-apptest-testcase-cloudformationaction-actiontype
|
|
534
|
+
'''
|
|
535
|
+
result = self._values.get("action_type")
|
|
536
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
537
|
+
|
|
538
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
539
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
540
|
+
|
|
541
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
542
|
+
return not (rhs == self)
|
|
543
|
+
|
|
544
|
+
def __repr__(self) -> str:
|
|
545
|
+
return "CloudFormationActionProperty(%s)" % ", ".join(
|
|
546
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
547
|
+
)
|
|
548
|
+
|
|
549
|
+
@jsii.data_type(
|
|
550
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.CompareActionProperty",
|
|
551
|
+
jsii_struct_bases=[],
|
|
552
|
+
name_mapping={"input": "input", "output": "output"},
|
|
553
|
+
)
|
|
554
|
+
class CompareActionProperty:
|
|
555
|
+
def __init__(
|
|
556
|
+
self,
|
|
557
|
+
*,
|
|
558
|
+
input: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.InputProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
559
|
+
output: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.OutputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
560
|
+
) -> None:
|
|
561
|
+
'''Compares the action.
|
|
562
|
+
|
|
563
|
+
:param input: The input of the compare action.
|
|
564
|
+
:param output: The output of the compare action.
|
|
565
|
+
|
|
566
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-compareaction.html
|
|
567
|
+
:exampleMetadata: fixture=_generated
|
|
568
|
+
|
|
569
|
+
Example::
|
|
570
|
+
|
|
571
|
+
# The code below shows an example of how to instantiate this type.
|
|
572
|
+
# The values are placeholders you should change.
|
|
573
|
+
from aws_cdk import aws_apptest as apptest
|
|
574
|
+
|
|
575
|
+
compare_action_property = apptest.CfnTestCase.CompareActionProperty(
|
|
576
|
+
input=apptest.CfnTestCase.InputProperty(
|
|
577
|
+
file=apptest.CfnTestCase.InputFileProperty(
|
|
578
|
+
file_metadata=apptest.CfnTestCase.FileMetadataProperty(
|
|
579
|
+
database_cdc=apptest.CfnTestCase.DatabaseCDCProperty(
|
|
580
|
+
source_metadata=apptest.CfnTestCase.SourceDatabaseMetadataProperty(
|
|
581
|
+
capture_tool="captureTool",
|
|
582
|
+
type="type"
|
|
583
|
+
),
|
|
584
|
+
target_metadata=apptest.CfnTestCase.TargetDatabaseMetadataProperty(
|
|
585
|
+
capture_tool="captureTool",
|
|
586
|
+
type="type"
|
|
587
|
+
)
|
|
588
|
+
),
|
|
589
|
+
data_sets=[apptest.CfnTestCase.DataSetProperty(
|
|
590
|
+
ccsid="ccsid",
|
|
591
|
+
format="format",
|
|
592
|
+
length=123,
|
|
593
|
+
name="name",
|
|
594
|
+
type="type"
|
|
595
|
+
)]
|
|
596
|
+
),
|
|
597
|
+
source_location="sourceLocation",
|
|
598
|
+
target_location="targetLocation"
|
|
599
|
+
)
|
|
600
|
+
),
|
|
601
|
+
|
|
602
|
+
# the properties below are optional
|
|
603
|
+
output=apptest.CfnTestCase.OutputProperty(
|
|
604
|
+
file=apptest.CfnTestCase.OutputFileProperty(
|
|
605
|
+
file_location="fileLocation"
|
|
606
|
+
)
|
|
607
|
+
)
|
|
608
|
+
)
|
|
609
|
+
'''
|
|
610
|
+
if __debug__:
|
|
611
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e2dc4b8e39cea5f0693b421e043e7fe695a5071e9da674e0b21910651149bec6)
|
|
612
|
+
check_type(argname="argument input", value=input, expected_type=type_hints["input"])
|
|
613
|
+
check_type(argname="argument output", value=output, expected_type=type_hints["output"])
|
|
614
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
615
|
+
"input": input,
|
|
616
|
+
}
|
|
617
|
+
if output is not None:
|
|
618
|
+
self._values["output"] = output
|
|
619
|
+
|
|
620
|
+
@builtins.property
|
|
621
|
+
def input(
|
|
622
|
+
self,
|
|
623
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnTestCase.InputProperty"]:
|
|
624
|
+
'''The input of the compare action.
|
|
625
|
+
|
|
626
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-compareaction.html#cfn-apptest-testcase-compareaction-input
|
|
627
|
+
'''
|
|
628
|
+
result = self._values.get("input")
|
|
629
|
+
assert result is not None, "Required property 'input' is missing"
|
|
630
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTestCase.InputProperty"], result)
|
|
631
|
+
|
|
632
|
+
@builtins.property
|
|
633
|
+
def output(
|
|
634
|
+
self,
|
|
635
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.OutputProperty"]]:
|
|
636
|
+
'''The output of the compare action.
|
|
637
|
+
|
|
638
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-compareaction.html#cfn-apptest-testcase-compareaction-output
|
|
639
|
+
'''
|
|
640
|
+
result = self._values.get("output")
|
|
641
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.OutputProperty"]], result)
|
|
642
|
+
|
|
643
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
644
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
645
|
+
|
|
646
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
647
|
+
return not (rhs == self)
|
|
648
|
+
|
|
649
|
+
def __repr__(self) -> str:
|
|
650
|
+
return "CompareActionProperty(%s)" % ", ".join(
|
|
651
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
652
|
+
)
|
|
653
|
+
|
|
654
|
+
@jsii.data_type(
|
|
655
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.DataSetProperty",
|
|
656
|
+
jsii_struct_bases=[],
|
|
657
|
+
name_mapping={
|
|
658
|
+
"ccsid": "ccsid",
|
|
659
|
+
"format": "format",
|
|
660
|
+
"length": "length",
|
|
661
|
+
"name": "name",
|
|
662
|
+
"type": "type",
|
|
663
|
+
},
|
|
664
|
+
)
|
|
665
|
+
class DataSetProperty:
|
|
666
|
+
def __init__(
|
|
667
|
+
self,
|
|
668
|
+
*,
|
|
669
|
+
ccsid: builtins.str,
|
|
670
|
+
format: builtins.str,
|
|
671
|
+
length: jsii.Number,
|
|
672
|
+
name: builtins.str,
|
|
673
|
+
type: builtins.str,
|
|
674
|
+
) -> None:
|
|
675
|
+
'''Defines a data set.
|
|
676
|
+
|
|
677
|
+
:param ccsid: The CCSID of the data set.
|
|
678
|
+
:param format: The format of the data set.
|
|
679
|
+
:param length: The length of the data set.
|
|
680
|
+
:param name: The name of the data set.
|
|
681
|
+
:param type: The type of the data set.
|
|
682
|
+
|
|
683
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html
|
|
684
|
+
:exampleMetadata: fixture=_generated
|
|
685
|
+
|
|
686
|
+
Example::
|
|
687
|
+
|
|
688
|
+
# The code below shows an example of how to instantiate this type.
|
|
689
|
+
# The values are placeholders you should change.
|
|
690
|
+
from aws_cdk import aws_apptest as apptest
|
|
691
|
+
|
|
692
|
+
data_set_property = apptest.CfnTestCase.DataSetProperty(
|
|
693
|
+
ccsid="ccsid",
|
|
694
|
+
format="format",
|
|
695
|
+
length=123,
|
|
696
|
+
name="name",
|
|
697
|
+
type="type"
|
|
698
|
+
)
|
|
699
|
+
'''
|
|
700
|
+
if __debug__:
|
|
701
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d3400848ac30aaffccbe005fccaa7513d639cff48d08f645573a9df55178db62)
|
|
702
|
+
check_type(argname="argument ccsid", value=ccsid, expected_type=type_hints["ccsid"])
|
|
703
|
+
check_type(argname="argument format", value=format, expected_type=type_hints["format"])
|
|
704
|
+
check_type(argname="argument length", value=length, expected_type=type_hints["length"])
|
|
705
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
706
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
707
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
708
|
+
"ccsid": ccsid,
|
|
709
|
+
"format": format,
|
|
710
|
+
"length": length,
|
|
711
|
+
"name": name,
|
|
712
|
+
"type": type,
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
@builtins.property
|
|
716
|
+
def ccsid(self) -> builtins.str:
|
|
717
|
+
'''The CCSID of the data set.
|
|
718
|
+
|
|
719
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html#cfn-apptest-testcase-dataset-ccsid
|
|
720
|
+
'''
|
|
721
|
+
result = self._values.get("ccsid")
|
|
722
|
+
assert result is not None, "Required property 'ccsid' is missing"
|
|
723
|
+
return typing.cast(builtins.str, result)
|
|
724
|
+
|
|
725
|
+
@builtins.property
|
|
726
|
+
def format(self) -> builtins.str:
|
|
727
|
+
'''The format of the data set.
|
|
728
|
+
|
|
729
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html#cfn-apptest-testcase-dataset-format
|
|
730
|
+
'''
|
|
731
|
+
result = self._values.get("format")
|
|
732
|
+
assert result is not None, "Required property 'format' is missing"
|
|
733
|
+
return typing.cast(builtins.str, result)
|
|
734
|
+
|
|
735
|
+
@builtins.property
|
|
736
|
+
def length(self) -> jsii.Number:
|
|
737
|
+
'''The length of the data set.
|
|
738
|
+
|
|
739
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html#cfn-apptest-testcase-dataset-length
|
|
740
|
+
'''
|
|
741
|
+
result = self._values.get("length")
|
|
742
|
+
assert result is not None, "Required property 'length' is missing"
|
|
743
|
+
return typing.cast(jsii.Number, result)
|
|
744
|
+
|
|
745
|
+
@builtins.property
|
|
746
|
+
def name(self) -> builtins.str:
|
|
747
|
+
'''The name of the data set.
|
|
748
|
+
|
|
749
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html#cfn-apptest-testcase-dataset-name
|
|
750
|
+
'''
|
|
751
|
+
result = self._values.get("name")
|
|
752
|
+
assert result is not None, "Required property 'name' is missing"
|
|
753
|
+
return typing.cast(builtins.str, result)
|
|
754
|
+
|
|
755
|
+
@builtins.property
|
|
756
|
+
def type(self) -> builtins.str:
|
|
757
|
+
'''The type of the data set.
|
|
758
|
+
|
|
759
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-dataset.html#cfn-apptest-testcase-dataset-type
|
|
760
|
+
'''
|
|
761
|
+
result = self._values.get("type")
|
|
762
|
+
assert result is not None, "Required property 'type' is missing"
|
|
763
|
+
return typing.cast(builtins.str, result)
|
|
764
|
+
|
|
765
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
766
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
767
|
+
|
|
768
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
769
|
+
return not (rhs == self)
|
|
770
|
+
|
|
771
|
+
def __repr__(self) -> str:
|
|
772
|
+
return "DataSetProperty(%s)" % ", ".join(
|
|
773
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
774
|
+
)
|
|
775
|
+
|
|
776
|
+
@jsii.data_type(
|
|
777
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.DatabaseCDCProperty",
|
|
778
|
+
jsii_struct_bases=[],
|
|
779
|
+
name_mapping={
|
|
780
|
+
"source_metadata": "sourceMetadata",
|
|
781
|
+
"target_metadata": "targetMetadata",
|
|
782
|
+
},
|
|
783
|
+
)
|
|
784
|
+
class DatabaseCDCProperty:
|
|
785
|
+
def __init__(
|
|
786
|
+
self,
|
|
787
|
+
*,
|
|
788
|
+
source_metadata: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.SourceDatabaseMetadataProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
789
|
+
target_metadata: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.TargetDatabaseMetadataProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
790
|
+
) -> None:
|
|
791
|
+
'''Defines the Change Data Capture (CDC) of the database.
|
|
792
|
+
|
|
793
|
+
:param source_metadata: The source metadata of the database CDC.
|
|
794
|
+
:param target_metadata: The target metadata of the database CDC.
|
|
795
|
+
|
|
796
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-databasecdc.html
|
|
797
|
+
:exampleMetadata: fixture=_generated
|
|
798
|
+
|
|
799
|
+
Example::
|
|
800
|
+
|
|
801
|
+
# The code below shows an example of how to instantiate this type.
|
|
802
|
+
# The values are placeholders you should change.
|
|
803
|
+
from aws_cdk import aws_apptest as apptest
|
|
804
|
+
|
|
805
|
+
database_cDCProperty = apptest.CfnTestCase.DatabaseCDCProperty(
|
|
806
|
+
source_metadata=apptest.CfnTestCase.SourceDatabaseMetadataProperty(
|
|
807
|
+
capture_tool="captureTool",
|
|
808
|
+
type="type"
|
|
809
|
+
),
|
|
810
|
+
target_metadata=apptest.CfnTestCase.TargetDatabaseMetadataProperty(
|
|
811
|
+
capture_tool="captureTool",
|
|
812
|
+
type="type"
|
|
813
|
+
)
|
|
814
|
+
)
|
|
815
|
+
'''
|
|
816
|
+
if __debug__:
|
|
817
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5d36ecfd05054aba47bc762f73ceae48c439f201dd893fd3061a68183286a719)
|
|
818
|
+
check_type(argname="argument source_metadata", value=source_metadata, expected_type=type_hints["source_metadata"])
|
|
819
|
+
check_type(argname="argument target_metadata", value=target_metadata, expected_type=type_hints["target_metadata"])
|
|
820
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
821
|
+
"source_metadata": source_metadata,
|
|
822
|
+
"target_metadata": target_metadata,
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
@builtins.property
|
|
826
|
+
def source_metadata(
|
|
827
|
+
self,
|
|
828
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnTestCase.SourceDatabaseMetadataProperty"]:
|
|
829
|
+
'''The source metadata of the database CDC.
|
|
830
|
+
|
|
831
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-databasecdc.html#cfn-apptest-testcase-databasecdc-sourcemetadata
|
|
832
|
+
'''
|
|
833
|
+
result = self._values.get("source_metadata")
|
|
834
|
+
assert result is not None, "Required property 'source_metadata' is missing"
|
|
835
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTestCase.SourceDatabaseMetadataProperty"], result)
|
|
836
|
+
|
|
837
|
+
@builtins.property
|
|
838
|
+
def target_metadata(
|
|
839
|
+
self,
|
|
840
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnTestCase.TargetDatabaseMetadataProperty"]:
|
|
841
|
+
'''The target metadata of the database CDC.
|
|
842
|
+
|
|
843
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-databasecdc.html#cfn-apptest-testcase-databasecdc-targetmetadata
|
|
844
|
+
'''
|
|
845
|
+
result = self._values.get("target_metadata")
|
|
846
|
+
assert result is not None, "Required property 'target_metadata' is missing"
|
|
847
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTestCase.TargetDatabaseMetadataProperty"], result)
|
|
848
|
+
|
|
849
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
850
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
851
|
+
|
|
852
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
853
|
+
return not (rhs == self)
|
|
854
|
+
|
|
855
|
+
def __repr__(self) -> str:
|
|
856
|
+
return "DatabaseCDCProperty(%s)" % ", ".join(
|
|
857
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
858
|
+
)
|
|
859
|
+
|
|
860
|
+
@jsii.data_type(
|
|
861
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.FileMetadataProperty",
|
|
862
|
+
jsii_struct_bases=[],
|
|
863
|
+
name_mapping={"database_cdc": "databaseCdc", "data_sets": "dataSets"},
|
|
864
|
+
)
|
|
865
|
+
class FileMetadataProperty:
|
|
866
|
+
def __init__(
|
|
867
|
+
self,
|
|
868
|
+
*,
|
|
869
|
+
database_cdc: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.DatabaseCDCProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
870
|
+
data_sets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.DataSetProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
871
|
+
) -> None:
|
|
872
|
+
'''Specifies a file metadata.
|
|
873
|
+
|
|
874
|
+
:param database_cdc: The database CDC of the file metadata.
|
|
875
|
+
:param data_sets: The data sets of the file metadata.
|
|
876
|
+
|
|
877
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-filemetadata.html
|
|
878
|
+
:exampleMetadata: fixture=_generated
|
|
879
|
+
|
|
880
|
+
Example::
|
|
881
|
+
|
|
882
|
+
# The code below shows an example of how to instantiate this type.
|
|
883
|
+
# The values are placeholders you should change.
|
|
884
|
+
from aws_cdk import aws_apptest as apptest
|
|
885
|
+
|
|
886
|
+
file_metadata_property = apptest.CfnTestCase.FileMetadataProperty(
|
|
887
|
+
database_cdc=apptest.CfnTestCase.DatabaseCDCProperty(
|
|
888
|
+
source_metadata=apptest.CfnTestCase.SourceDatabaseMetadataProperty(
|
|
889
|
+
capture_tool="captureTool",
|
|
890
|
+
type="type"
|
|
891
|
+
),
|
|
892
|
+
target_metadata=apptest.CfnTestCase.TargetDatabaseMetadataProperty(
|
|
893
|
+
capture_tool="captureTool",
|
|
894
|
+
type="type"
|
|
895
|
+
)
|
|
896
|
+
),
|
|
897
|
+
data_sets=[apptest.CfnTestCase.DataSetProperty(
|
|
898
|
+
ccsid="ccsid",
|
|
899
|
+
format="format",
|
|
900
|
+
length=123,
|
|
901
|
+
name="name",
|
|
902
|
+
type="type"
|
|
903
|
+
)]
|
|
904
|
+
)
|
|
905
|
+
'''
|
|
906
|
+
if __debug__:
|
|
907
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8de2285ee9d01f8af93180870ea0c2f5ecdd6beff2742d493c28c8d7fc1ee71f)
|
|
908
|
+
check_type(argname="argument database_cdc", value=database_cdc, expected_type=type_hints["database_cdc"])
|
|
909
|
+
check_type(argname="argument data_sets", value=data_sets, expected_type=type_hints["data_sets"])
|
|
910
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
911
|
+
if database_cdc is not None:
|
|
912
|
+
self._values["database_cdc"] = database_cdc
|
|
913
|
+
if data_sets is not None:
|
|
914
|
+
self._values["data_sets"] = data_sets
|
|
915
|
+
|
|
916
|
+
@builtins.property
|
|
917
|
+
def database_cdc(
|
|
918
|
+
self,
|
|
919
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.DatabaseCDCProperty"]]:
|
|
920
|
+
'''The database CDC of the file metadata.
|
|
921
|
+
|
|
922
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-filemetadata.html#cfn-apptest-testcase-filemetadata-databasecdc
|
|
923
|
+
'''
|
|
924
|
+
result = self._values.get("database_cdc")
|
|
925
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.DatabaseCDCProperty"]], result)
|
|
926
|
+
|
|
927
|
+
@builtins.property
|
|
928
|
+
def data_sets(
|
|
929
|
+
self,
|
|
930
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTestCase.DataSetProperty"]]]]:
|
|
931
|
+
'''The data sets of the file metadata.
|
|
932
|
+
|
|
933
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-filemetadata.html#cfn-apptest-testcase-filemetadata-datasets
|
|
934
|
+
'''
|
|
935
|
+
result = self._values.get("data_sets")
|
|
936
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTestCase.DataSetProperty"]]]], result)
|
|
937
|
+
|
|
938
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
939
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
940
|
+
|
|
941
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
942
|
+
return not (rhs == self)
|
|
943
|
+
|
|
944
|
+
def __repr__(self) -> str:
|
|
945
|
+
return "FileMetadataProperty(%s)" % ", ".join(
|
|
946
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
947
|
+
)
|
|
948
|
+
|
|
949
|
+
@jsii.data_type(
|
|
950
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.InputFileProperty",
|
|
951
|
+
jsii_struct_bases=[],
|
|
952
|
+
name_mapping={
|
|
953
|
+
"file_metadata": "fileMetadata",
|
|
954
|
+
"source_location": "sourceLocation",
|
|
955
|
+
"target_location": "targetLocation",
|
|
956
|
+
},
|
|
957
|
+
)
|
|
958
|
+
class InputFileProperty:
|
|
959
|
+
def __init__(
|
|
960
|
+
self,
|
|
961
|
+
*,
|
|
962
|
+
file_metadata: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.FileMetadataProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
963
|
+
source_location: builtins.str,
|
|
964
|
+
target_location: builtins.str,
|
|
965
|
+
) -> None:
|
|
966
|
+
'''Specifies the input file.
|
|
967
|
+
|
|
968
|
+
:param file_metadata: The file metadata of the input file.
|
|
969
|
+
:param source_location: The source location of the input file.
|
|
970
|
+
:param target_location: The target location of the input file.
|
|
971
|
+
|
|
972
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-inputfile.html
|
|
973
|
+
:exampleMetadata: fixture=_generated
|
|
974
|
+
|
|
975
|
+
Example::
|
|
976
|
+
|
|
977
|
+
# The code below shows an example of how to instantiate this type.
|
|
978
|
+
# The values are placeholders you should change.
|
|
979
|
+
from aws_cdk import aws_apptest as apptest
|
|
980
|
+
|
|
981
|
+
input_file_property = apptest.CfnTestCase.InputFileProperty(
|
|
982
|
+
file_metadata=apptest.CfnTestCase.FileMetadataProperty(
|
|
983
|
+
database_cdc=apptest.CfnTestCase.DatabaseCDCProperty(
|
|
984
|
+
source_metadata=apptest.CfnTestCase.SourceDatabaseMetadataProperty(
|
|
985
|
+
capture_tool="captureTool",
|
|
986
|
+
type="type"
|
|
987
|
+
),
|
|
988
|
+
target_metadata=apptest.CfnTestCase.TargetDatabaseMetadataProperty(
|
|
989
|
+
capture_tool="captureTool",
|
|
990
|
+
type="type"
|
|
991
|
+
)
|
|
992
|
+
),
|
|
993
|
+
data_sets=[apptest.CfnTestCase.DataSetProperty(
|
|
994
|
+
ccsid="ccsid",
|
|
995
|
+
format="format",
|
|
996
|
+
length=123,
|
|
997
|
+
name="name",
|
|
998
|
+
type="type"
|
|
999
|
+
)]
|
|
1000
|
+
),
|
|
1001
|
+
source_location="sourceLocation",
|
|
1002
|
+
target_location="targetLocation"
|
|
1003
|
+
)
|
|
1004
|
+
'''
|
|
1005
|
+
if __debug__:
|
|
1006
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f28601f160942e96b555754f69dce46666a04754e210669650325280dafe4984)
|
|
1007
|
+
check_type(argname="argument file_metadata", value=file_metadata, expected_type=type_hints["file_metadata"])
|
|
1008
|
+
check_type(argname="argument source_location", value=source_location, expected_type=type_hints["source_location"])
|
|
1009
|
+
check_type(argname="argument target_location", value=target_location, expected_type=type_hints["target_location"])
|
|
1010
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1011
|
+
"file_metadata": file_metadata,
|
|
1012
|
+
"source_location": source_location,
|
|
1013
|
+
"target_location": target_location,
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
@builtins.property
|
|
1017
|
+
def file_metadata(
|
|
1018
|
+
self,
|
|
1019
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnTestCase.FileMetadataProperty"]:
|
|
1020
|
+
'''The file metadata of the input file.
|
|
1021
|
+
|
|
1022
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-inputfile.html#cfn-apptest-testcase-inputfile-filemetadata
|
|
1023
|
+
'''
|
|
1024
|
+
result = self._values.get("file_metadata")
|
|
1025
|
+
assert result is not None, "Required property 'file_metadata' is missing"
|
|
1026
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTestCase.FileMetadataProperty"], result)
|
|
1027
|
+
|
|
1028
|
+
@builtins.property
|
|
1029
|
+
def source_location(self) -> builtins.str:
|
|
1030
|
+
'''The source location of the input file.
|
|
1031
|
+
|
|
1032
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-inputfile.html#cfn-apptest-testcase-inputfile-sourcelocation
|
|
1033
|
+
'''
|
|
1034
|
+
result = self._values.get("source_location")
|
|
1035
|
+
assert result is not None, "Required property 'source_location' is missing"
|
|
1036
|
+
return typing.cast(builtins.str, result)
|
|
1037
|
+
|
|
1038
|
+
@builtins.property
|
|
1039
|
+
def target_location(self) -> builtins.str:
|
|
1040
|
+
'''The target location of the input file.
|
|
1041
|
+
|
|
1042
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-inputfile.html#cfn-apptest-testcase-inputfile-targetlocation
|
|
1043
|
+
'''
|
|
1044
|
+
result = self._values.get("target_location")
|
|
1045
|
+
assert result is not None, "Required property 'target_location' is missing"
|
|
1046
|
+
return typing.cast(builtins.str, result)
|
|
1047
|
+
|
|
1048
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1049
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1050
|
+
|
|
1051
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1052
|
+
return not (rhs == self)
|
|
1053
|
+
|
|
1054
|
+
def __repr__(self) -> str:
|
|
1055
|
+
return "InputFileProperty(%s)" % ", ".join(
|
|
1056
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1057
|
+
)
|
|
1058
|
+
|
|
1059
|
+
@jsii.data_type(
|
|
1060
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.InputProperty",
|
|
1061
|
+
jsii_struct_bases=[],
|
|
1062
|
+
name_mapping={"file": "file"},
|
|
1063
|
+
)
|
|
1064
|
+
class InputProperty:
|
|
1065
|
+
def __init__(
|
|
1066
|
+
self,
|
|
1067
|
+
*,
|
|
1068
|
+
file: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.InputFileProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1069
|
+
) -> None:
|
|
1070
|
+
'''Specifies the input.
|
|
1071
|
+
|
|
1072
|
+
:param file: The file in the input.
|
|
1073
|
+
|
|
1074
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-input.html
|
|
1075
|
+
:exampleMetadata: fixture=_generated
|
|
1076
|
+
|
|
1077
|
+
Example::
|
|
1078
|
+
|
|
1079
|
+
# The code below shows an example of how to instantiate this type.
|
|
1080
|
+
# The values are placeholders you should change.
|
|
1081
|
+
from aws_cdk import aws_apptest as apptest
|
|
1082
|
+
|
|
1083
|
+
input_property = apptest.CfnTestCase.InputProperty(
|
|
1084
|
+
file=apptest.CfnTestCase.InputFileProperty(
|
|
1085
|
+
file_metadata=apptest.CfnTestCase.FileMetadataProperty(
|
|
1086
|
+
database_cdc=apptest.CfnTestCase.DatabaseCDCProperty(
|
|
1087
|
+
source_metadata=apptest.CfnTestCase.SourceDatabaseMetadataProperty(
|
|
1088
|
+
capture_tool="captureTool",
|
|
1089
|
+
type="type"
|
|
1090
|
+
),
|
|
1091
|
+
target_metadata=apptest.CfnTestCase.TargetDatabaseMetadataProperty(
|
|
1092
|
+
capture_tool="captureTool",
|
|
1093
|
+
type="type"
|
|
1094
|
+
)
|
|
1095
|
+
),
|
|
1096
|
+
data_sets=[apptest.CfnTestCase.DataSetProperty(
|
|
1097
|
+
ccsid="ccsid",
|
|
1098
|
+
format="format",
|
|
1099
|
+
length=123,
|
|
1100
|
+
name="name",
|
|
1101
|
+
type="type"
|
|
1102
|
+
)]
|
|
1103
|
+
),
|
|
1104
|
+
source_location="sourceLocation",
|
|
1105
|
+
target_location="targetLocation"
|
|
1106
|
+
)
|
|
1107
|
+
)
|
|
1108
|
+
'''
|
|
1109
|
+
if __debug__:
|
|
1110
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c40dc1b73b144ba165a7b730bcde38e82d41aaeaab3afe13e4c264c2bacea8c3)
|
|
1111
|
+
check_type(argname="argument file", value=file, expected_type=type_hints["file"])
|
|
1112
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1113
|
+
"file": file,
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
@builtins.property
|
|
1117
|
+
def file(
|
|
1118
|
+
self,
|
|
1119
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnTestCase.InputFileProperty"]:
|
|
1120
|
+
'''The file in the input.
|
|
1121
|
+
|
|
1122
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-input.html#cfn-apptest-testcase-input-file
|
|
1123
|
+
'''
|
|
1124
|
+
result = self._values.get("file")
|
|
1125
|
+
assert result is not None, "Required property 'file' is missing"
|
|
1126
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTestCase.InputFileProperty"], result)
|
|
1127
|
+
|
|
1128
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1129
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1130
|
+
|
|
1131
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1132
|
+
return not (rhs == self)
|
|
1133
|
+
|
|
1134
|
+
def __repr__(self) -> str:
|
|
1135
|
+
return "InputProperty(%s)" % ", ".join(
|
|
1136
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1137
|
+
)
|
|
1138
|
+
|
|
1139
|
+
@jsii.data_type(
|
|
1140
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.M2ManagedActionPropertiesProperty",
|
|
1141
|
+
jsii_struct_bases=[],
|
|
1142
|
+
name_mapping={
|
|
1143
|
+
"force_stop": "forceStop",
|
|
1144
|
+
"import_data_set_location": "importDataSetLocation",
|
|
1145
|
+
},
|
|
1146
|
+
)
|
|
1147
|
+
class M2ManagedActionPropertiesProperty:
|
|
1148
|
+
def __init__(
|
|
1149
|
+
self,
|
|
1150
|
+
*,
|
|
1151
|
+
force_stop: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1152
|
+
import_data_set_location: typing.Optional[builtins.str] = None,
|
|
1153
|
+
) -> None:
|
|
1154
|
+
'''Specifies the AWS Mainframe Modernization managed action properties.
|
|
1155
|
+
|
|
1156
|
+
:param force_stop: Force stops the AWS Mainframe Modernization managed action properties.
|
|
1157
|
+
:param import_data_set_location: The import data set location of the AWS Mainframe Modernization managed action properties.
|
|
1158
|
+
|
|
1159
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedactionproperties.html
|
|
1160
|
+
:exampleMetadata: fixture=_generated
|
|
1161
|
+
|
|
1162
|
+
Example::
|
|
1163
|
+
|
|
1164
|
+
# The code below shows an example of how to instantiate this type.
|
|
1165
|
+
# The values are placeholders you should change.
|
|
1166
|
+
from aws_cdk import aws_apptest as apptest
|
|
1167
|
+
|
|
1168
|
+
m2_managed_action_properties_property = apptest.CfnTestCase.M2ManagedActionPropertiesProperty(
|
|
1169
|
+
force_stop=False,
|
|
1170
|
+
import_data_set_location="importDataSetLocation"
|
|
1171
|
+
)
|
|
1172
|
+
'''
|
|
1173
|
+
if __debug__:
|
|
1174
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aff55b515e89331733a8ca8c4623288706ae79f94b2490ad50cdb7175419e644)
|
|
1175
|
+
check_type(argname="argument force_stop", value=force_stop, expected_type=type_hints["force_stop"])
|
|
1176
|
+
check_type(argname="argument import_data_set_location", value=import_data_set_location, expected_type=type_hints["import_data_set_location"])
|
|
1177
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1178
|
+
if force_stop is not None:
|
|
1179
|
+
self._values["force_stop"] = force_stop
|
|
1180
|
+
if import_data_set_location is not None:
|
|
1181
|
+
self._values["import_data_set_location"] = import_data_set_location
|
|
1182
|
+
|
|
1183
|
+
@builtins.property
|
|
1184
|
+
def force_stop(
|
|
1185
|
+
self,
|
|
1186
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
1187
|
+
'''Force stops the AWS Mainframe Modernization managed action properties.
|
|
1188
|
+
|
|
1189
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedactionproperties.html#cfn-apptest-testcase-m2managedactionproperties-forcestop
|
|
1190
|
+
'''
|
|
1191
|
+
result = self._values.get("force_stop")
|
|
1192
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1193
|
+
|
|
1194
|
+
@builtins.property
|
|
1195
|
+
def import_data_set_location(self) -> typing.Optional[builtins.str]:
|
|
1196
|
+
'''The import data set location of the AWS Mainframe Modernization managed action properties.
|
|
1197
|
+
|
|
1198
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedactionproperties.html#cfn-apptest-testcase-m2managedactionproperties-importdatasetlocation
|
|
1199
|
+
'''
|
|
1200
|
+
result = self._values.get("import_data_set_location")
|
|
1201
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1202
|
+
|
|
1203
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1204
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1205
|
+
|
|
1206
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1207
|
+
return not (rhs == self)
|
|
1208
|
+
|
|
1209
|
+
def __repr__(self) -> str:
|
|
1210
|
+
return "M2ManagedActionPropertiesProperty(%s)" % ", ".join(
|
|
1211
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1212
|
+
)
|
|
1213
|
+
|
|
1214
|
+
@jsii.data_type(
|
|
1215
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.M2ManagedApplicationActionProperty",
|
|
1216
|
+
jsii_struct_bases=[],
|
|
1217
|
+
name_mapping={
|
|
1218
|
+
"action_type": "actionType",
|
|
1219
|
+
"resource": "resource",
|
|
1220
|
+
"properties": "properties",
|
|
1221
|
+
},
|
|
1222
|
+
)
|
|
1223
|
+
class M2ManagedApplicationActionProperty:
|
|
1224
|
+
def __init__(
|
|
1225
|
+
self,
|
|
1226
|
+
*,
|
|
1227
|
+
action_type: builtins.str,
|
|
1228
|
+
resource: builtins.str,
|
|
1229
|
+
properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.M2ManagedActionPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1230
|
+
) -> None:
|
|
1231
|
+
'''Specifies the AWS Mainframe Modernization managed application action.
|
|
1232
|
+
|
|
1233
|
+
:param action_type: The action type of the AWS Mainframe Modernization managed application action.
|
|
1234
|
+
:param resource: The resource of the AWS Mainframe Modernization managed application action.
|
|
1235
|
+
:param properties: The properties of the AWS Mainframe Modernization managed application action.
|
|
1236
|
+
|
|
1237
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedapplicationaction.html
|
|
1238
|
+
:exampleMetadata: fixture=_generated
|
|
1239
|
+
|
|
1240
|
+
Example::
|
|
1241
|
+
|
|
1242
|
+
# The code below shows an example of how to instantiate this type.
|
|
1243
|
+
# The values are placeholders you should change.
|
|
1244
|
+
from aws_cdk import aws_apptest as apptest
|
|
1245
|
+
|
|
1246
|
+
m2_managed_application_action_property = apptest.CfnTestCase.M2ManagedApplicationActionProperty(
|
|
1247
|
+
action_type="actionType",
|
|
1248
|
+
resource="resource",
|
|
1249
|
+
|
|
1250
|
+
# the properties below are optional
|
|
1251
|
+
properties=apptest.CfnTestCase.M2ManagedActionPropertiesProperty(
|
|
1252
|
+
force_stop=False,
|
|
1253
|
+
import_data_set_location="importDataSetLocation"
|
|
1254
|
+
)
|
|
1255
|
+
)
|
|
1256
|
+
'''
|
|
1257
|
+
if __debug__:
|
|
1258
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f85973754bf13c76a3e2a3b4f358eeb66b15c5bfc88d5b29fc330839fcdd4d8e)
|
|
1259
|
+
check_type(argname="argument action_type", value=action_type, expected_type=type_hints["action_type"])
|
|
1260
|
+
check_type(argname="argument resource", value=resource, expected_type=type_hints["resource"])
|
|
1261
|
+
check_type(argname="argument properties", value=properties, expected_type=type_hints["properties"])
|
|
1262
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1263
|
+
"action_type": action_type,
|
|
1264
|
+
"resource": resource,
|
|
1265
|
+
}
|
|
1266
|
+
if properties is not None:
|
|
1267
|
+
self._values["properties"] = properties
|
|
1268
|
+
|
|
1269
|
+
@builtins.property
|
|
1270
|
+
def action_type(self) -> builtins.str:
|
|
1271
|
+
'''The action type of the AWS Mainframe Modernization managed application action.
|
|
1272
|
+
|
|
1273
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedapplicationaction.html#cfn-apptest-testcase-m2managedapplicationaction-actiontype
|
|
1274
|
+
'''
|
|
1275
|
+
result = self._values.get("action_type")
|
|
1276
|
+
assert result is not None, "Required property 'action_type' is missing"
|
|
1277
|
+
return typing.cast(builtins.str, result)
|
|
1278
|
+
|
|
1279
|
+
@builtins.property
|
|
1280
|
+
def resource(self) -> builtins.str:
|
|
1281
|
+
'''The resource of the AWS Mainframe Modernization managed application action.
|
|
1282
|
+
|
|
1283
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedapplicationaction.html#cfn-apptest-testcase-m2managedapplicationaction-resource
|
|
1284
|
+
'''
|
|
1285
|
+
result = self._values.get("resource")
|
|
1286
|
+
assert result is not None, "Required property 'resource' is missing"
|
|
1287
|
+
return typing.cast(builtins.str, result)
|
|
1288
|
+
|
|
1289
|
+
@builtins.property
|
|
1290
|
+
def properties(
|
|
1291
|
+
self,
|
|
1292
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.M2ManagedActionPropertiesProperty"]]:
|
|
1293
|
+
'''The properties of the AWS Mainframe Modernization managed application action.
|
|
1294
|
+
|
|
1295
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2managedapplicationaction.html#cfn-apptest-testcase-m2managedapplicationaction-properties
|
|
1296
|
+
'''
|
|
1297
|
+
result = self._values.get("properties")
|
|
1298
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.M2ManagedActionPropertiesProperty"]], result)
|
|
1299
|
+
|
|
1300
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1301
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1302
|
+
|
|
1303
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1304
|
+
return not (rhs == self)
|
|
1305
|
+
|
|
1306
|
+
def __repr__(self) -> str:
|
|
1307
|
+
return "M2ManagedApplicationActionProperty(%s)" % ", ".join(
|
|
1308
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1309
|
+
)
|
|
1310
|
+
|
|
1311
|
+
@jsii.data_type(
|
|
1312
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.M2NonManagedApplicationActionProperty",
|
|
1313
|
+
jsii_struct_bases=[],
|
|
1314
|
+
name_mapping={"action_type": "actionType", "resource": "resource"},
|
|
1315
|
+
)
|
|
1316
|
+
class M2NonManagedApplicationActionProperty:
|
|
1317
|
+
def __init__(
|
|
1318
|
+
self,
|
|
1319
|
+
*,
|
|
1320
|
+
action_type: builtins.str,
|
|
1321
|
+
resource: builtins.str,
|
|
1322
|
+
) -> None:
|
|
1323
|
+
'''Specifies the AWS Mainframe Modernization non-managed application action.
|
|
1324
|
+
|
|
1325
|
+
:param action_type: The action type of the AWS Mainframe Modernization non-managed application action.
|
|
1326
|
+
:param resource: The resource of the AWS Mainframe Modernization non-managed application action.
|
|
1327
|
+
|
|
1328
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2nonmanagedapplicationaction.html
|
|
1329
|
+
:exampleMetadata: fixture=_generated
|
|
1330
|
+
|
|
1331
|
+
Example::
|
|
1332
|
+
|
|
1333
|
+
# The code below shows an example of how to instantiate this type.
|
|
1334
|
+
# The values are placeholders you should change.
|
|
1335
|
+
from aws_cdk import aws_apptest as apptest
|
|
1336
|
+
|
|
1337
|
+
m2_non_managed_application_action_property = apptest.CfnTestCase.M2NonManagedApplicationActionProperty(
|
|
1338
|
+
action_type="actionType",
|
|
1339
|
+
resource="resource"
|
|
1340
|
+
)
|
|
1341
|
+
'''
|
|
1342
|
+
if __debug__:
|
|
1343
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c9e48f9d87d696062223660256adb542d5d3a507fd31fc3bd02ac988f477784e)
|
|
1344
|
+
check_type(argname="argument action_type", value=action_type, expected_type=type_hints["action_type"])
|
|
1345
|
+
check_type(argname="argument resource", value=resource, expected_type=type_hints["resource"])
|
|
1346
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1347
|
+
"action_type": action_type,
|
|
1348
|
+
"resource": resource,
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
@builtins.property
|
|
1352
|
+
def action_type(self) -> builtins.str:
|
|
1353
|
+
'''The action type of the AWS Mainframe Modernization non-managed application action.
|
|
1354
|
+
|
|
1355
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2nonmanagedapplicationaction.html#cfn-apptest-testcase-m2nonmanagedapplicationaction-actiontype
|
|
1356
|
+
'''
|
|
1357
|
+
result = self._values.get("action_type")
|
|
1358
|
+
assert result is not None, "Required property 'action_type' is missing"
|
|
1359
|
+
return typing.cast(builtins.str, result)
|
|
1360
|
+
|
|
1361
|
+
@builtins.property
|
|
1362
|
+
def resource(self) -> builtins.str:
|
|
1363
|
+
'''The resource of the AWS Mainframe Modernization non-managed application action.
|
|
1364
|
+
|
|
1365
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-m2nonmanagedapplicationaction.html#cfn-apptest-testcase-m2nonmanagedapplicationaction-resource
|
|
1366
|
+
'''
|
|
1367
|
+
result = self._values.get("resource")
|
|
1368
|
+
assert result is not None, "Required property 'resource' is missing"
|
|
1369
|
+
return typing.cast(builtins.str, result)
|
|
1370
|
+
|
|
1371
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1372
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1373
|
+
|
|
1374
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1375
|
+
return not (rhs == self)
|
|
1376
|
+
|
|
1377
|
+
def __repr__(self) -> str:
|
|
1378
|
+
return "M2NonManagedApplicationActionProperty(%s)" % ", ".join(
|
|
1379
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1380
|
+
)
|
|
1381
|
+
|
|
1382
|
+
@jsii.data_type(
|
|
1383
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.MainframeActionPropertiesProperty",
|
|
1384
|
+
jsii_struct_bases=[],
|
|
1385
|
+
name_mapping={"dms_task_arn": "dmsTaskArn"},
|
|
1386
|
+
)
|
|
1387
|
+
class MainframeActionPropertiesProperty:
|
|
1388
|
+
def __init__(
|
|
1389
|
+
self,
|
|
1390
|
+
*,
|
|
1391
|
+
dms_task_arn: typing.Optional[builtins.str] = None,
|
|
1392
|
+
) -> None:
|
|
1393
|
+
'''Specifies the mainframe action properties.
|
|
1394
|
+
|
|
1395
|
+
:param dms_task_arn: The DMS task ARN of the mainframe action properties.
|
|
1396
|
+
|
|
1397
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeactionproperties.html
|
|
1398
|
+
:exampleMetadata: fixture=_generated
|
|
1399
|
+
|
|
1400
|
+
Example::
|
|
1401
|
+
|
|
1402
|
+
# The code below shows an example of how to instantiate this type.
|
|
1403
|
+
# The values are placeholders you should change.
|
|
1404
|
+
from aws_cdk import aws_apptest as apptest
|
|
1405
|
+
|
|
1406
|
+
mainframe_action_properties_property = apptest.CfnTestCase.MainframeActionPropertiesProperty(
|
|
1407
|
+
dms_task_arn="dmsTaskArn"
|
|
1408
|
+
)
|
|
1409
|
+
'''
|
|
1410
|
+
if __debug__:
|
|
1411
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4f3cbaf004a4c64cc1ecc337ba06f597a70cd172a30d84319dd2546797c61870)
|
|
1412
|
+
check_type(argname="argument dms_task_arn", value=dms_task_arn, expected_type=type_hints["dms_task_arn"])
|
|
1413
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1414
|
+
if dms_task_arn is not None:
|
|
1415
|
+
self._values["dms_task_arn"] = dms_task_arn
|
|
1416
|
+
|
|
1417
|
+
@builtins.property
|
|
1418
|
+
def dms_task_arn(self) -> typing.Optional[builtins.str]:
|
|
1419
|
+
'''The DMS task ARN of the mainframe action properties.
|
|
1420
|
+
|
|
1421
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeactionproperties.html#cfn-apptest-testcase-mainframeactionproperties-dmstaskarn
|
|
1422
|
+
'''
|
|
1423
|
+
result = self._values.get("dms_task_arn")
|
|
1424
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1425
|
+
|
|
1426
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1427
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1428
|
+
|
|
1429
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1430
|
+
return not (rhs == self)
|
|
1431
|
+
|
|
1432
|
+
def __repr__(self) -> str:
|
|
1433
|
+
return "MainframeActionPropertiesProperty(%s)" % ", ".join(
|
|
1434
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1435
|
+
)
|
|
1436
|
+
|
|
1437
|
+
@jsii.data_type(
|
|
1438
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.MainframeActionProperty",
|
|
1439
|
+
jsii_struct_bases=[],
|
|
1440
|
+
name_mapping={
|
|
1441
|
+
"action_type": "actionType",
|
|
1442
|
+
"resource": "resource",
|
|
1443
|
+
"properties": "properties",
|
|
1444
|
+
},
|
|
1445
|
+
)
|
|
1446
|
+
class MainframeActionProperty:
|
|
1447
|
+
def __init__(
|
|
1448
|
+
self,
|
|
1449
|
+
*,
|
|
1450
|
+
action_type: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.MainframeActionTypeProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1451
|
+
resource: builtins.str,
|
|
1452
|
+
properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.MainframeActionPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1453
|
+
) -> None:
|
|
1454
|
+
'''Specifies the mainframe action.
|
|
1455
|
+
|
|
1456
|
+
:param action_type: The action type of the mainframe action.
|
|
1457
|
+
:param resource: The resource of the mainframe action.
|
|
1458
|
+
:param properties: The properties of the mainframe action.
|
|
1459
|
+
|
|
1460
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeaction.html
|
|
1461
|
+
:exampleMetadata: fixture=_generated
|
|
1462
|
+
|
|
1463
|
+
Example::
|
|
1464
|
+
|
|
1465
|
+
# The code below shows an example of how to instantiate this type.
|
|
1466
|
+
# The values are placeholders you should change.
|
|
1467
|
+
from aws_cdk import aws_apptest as apptest
|
|
1468
|
+
|
|
1469
|
+
mainframe_action_property = apptest.CfnTestCase.MainframeActionProperty(
|
|
1470
|
+
action_type=apptest.CfnTestCase.MainframeActionTypeProperty(
|
|
1471
|
+
batch=apptest.CfnTestCase.BatchProperty(
|
|
1472
|
+
batch_job_name="batchJobName",
|
|
1473
|
+
|
|
1474
|
+
# the properties below are optional
|
|
1475
|
+
batch_job_parameters={
|
|
1476
|
+
"batch_job_parameters_key": "batchJobParameters"
|
|
1477
|
+
},
|
|
1478
|
+
export_data_set_names=["exportDataSetNames"]
|
|
1479
|
+
),
|
|
1480
|
+
tn3270=apptest.CfnTestCase.TN3270Property(
|
|
1481
|
+
script=apptest.CfnTestCase.ScriptProperty(
|
|
1482
|
+
script_location="scriptLocation",
|
|
1483
|
+
type="type"
|
|
1484
|
+
),
|
|
1485
|
+
|
|
1486
|
+
# the properties below are optional
|
|
1487
|
+
export_data_set_names=["exportDataSetNames"]
|
|
1488
|
+
)
|
|
1489
|
+
),
|
|
1490
|
+
resource="resource",
|
|
1491
|
+
|
|
1492
|
+
# the properties below are optional
|
|
1493
|
+
properties=apptest.CfnTestCase.MainframeActionPropertiesProperty(
|
|
1494
|
+
dms_task_arn="dmsTaskArn"
|
|
1495
|
+
)
|
|
1496
|
+
)
|
|
1497
|
+
'''
|
|
1498
|
+
if __debug__:
|
|
1499
|
+
type_hints = typing.get_type_hints(_typecheckingstub__91394299bcb7ab56e13f3a27df57457d3656de73e850c88cf377f8170b9c4f30)
|
|
1500
|
+
check_type(argname="argument action_type", value=action_type, expected_type=type_hints["action_type"])
|
|
1501
|
+
check_type(argname="argument resource", value=resource, expected_type=type_hints["resource"])
|
|
1502
|
+
check_type(argname="argument properties", value=properties, expected_type=type_hints["properties"])
|
|
1503
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1504
|
+
"action_type": action_type,
|
|
1505
|
+
"resource": resource,
|
|
1506
|
+
}
|
|
1507
|
+
if properties is not None:
|
|
1508
|
+
self._values["properties"] = properties
|
|
1509
|
+
|
|
1510
|
+
@builtins.property
|
|
1511
|
+
def action_type(
|
|
1512
|
+
self,
|
|
1513
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnTestCase.MainframeActionTypeProperty"]:
|
|
1514
|
+
'''The action type of the mainframe action.
|
|
1515
|
+
|
|
1516
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeaction.html#cfn-apptest-testcase-mainframeaction-actiontype
|
|
1517
|
+
'''
|
|
1518
|
+
result = self._values.get("action_type")
|
|
1519
|
+
assert result is not None, "Required property 'action_type' is missing"
|
|
1520
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTestCase.MainframeActionTypeProperty"], result)
|
|
1521
|
+
|
|
1522
|
+
@builtins.property
|
|
1523
|
+
def resource(self) -> builtins.str:
|
|
1524
|
+
'''The resource of the mainframe action.
|
|
1525
|
+
|
|
1526
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeaction.html#cfn-apptest-testcase-mainframeaction-resource
|
|
1527
|
+
'''
|
|
1528
|
+
result = self._values.get("resource")
|
|
1529
|
+
assert result is not None, "Required property 'resource' is missing"
|
|
1530
|
+
return typing.cast(builtins.str, result)
|
|
1531
|
+
|
|
1532
|
+
@builtins.property
|
|
1533
|
+
def properties(
|
|
1534
|
+
self,
|
|
1535
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.MainframeActionPropertiesProperty"]]:
|
|
1536
|
+
'''The properties of the mainframe action.
|
|
1537
|
+
|
|
1538
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeaction.html#cfn-apptest-testcase-mainframeaction-properties
|
|
1539
|
+
'''
|
|
1540
|
+
result = self._values.get("properties")
|
|
1541
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.MainframeActionPropertiesProperty"]], result)
|
|
1542
|
+
|
|
1543
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1544
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1545
|
+
|
|
1546
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1547
|
+
return not (rhs == self)
|
|
1548
|
+
|
|
1549
|
+
def __repr__(self) -> str:
|
|
1550
|
+
return "MainframeActionProperty(%s)" % ", ".join(
|
|
1551
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1552
|
+
)
|
|
1553
|
+
|
|
1554
|
+
@jsii.data_type(
|
|
1555
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.MainframeActionTypeProperty",
|
|
1556
|
+
jsii_struct_bases=[],
|
|
1557
|
+
name_mapping={"batch": "batch", "tn3270": "tn3270"},
|
|
1558
|
+
)
|
|
1559
|
+
class MainframeActionTypeProperty:
|
|
1560
|
+
def __init__(
|
|
1561
|
+
self,
|
|
1562
|
+
*,
|
|
1563
|
+
batch: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.BatchProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1564
|
+
tn3270: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.TN3270Property", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1565
|
+
) -> None:
|
|
1566
|
+
'''Specifies the mainframe action type.
|
|
1567
|
+
|
|
1568
|
+
:param batch: The batch of the mainframe action type.
|
|
1569
|
+
:param tn3270: The tn3270 port of the mainframe action type.
|
|
1570
|
+
|
|
1571
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeactiontype.html
|
|
1572
|
+
:exampleMetadata: fixture=_generated
|
|
1573
|
+
|
|
1574
|
+
Example::
|
|
1575
|
+
|
|
1576
|
+
# The code below shows an example of how to instantiate this type.
|
|
1577
|
+
# The values are placeholders you should change.
|
|
1578
|
+
from aws_cdk import aws_apptest as apptest
|
|
1579
|
+
|
|
1580
|
+
mainframe_action_type_property = apptest.CfnTestCase.MainframeActionTypeProperty(
|
|
1581
|
+
batch=apptest.CfnTestCase.BatchProperty(
|
|
1582
|
+
batch_job_name="batchJobName",
|
|
1583
|
+
|
|
1584
|
+
# the properties below are optional
|
|
1585
|
+
batch_job_parameters={
|
|
1586
|
+
"batch_job_parameters_key": "batchJobParameters"
|
|
1587
|
+
},
|
|
1588
|
+
export_data_set_names=["exportDataSetNames"]
|
|
1589
|
+
),
|
|
1590
|
+
tn3270=apptest.CfnTestCase.TN3270Property(
|
|
1591
|
+
script=apptest.CfnTestCase.ScriptProperty(
|
|
1592
|
+
script_location="scriptLocation",
|
|
1593
|
+
type="type"
|
|
1594
|
+
),
|
|
1595
|
+
|
|
1596
|
+
# the properties below are optional
|
|
1597
|
+
export_data_set_names=["exportDataSetNames"]
|
|
1598
|
+
)
|
|
1599
|
+
)
|
|
1600
|
+
'''
|
|
1601
|
+
if __debug__:
|
|
1602
|
+
type_hints = typing.get_type_hints(_typecheckingstub__96c6abe4da2018f3b1e24e02a9f038e914b06af61954a6a784abe93d7594a104)
|
|
1603
|
+
check_type(argname="argument batch", value=batch, expected_type=type_hints["batch"])
|
|
1604
|
+
check_type(argname="argument tn3270", value=tn3270, expected_type=type_hints["tn3270"])
|
|
1605
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1606
|
+
if batch is not None:
|
|
1607
|
+
self._values["batch"] = batch
|
|
1608
|
+
if tn3270 is not None:
|
|
1609
|
+
self._values["tn3270"] = tn3270
|
|
1610
|
+
|
|
1611
|
+
@builtins.property
|
|
1612
|
+
def batch(
|
|
1613
|
+
self,
|
|
1614
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.BatchProperty"]]:
|
|
1615
|
+
'''The batch of the mainframe action type.
|
|
1616
|
+
|
|
1617
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeactiontype.html#cfn-apptest-testcase-mainframeactiontype-batch
|
|
1618
|
+
'''
|
|
1619
|
+
result = self._values.get("batch")
|
|
1620
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.BatchProperty"]], result)
|
|
1621
|
+
|
|
1622
|
+
@builtins.property
|
|
1623
|
+
def tn3270(
|
|
1624
|
+
self,
|
|
1625
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.TN3270Property"]]:
|
|
1626
|
+
'''The tn3270 port of the mainframe action type.
|
|
1627
|
+
|
|
1628
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-mainframeactiontype.html#cfn-apptest-testcase-mainframeactiontype-tn3270
|
|
1629
|
+
'''
|
|
1630
|
+
result = self._values.get("tn3270")
|
|
1631
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.TN3270Property"]], result)
|
|
1632
|
+
|
|
1633
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1634
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1635
|
+
|
|
1636
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1637
|
+
return not (rhs == self)
|
|
1638
|
+
|
|
1639
|
+
def __repr__(self) -> str:
|
|
1640
|
+
return "MainframeActionTypeProperty(%s)" % ", ".join(
|
|
1641
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1642
|
+
)
|
|
1643
|
+
|
|
1644
|
+
@jsii.data_type(
|
|
1645
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.OutputFileProperty",
|
|
1646
|
+
jsii_struct_bases=[],
|
|
1647
|
+
name_mapping={"file_location": "fileLocation"},
|
|
1648
|
+
)
|
|
1649
|
+
class OutputFileProperty:
|
|
1650
|
+
def __init__(
|
|
1651
|
+
self,
|
|
1652
|
+
*,
|
|
1653
|
+
file_location: typing.Optional[builtins.str] = None,
|
|
1654
|
+
) -> None:
|
|
1655
|
+
'''Specifies an output file.
|
|
1656
|
+
|
|
1657
|
+
:param file_location: The file location of the output file.
|
|
1658
|
+
|
|
1659
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-outputfile.html
|
|
1660
|
+
:exampleMetadata: fixture=_generated
|
|
1661
|
+
|
|
1662
|
+
Example::
|
|
1663
|
+
|
|
1664
|
+
# The code below shows an example of how to instantiate this type.
|
|
1665
|
+
# The values are placeholders you should change.
|
|
1666
|
+
from aws_cdk import aws_apptest as apptest
|
|
1667
|
+
|
|
1668
|
+
output_file_property = apptest.CfnTestCase.OutputFileProperty(
|
|
1669
|
+
file_location="fileLocation"
|
|
1670
|
+
)
|
|
1671
|
+
'''
|
|
1672
|
+
if __debug__:
|
|
1673
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c44a4f0d7883cc89887a1f9471deac980763e434ca5bbcc95da77e162acd8fa3)
|
|
1674
|
+
check_type(argname="argument file_location", value=file_location, expected_type=type_hints["file_location"])
|
|
1675
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1676
|
+
if file_location is not None:
|
|
1677
|
+
self._values["file_location"] = file_location
|
|
1678
|
+
|
|
1679
|
+
@builtins.property
|
|
1680
|
+
def file_location(self) -> typing.Optional[builtins.str]:
|
|
1681
|
+
'''The file location of the output file.
|
|
1682
|
+
|
|
1683
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-outputfile.html#cfn-apptest-testcase-outputfile-filelocation
|
|
1684
|
+
'''
|
|
1685
|
+
result = self._values.get("file_location")
|
|
1686
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1687
|
+
|
|
1688
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1689
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1690
|
+
|
|
1691
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1692
|
+
return not (rhs == self)
|
|
1693
|
+
|
|
1694
|
+
def __repr__(self) -> str:
|
|
1695
|
+
return "OutputFileProperty(%s)" % ", ".join(
|
|
1696
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1697
|
+
)
|
|
1698
|
+
|
|
1699
|
+
@jsii.data_type(
|
|
1700
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.OutputProperty",
|
|
1701
|
+
jsii_struct_bases=[],
|
|
1702
|
+
name_mapping={"file": "file"},
|
|
1703
|
+
)
|
|
1704
|
+
class OutputProperty:
|
|
1705
|
+
def __init__(
|
|
1706
|
+
self,
|
|
1707
|
+
*,
|
|
1708
|
+
file: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.OutputFileProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1709
|
+
) -> None:
|
|
1710
|
+
'''Specifies an output.
|
|
1711
|
+
|
|
1712
|
+
:param file: The file of the output.
|
|
1713
|
+
|
|
1714
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-output.html
|
|
1715
|
+
:exampleMetadata: fixture=_generated
|
|
1716
|
+
|
|
1717
|
+
Example::
|
|
1718
|
+
|
|
1719
|
+
# The code below shows an example of how to instantiate this type.
|
|
1720
|
+
# The values are placeholders you should change.
|
|
1721
|
+
from aws_cdk import aws_apptest as apptest
|
|
1722
|
+
|
|
1723
|
+
output_property = apptest.CfnTestCase.OutputProperty(
|
|
1724
|
+
file=apptest.CfnTestCase.OutputFileProperty(
|
|
1725
|
+
file_location="fileLocation"
|
|
1726
|
+
)
|
|
1727
|
+
)
|
|
1728
|
+
'''
|
|
1729
|
+
if __debug__:
|
|
1730
|
+
type_hints = typing.get_type_hints(_typecheckingstub__695167e76c7b9eee0044387c1a700ef5312fd67eb8cc5d53caeed30fb9d21c1e)
|
|
1731
|
+
check_type(argname="argument file", value=file, expected_type=type_hints["file"])
|
|
1732
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1733
|
+
"file": file,
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
@builtins.property
|
|
1737
|
+
def file(
|
|
1738
|
+
self,
|
|
1739
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnTestCase.OutputFileProperty"]:
|
|
1740
|
+
'''The file of the output.
|
|
1741
|
+
|
|
1742
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-output.html#cfn-apptest-testcase-output-file
|
|
1743
|
+
'''
|
|
1744
|
+
result = self._values.get("file")
|
|
1745
|
+
assert result is not None, "Required property 'file' is missing"
|
|
1746
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTestCase.OutputFileProperty"], result)
|
|
1747
|
+
|
|
1748
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1749
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1750
|
+
|
|
1751
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1752
|
+
return not (rhs == self)
|
|
1753
|
+
|
|
1754
|
+
def __repr__(self) -> str:
|
|
1755
|
+
return "OutputProperty(%s)" % ", ".join(
|
|
1756
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1757
|
+
)
|
|
1758
|
+
|
|
1759
|
+
@jsii.data_type(
|
|
1760
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.ResourceActionProperty",
|
|
1761
|
+
jsii_struct_bases=[],
|
|
1762
|
+
name_mapping={
|
|
1763
|
+
"cloud_formation_action": "cloudFormationAction",
|
|
1764
|
+
"m2_managed_application_action": "m2ManagedApplicationAction",
|
|
1765
|
+
"m2_non_managed_application_action": "m2NonManagedApplicationAction",
|
|
1766
|
+
},
|
|
1767
|
+
)
|
|
1768
|
+
class ResourceActionProperty:
|
|
1769
|
+
def __init__(
|
|
1770
|
+
self,
|
|
1771
|
+
*,
|
|
1772
|
+
cloud_formation_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.CloudFormationActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1773
|
+
m2_managed_application_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.M2ManagedApplicationActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1774
|
+
m2_non_managed_application_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.M2NonManagedApplicationActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1775
|
+
) -> None:
|
|
1776
|
+
'''Specifies a resource action.
|
|
1777
|
+
|
|
1778
|
+
:param cloud_formation_action: The CloudFormation action of the resource action.
|
|
1779
|
+
:param m2_managed_application_action: The AWS Mainframe Modernization managed application action of the resource action.
|
|
1780
|
+
:param m2_non_managed_application_action: The AWS Mainframe Modernization non-managed application action of the resource action.
|
|
1781
|
+
|
|
1782
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-resourceaction.html
|
|
1783
|
+
:exampleMetadata: fixture=_generated
|
|
1784
|
+
|
|
1785
|
+
Example::
|
|
1786
|
+
|
|
1787
|
+
# The code below shows an example of how to instantiate this type.
|
|
1788
|
+
# The values are placeholders you should change.
|
|
1789
|
+
from aws_cdk import aws_apptest as apptest
|
|
1790
|
+
|
|
1791
|
+
resource_action_property = apptest.CfnTestCase.ResourceActionProperty(
|
|
1792
|
+
cloud_formation_action=apptest.CfnTestCase.CloudFormationActionProperty(
|
|
1793
|
+
resource="resource",
|
|
1794
|
+
|
|
1795
|
+
# the properties below are optional
|
|
1796
|
+
action_type="actionType"
|
|
1797
|
+
),
|
|
1798
|
+
m2_managed_application_action=apptest.CfnTestCase.M2ManagedApplicationActionProperty(
|
|
1799
|
+
action_type="actionType",
|
|
1800
|
+
resource="resource",
|
|
1801
|
+
|
|
1802
|
+
# the properties below are optional
|
|
1803
|
+
properties=apptest.CfnTestCase.M2ManagedActionPropertiesProperty(
|
|
1804
|
+
force_stop=False,
|
|
1805
|
+
import_data_set_location="importDataSetLocation"
|
|
1806
|
+
)
|
|
1807
|
+
),
|
|
1808
|
+
m2_non_managed_application_action=apptest.CfnTestCase.M2NonManagedApplicationActionProperty(
|
|
1809
|
+
action_type="actionType",
|
|
1810
|
+
resource="resource"
|
|
1811
|
+
)
|
|
1812
|
+
)
|
|
1813
|
+
'''
|
|
1814
|
+
if __debug__:
|
|
1815
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3e4bb03de2d729d83767f3875aa711f32328989ac1ceb9eb12d1d6eea68ef8f7)
|
|
1816
|
+
check_type(argname="argument cloud_formation_action", value=cloud_formation_action, expected_type=type_hints["cloud_formation_action"])
|
|
1817
|
+
check_type(argname="argument m2_managed_application_action", value=m2_managed_application_action, expected_type=type_hints["m2_managed_application_action"])
|
|
1818
|
+
check_type(argname="argument m2_non_managed_application_action", value=m2_non_managed_application_action, expected_type=type_hints["m2_non_managed_application_action"])
|
|
1819
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1820
|
+
if cloud_formation_action is not None:
|
|
1821
|
+
self._values["cloud_formation_action"] = cloud_formation_action
|
|
1822
|
+
if m2_managed_application_action is not None:
|
|
1823
|
+
self._values["m2_managed_application_action"] = m2_managed_application_action
|
|
1824
|
+
if m2_non_managed_application_action is not None:
|
|
1825
|
+
self._values["m2_non_managed_application_action"] = m2_non_managed_application_action
|
|
1826
|
+
|
|
1827
|
+
@builtins.property
|
|
1828
|
+
def cloud_formation_action(
|
|
1829
|
+
self,
|
|
1830
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.CloudFormationActionProperty"]]:
|
|
1831
|
+
'''The CloudFormation action of the resource action.
|
|
1832
|
+
|
|
1833
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-resourceaction.html#cfn-apptest-testcase-resourceaction-cloudformationaction
|
|
1834
|
+
'''
|
|
1835
|
+
result = self._values.get("cloud_formation_action")
|
|
1836
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.CloudFormationActionProperty"]], result)
|
|
1837
|
+
|
|
1838
|
+
@builtins.property
|
|
1839
|
+
def m2_managed_application_action(
|
|
1840
|
+
self,
|
|
1841
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.M2ManagedApplicationActionProperty"]]:
|
|
1842
|
+
'''The AWS Mainframe Modernization managed application action of the resource action.
|
|
1843
|
+
|
|
1844
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-resourceaction.html#cfn-apptest-testcase-resourceaction-m2managedapplicationaction
|
|
1845
|
+
'''
|
|
1846
|
+
result = self._values.get("m2_managed_application_action")
|
|
1847
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.M2ManagedApplicationActionProperty"]], result)
|
|
1848
|
+
|
|
1849
|
+
@builtins.property
|
|
1850
|
+
def m2_non_managed_application_action(
|
|
1851
|
+
self,
|
|
1852
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.M2NonManagedApplicationActionProperty"]]:
|
|
1853
|
+
'''The AWS Mainframe Modernization non-managed application action of the resource action.
|
|
1854
|
+
|
|
1855
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-resourceaction.html#cfn-apptest-testcase-resourceaction-m2nonmanagedapplicationaction
|
|
1856
|
+
'''
|
|
1857
|
+
result = self._values.get("m2_non_managed_application_action")
|
|
1858
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.M2NonManagedApplicationActionProperty"]], result)
|
|
1859
|
+
|
|
1860
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1861
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1862
|
+
|
|
1863
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1864
|
+
return not (rhs == self)
|
|
1865
|
+
|
|
1866
|
+
def __repr__(self) -> str:
|
|
1867
|
+
return "ResourceActionProperty(%s)" % ", ".join(
|
|
1868
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1869
|
+
)
|
|
1870
|
+
|
|
1871
|
+
@jsii.data_type(
|
|
1872
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.ScriptProperty",
|
|
1873
|
+
jsii_struct_bases=[],
|
|
1874
|
+
name_mapping={"script_location": "scriptLocation", "type": "type"},
|
|
1875
|
+
)
|
|
1876
|
+
class ScriptProperty:
|
|
1877
|
+
def __init__(
|
|
1878
|
+
self,
|
|
1879
|
+
*,
|
|
1880
|
+
script_location: builtins.str,
|
|
1881
|
+
type: builtins.str,
|
|
1882
|
+
) -> None:
|
|
1883
|
+
'''Specifies the script.
|
|
1884
|
+
|
|
1885
|
+
:param script_location: The script location of the scripts.
|
|
1886
|
+
:param type: The type of the scripts.
|
|
1887
|
+
|
|
1888
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-script.html
|
|
1889
|
+
:exampleMetadata: fixture=_generated
|
|
1890
|
+
|
|
1891
|
+
Example::
|
|
1892
|
+
|
|
1893
|
+
# The code below shows an example of how to instantiate this type.
|
|
1894
|
+
# The values are placeholders you should change.
|
|
1895
|
+
from aws_cdk import aws_apptest as apptest
|
|
1896
|
+
|
|
1897
|
+
script_property = apptest.CfnTestCase.ScriptProperty(
|
|
1898
|
+
script_location="scriptLocation",
|
|
1899
|
+
type="type"
|
|
1900
|
+
)
|
|
1901
|
+
'''
|
|
1902
|
+
if __debug__:
|
|
1903
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9491bc096d573fc68bb677f00cad6e1b7ed657a3325e8791453c1dd26760783b)
|
|
1904
|
+
check_type(argname="argument script_location", value=script_location, expected_type=type_hints["script_location"])
|
|
1905
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
1906
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1907
|
+
"script_location": script_location,
|
|
1908
|
+
"type": type,
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
@builtins.property
|
|
1912
|
+
def script_location(self) -> builtins.str:
|
|
1913
|
+
'''The script location of the scripts.
|
|
1914
|
+
|
|
1915
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-script.html#cfn-apptest-testcase-script-scriptlocation
|
|
1916
|
+
'''
|
|
1917
|
+
result = self._values.get("script_location")
|
|
1918
|
+
assert result is not None, "Required property 'script_location' is missing"
|
|
1919
|
+
return typing.cast(builtins.str, result)
|
|
1920
|
+
|
|
1921
|
+
@builtins.property
|
|
1922
|
+
def type(self) -> builtins.str:
|
|
1923
|
+
'''The type of the scripts.
|
|
1924
|
+
|
|
1925
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-script.html#cfn-apptest-testcase-script-type
|
|
1926
|
+
'''
|
|
1927
|
+
result = self._values.get("type")
|
|
1928
|
+
assert result is not None, "Required property 'type' is missing"
|
|
1929
|
+
return typing.cast(builtins.str, result)
|
|
1930
|
+
|
|
1931
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1932
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1933
|
+
|
|
1934
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1935
|
+
return not (rhs == self)
|
|
1936
|
+
|
|
1937
|
+
def __repr__(self) -> str:
|
|
1938
|
+
return "ScriptProperty(%s)" % ", ".join(
|
|
1939
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1940
|
+
)
|
|
1941
|
+
|
|
1942
|
+
@jsii.data_type(
|
|
1943
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.SourceDatabaseMetadataProperty",
|
|
1944
|
+
jsii_struct_bases=[],
|
|
1945
|
+
name_mapping={"capture_tool": "captureTool", "type": "type"},
|
|
1946
|
+
)
|
|
1947
|
+
class SourceDatabaseMetadataProperty:
|
|
1948
|
+
def __init__(self, *, capture_tool: builtins.str, type: builtins.str) -> None:
|
|
1949
|
+
'''Specifies the source database metadata.
|
|
1950
|
+
|
|
1951
|
+
:param capture_tool: The capture tool of the source database metadata.
|
|
1952
|
+
:param type: The type of the source database metadata.
|
|
1953
|
+
|
|
1954
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-sourcedatabasemetadata.html
|
|
1955
|
+
:exampleMetadata: fixture=_generated
|
|
1956
|
+
|
|
1957
|
+
Example::
|
|
1958
|
+
|
|
1959
|
+
# The code below shows an example of how to instantiate this type.
|
|
1960
|
+
# The values are placeholders you should change.
|
|
1961
|
+
from aws_cdk import aws_apptest as apptest
|
|
1962
|
+
|
|
1963
|
+
source_database_metadata_property = apptest.CfnTestCase.SourceDatabaseMetadataProperty(
|
|
1964
|
+
capture_tool="captureTool",
|
|
1965
|
+
type="type"
|
|
1966
|
+
)
|
|
1967
|
+
'''
|
|
1968
|
+
if __debug__:
|
|
1969
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c5109465ec6db43508a3040f8bf0c54ad2138ec7b18876e19b096bfe966b7e69)
|
|
1970
|
+
check_type(argname="argument capture_tool", value=capture_tool, expected_type=type_hints["capture_tool"])
|
|
1971
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
1972
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1973
|
+
"capture_tool": capture_tool,
|
|
1974
|
+
"type": type,
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
@builtins.property
|
|
1978
|
+
def capture_tool(self) -> builtins.str:
|
|
1979
|
+
'''The capture tool of the source database metadata.
|
|
1980
|
+
|
|
1981
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-sourcedatabasemetadata.html#cfn-apptest-testcase-sourcedatabasemetadata-capturetool
|
|
1982
|
+
'''
|
|
1983
|
+
result = self._values.get("capture_tool")
|
|
1984
|
+
assert result is not None, "Required property 'capture_tool' is missing"
|
|
1985
|
+
return typing.cast(builtins.str, result)
|
|
1986
|
+
|
|
1987
|
+
@builtins.property
|
|
1988
|
+
def type(self) -> builtins.str:
|
|
1989
|
+
'''The type of the source database metadata.
|
|
1990
|
+
|
|
1991
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-sourcedatabasemetadata.html#cfn-apptest-testcase-sourcedatabasemetadata-type
|
|
1992
|
+
'''
|
|
1993
|
+
result = self._values.get("type")
|
|
1994
|
+
assert result is not None, "Required property 'type' is missing"
|
|
1995
|
+
return typing.cast(builtins.str, result)
|
|
1996
|
+
|
|
1997
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1998
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1999
|
+
|
|
2000
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2001
|
+
return not (rhs == self)
|
|
2002
|
+
|
|
2003
|
+
def __repr__(self) -> str:
|
|
2004
|
+
return "SourceDatabaseMetadataProperty(%s)" % ", ".join(
|
|
2005
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2006
|
+
)
|
|
2007
|
+
|
|
2008
|
+
@jsii.data_type(
|
|
2009
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.StepActionProperty",
|
|
2010
|
+
jsii_struct_bases=[],
|
|
2011
|
+
name_mapping={
|
|
2012
|
+
"compare_action": "compareAction",
|
|
2013
|
+
"mainframe_action": "mainframeAction",
|
|
2014
|
+
"resource_action": "resourceAction",
|
|
2015
|
+
},
|
|
2016
|
+
)
|
|
2017
|
+
class StepActionProperty:
|
|
2018
|
+
def __init__(
|
|
2019
|
+
self,
|
|
2020
|
+
*,
|
|
2021
|
+
compare_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.CompareActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2022
|
+
mainframe_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.MainframeActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2023
|
+
resource_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.ResourceActionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2024
|
+
) -> None:
|
|
2025
|
+
'''Specifies a step action.
|
|
2026
|
+
|
|
2027
|
+
:param compare_action: The compare action of the step action.
|
|
2028
|
+
:param mainframe_action: The mainframe action of the step action.
|
|
2029
|
+
:param resource_action: The resource action of the step action.
|
|
2030
|
+
|
|
2031
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-stepaction.html
|
|
2032
|
+
:exampleMetadata: fixture=_generated
|
|
2033
|
+
|
|
2034
|
+
Example::
|
|
2035
|
+
|
|
2036
|
+
# The code below shows an example of how to instantiate this type.
|
|
2037
|
+
# The values are placeholders you should change.
|
|
2038
|
+
from aws_cdk import aws_apptest as apptest
|
|
2039
|
+
|
|
2040
|
+
step_action_property = apptest.CfnTestCase.StepActionProperty(
|
|
2041
|
+
compare_action=apptest.CfnTestCase.CompareActionProperty(
|
|
2042
|
+
input=apptest.CfnTestCase.InputProperty(
|
|
2043
|
+
file=apptest.CfnTestCase.InputFileProperty(
|
|
2044
|
+
file_metadata=apptest.CfnTestCase.FileMetadataProperty(
|
|
2045
|
+
database_cdc=apptest.CfnTestCase.DatabaseCDCProperty(
|
|
2046
|
+
source_metadata=apptest.CfnTestCase.SourceDatabaseMetadataProperty(
|
|
2047
|
+
capture_tool="captureTool",
|
|
2048
|
+
type="type"
|
|
2049
|
+
),
|
|
2050
|
+
target_metadata=apptest.CfnTestCase.TargetDatabaseMetadataProperty(
|
|
2051
|
+
capture_tool="captureTool",
|
|
2052
|
+
type="type"
|
|
2053
|
+
)
|
|
2054
|
+
),
|
|
2055
|
+
data_sets=[apptest.CfnTestCase.DataSetProperty(
|
|
2056
|
+
ccsid="ccsid",
|
|
2057
|
+
format="format",
|
|
2058
|
+
length=123,
|
|
2059
|
+
name="name",
|
|
2060
|
+
type="type"
|
|
2061
|
+
)]
|
|
2062
|
+
),
|
|
2063
|
+
source_location="sourceLocation",
|
|
2064
|
+
target_location="targetLocation"
|
|
2065
|
+
)
|
|
2066
|
+
),
|
|
2067
|
+
|
|
2068
|
+
# the properties below are optional
|
|
2069
|
+
output=apptest.CfnTestCase.OutputProperty(
|
|
2070
|
+
file=apptest.CfnTestCase.OutputFileProperty(
|
|
2071
|
+
file_location="fileLocation"
|
|
2072
|
+
)
|
|
2073
|
+
)
|
|
2074
|
+
),
|
|
2075
|
+
mainframe_action=apptest.CfnTestCase.MainframeActionProperty(
|
|
2076
|
+
action_type=apptest.CfnTestCase.MainframeActionTypeProperty(
|
|
2077
|
+
batch=apptest.CfnTestCase.BatchProperty(
|
|
2078
|
+
batch_job_name="batchJobName",
|
|
2079
|
+
|
|
2080
|
+
# the properties below are optional
|
|
2081
|
+
batch_job_parameters={
|
|
2082
|
+
"batch_job_parameters_key": "batchJobParameters"
|
|
2083
|
+
},
|
|
2084
|
+
export_data_set_names=["exportDataSetNames"]
|
|
2085
|
+
),
|
|
2086
|
+
tn3270=apptest.CfnTestCase.TN3270Property(
|
|
2087
|
+
script=apptest.CfnTestCase.ScriptProperty(
|
|
2088
|
+
script_location="scriptLocation",
|
|
2089
|
+
type="type"
|
|
2090
|
+
),
|
|
2091
|
+
|
|
2092
|
+
# the properties below are optional
|
|
2093
|
+
export_data_set_names=["exportDataSetNames"]
|
|
2094
|
+
)
|
|
2095
|
+
),
|
|
2096
|
+
resource="resource",
|
|
2097
|
+
|
|
2098
|
+
# the properties below are optional
|
|
2099
|
+
properties=apptest.CfnTestCase.MainframeActionPropertiesProperty(
|
|
2100
|
+
dms_task_arn="dmsTaskArn"
|
|
2101
|
+
)
|
|
2102
|
+
),
|
|
2103
|
+
resource_action=apptest.CfnTestCase.ResourceActionProperty(
|
|
2104
|
+
cloud_formation_action=apptest.CfnTestCase.CloudFormationActionProperty(
|
|
2105
|
+
resource="resource",
|
|
2106
|
+
|
|
2107
|
+
# the properties below are optional
|
|
2108
|
+
action_type="actionType"
|
|
2109
|
+
),
|
|
2110
|
+
m2_managed_application_action=apptest.CfnTestCase.M2ManagedApplicationActionProperty(
|
|
2111
|
+
action_type="actionType",
|
|
2112
|
+
resource="resource",
|
|
2113
|
+
|
|
2114
|
+
# the properties below are optional
|
|
2115
|
+
properties=apptest.CfnTestCase.M2ManagedActionPropertiesProperty(
|
|
2116
|
+
force_stop=False,
|
|
2117
|
+
import_data_set_location="importDataSetLocation"
|
|
2118
|
+
)
|
|
2119
|
+
),
|
|
2120
|
+
m2_non_managed_application_action=apptest.CfnTestCase.M2NonManagedApplicationActionProperty(
|
|
2121
|
+
action_type="actionType",
|
|
2122
|
+
resource="resource"
|
|
2123
|
+
)
|
|
2124
|
+
)
|
|
2125
|
+
)
|
|
2126
|
+
'''
|
|
2127
|
+
if __debug__:
|
|
2128
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d032b095aec0a923a2a2276cfba87076f22f92cbaa96be53c20ace6c9c654fdf)
|
|
2129
|
+
check_type(argname="argument compare_action", value=compare_action, expected_type=type_hints["compare_action"])
|
|
2130
|
+
check_type(argname="argument mainframe_action", value=mainframe_action, expected_type=type_hints["mainframe_action"])
|
|
2131
|
+
check_type(argname="argument resource_action", value=resource_action, expected_type=type_hints["resource_action"])
|
|
2132
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2133
|
+
if compare_action is not None:
|
|
2134
|
+
self._values["compare_action"] = compare_action
|
|
2135
|
+
if mainframe_action is not None:
|
|
2136
|
+
self._values["mainframe_action"] = mainframe_action
|
|
2137
|
+
if resource_action is not None:
|
|
2138
|
+
self._values["resource_action"] = resource_action
|
|
2139
|
+
|
|
2140
|
+
@builtins.property
|
|
2141
|
+
def compare_action(
|
|
2142
|
+
self,
|
|
2143
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.CompareActionProperty"]]:
|
|
2144
|
+
'''The compare action of the step action.
|
|
2145
|
+
|
|
2146
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-stepaction.html#cfn-apptest-testcase-stepaction-compareaction
|
|
2147
|
+
'''
|
|
2148
|
+
result = self._values.get("compare_action")
|
|
2149
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.CompareActionProperty"]], result)
|
|
2150
|
+
|
|
2151
|
+
@builtins.property
|
|
2152
|
+
def mainframe_action(
|
|
2153
|
+
self,
|
|
2154
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.MainframeActionProperty"]]:
|
|
2155
|
+
'''The mainframe action of the step action.
|
|
2156
|
+
|
|
2157
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-stepaction.html#cfn-apptest-testcase-stepaction-mainframeaction
|
|
2158
|
+
'''
|
|
2159
|
+
result = self._values.get("mainframe_action")
|
|
2160
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.MainframeActionProperty"]], result)
|
|
2161
|
+
|
|
2162
|
+
@builtins.property
|
|
2163
|
+
def resource_action(
|
|
2164
|
+
self,
|
|
2165
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.ResourceActionProperty"]]:
|
|
2166
|
+
'''The resource action of the step action.
|
|
2167
|
+
|
|
2168
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-stepaction.html#cfn-apptest-testcase-stepaction-resourceaction
|
|
2169
|
+
'''
|
|
2170
|
+
result = self._values.get("resource_action")
|
|
2171
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTestCase.ResourceActionProperty"]], result)
|
|
2172
|
+
|
|
2173
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2174
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2175
|
+
|
|
2176
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2177
|
+
return not (rhs == self)
|
|
2178
|
+
|
|
2179
|
+
def __repr__(self) -> str:
|
|
2180
|
+
return "StepActionProperty(%s)" % ", ".join(
|
|
2181
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2182
|
+
)
|
|
2183
|
+
|
|
2184
|
+
@jsii.data_type(
|
|
2185
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.StepProperty",
|
|
2186
|
+
jsii_struct_bases=[],
|
|
2187
|
+
name_mapping={
|
|
2188
|
+
"action": "action",
|
|
2189
|
+
"name": "name",
|
|
2190
|
+
"description": "description",
|
|
2191
|
+
},
|
|
2192
|
+
)
|
|
2193
|
+
class StepProperty:
|
|
2194
|
+
def __init__(
|
|
2195
|
+
self,
|
|
2196
|
+
*,
|
|
2197
|
+
action: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.StepActionProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2198
|
+
name: builtins.str,
|
|
2199
|
+
description: typing.Optional[builtins.str] = None,
|
|
2200
|
+
) -> None:
|
|
2201
|
+
'''Defines a step.
|
|
2202
|
+
|
|
2203
|
+
:param action: The action of the step.
|
|
2204
|
+
:param name: The name of the step.
|
|
2205
|
+
:param description: The description of the step.
|
|
2206
|
+
|
|
2207
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.html
|
|
2208
|
+
:exampleMetadata: fixture=_generated
|
|
2209
|
+
|
|
2210
|
+
Example::
|
|
2211
|
+
|
|
2212
|
+
# The code below shows an example of how to instantiate this type.
|
|
2213
|
+
# The values are placeholders you should change.
|
|
2214
|
+
from aws_cdk import aws_apptest as apptest
|
|
2215
|
+
|
|
2216
|
+
step_property = apptest.CfnTestCase.StepProperty(
|
|
2217
|
+
action=apptest.CfnTestCase.StepActionProperty(
|
|
2218
|
+
compare_action=apptest.CfnTestCase.CompareActionProperty(
|
|
2219
|
+
input=apptest.CfnTestCase.InputProperty(
|
|
2220
|
+
file=apptest.CfnTestCase.InputFileProperty(
|
|
2221
|
+
file_metadata=apptest.CfnTestCase.FileMetadataProperty(
|
|
2222
|
+
database_cdc=apptest.CfnTestCase.DatabaseCDCProperty(
|
|
2223
|
+
source_metadata=apptest.CfnTestCase.SourceDatabaseMetadataProperty(
|
|
2224
|
+
capture_tool="captureTool",
|
|
2225
|
+
type="type"
|
|
2226
|
+
),
|
|
2227
|
+
target_metadata=apptest.CfnTestCase.TargetDatabaseMetadataProperty(
|
|
2228
|
+
capture_tool="captureTool",
|
|
2229
|
+
type="type"
|
|
2230
|
+
)
|
|
2231
|
+
),
|
|
2232
|
+
data_sets=[apptest.CfnTestCase.DataSetProperty(
|
|
2233
|
+
ccsid="ccsid",
|
|
2234
|
+
format="format",
|
|
2235
|
+
length=123,
|
|
2236
|
+
name="name",
|
|
2237
|
+
type="type"
|
|
2238
|
+
)]
|
|
2239
|
+
),
|
|
2240
|
+
source_location="sourceLocation",
|
|
2241
|
+
target_location="targetLocation"
|
|
2242
|
+
)
|
|
2243
|
+
),
|
|
2244
|
+
|
|
2245
|
+
# the properties below are optional
|
|
2246
|
+
output=apptest.CfnTestCase.OutputProperty(
|
|
2247
|
+
file=apptest.CfnTestCase.OutputFileProperty(
|
|
2248
|
+
file_location="fileLocation"
|
|
2249
|
+
)
|
|
2250
|
+
)
|
|
2251
|
+
),
|
|
2252
|
+
mainframe_action=apptest.CfnTestCase.MainframeActionProperty(
|
|
2253
|
+
action_type=apptest.CfnTestCase.MainframeActionTypeProperty(
|
|
2254
|
+
batch=apptest.CfnTestCase.BatchProperty(
|
|
2255
|
+
batch_job_name="batchJobName",
|
|
2256
|
+
|
|
2257
|
+
# the properties below are optional
|
|
2258
|
+
batch_job_parameters={
|
|
2259
|
+
"batch_job_parameters_key": "batchJobParameters"
|
|
2260
|
+
},
|
|
2261
|
+
export_data_set_names=["exportDataSetNames"]
|
|
2262
|
+
),
|
|
2263
|
+
tn3270=apptest.CfnTestCase.TN3270Property(
|
|
2264
|
+
script=apptest.CfnTestCase.ScriptProperty(
|
|
2265
|
+
script_location="scriptLocation",
|
|
2266
|
+
type="type"
|
|
2267
|
+
),
|
|
2268
|
+
|
|
2269
|
+
# the properties below are optional
|
|
2270
|
+
export_data_set_names=["exportDataSetNames"]
|
|
2271
|
+
)
|
|
2272
|
+
),
|
|
2273
|
+
resource="resource",
|
|
2274
|
+
|
|
2275
|
+
# the properties below are optional
|
|
2276
|
+
properties=apptest.CfnTestCase.MainframeActionPropertiesProperty(
|
|
2277
|
+
dms_task_arn="dmsTaskArn"
|
|
2278
|
+
)
|
|
2279
|
+
),
|
|
2280
|
+
resource_action=apptest.CfnTestCase.ResourceActionProperty(
|
|
2281
|
+
cloud_formation_action=apptest.CfnTestCase.CloudFormationActionProperty(
|
|
2282
|
+
resource="resource",
|
|
2283
|
+
|
|
2284
|
+
# the properties below are optional
|
|
2285
|
+
action_type="actionType"
|
|
2286
|
+
),
|
|
2287
|
+
m2_managed_application_action=apptest.CfnTestCase.M2ManagedApplicationActionProperty(
|
|
2288
|
+
action_type="actionType",
|
|
2289
|
+
resource="resource",
|
|
2290
|
+
|
|
2291
|
+
# the properties below are optional
|
|
2292
|
+
properties=apptest.CfnTestCase.M2ManagedActionPropertiesProperty(
|
|
2293
|
+
force_stop=False,
|
|
2294
|
+
import_data_set_location="importDataSetLocation"
|
|
2295
|
+
)
|
|
2296
|
+
),
|
|
2297
|
+
m2_non_managed_application_action=apptest.CfnTestCase.M2NonManagedApplicationActionProperty(
|
|
2298
|
+
action_type="actionType",
|
|
2299
|
+
resource="resource"
|
|
2300
|
+
)
|
|
2301
|
+
)
|
|
2302
|
+
),
|
|
2303
|
+
name="name",
|
|
2304
|
+
|
|
2305
|
+
# the properties below are optional
|
|
2306
|
+
description="description"
|
|
2307
|
+
)
|
|
2308
|
+
'''
|
|
2309
|
+
if __debug__:
|
|
2310
|
+
type_hints = typing.get_type_hints(_typecheckingstub__693abf61935b40af6d279994a8215cbd6298c43e090f93aef648872426ba9439)
|
|
2311
|
+
check_type(argname="argument action", value=action, expected_type=type_hints["action"])
|
|
2312
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2313
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2314
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2315
|
+
"action": action,
|
|
2316
|
+
"name": name,
|
|
2317
|
+
}
|
|
2318
|
+
if description is not None:
|
|
2319
|
+
self._values["description"] = description
|
|
2320
|
+
|
|
2321
|
+
@builtins.property
|
|
2322
|
+
def action(
|
|
2323
|
+
self,
|
|
2324
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnTestCase.StepActionProperty"]:
|
|
2325
|
+
'''The action of the step.
|
|
2326
|
+
|
|
2327
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.html#cfn-apptest-testcase-step-action
|
|
2328
|
+
'''
|
|
2329
|
+
result = self._values.get("action")
|
|
2330
|
+
assert result is not None, "Required property 'action' is missing"
|
|
2331
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTestCase.StepActionProperty"], result)
|
|
2332
|
+
|
|
2333
|
+
@builtins.property
|
|
2334
|
+
def name(self) -> builtins.str:
|
|
2335
|
+
'''The name of the step.
|
|
2336
|
+
|
|
2337
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.html#cfn-apptest-testcase-step-name
|
|
2338
|
+
'''
|
|
2339
|
+
result = self._values.get("name")
|
|
2340
|
+
assert result is not None, "Required property 'name' is missing"
|
|
2341
|
+
return typing.cast(builtins.str, result)
|
|
2342
|
+
|
|
2343
|
+
@builtins.property
|
|
2344
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
2345
|
+
'''The description of the step.
|
|
2346
|
+
|
|
2347
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-step.html#cfn-apptest-testcase-step-description
|
|
2348
|
+
'''
|
|
2349
|
+
result = self._values.get("description")
|
|
2350
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2351
|
+
|
|
2352
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2353
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2354
|
+
|
|
2355
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2356
|
+
return not (rhs == self)
|
|
2357
|
+
|
|
2358
|
+
def __repr__(self) -> str:
|
|
2359
|
+
return "StepProperty(%s)" % ", ".join(
|
|
2360
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2361
|
+
)
|
|
2362
|
+
|
|
2363
|
+
@jsii.data_type(
|
|
2364
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.TN3270Property",
|
|
2365
|
+
jsii_struct_bases=[],
|
|
2366
|
+
name_mapping={
|
|
2367
|
+
"script": "script",
|
|
2368
|
+
"export_data_set_names": "exportDataSetNames",
|
|
2369
|
+
},
|
|
2370
|
+
)
|
|
2371
|
+
class TN3270Property:
|
|
2372
|
+
def __init__(
|
|
2373
|
+
self,
|
|
2374
|
+
*,
|
|
2375
|
+
script: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTestCase.ScriptProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2376
|
+
export_data_set_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2377
|
+
) -> None:
|
|
2378
|
+
'''Specifies the TN3270 protocol.
|
|
2379
|
+
|
|
2380
|
+
:param script: The script of the TN3270 protocol.
|
|
2381
|
+
:param export_data_set_names: The data set names of the TN3270 protocol.
|
|
2382
|
+
|
|
2383
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-tn3270.html
|
|
2384
|
+
:exampleMetadata: fixture=_generated
|
|
2385
|
+
|
|
2386
|
+
Example::
|
|
2387
|
+
|
|
2388
|
+
# The code below shows an example of how to instantiate this type.
|
|
2389
|
+
# The values are placeholders you should change.
|
|
2390
|
+
from aws_cdk import aws_apptest as apptest
|
|
2391
|
+
|
|
2392
|
+
t_n3270_property = apptest.CfnTestCase.TN3270Property(
|
|
2393
|
+
script=apptest.CfnTestCase.ScriptProperty(
|
|
2394
|
+
script_location="scriptLocation",
|
|
2395
|
+
type="type"
|
|
2396
|
+
),
|
|
2397
|
+
|
|
2398
|
+
# the properties below are optional
|
|
2399
|
+
export_data_set_names=["exportDataSetNames"]
|
|
2400
|
+
)
|
|
2401
|
+
'''
|
|
2402
|
+
if __debug__:
|
|
2403
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9be2af67de11c7c1527c9ab1225496c360b31ec89b193994afe1085f5ddf487d)
|
|
2404
|
+
check_type(argname="argument script", value=script, expected_type=type_hints["script"])
|
|
2405
|
+
check_type(argname="argument export_data_set_names", value=export_data_set_names, expected_type=type_hints["export_data_set_names"])
|
|
2406
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2407
|
+
"script": script,
|
|
2408
|
+
}
|
|
2409
|
+
if export_data_set_names is not None:
|
|
2410
|
+
self._values["export_data_set_names"] = export_data_set_names
|
|
2411
|
+
|
|
2412
|
+
@builtins.property
|
|
2413
|
+
def script(
|
|
2414
|
+
self,
|
|
2415
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnTestCase.ScriptProperty"]:
|
|
2416
|
+
'''The script of the TN3270 protocol.
|
|
2417
|
+
|
|
2418
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-tn3270.html#cfn-apptest-testcase-tn3270-script
|
|
2419
|
+
'''
|
|
2420
|
+
result = self._values.get("script")
|
|
2421
|
+
assert result is not None, "Required property 'script' is missing"
|
|
2422
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnTestCase.ScriptProperty"], result)
|
|
2423
|
+
|
|
2424
|
+
@builtins.property
|
|
2425
|
+
def export_data_set_names(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2426
|
+
'''The data set names of the TN3270 protocol.
|
|
2427
|
+
|
|
2428
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-tn3270.html#cfn-apptest-testcase-tn3270-exportdatasetnames
|
|
2429
|
+
'''
|
|
2430
|
+
result = self._values.get("export_data_set_names")
|
|
2431
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2432
|
+
|
|
2433
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2434
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2435
|
+
|
|
2436
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2437
|
+
return not (rhs == self)
|
|
2438
|
+
|
|
2439
|
+
def __repr__(self) -> str:
|
|
2440
|
+
return "TN3270Property(%s)" % ", ".join(
|
|
2441
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2442
|
+
)
|
|
2443
|
+
|
|
2444
|
+
@jsii.data_type(
|
|
2445
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.TargetDatabaseMetadataProperty",
|
|
2446
|
+
jsii_struct_bases=[],
|
|
2447
|
+
name_mapping={"capture_tool": "captureTool", "type": "type"},
|
|
2448
|
+
)
|
|
2449
|
+
class TargetDatabaseMetadataProperty:
|
|
2450
|
+
def __init__(self, *, capture_tool: builtins.str, type: builtins.str) -> None:
|
|
2451
|
+
'''Specifies a target database metadata.
|
|
2452
|
+
|
|
2453
|
+
:param capture_tool: The capture tool of the target database metadata.
|
|
2454
|
+
:param type: The type of the target database metadata.
|
|
2455
|
+
|
|
2456
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-targetdatabasemetadata.html
|
|
2457
|
+
:exampleMetadata: fixture=_generated
|
|
2458
|
+
|
|
2459
|
+
Example::
|
|
2460
|
+
|
|
2461
|
+
# The code below shows an example of how to instantiate this type.
|
|
2462
|
+
# The values are placeholders you should change.
|
|
2463
|
+
from aws_cdk import aws_apptest as apptest
|
|
2464
|
+
|
|
2465
|
+
target_database_metadata_property = apptest.CfnTestCase.TargetDatabaseMetadataProperty(
|
|
2466
|
+
capture_tool="captureTool",
|
|
2467
|
+
type="type"
|
|
2468
|
+
)
|
|
2469
|
+
'''
|
|
2470
|
+
if __debug__:
|
|
2471
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2a294d3841c7f78441bca4347b1a52c3d34715683c7ebe5ab5e8d2cb07c57de9)
|
|
2472
|
+
check_type(argname="argument capture_tool", value=capture_tool, expected_type=type_hints["capture_tool"])
|
|
2473
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
2474
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2475
|
+
"capture_tool": capture_tool,
|
|
2476
|
+
"type": type,
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
@builtins.property
|
|
2480
|
+
def capture_tool(self) -> builtins.str:
|
|
2481
|
+
'''The capture tool of the target database metadata.
|
|
2482
|
+
|
|
2483
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-targetdatabasemetadata.html#cfn-apptest-testcase-targetdatabasemetadata-capturetool
|
|
2484
|
+
'''
|
|
2485
|
+
result = self._values.get("capture_tool")
|
|
2486
|
+
assert result is not None, "Required property 'capture_tool' is missing"
|
|
2487
|
+
return typing.cast(builtins.str, result)
|
|
2488
|
+
|
|
2489
|
+
@builtins.property
|
|
2490
|
+
def type(self) -> builtins.str:
|
|
2491
|
+
'''The type of the target database metadata.
|
|
2492
|
+
|
|
2493
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-targetdatabasemetadata.html#cfn-apptest-testcase-targetdatabasemetadata-type
|
|
2494
|
+
'''
|
|
2495
|
+
result = self._values.get("type")
|
|
2496
|
+
assert result is not None, "Required property 'type' is missing"
|
|
2497
|
+
return typing.cast(builtins.str, result)
|
|
2498
|
+
|
|
2499
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2500
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2501
|
+
|
|
2502
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2503
|
+
return not (rhs == self)
|
|
2504
|
+
|
|
2505
|
+
def __repr__(self) -> str:
|
|
2506
|
+
return "TargetDatabaseMetadataProperty(%s)" % ", ".join(
|
|
2507
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2508
|
+
)
|
|
2509
|
+
|
|
2510
|
+
@jsii.data_type(
|
|
2511
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCase.TestCaseLatestVersionProperty",
|
|
2512
|
+
jsii_struct_bases=[],
|
|
2513
|
+
name_mapping={"status": "status", "version": "version"},
|
|
2514
|
+
)
|
|
2515
|
+
class TestCaseLatestVersionProperty:
|
|
2516
|
+
def __init__(self, *, status: builtins.str, version: jsii.Number) -> None:
|
|
2517
|
+
'''Specifies the latest version of a test case.
|
|
2518
|
+
|
|
2519
|
+
:param status: The status of the test case latest version.
|
|
2520
|
+
:param version: The version of the test case latest version.
|
|
2521
|
+
|
|
2522
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-testcaselatestversion.html
|
|
2523
|
+
:exampleMetadata: fixture=_generated
|
|
2524
|
+
|
|
2525
|
+
Example::
|
|
2526
|
+
|
|
2527
|
+
# The code below shows an example of how to instantiate this type.
|
|
2528
|
+
# The values are placeholders you should change.
|
|
2529
|
+
from aws_cdk import aws_apptest as apptest
|
|
2530
|
+
|
|
2531
|
+
test_case_latest_version_property = apptest.CfnTestCase.TestCaseLatestVersionProperty(
|
|
2532
|
+
status="status",
|
|
2533
|
+
version=123
|
|
2534
|
+
)
|
|
2535
|
+
'''
|
|
2536
|
+
if __debug__:
|
|
2537
|
+
type_hints = typing.get_type_hints(_typecheckingstub__4f4c770ea457b4cd91039dd6060ef58f0f4231406f81979b98062ec9bcf66227)
|
|
2538
|
+
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
2539
|
+
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
2540
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2541
|
+
"status": status,
|
|
2542
|
+
"version": version,
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2545
|
+
@builtins.property
|
|
2546
|
+
def status(self) -> builtins.str:
|
|
2547
|
+
'''The status of the test case latest version.
|
|
2548
|
+
|
|
2549
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-testcaselatestversion.html#cfn-apptest-testcase-testcaselatestversion-status
|
|
2550
|
+
'''
|
|
2551
|
+
result = self._values.get("status")
|
|
2552
|
+
assert result is not None, "Required property 'status' is missing"
|
|
2553
|
+
return typing.cast(builtins.str, result)
|
|
2554
|
+
|
|
2555
|
+
@builtins.property
|
|
2556
|
+
def version(self) -> jsii.Number:
|
|
2557
|
+
'''The version of the test case latest version.
|
|
2558
|
+
|
|
2559
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apptest-testcase-testcaselatestversion.html#cfn-apptest-testcase-testcaselatestversion-version
|
|
2560
|
+
'''
|
|
2561
|
+
result = self._values.get("version")
|
|
2562
|
+
assert result is not None, "Required property 'version' is missing"
|
|
2563
|
+
return typing.cast(jsii.Number, result)
|
|
2564
|
+
|
|
2565
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2566
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2567
|
+
|
|
2568
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2569
|
+
return not (rhs == self)
|
|
2570
|
+
|
|
2571
|
+
def __repr__(self) -> str:
|
|
2572
|
+
return "TestCaseLatestVersionProperty(%s)" % ", ".join(
|
|
2573
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2574
|
+
)
|
|
2575
|
+
|
|
2576
|
+
|
|
2577
|
+
@jsii.data_type(
|
|
2578
|
+
jsii_type="aws-cdk-lib.aws_apptest.CfnTestCaseProps",
|
|
2579
|
+
jsii_struct_bases=[],
|
|
2580
|
+
name_mapping={
|
|
2581
|
+
"name": "name",
|
|
2582
|
+
"steps": "steps",
|
|
2583
|
+
"description": "description",
|
|
2584
|
+
"tags": "tags",
|
|
2585
|
+
},
|
|
2586
|
+
)
|
|
2587
|
+
class CfnTestCaseProps:
|
|
2588
|
+
def __init__(
|
|
2589
|
+
self,
|
|
2590
|
+
*,
|
|
2591
|
+
name: builtins.str,
|
|
2592
|
+
steps: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.StepProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2593
|
+
description: typing.Optional[builtins.str] = None,
|
|
2594
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2595
|
+
) -> None:
|
|
2596
|
+
'''Properties for defining a ``CfnTestCase``.
|
|
2597
|
+
|
|
2598
|
+
:param name: The name of the test case.
|
|
2599
|
+
:param steps: The steps in the test case.
|
|
2600
|
+
:param description: The description of the test case.
|
|
2601
|
+
:param tags: The specified tags of the test case.
|
|
2602
|
+
|
|
2603
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html
|
|
2604
|
+
:exampleMetadata: fixture=_generated
|
|
2605
|
+
|
|
2606
|
+
Example::
|
|
2607
|
+
|
|
2608
|
+
# The code below shows an example of how to instantiate this type.
|
|
2609
|
+
# The values are placeholders you should change.
|
|
2610
|
+
from aws_cdk import aws_apptest as apptest
|
|
2611
|
+
|
|
2612
|
+
cfn_test_case_props = apptest.CfnTestCaseProps(
|
|
2613
|
+
name="name",
|
|
2614
|
+
steps=[apptest.CfnTestCase.StepProperty(
|
|
2615
|
+
action=apptest.CfnTestCase.StepActionProperty(
|
|
2616
|
+
compare_action=apptest.CfnTestCase.CompareActionProperty(
|
|
2617
|
+
input=apptest.CfnTestCase.InputProperty(
|
|
2618
|
+
file=apptest.CfnTestCase.InputFileProperty(
|
|
2619
|
+
file_metadata=apptest.CfnTestCase.FileMetadataProperty(
|
|
2620
|
+
database_cdc=apptest.CfnTestCase.DatabaseCDCProperty(
|
|
2621
|
+
source_metadata=apptest.CfnTestCase.SourceDatabaseMetadataProperty(
|
|
2622
|
+
capture_tool="captureTool",
|
|
2623
|
+
type="type"
|
|
2624
|
+
),
|
|
2625
|
+
target_metadata=apptest.CfnTestCase.TargetDatabaseMetadataProperty(
|
|
2626
|
+
capture_tool="captureTool",
|
|
2627
|
+
type="type"
|
|
2628
|
+
)
|
|
2629
|
+
),
|
|
2630
|
+
data_sets=[apptest.CfnTestCase.DataSetProperty(
|
|
2631
|
+
ccsid="ccsid",
|
|
2632
|
+
format="format",
|
|
2633
|
+
length=123,
|
|
2634
|
+
name="name",
|
|
2635
|
+
type="type"
|
|
2636
|
+
)]
|
|
2637
|
+
),
|
|
2638
|
+
source_location="sourceLocation",
|
|
2639
|
+
target_location="targetLocation"
|
|
2640
|
+
)
|
|
2641
|
+
),
|
|
2642
|
+
|
|
2643
|
+
# the properties below are optional
|
|
2644
|
+
output=apptest.CfnTestCase.OutputProperty(
|
|
2645
|
+
file=apptest.CfnTestCase.OutputFileProperty(
|
|
2646
|
+
file_location="fileLocation"
|
|
2647
|
+
)
|
|
2648
|
+
)
|
|
2649
|
+
),
|
|
2650
|
+
mainframe_action=apptest.CfnTestCase.MainframeActionProperty(
|
|
2651
|
+
action_type=apptest.CfnTestCase.MainframeActionTypeProperty(
|
|
2652
|
+
batch=apptest.CfnTestCase.BatchProperty(
|
|
2653
|
+
batch_job_name="batchJobName",
|
|
2654
|
+
|
|
2655
|
+
# the properties below are optional
|
|
2656
|
+
batch_job_parameters={
|
|
2657
|
+
"batch_job_parameters_key": "batchJobParameters"
|
|
2658
|
+
},
|
|
2659
|
+
export_data_set_names=["exportDataSetNames"]
|
|
2660
|
+
),
|
|
2661
|
+
tn3270=apptest.CfnTestCase.TN3270Property(
|
|
2662
|
+
script=apptest.CfnTestCase.ScriptProperty(
|
|
2663
|
+
script_location="scriptLocation",
|
|
2664
|
+
type="type"
|
|
2665
|
+
),
|
|
2666
|
+
|
|
2667
|
+
# the properties below are optional
|
|
2668
|
+
export_data_set_names=["exportDataSetNames"]
|
|
2669
|
+
)
|
|
2670
|
+
),
|
|
2671
|
+
resource="resource",
|
|
2672
|
+
|
|
2673
|
+
# the properties below are optional
|
|
2674
|
+
properties=apptest.CfnTestCase.MainframeActionPropertiesProperty(
|
|
2675
|
+
dms_task_arn="dmsTaskArn"
|
|
2676
|
+
)
|
|
2677
|
+
),
|
|
2678
|
+
resource_action=apptest.CfnTestCase.ResourceActionProperty(
|
|
2679
|
+
cloud_formation_action=apptest.CfnTestCase.CloudFormationActionProperty(
|
|
2680
|
+
resource="resource",
|
|
2681
|
+
|
|
2682
|
+
# the properties below are optional
|
|
2683
|
+
action_type="actionType"
|
|
2684
|
+
),
|
|
2685
|
+
m2_managed_application_action=apptest.CfnTestCase.M2ManagedApplicationActionProperty(
|
|
2686
|
+
action_type="actionType",
|
|
2687
|
+
resource="resource",
|
|
2688
|
+
|
|
2689
|
+
# the properties below are optional
|
|
2690
|
+
properties=apptest.CfnTestCase.M2ManagedActionPropertiesProperty(
|
|
2691
|
+
force_stop=False,
|
|
2692
|
+
import_data_set_location="importDataSetLocation"
|
|
2693
|
+
)
|
|
2694
|
+
),
|
|
2695
|
+
m2_non_managed_application_action=apptest.CfnTestCase.M2NonManagedApplicationActionProperty(
|
|
2696
|
+
action_type="actionType",
|
|
2697
|
+
resource="resource"
|
|
2698
|
+
)
|
|
2699
|
+
)
|
|
2700
|
+
),
|
|
2701
|
+
name="name",
|
|
2702
|
+
|
|
2703
|
+
# the properties below are optional
|
|
2704
|
+
description="description"
|
|
2705
|
+
)],
|
|
2706
|
+
|
|
2707
|
+
# the properties below are optional
|
|
2708
|
+
description="description",
|
|
2709
|
+
tags={
|
|
2710
|
+
"tags_key": "tags"
|
|
2711
|
+
}
|
|
2712
|
+
)
|
|
2713
|
+
'''
|
|
2714
|
+
if __debug__:
|
|
2715
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0102711c9306b53678129775395001b31372e5a003401d98d2cae036d61dc66b)
|
|
2716
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2717
|
+
check_type(argname="argument steps", value=steps, expected_type=type_hints["steps"])
|
|
2718
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2719
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2720
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2721
|
+
"name": name,
|
|
2722
|
+
"steps": steps,
|
|
2723
|
+
}
|
|
2724
|
+
if description is not None:
|
|
2725
|
+
self._values["description"] = description
|
|
2726
|
+
if tags is not None:
|
|
2727
|
+
self._values["tags"] = tags
|
|
2728
|
+
|
|
2729
|
+
@builtins.property
|
|
2730
|
+
def name(self) -> builtins.str:
|
|
2731
|
+
'''The name of the test case.
|
|
2732
|
+
|
|
2733
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-name
|
|
2734
|
+
'''
|
|
2735
|
+
result = self._values.get("name")
|
|
2736
|
+
assert result is not None, "Required property 'name' is missing"
|
|
2737
|
+
return typing.cast(builtins.str, result)
|
|
2738
|
+
|
|
2739
|
+
@builtins.property
|
|
2740
|
+
def steps(
|
|
2741
|
+
self,
|
|
2742
|
+
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnTestCase.StepProperty]]]:
|
|
2743
|
+
'''The steps in the test case.
|
|
2744
|
+
|
|
2745
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-steps
|
|
2746
|
+
'''
|
|
2747
|
+
result = self._values.get("steps")
|
|
2748
|
+
assert result is not None, "Required property 'steps' is missing"
|
|
2749
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnTestCase.StepProperty]]], result)
|
|
2750
|
+
|
|
2751
|
+
@builtins.property
|
|
2752
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
2753
|
+
'''The description of the test case.
|
|
2754
|
+
|
|
2755
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-description
|
|
2756
|
+
'''
|
|
2757
|
+
result = self._values.get("description")
|
|
2758
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2759
|
+
|
|
2760
|
+
@builtins.property
|
|
2761
|
+
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
2762
|
+
'''The specified tags of the test case.
|
|
2763
|
+
|
|
2764
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-tags
|
|
2765
|
+
'''
|
|
2766
|
+
result = self._values.get("tags")
|
|
2767
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
2768
|
+
|
|
2769
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2770
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2771
|
+
|
|
2772
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2773
|
+
return not (rhs == self)
|
|
2774
|
+
|
|
2775
|
+
def __repr__(self) -> str:
|
|
2776
|
+
return "CfnTestCaseProps(%s)" % ", ".join(
|
|
2777
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2778
|
+
)
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
__all__ = [
|
|
2782
|
+
"CfnTestCase",
|
|
2783
|
+
"CfnTestCaseProps",
|
|
2784
|
+
]
|
|
2785
|
+
|
|
2786
|
+
publication.publish()
|
|
2787
|
+
|
|
2788
|
+
def _typecheckingstub__b54328fdade9df4505a5f85498cf53fc62e7fc59a222ac471d1a63974ed7f0a5(
|
|
2789
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2790
|
+
id: builtins.str,
|
|
2791
|
+
*,
|
|
2792
|
+
name: builtins.str,
|
|
2793
|
+
steps: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.StepProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2794
|
+
description: typing.Optional[builtins.str] = None,
|
|
2795
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2796
|
+
) -> None:
|
|
2797
|
+
"""Type checking stubs"""
|
|
2798
|
+
pass
|
|
2799
|
+
|
|
2800
|
+
def _typecheckingstub__224090306333e2fc48135738c3d25b5e41f34e68b81b058fbfb26e7eda0deb3b(
|
|
2801
|
+
inspector: _TreeInspector_488e0dd5,
|
|
2802
|
+
) -> None:
|
|
2803
|
+
"""Type checking stubs"""
|
|
2804
|
+
pass
|
|
2805
|
+
|
|
2806
|
+
def _typecheckingstub__0b44c10d3df56f34cf8ff918478ccaaa747cba69c96444d92b98e0cf0cb4efe1(
|
|
2807
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2808
|
+
) -> None:
|
|
2809
|
+
"""Type checking stubs"""
|
|
2810
|
+
pass
|
|
2811
|
+
|
|
2812
|
+
def _typecheckingstub__a0b8945362e3fa289aad135a767811c67a4cdb45010d2377c0fb6dd670ca829f(
|
|
2813
|
+
value: builtins.str,
|
|
2814
|
+
) -> None:
|
|
2815
|
+
"""Type checking stubs"""
|
|
2816
|
+
pass
|
|
2817
|
+
|
|
2818
|
+
def _typecheckingstub__b0a0c6d80a2bab21c010f9956a7784691e07a0d6ed782a3cc4f9fe81b470a060(
|
|
2819
|
+
value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnTestCase.StepProperty]]],
|
|
2820
|
+
) -> None:
|
|
2821
|
+
"""Type checking stubs"""
|
|
2822
|
+
pass
|
|
2823
|
+
|
|
2824
|
+
def _typecheckingstub__a7d3be2bb2b7f3fe2d6ec231a15d229997932dffe177165c78ec826c8431cca3(
|
|
2825
|
+
value: typing.Optional[builtins.str],
|
|
2826
|
+
) -> None:
|
|
2827
|
+
"""Type checking stubs"""
|
|
2828
|
+
pass
|
|
2829
|
+
|
|
2830
|
+
def _typecheckingstub__6e8acfd7d3d54fa56bbe1ab5b9bc79609eaccb189083fe4b8cc7217ad659a8e7(
|
|
2831
|
+
value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
|
|
2832
|
+
) -> None:
|
|
2833
|
+
"""Type checking stubs"""
|
|
2834
|
+
pass
|
|
2835
|
+
|
|
2836
|
+
def _typecheckingstub__22fbc9e8380b6b0f7acb2ff9ce8665660f1341dbe513e19f269854edf36bf947(
|
|
2837
|
+
*,
|
|
2838
|
+
batch_job_name: builtins.str,
|
|
2839
|
+
batch_job_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
|
|
2840
|
+
export_data_set_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2841
|
+
) -> None:
|
|
2842
|
+
"""Type checking stubs"""
|
|
2843
|
+
pass
|
|
2844
|
+
|
|
2845
|
+
def _typecheckingstub__78e388b0bdedf30c61617f56e880ca6fde56252f230c4ae15398e7f9e212b149(
|
|
2846
|
+
*,
|
|
2847
|
+
resource: builtins.str,
|
|
2848
|
+
action_type: typing.Optional[builtins.str] = None,
|
|
2849
|
+
) -> None:
|
|
2850
|
+
"""Type checking stubs"""
|
|
2851
|
+
pass
|
|
2852
|
+
|
|
2853
|
+
def _typecheckingstub__e2dc4b8e39cea5f0693b421e043e7fe695a5071e9da674e0b21910651149bec6(
|
|
2854
|
+
*,
|
|
2855
|
+
input: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.InputProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2856
|
+
output: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.OutputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2857
|
+
) -> None:
|
|
2858
|
+
"""Type checking stubs"""
|
|
2859
|
+
pass
|
|
2860
|
+
|
|
2861
|
+
def _typecheckingstub__d3400848ac30aaffccbe005fccaa7513d639cff48d08f645573a9df55178db62(
|
|
2862
|
+
*,
|
|
2863
|
+
ccsid: builtins.str,
|
|
2864
|
+
format: builtins.str,
|
|
2865
|
+
length: jsii.Number,
|
|
2866
|
+
name: builtins.str,
|
|
2867
|
+
type: builtins.str,
|
|
2868
|
+
) -> None:
|
|
2869
|
+
"""Type checking stubs"""
|
|
2870
|
+
pass
|
|
2871
|
+
|
|
2872
|
+
def _typecheckingstub__5d36ecfd05054aba47bc762f73ceae48c439f201dd893fd3061a68183286a719(
|
|
2873
|
+
*,
|
|
2874
|
+
source_metadata: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.SourceDatabaseMetadataProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2875
|
+
target_metadata: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.TargetDatabaseMetadataProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2876
|
+
) -> None:
|
|
2877
|
+
"""Type checking stubs"""
|
|
2878
|
+
pass
|
|
2879
|
+
|
|
2880
|
+
def _typecheckingstub__8de2285ee9d01f8af93180870ea0c2f5ecdd6beff2742d493c28c8d7fc1ee71f(
|
|
2881
|
+
*,
|
|
2882
|
+
database_cdc: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.DatabaseCDCProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2883
|
+
data_sets: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.DataSetProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2884
|
+
) -> None:
|
|
2885
|
+
"""Type checking stubs"""
|
|
2886
|
+
pass
|
|
2887
|
+
|
|
2888
|
+
def _typecheckingstub__f28601f160942e96b555754f69dce46666a04754e210669650325280dafe4984(
|
|
2889
|
+
*,
|
|
2890
|
+
file_metadata: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.FileMetadataProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2891
|
+
source_location: builtins.str,
|
|
2892
|
+
target_location: builtins.str,
|
|
2893
|
+
) -> None:
|
|
2894
|
+
"""Type checking stubs"""
|
|
2895
|
+
pass
|
|
2896
|
+
|
|
2897
|
+
def _typecheckingstub__c40dc1b73b144ba165a7b730bcde38e82d41aaeaab3afe13e4c264c2bacea8c3(
|
|
2898
|
+
*,
|
|
2899
|
+
file: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.InputFileProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2900
|
+
) -> None:
|
|
2901
|
+
"""Type checking stubs"""
|
|
2902
|
+
pass
|
|
2903
|
+
|
|
2904
|
+
def _typecheckingstub__aff55b515e89331733a8ca8c4623288706ae79f94b2490ad50cdb7175419e644(
|
|
2905
|
+
*,
|
|
2906
|
+
force_stop: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2907
|
+
import_data_set_location: typing.Optional[builtins.str] = None,
|
|
2908
|
+
) -> None:
|
|
2909
|
+
"""Type checking stubs"""
|
|
2910
|
+
pass
|
|
2911
|
+
|
|
2912
|
+
def _typecheckingstub__f85973754bf13c76a3e2a3b4f358eeb66b15c5bfc88d5b29fc330839fcdd4d8e(
|
|
2913
|
+
*,
|
|
2914
|
+
action_type: builtins.str,
|
|
2915
|
+
resource: builtins.str,
|
|
2916
|
+
properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.M2ManagedActionPropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2917
|
+
) -> None:
|
|
2918
|
+
"""Type checking stubs"""
|
|
2919
|
+
pass
|
|
2920
|
+
|
|
2921
|
+
def _typecheckingstub__c9e48f9d87d696062223660256adb542d5d3a507fd31fc3bd02ac988f477784e(
|
|
2922
|
+
*,
|
|
2923
|
+
action_type: builtins.str,
|
|
2924
|
+
resource: builtins.str,
|
|
2925
|
+
) -> None:
|
|
2926
|
+
"""Type checking stubs"""
|
|
2927
|
+
pass
|
|
2928
|
+
|
|
2929
|
+
def _typecheckingstub__4f3cbaf004a4c64cc1ecc337ba06f597a70cd172a30d84319dd2546797c61870(
|
|
2930
|
+
*,
|
|
2931
|
+
dms_task_arn: typing.Optional[builtins.str] = None,
|
|
2932
|
+
) -> None:
|
|
2933
|
+
"""Type checking stubs"""
|
|
2934
|
+
pass
|
|
2935
|
+
|
|
2936
|
+
def _typecheckingstub__91394299bcb7ab56e13f3a27df57457d3656de73e850c88cf377f8170b9c4f30(
|
|
2937
|
+
*,
|
|
2938
|
+
action_type: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.MainframeActionTypeProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2939
|
+
resource: builtins.str,
|
|
2940
|
+
properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.MainframeActionPropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2941
|
+
) -> None:
|
|
2942
|
+
"""Type checking stubs"""
|
|
2943
|
+
pass
|
|
2944
|
+
|
|
2945
|
+
def _typecheckingstub__96c6abe4da2018f3b1e24e02a9f038e914b06af61954a6a784abe93d7594a104(
|
|
2946
|
+
*,
|
|
2947
|
+
batch: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.BatchProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2948
|
+
tn3270: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.TN3270Property, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2949
|
+
) -> None:
|
|
2950
|
+
"""Type checking stubs"""
|
|
2951
|
+
pass
|
|
2952
|
+
|
|
2953
|
+
def _typecheckingstub__c44a4f0d7883cc89887a1f9471deac980763e434ca5bbcc95da77e162acd8fa3(
|
|
2954
|
+
*,
|
|
2955
|
+
file_location: typing.Optional[builtins.str] = None,
|
|
2956
|
+
) -> None:
|
|
2957
|
+
"""Type checking stubs"""
|
|
2958
|
+
pass
|
|
2959
|
+
|
|
2960
|
+
def _typecheckingstub__695167e76c7b9eee0044387c1a700ef5312fd67eb8cc5d53caeed30fb9d21c1e(
|
|
2961
|
+
*,
|
|
2962
|
+
file: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.OutputFileProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
2963
|
+
) -> None:
|
|
2964
|
+
"""Type checking stubs"""
|
|
2965
|
+
pass
|
|
2966
|
+
|
|
2967
|
+
def _typecheckingstub__3e4bb03de2d729d83767f3875aa711f32328989ac1ceb9eb12d1d6eea68ef8f7(
|
|
2968
|
+
*,
|
|
2969
|
+
cloud_formation_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.CloudFormationActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2970
|
+
m2_managed_application_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.M2ManagedApplicationActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2971
|
+
m2_non_managed_application_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.M2NonManagedApplicationActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2972
|
+
) -> None:
|
|
2973
|
+
"""Type checking stubs"""
|
|
2974
|
+
pass
|
|
2975
|
+
|
|
2976
|
+
def _typecheckingstub__9491bc096d573fc68bb677f00cad6e1b7ed657a3325e8791453c1dd26760783b(
|
|
2977
|
+
*,
|
|
2978
|
+
script_location: builtins.str,
|
|
2979
|
+
type: builtins.str,
|
|
2980
|
+
) -> None:
|
|
2981
|
+
"""Type checking stubs"""
|
|
2982
|
+
pass
|
|
2983
|
+
|
|
2984
|
+
def _typecheckingstub__c5109465ec6db43508a3040f8bf0c54ad2138ec7b18876e19b096bfe966b7e69(
|
|
2985
|
+
*,
|
|
2986
|
+
capture_tool: builtins.str,
|
|
2987
|
+
type: builtins.str,
|
|
2988
|
+
) -> None:
|
|
2989
|
+
"""Type checking stubs"""
|
|
2990
|
+
pass
|
|
2991
|
+
|
|
2992
|
+
def _typecheckingstub__d032b095aec0a923a2a2276cfba87076f22f92cbaa96be53c20ace6c9c654fdf(
|
|
2993
|
+
*,
|
|
2994
|
+
compare_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.CompareActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2995
|
+
mainframe_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.MainframeActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2996
|
+
resource_action: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.ResourceActionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2997
|
+
) -> None:
|
|
2998
|
+
"""Type checking stubs"""
|
|
2999
|
+
pass
|
|
3000
|
+
|
|
3001
|
+
def _typecheckingstub__693abf61935b40af6d279994a8215cbd6298c43e090f93aef648872426ba9439(
|
|
3002
|
+
*,
|
|
3003
|
+
action: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.StepActionProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3004
|
+
name: builtins.str,
|
|
3005
|
+
description: typing.Optional[builtins.str] = None,
|
|
3006
|
+
) -> None:
|
|
3007
|
+
"""Type checking stubs"""
|
|
3008
|
+
pass
|
|
3009
|
+
|
|
3010
|
+
def _typecheckingstub__9be2af67de11c7c1527c9ab1225496c360b31ec89b193994afe1085f5ddf487d(
|
|
3011
|
+
*,
|
|
3012
|
+
script: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.ScriptProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3013
|
+
export_data_set_names: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3014
|
+
) -> None:
|
|
3015
|
+
"""Type checking stubs"""
|
|
3016
|
+
pass
|
|
3017
|
+
|
|
3018
|
+
def _typecheckingstub__2a294d3841c7f78441bca4347b1a52c3d34715683c7ebe5ab5e8d2cb07c57de9(
|
|
3019
|
+
*,
|
|
3020
|
+
capture_tool: builtins.str,
|
|
3021
|
+
type: builtins.str,
|
|
3022
|
+
) -> None:
|
|
3023
|
+
"""Type checking stubs"""
|
|
3024
|
+
pass
|
|
3025
|
+
|
|
3026
|
+
def _typecheckingstub__4f4c770ea457b4cd91039dd6060ef58f0f4231406f81979b98062ec9bcf66227(
|
|
3027
|
+
*,
|
|
3028
|
+
status: builtins.str,
|
|
3029
|
+
version: jsii.Number,
|
|
3030
|
+
) -> None:
|
|
3031
|
+
"""Type checking stubs"""
|
|
3032
|
+
pass
|
|
3033
|
+
|
|
3034
|
+
def _typecheckingstub__0102711c9306b53678129775395001b31372e5a003401d98d2cae036d61dc66b(
|
|
3035
|
+
*,
|
|
3036
|
+
name: builtins.str,
|
|
3037
|
+
steps: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTestCase.StepProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
3038
|
+
description: typing.Optional[builtins.str] = None,
|
|
3039
|
+
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3040
|
+
) -> None:
|
|
3041
|
+
"""Type checking stubs"""
|
|
3042
|
+
pass
|