CfnTestCaseMixinProps

class aws_cdk.mixins_preview.aws_apptest.mixins.CfnTestCaseMixinProps(*, description=None, name=None, steps=None, tags=None)

Bases: object

Properties for CfnTestCasePropsMixin.

Parameters:
  • description (Optional[str]) – The description of the test case.

  • name (Optional[str]) – The name of the test case.

  • steps (Union[IResolvable, Sequence[Union[IResolvable, StepProperty, Dict[str, Any]]], None]) – The steps in the test case.

  • tags (Optional[Mapping[str, str]]) – The specified tags of the test case.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html

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

cfn_test_case_mixin_props = 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"
    }
)

Attributes

description

The description of the test case.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-description

name

The name of the test case.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-name

steps

The steps in the test case.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-steps

tags

The specified tags of the test case.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apptest-testcase.html#cfn-apptest-testcase-tags