# MountSourceProperty

The data source configuration for a mount.

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

TypeScript:

```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 mountSourceProperty: iotsitewise.CfnTask.MountSourceProperty = {
  s3AccessPoint: {
    accessPointArn: 'accessPointArn',

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

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotsitewise as iotsitewise

mount_source_property = iotsitewise.CfnTask.MountSourceProperty(
    s3_access_point=iotsitewise.CfnTask.S3AccessPointSourceProperty(
        access_point_arn="accessPointArn",

        # the properties below are optional
        prefix="prefix"
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotsitewise.*;

MountSourceProperty mountSourceProperty = MountSourceProperty.builder()
        .s3AccessPoint(S3AccessPointSourceProperty.builder()
                .accessPointArn("accessPointArn")

                // the properties below are optional
                .prefix("prefix")
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTSiteWise;

var mountSourceProperty = new MountSourceProperty {
    S3AccessPoint = new S3AccessPointSourceProperty {
        AccessPointArn = "accessPointArn",

        // the properties below are optional
        Prefix = "prefix"
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

mountSourceProperty := &MountSourceProperty{
	S3AccessPoint: &S3AccessPointSourceProperty{
		AccessPointArn: jsii.String("accessPointArn"),

		// the properties below are optional
		Prefix: jsii.String("prefix"),
	},
}
```

## Properties

- `s3AccessPoint`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTask.S3AccessPointSourceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iotsitewise.CfnTask.S3AccessPointSourceProperty.html) (required) — Configures a mount that reads from an Amazon S3 access point.
