CfnTestCasePropsMixin
- class aws_cdk.mixins_preview.aws_apptest.mixins.CfnTestCasePropsMixin(props, *, strategy=None)
Bases:
MixinCreates a test case for an application.
For more information about test cases, see Test cases and Application Testing concepts in the AWS Mainframe Modernization User Guide .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html
- CloudformationResource:
AWS::AppTest::TestCase
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins cfn_test_case_props_mixin = apptest_mixins.CfnTestCasePropsMixin(apptest_mixins.CfnTestCaseMixinProps( description="description", name="name", steps=[apptest_mixins.CfnTestCasePropsMixin.StepProperty( action=apptest_mixins.CfnTestCasePropsMixin.StepActionProperty( compare_action=apptest_mixins.CfnTestCasePropsMixin.CompareActionProperty( input=apptest_mixins.CfnTestCasePropsMixin.InputProperty( file=apptest_mixins.CfnTestCasePropsMixin.InputFileProperty( file_metadata=apptest_mixins.CfnTestCasePropsMixin.FileMetadataProperty( database_cdc=apptest_mixins.CfnTestCasePropsMixin.DatabaseCDCProperty( source_metadata=apptest_mixins.CfnTestCasePropsMixin.SourceDatabaseMetadataProperty( capture_tool="captureTool", type="type" ), target_metadata=apptest_mixins.CfnTestCasePropsMixin.TargetDatabaseMetadataProperty( capture_tool="captureTool", type="type" ) ), data_sets=[apptest_mixins.CfnTestCasePropsMixin.DataSetProperty( ccsid="ccsid", format="format", length=123, name="name", type="type" )] ), source_location="sourceLocation", target_location="targetLocation" ) ), output=apptest_mixins.CfnTestCasePropsMixin.OutputProperty( file=apptest_mixins.CfnTestCasePropsMixin.OutputFileProperty( file_location="fileLocation" ) ) ), mainframe_action=apptest_mixins.CfnTestCasePropsMixin.MainframeActionProperty( action_type=apptest_mixins.CfnTestCasePropsMixin.MainframeActionTypeProperty( batch=apptest_mixins.CfnTestCasePropsMixin.BatchProperty( batch_job_name="batchJobName", batch_job_parameters={ "batch_job_parameters_key": "batchJobParameters" }, export_data_set_names=["exportDataSetNames"] ), tn3270=apptest_mixins.CfnTestCasePropsMixin.TN3270Property( export_data_set_names=["exportDataSetNames"], script=apptest_mixins.CfnTestCasePropsMixin.ScriptProperty( script_location="scriptLocation", type="type" ) ) ), properties=apptest_mixins.CfnTestCasePropsMixin.MainframeActionPropertiesProperty( dms_task_arn="dmsTaskArn" ), resource="resource" ), resource_action=apptest_mixins.CfnTestCasePropsMixin.ResourceActionProperty( cloud_formation_action=apptest_mixins.CfnTestCasePropsMixin.CloudFormationActionProperty( action_type="actionType", resource="resource" ), m2_managed_application_action=apptest_mixins.CfnTestCasePropsMixin.M2ManagedApplicationActionProperty( action_type="actionType", properties=apptest_mixins.CfnTestCasePropsMixin.M2ManagedActionPropertiesProperty( force_stop=False, import_data_set_location="importDataSetLocation" ), resource="resource" ), m2_non_managed_application_action=apptest_mixins.CfnTestCasePropsMixin.M2NonManagedApplicationActionProperty( action_type="actionType", resource="resource" ) ) ), description="description", name="name" )], tags={ "tags_key": "tags" } ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::AppTest::TestCase.- Parameters:
props (
Union[CfnTestCaseMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['description', 'name', 'steps', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
BatchProperty
- class CfnTestCasePropsMixin.BatchProperty(*, batch_job_name=None, batch_job_parameters=None, export_data_set_names=None)
Bases:
objectDefines a batch.
- Parameters:
batch_job_name (
Optional[str]) – The job name of the batch.batch_job_parameters (
Union[Mapping[str,str],IResolvable,None]) – The batch job parameters of the batch.export_data_set_names (
Optional[Sequence[str]]) – The export data set names of the batch.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins batch_property = apptest_mixins.CfnTestCasePropsMixin.BatchProperty( batch_job_name="batchJobName", batch_job_parameters={ "batch_job_parameters_key": "batchJobParameters" }, export_data_set_names=["exportDataSetNames"] )
Attributes
- batch_job_name
The job name of the batch.
- batch_job_parameters
The batch job parameters of the batch.
- export_data_set_names
The export data set names of the batch.
CloudFormationActionProperty
- class CfnTestCasePropsMixin.CloudFormationActionProperty(*, action_type=None, resource=None)
Bases:
objectSpecifies the CloudFormation action.
- Parameters:
action_type (
Optional[str]) – The action type of the CloudFormation action.resource (
Optional[str]) – The resource of the CloudFormation action.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins cloud_formation_action_property = apptest_mixins.CfnTestCasePropsMixin.CloudFormationActionProperty( action_type="actionType", resource="resource" )
Attributes
- action_type
The action type of the CloudFormation action.
- resource
The resource of the CloudFormation action.
CompareActionProperty
- class CfnTestCasePropsMixin.CompareActionProperty(*, input=None, output=None)
Bases:
objectCompares the action.
- Parameters:
input (
Union[IResolvable,InputProperty,Dict[str,Any],None]) – The input of the compare action.output (
Union[IResolvable,OutputProperty,Dict[str,Any],None]) – The output of the compare action.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins compare_action_property = apptest_mixins.CfnTestCasePropsMixin.CompareActionProperty( input=apptest_mixins.CfnTestCasePropsMixin.InputProperty( file=apptest_mixins.CfnTestCasePropsMixin.InputFileProperty( file_metadata=apptest_mixins.CfnTestCasePropsMixin.FileMetadataProperty( database_cdc=apptest_mixins.CfnTestCasePropsMixin.DatabaseCDCProperty( source_metadata=apptest_mixins.CfnTestCasePropsMixin.SourceDatabaseMetadataProperty( capture_tool="captureTool", type="type" ), target_metadata=apptest_mixins.CfnTestCasePropsMixin.TargetDatabaseMetadataProperty( capture_tool="captureTool", type="type" ) ), data_sets=[apptest_mixins.CfnTestCasePropsMixin.DataSetProperty( ccsid="ccsid", format="format", length=123, name="name", type="type" )] ), source_location="sourceLocation", target_location="targetLocation" ) ), output=apptest_mixins.CfnTestCasePropsMixin.OutputProperty( file=apptest_mixins.CfnTestCasePropsMixin.OutputFileProperty( file_location="fileLocation" ) ) )
Attributes
- input
The input of the compare action.
- output
The output of the compare action.
DataSetProperty
- class CfnTestCasePropsMixin.DataSetProperty(*, ccsid=None, format=None, length=None, name=None, type=None)
Bases:
objectDefines a data set.
- Parameters:
ccsid (
Optional[str]) – The CCSID of the data set.format (
Optional[str]) – The format of the data set.length (
Union[int,float,None]) – The length of the data set.name (
Optional[str]) – The name of the data set.type (
Optional[str]) – The type of the data set.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins data_set_property = apptest_mixins.CfnTestCasePropsMixin.DataSetProperty( ccsid="ccsid", format="format", length=123, name="name", type="type" )
Attributes
- ccsid
The CCSID of the data set.
- format
The format of the data set.
- length
The length of the data set.
- name
The name of the data set.
- type
The type of the data set.
DatabaseCDCProperty
- class CfnTestCasePropsMixin.DatabaseCDCProperty(*, source_metadata=None, target_metadata=None)
Bases:
objectDefines the Change Data Capture (CDC) of the database.
- Parameters:
source_metadata (
Union[IResolvable,SourceDatabaseMetadataProperty,Dict[str,Any],None]) – The source metadata of the database CDC.target_metadata (
Union[IResolvable,TargetDatabaseMetadataProperty,Dict[str,Any],None]) – The target metadata of the database CDC.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins database_cDCProperty = apptest_mixins.CfnTestCasePropsMixin.DatabaseCDCProperty( source_metadata=apptest_mixins.CfnTestCasePropsMixin.SourceDatabaseMetadataProperty( capture_tool="captureTool", type="type" ), target_metadata=apptest_mixins.CfnTestCasePropsMixin.TargetDatabaseMetadataProperty( capture_tool="captureTool", type="type" ) )
Attributes
- source_metadata
The source metadata of the database CDC.
- target_metadata
The target metadata of the database CDC.
FileMetadataProperty
- class CfnTestCasePropsMixin.FileMetadataProperty(*, database_cdc=None, data_sets=None)
Bases:
objectSpecifies a file metadata.
- Parameters:
database_cdc (
Union[IResolvable,DatabaseCDCProperty,Dict[str,Any],None]) – The database CDC of the file metadata.data_sets (
Union[IResolvable,Sequence[Union[IResolvable,DataSetProperty,Dict[str,Any]]],None]) – The data sets of the file metadata.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins file_metadata_property = apptest_mixins.CfnTestCasePropsMixin.FileMetadataProperty( database_cdc=apptest_mixins.CfnTestCasePropsMixin.DatabaseCDCProperty( source_metadata=apptest_mixins.CfnTestCasePropsMixin.SourceDatabaseMetadataProperty( capture_tool="captureTool", type="type" ), target_metadata=apptest_mixins.CfnTestCasePropsMixin.TargetDatabaseMetadataProperty( capture_tool="captureTool", type="type" ) ), data_sets=[apptest_mixins.CfnTestCasePropsMixin.DataSetProperty( ccsid="ccsid", format="format", length=123, name="name", type="type" )] )
Attributes
- data_sets
The data sets of the file metadata.
- database_cdc
The database CDC of the file metadata.
InputFileProperty
- class CfnTestCasePropsMixin.InputFileProperty(*, file_metadata=None, source_location=None, target_location=None)
Bases:
objectSpecifies the input file.
- Parameters:
file_metadata (
Union[IResolvable,FileMetadataProperty,Dict[str,Any],None]) – The file metadata of the input file.source_location (
Optional[str]) – The source location of the input file.target_location (
Optional[str]) – The target location of the input file.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins input_file_property = apptest_mixins.CfnTestCasePropsMixin.InputFileProperty( file_metadata=apptest_mixins.CfnTestCasePropsMixin.FileMetadataProperty( database_cdc=apptest_mixins.CfnTestCasePropsMixin.DatabaseCDCProperty( source_metadata=apptest_mixins.CfnTestCasePropsMixin.SourceDatabaseMetadataProperty( capture_tool="captureTool", type="type" ), target_metadata=apptest_mixins.CfnTestCasePropsMixin.TargetDatabaseMetadataProperty( capture_tool="captureTool", type="type" ) ), data_sets=[apptest_mixins.CfnTestCasePropsMixin.DataSetProperty( ccsid="ccsid", format="format", length=123, name="name", type="type" )] ), source_location="sourceLocation", target_location="targetLocation" )
Attributes
- file_metadata
The file metadata of the input file.
- source_location
The source location of the input file.
- target_location
The target location of the input file.
InputProperty
- class CfnTestCasePropsMixin.InputProperty(*, file=None)
Bases:
objectSpecifies the input.
- Parameters:
file (
Union[IResolvable,InputFileProperty,Dict[str,Any],None]) – The file in the input.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins input_property = apptest_mixins.CfnTestCasePropsMixin.InputProperty( file=apptest_mixins.CfnTestCasePropsMixin.InputFileProperty( file_metadata=apptest_mixins.CfnTestCasePropsMixin.FileMetadataProperty( database_cdc=apptest_mixins.CfnTestCasePropsMixin.DatabaseCDCProperty( source_metadata=apptest_mixins.CfnTestCasePropsMixin.SourceDatabaseMetadataProperty( capture_tool="captureTool", type="type" ), target_metadata=apptest_mixins.CfnTestCasePropsMixin.TargetDatabaseMetadataProperty( capture_tool="captureTool", type="type" ) ), data_sets=[apptest_mixins.CfnTestCasePropsMixin.DataSetProperty( ccsid="ccsid", format="format", length=123, name="name", type="type" )] ), source_location="sourceLocation", target_location="targetLocation" ) )
Attributes
M2ManagedActionPropertiesProperty
- class CfnTestCasePropsMixin.M2ManagedActionPropertiesProperty(*, force_stop=None, import_data_set_location=None)
Bases:
objectSpecifies the Mainframe Modernization managed action properties.
- Parameters:
force_stop (
Union[bool,IResolvable,None]) – Force stops the Mainframe Modernization managed action properties.import_data_set_location (
Optional[str]) – The import data set location of the Mainframe Modernization managed action properties.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins m2_managed_action_properties_property = apptest_mixins.CfnTestCasePropsMixin.M2ManagedActionPropertiesProperty( force_stop=False, import_data_set_location="importDataSetLocation" )
Attributes
- force_stop
Force stops the Mainframe Modernization managed action properties.
- import_data_set_location
The import data set location of the Mainframe Modernization managed action properties.
M2ManagedApplicationActionProperty
- class CfnTestCasePropsMixin.M2ManagedApplicationActionProperty(*, action_type=None, properties=None, resource=None)
Bases:
objectSpecifies the Mainframe Modernization managed application action.
- Parameters:
action_type (
Optional[str]) – The action type of the Mainframe Modernization managed application action.properties (
Union[IResolvable,M2ManagedActionPropertiesProperty,Dict[str,Any],None]) – The properties of the Mainframe Modernization managed application action.resource (
Optional[str]) – The resource of the Mainframe Modernization managed application action.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins m2_managed_application_action_property = apptest_mixins.CfnTestCasePropsMixin.M2ManagedApplicationActionProperty( action_type="actionType", properties=apptest_mixins.CfnTestCasePropsMixin.M2ManagedActionPropertiesProperty( force_stop=False, import_data_set_location="importDataSetLocation" ), resource="resource" )
Attributes
- action_type
The action type of the Mainframe Modernization managed application action.
- properties
The properties of the Mainframe Modernization managed application action.
- resource
The resource of the Mainframe Modernization managed application action.
M2NonManagedApplicationActionProperty
- class CfnTestCasePropsMixin.M2NonManagedApplicationActionProperty(*, action_type=None, resource=None)
Bases:
objectSpecifies the Mainframe Modernization non-managed application action.
- Parameters:
action_type (
Optional[str]) – The action type of the Mainframe Modernization non-managed application action.resource (
Optional[str]) – The resource of the Mainframe Modernization non-managed application action.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins m2_non_managed_application_action_property = apptest_mixins.CfnTestCasePropsMixin.M2NonManagedApplicationActionProperty( action_type="actionType", resource="resource" )
Attributes
- action_type
The action type of the Mainframe Modernization non-managed application action.
- resource
The resource of the Mainframe Modernization non-managed application action.
MainframeActionPropertiesProperty
- class CfnTestCasePropsMixin.MainframeActionPropertiesProperty(*, dms_task_arn=None)
Bases:
objectSpecifies the mainframe action properties.
- Parameters:
dms_task_arn (
Optional[str]) – The DMS task ARN of the mainframe action properties.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins mainframe_action_properties_property = apptest_mixins.CfnTestCasePropsMixin.MainframeActionPropertiesProperty( dms_task_arn="dmsTaskArn" )
Attributes
- dms_task_arn
The DMS task ARN of the mainframe action properties.
MainframeActionProperty
- class CfnTestCasePropsMixin.MainframeActionProperty(*, action_type=None, properties=None, resource=None)
Bases:
objectSpecifies the mainframe action.
- Parameters:
action_type (
Union[IResolvable,MainframeActionTypeProperty,Dict[str,Any],None]) – The action type of the mainframe action.properties (
Union[IResolvable,MainframeActionPropertiesProperty,Dict[str,Any],None]) – The properties of the mainframe action.resource (
Optional[str]) – The resource of the mainframe action.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins mainframe_action_property = apptest_mixins.CfnTestCasePropsMixin.MainframeActionProperty( action_type=apptest_mixins.CfnTestCasePropsMixin.MainframeActionTypeProperty( batch=apptest_mixins.CfnTestCasePropsMixin.BatchProperty( batch_job_name="batchJobName", batch_job_parameters={ "batch_job_parameters_key": "batchJobParameters" }, export_data_set_names=["exportDataSetNames"] ), tn3270=apptest_mixins.CfnTestCasePropsMixin.TN3270Property( export_data_set_names=["exportDataSetNames"], script=apptest_mixins.CfnTestCasePropsMixin.ScriptProperty( script_location="scriptLocation", type="type" ) ) ), properties=apptest_mixins.CfnTestCasePropsMixin.MainframeActionPropertiesProperty( dms_task_arn="dmsTaskArn" ), resource="resource" )
Attributes
- action_type
The action type of the mainframe action.
- properties
The properties of the mainframe action.
- resource
The resource of the mainframe action.
MainframeActionTypeProperty
- class CfnTestCasePropsMixin.MainframeActionTypeProperty(*, batch=None, tn3270=None)
Bases:
objectSpecifies the mainframe action type.
- Parameters:
batch (
Union[IResolvable,BatchProperty,Dict[str,Any],None]) – The batch of the mainframe action type.tn3270 (
Union[IResolvable,TN3270Property,Dict[str,Any],None]) – The tn3270 port of the mainframe action type.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins mainframe_action_type_property = apptest_mixins.CfnTestCasePropsMixin.MainframeActionTypeProperty( batch=apptest_mixins.CfnTestCasePropsMixin.BatchProperty( batch_job_name="batchJobName", batch_job_parameters={ "batch_job_parameters_key": "batchJobParameters" }, export_data_set_names=["exportDataSetNames"] ), tn3270=apptest_mixins.CfnTestCasePropsMixin.TN3270Property( export_data_set_names=["exportDataSetNames"], script=apptest_mixins.CfnTestCasePropsMixin.ScriptProperty( script_location="scriptLocation", type="type" ) ) )
Attributes
- batch
The batch of the mainframe action type.
- tn3270
The tn3270 port of the mainframe action type.
OutputFileProperty
- class CfnTestCasePropsMixin.OutputFileProperty(*, file_location=None)
Bases:
objectSpecifies an output file.
- Parameters:
file_location (
Optional[str]) – The file location of the output file.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins output_file_property = apptest_mixins.CfnTestCasePropsMixin.OutputFileProperty( file_location="fileLocation" )
Attributes
- file_location
The file location of the output file.
OutputProperty
- class CfnTestCasePropsMixin.OutputProperty(*, file=None)
Bases:
objectSpecifies an output.
- Parameters:
file (
Union[IResolvable,OutputFileProperty,Dict[str,Any],None]) – The file of the output.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins output_property = apptest_mixins.CfnTestCasePropsMixin.OutputProperty( file=apptest_mixins.CfnTestCasePropsMixin.OutputFileProperty( file_location="fileLocation" ) )
Attributes
ResourceActionProperty
- class CfnTestCasePropsMixin.ResourceActionProperty(*, cloud_formation_action=None, m2_managed_application_action=None, m2_non_managed_application_action=None)
Bases:
objectSpecifies a resource action.
- Parameters:
cloud_formation_action (
Union[IResolvable,CloudFormationActionProperty,Dict[str,Any],None]) – The CloudFormation action of the resource action.m2_managed_application_action (
Union[IResolvable,M2ManagedApplicationActionProperty,Dict[str,Any],None]) – The Mainframe Modernization managed application action of the resource action.m2_non_managed_application_action (
Union[IResolvable,M2NonManagedApplicationActionProperty,Dict[str,Any],None]) – The Mainframe Modernization non-managed application action of the resource action.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins resource_action_property = apptest_mixins.CfnTestCasePropsMixin.ResourceActionProperty( cloud_formation_action=apptest_mixins.CfnTestCasePropsMixin.CloudFormationActionProperty( action_type="actionType", resource="resource" ), m2_managed_application_action=apptest_mixins.CfnTestCasePropsMixin.M2ManagedApplicationActionProperty( action_type="actionType", properties=apptest_mixins.CfnTestCasePropsMixin.M2ManagedActionPropertiesProperty( force_stop=False, import_data_set_location="importDataSetLocation" ), resource="resource" ), m2_non_managed_application_action=apptest_mixins.CfnTestCasePropsMixin.M2NonManagedApplicationActionProperty( action_type="actionType", resource="resource" ) )
Attributes
- cloud_formation_action
The CloudFormation action of the resource action.
- m2_managed_application_action
The Mainframe Modernization managed application action of the resource action.
- m2_non_managed_application_action
The Mainframe Modernization non-managed application action of the resource action.
ScriptProperty
- class CfnTestCasePropsMixin.ScriptProperty(*, script_location=None, type=None)
Bases:
objectSpecifies the script.
- Parameters:
script_location (
Optional[str]) – The script location of the scripts.type (
Optional[str]) – The type of the scripts.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins script_property = apptest_mixins.CfnTestCasePropsMixin.ScriptProperty( script_location="scriptLocation", type="type" )
Attributes
- script_location
The script location of the scripts.
- type
The type of the scripts.
SourceDatabaseMetadataProperty
- class CfnTestCasePropsMixin.SourceDatabaseMetadataProperty(*, capture_tool=None, type=None)
Bases:
objectSpecifies the source database metadata.
- Parameters:
capture_tool (
Optional[str]) – The capture tool of the source database metadata.type (
Optional[str]) – The type of the source database metadata.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins source_database_metadata_property = apptest_mixins.CfnTestCasePropsMixin.SourceDatabaseMetadataProperty( capture_tool="captureTool", type="type" )
Attributes
- capture_tool
The capture tool of the source database metadata.
- type
The type of the source database metadata.
StepActionProperty
- class CfnTestCasePropsMixin.StepActionProperty(*, compare_action=None, mainframe_action=None, resource_action=None)
Bases:
objectSpecifies a step action.
- Parameters:
compare_action (
Union[IResolvable,CompareActionProperty,Dict[str,Any],None]) – The compare action of the step action.mainframe_action (
Union[IResolvable,MainframeActionProperty,Dict[str,Any],None]) – The mainframe action of the step action.resource_action (
Union[IResolvable,ResourceActionProperty,Dict[str,Any],None]) – The resource action of the step action.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins step_action_property = apptest_mixins.CfnTestCasePropsMixin.StepActionProperty( compare_action=apptest_mixins.CfnTestCasePropsMixin.CompareActionProperty( input=apptest_mixins.CfnTestCasePropsMixin.InputProperty( file=apptest_mixins.CfnTestCasePropsMixin.InputFileProperty( file_metadata=apptest_mixins.CfnTestCasePropsMixin.FileMetadataProperty( database_cdc=apptest_mixins.CfnTestCasePropsMixin.DatabaseCDCProperty( source_metadata=apptest_mixins.CfnTestCasePropsMixin.SourceDatabaseMetadataProperty( capture_tool="captureTool", type="type" ), target_metadata=apptest_mixins.CfnTestCasePropsMixin.TargetDatabaseMetadataProperty( capture_tool="captureTool", type="type" ) ), data_sets=[apptest_mixins.CfnTestCasePropsMixin.DataSetProperty( ccsid="ccsid", format="format", length=123, name="name", type="type" )] ), source_location="sourceLocation", target_location="targetLocation" ) ), output=apptest_mixins.CfnTestCasePropsMixin.OutputProperty( file=apptest_mixins.CfnTestCasePropsMixin.OutputFileProperty( file_location="fileLocation" ) ) ), mainframe_action=apptest_mixins.CfnTestCasePropsMixin.MainframeActionProperty( action_type=apptest_mixins.CfnTestCasePropsMixin.MainframeActionTypeProperty( batch=apptest_mixins.CfnTestCasePropsMixin.BatchProperty( batch_job_name="batchJobName", batch_job_parameters={ "batch_job_parameters_key": "batchJobParameters" }, export_data_set_names=["exportDataSetNames"] ), tn3270=apptest_mixins.CfnTestCasePropsMixin.TN3270Property( export_data_set_names=["exportDataSetNames"], script=apptest_mixins.CfnTestCasePropsMixin.ScriptProperty( script_location="scriptLocation", type="type" ) ) ), properties=apptest_mixins.CfnTestCasePropsMixin.MainframeActionPropertiesProperty( dms_task_arn="dmsTaskArn" ), resource="resource" ), resource_action=apptest_mixins.CfnTestCasePropsMixin.ResourceActionProperty( cloud_formation_action=apptest_mixins.CfnTestCasePropsMixin.CloudFormationActionProperty( action_type="actionType", resource="resource" ), m2_managed_application_action=apptest_mixins.CfnTestCasePropsMixin.M2ManagedApplicationActionProperty( action_type="actionType", properties=apptest_mixins.CfnTestCasePropsMixin.M2ManagedActionPropertiesProperty( force_stop=False, import_data_set_location="importDataSetLocation" ), resource="resource" ), m2_non_managed_application_action=apptest_mixins.CfnTestCasePropsMixin.M2NonManagedApplicationActionProperty( action_type="actionType", resource="resource" ) ) )
Attributes
- compare_action
The compare action of the step action.
- mainframe_action
The mainframe action of the step action.
- resource_action
The resource action of the step action.
StepProperty
- class CfnTestCasePropsMixin.StepProperty(*, action=None, description=None, name=None)
Bases:
objectDefines a step.
- Parameters:
action (
Union[IResolvable,StepActionProperty,Dict[str,Any],None]) – The action of the step.description (
Optional[str]) – The description of the step.name (
Optional[str]) – The name of the step.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins step_property = apptest_mixins.CfnTestCasePropsMixin.StepProperty( action=apptest_mixins.CfnTestCasePropsMixin.StepActionProperty( compare_action=apptest_mixins.CfnTestCasePropsMixin.CompareActionProperty( input=apptest_mixins.CfnTestCasePropsMixin.InputProperty( file=apptest_mixins.CfnTestCasePropsMixin.InputFileProperty( file_metadata=apptest_mixins.CfnTestCasePropsMixin.FileMetadataProperty( database_cdc=apptest_mixins.CfnTestCasePropsMixin.DatabaseCDCProperty( source_metadata=apptest_mixins.CfnTestCasePropsMixin.SourceDatabaseMetadataProperty( capture_tool="captureTool", type="type" ), target_metadata=apptest_mixins.CfnTestCasePropsMixin.TargetDatabaseMetadataProperty( capture_tool="captureTool", type="type" ) ), data_sets=[apptest_mixins.CfnTestCasePropsMixin.DataSetProperty( ccsid="ccsid", format="format", length=123, name="name", type="type" )] ), source_location="sourceLocation", target_location="targetLocation" ) ), output=apptest_mixins.CfnTestCasePropsMixin.OutputProperty( file=apptest_mixins.CfnTestCasePropsMixin.OutputFileProperty( file_location="fileLocation" ) ) ), mainframe_action=apptest_mixins.CfnTestCasePropsMixin.MainframeActionProperty( action_type=apptest_mixins.CfnTestCasePropsMixin.MainframeActionTypeProperty( batch=apptest_mixins.CfnTestCasePropsMixin.BatchProperty( batch_job_name="batchJobName", batch_job_parameters={ "batch_job_parameters_key": "batchJobParameters" }, export_data_set_names=["exportDataSetNames"] ), tn3270=apptest_mixins.CfnTestCasePropsMixin.TN3270Property( export_data_set_names=["exportDataSetNames"], script=apptest_mixins.CfnTestCasePropsMixin.ScriptProperty( script_location="scriptLocation", type="type" ) ) ), properties=apptest_mixins.CfnTestCasePropsMixin.MainframeActionPropertiesProperty( dms_task_arn="dmsTaskArn" ), resource="resource" ), resource_action=apptest_mixins.CfnTestCasePropsMixin.ResourceActionProperty( cloud_formation_action=apptest_mixins.CfnTestCasePropsMixin.CloudFormationActionProperty( action_type="actionType", resource="resource" ), m2_managed_application_action=apptest_mixins.CfnTestCasePropsMixin.M2ManagedApplicationActionProperty( action_type="actionType", properties=apptest_mixins.CfnTestCasePropsMixin.M2ManagedActionPropertiesProperty( force_stop=False, import_data_set_location="importDataSetLocation" ), resource="resource" ), m2_non_managed_application_action=apptest_mixins.CfnTestCasePropsMixin.M2NonManagedApplicationActionProperty( action_type="actionType", resource="resource" ) ) ), description="description", name="name" )
Attributes
- action
The action of the step.
- description
The description of the step.
TN3270Property
- class CfnTestCasePropsMixin.TN3270Property(*, export_data_set_names=None, script=None)
Bases:
objectSpecifies the TN3270 protocol.
- Parameters:
export_data_set_names (
Optional[Sequence[str]]) – The data set names of the TN3270 protocol.script (
Union[IResolvable,ScriptProperty,Dict[str,Any],None]) – The script of the TN3270 protocol.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins t_n3270_property = apptest_mixins.CfnTestCasePropsMixin.TN3270Property( export_data_set_names=["exportDataSetNames"], script=apptest_mixins.CfnTestCasePropsMixin.ScriptProperty( script_location="scriptLocation", type="type" ) )
Attributes
- export_data_set_names
The data set names of the TN3270 protocol.
- script
The script of the TN3270 protocol.
TargetDatabaseMetadataProperty
- class CfnTestCasePropsMixin.TargetDatabaseMetadataProperty(*, capture_tool=None, type=None)
Bases:
objectSpecifies a target database metadata.
- Parameters:
capture_tool (
Optional[str]) – The capture tool of the target database metadata.type (
Optional[str]) – The type of the target database metadata.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins target_database_metadata_property = apptest_mixins.CfnTestCasePropsMixin.TargetDatabaseMetadataProperty( capture_tool="captureTool", type="type" )
Attributes
- capture_tool
The capture tool of the target database metadata.
- type
The type of the target database metadata.
TestCaseLatestVersionProperty
- class CfnTestCasePropsMixin.TestCaseLatestVersionProperty(*, status=None, version=None)
Bases:
objectSpecifies the latest version of a test case.
- Parameters:
status (
Optional[str]) – The status of the test case latest version.version (
Union[int,float,None]) – The version of the test case latest version.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_apptest import mixins as apptest_mixins test_case_latest_version_property = apptest_mixins.CfnTestCasePropsMixin.TestCaseLatestVersionProperty( status="status", version=123 )
Attributes
- status
The status of the test case latest version.
- version
The version of the test case latest version.