Skip to content
v2.274.0

MainframeActionProperty Struct ​

Specifies the mainframe action.

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 mainframeActionProperty: apptest.CfnTestCase.MainframeActionProperty = {
  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',
  },
};

Properties ​

actionTypeIResolvable | CfnTestCase.MainframeActionTypePropertyaction_typetyping.Union[IResolvable, MainframeActionTypeProperty]actionTypeIResolvableActionTypeIResolvableActionTypeinterface{}required#
The action type of the mainframe action.
The properties of the mainframe action.
resourcestringresourcestrresourceStringResourcestringResource*stringrequired#
The resource of the mainframe action.