Skip to content
v2.274.0

MountProperty Struct ​

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

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 ​

namestringnamestrnameStringNamestringName*stringrequired#
A unique name for the mount within the task.
relativePathstringrelative_pathstrrelativePathStringRelativePathstringRelativePath*stringrequired#
The relative path under the service-owned mount root where this mount is attached inside the container.
sourceIResolvable | CfnTask.MountSourcePropertysourcetyping.Union[IResolvable, MountSourceProperty]sourceIResolvableSourceIResolvableSourceinterface{}required#
The data source configuration for a mount.
storageTypestringstorage_typestrstorageTypeStringStorageTypestringStorageType*stringrequired#
The type of storage used for the mount inside the container.