AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates an access point and associates it to a specified bucket. For more information, see Managing access to shared datasets with access points or Managing access to shared datasets in directory buckets with access points in the Amazon S3 User Guide.

To create an access point and attach it to a volume on an Amazon FSx file system, see CreateAndAttachS3AccessPoint in the Amazon FSx API Reference.

S3 on Outposts only supports VPC-style access points.

For more information, see Accessing Amazon S3 on Outposts using virtual private cloud (VPC) only access points in the Amazon S3 User Guide.

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

The following actions are related to CreateAccessPoint:

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateAccessPointAsync.

Namespace: Amazon.S3Control
Assembly: AWSSDK.S3Control.dll
Version: 3.x.y.z

Syntax

C#
public virtual CreateAccessPointResponse CreateAccessPoint(
         CreateAccessPointRequest request
)

Parameters

request
Type: Amazon.S3Control.Model.CreateAccessPointRequest

Container for the necessary parameters to execute the CreateAccessPoint service method.

Return Value


The response from the CreateAccessPoint service method, as returned by S3Control.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also