Skip to content
v2.276.0

StepProperty Struct ​

Defines a step.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apptest as apptest } from 'aws-cdk-lib';
const stepProperty: apptest.CfnTestCase.StepProperty = {
  action: {
    compareAction: {
      input: {
        file: {
          fileMetadata: {
            databaseCdc: {
              sourceMetadata: {
                captureTool: 'captureTool',
                type: 'type',
              },
              targetMetadata: {
                captureTool: 'captureTool',
                type: 'type',
              },
            },
            dataSets: [{
              ccsid: 'ccsid',
              format: 'format',
              length: 123,
              name: 'name',
              type: 'type',
            }],
          },
          sourceLocation: 'sourceLocation',
          targetLocation: 'targetLocation',
        },
      },

      // the properties below are optional
      output: {
        file: {
          fileLocation: 'fileLocation',
        },
      },
    },
    mainframeAction: {
      actionType: {
        batch: {
          batchJobName: 'batchJobName',

          // the properties below are optional
          batchJobParameters: {
            batchJobParametersKey: 'batchJobParameters',
          },
          exportDataSetNames: ['exportDataSetNames'],
        },
        tn3270: {
          script: {
            scriptLocation: 'scriptLocation',
            type: 'type',
          },

          // the properties below are optional
          exportDataSetNames: ['exportDataSetNames'],
        },
      },
      resource: 'resource',

      // the properties below are optional
      properties: {
        dmsTaskArn: 'dmsTaskArn',
      },
    },
    resourceAction: {
      cloudFormationAction: {
        resource: 'resource',

        // the properties below are optional
        actionType: 'actionType',
      },
      m2ManagedApplicationAction: {
        actionType: 'actionType',
        resource: 'resource',

        // the properties below are optional
        properties: {
          forceStop: false,
          importDataSetLocation: 'importDataSetLocation',
        },
      },
      m2NonManagedApplicationAction: {
        actionType: 'actionType',
        resource: 'resource',
      },
    },
  },
  name: 'name',

  // the properties below are optional
  description: 'description',
};

Properties ​

actionIResolvable | CfnTestCase.StepActionPropertyactiontyping.Union[IResolvable, StepActionProperty]actionIResolvableActionIResolvableActioninterface{}required#
The action of the step.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the step.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the step.