Skip to content
v2.278.0

MountSourceProperty Struct ​

The data source configuration for a mount.

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

    // the properties below are optional
    prefix: 'prefix',
  },
};
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
// 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();
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"
    }
};
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 ​

s3AccessPointIResolvable | CfnTask.S3AccessPointSourcePropertys3_access_pointtyping.Union[IResolvable, S3AccessPointSourceProperty]s3AccessPointIResolvableS3AccessPointIResolvableS3AccessPointinterface{} required #
Configures a mount that reads from an Amazon S3 access point.