Skip to content
v2.273.0

ModelExplainabilityJobInputProperty Struct ​

Inputs for the model explainability job.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const modelExplainabilityJobInputProperty: sagemaker.CfnModelExplainabilityJobDefinition.ModelExplainabilityJobInputProperty = {
  batchTransformInput: {
    dataCapturedDestinationS3Uri: 'dataCapturedDestinationS3Uri',
    datasetFormat: {
      csv: {
        header: false,
      },
      json: {
        line: false,
      },
      parquet: false,
    },
    localPath: 'localPath',

    // the properties below are optional
    featuresAttribute: 'featuresAttribute',
    inferenceAttribute: 'inferenceAttribute',
    probabilityAttribute: 'probabilityAttribute',
    s3DataDistributionType: 's3DataDistributionType',
    s3InputMode: 's3InputMode',
  },
  endpointInput: {
    endpointName: 'endpointName',
    localPath: 'localPath',

    // the properties below are optional
    featuresAttribute: 'featuresAttribute',
    inferenceAttribute: 'inferenceAttribute',
    probabilityAttribute: 'probabilityAttribute',
    s3DataDistributionType: 's3DataDistributionType',
    s3InputMode: 's3InputMode',
  },
};

Properties ​

batchTransformInputIResolvable | CfnModelExplainabilityJobDefinition.BatchTransformInputPropertybatch_transform_inputtyping.Union[IResolvable, BatchTransformInputProperty]batchTransformInputIResolvableBatchTransformInputIResolvableBatchTransformInputinterface{}#
Input object for the batch transform job.
endpointInputIResolvable | CfnModelExplainabilityJobDefinition.EndpointInputPropertyendpoint_inputtyping.Union[IResolvable, EndpointInputProperty]endpointInputIResolvableEndpointInputIResolvableEndpointInputinterface{}#
Input object for the endpoint.