# EndpointInputProperty

Input object for the endpoint.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 endpointInputProperty: sagemaker.CfnModelExplainabilityJobDefinition.EndpointInputProperty = {
  endpointName: 'endpointName',
  localPath: 'localPath',

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

## Properties

- `endpointName`: string (required) — An endpoint in customer's account which has enabled `DataCaptureConfig` enabled.

- `featuresAttribute`: string — The attributes of the input data that are the input features.

- `inferenceAttribute`: string — The attribute of the input data that represents the ground truth label.

- `localPath`: string (required) — Path to the filesystem where the endpoint data is available to the container.

- `probabilityAttribute`: string — In a classification problem, the attribute that represents the class probability.

- `s3DataDistributionType`: string — Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key.

  Defaults to `FullyReplicated`

- `s3InputMode`: string — Whether the `Pipe` or `File` is used as the input mode for transferring data for the monitoring job.

  `Pipe` mode is recommended for large datasets. `File` mode is useful for small files that fit in memory. Defaults to `File` .
