# MountProperty

Attaches a data source to the container filesystem for a task at a customer-supplied relative path under the service-owned mount root.

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
const mountProperty: iotsitewise.CfnTask.MountProperty = {
  name: 'name',
  relativePath: 'relativePath',
  source: {
    s3AccessPoint: {
      accessPointArn: 'accessPointArn',

      // the properties below are optional
      prefix: 'prefix',
    },
  },
  storageType: 'storageType',
};
```

## Properties

- `name`: string (required) — A unique name for the mount within the task.

- `relativePath`: string (required) — The relative path under the service-owned mount root where this mount is attached inside the container.

- `source`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTask.MountSourceProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iotsitewise.CfnTask.MountSourceProperty.html) (required) — The data source configuration for a mount.

- `storageType`: string (required) — The type of storage used for the mount inside the container.
