Skip to content
v2.278.0

S3AccessPointSourceProperty Struct ​

Configures a mount that reads from an Amazon S3 access point.

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 s3AccessPointSourceProperty: iotsitewise.CfnTask.S3AccessPointSourceProperty = {
  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

s3_access_point_source_property = 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.*;

S3AccessPointSourceProperty s3AccessPointSourceProperty = S3AccessPointSourceProperty.builder()
        .accessPointArn("accessPointArn")

        // the properties below are optional
        .prefix("prefix")
        .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 s3AccessPointSourceProperty = 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"

s3AccessPointSourceProperty := &S3AccessPointSourceProperty{
	AccessPointArn: jsii.String("accessPointArn"),

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

Properties ​

accessPointArnstringaccess_point_arnstraccessPointArnStringAccessPointArnstringAccessPointArn*string required #
The Amazon Resource Name (ARN) of the Amazon S3 access point.

The mount reads objects from the bucket associated with this access point. Access is governed by the access point policy and the task execution role's IAM permissions.

prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string #
An object key name prefix.

If specified, the mount includes only objects whose keys begin with this prefix. To include all objects at the access point, omit this field.