

# AccessPoint
<a name="API_control_AccessPoint"></a>

An access point used to access a bucket.

## Contents
<a name="API_control_AccessPoint_Contents"></a>

 ** Bucket **   <a name="AmazonS3-Type-control_AccessPoint-Bucket"></a>
The name of the bucket associated with this access point.  
Type: String  
Length Constraints: Maximum length of 255.  
Required: Yes

 ** Name **   <a name="AmazonS3-Type-control_AccessPoint-Name"></a>
The name of this access point.  
Type: String  
Length Constraints: Minimum length of 3. Maximum length of 255.  
Required: Yes

 ** NetworkOrigin **   <a name="AmazonS3-Type-control_AccessPoint-NetworkOrigin"></a>
Indicates whether this access point allows access from the public internet. If `VpcConfiguration` is specified for this access point, then `NetworkOrigin` is `VPC`, and the access point doesn't allow access from the public internet. Otherwise, `NetworkOrigin` is `Internet`, and the access point allows access from the public internet, subject to the access point and bucket access policies.  
Type: String  
Valid Values: `Internet | VPC`   
Required: Yes

 ** AccessPointArn **   <a name="AmazonS3-Type-control_AccessPoint-AccessPointArn"></a>
The ARN for the access point.  
Type: String  
Length Constraints: Minimum length of 4. Maximum length of 128.  
Required: No

 ** Alias **   <a name="AmazonS3-Type-control_AccessPoint-Alias"></a>
The name or alias of the access point.  
Type: String  
Length Constraints: Maximum length of 63.  
Pattern: `^[0-9a-z\\-]{63}`   
Required: No

 ** BucketAccountId **   <a name="AmazonS3-Type-control_AccessPoint-BucketAccountId"></a>
The Amazon Web Services account ID associated with the S3 bucket associated with this access point.  
Type: String  
Length Constraints: Maximum length of 64.  
Pattern: `^\d{12}$`   
Required: No

 ** DataSourceId **   <a name="AmazonS3-Type-control_AccessPoint-DataSourceId"></a>
A unique identifier for the data source of the access point.  
Type: String  
Length Constraints: Maximum length of 191.  
Required: No

 ** DataSourceType **   <a name="AmazonS3-Type-control_AccessPoint-DataSourceType"></a>
The type of the data source that the access point is attached to.  
Type: String  
Required: No

 ** VpcConfiguration **   <a name="AmazonS3-Type-control_AccessPoint-VpcConfiguration"></a>
The virtual private cloud (VPC) configuration for this access point, if one exists.  
This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services services.
Type: [VpcConfiguration](API_control_VpcConfiguration.md) data type  
Required: No

## See Also
<a name="API_control_AccessPoint_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/s3control-2018-08-20/AccessPoint) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/s3control-2018-08-20/AccessPoint) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/s3control-2018-08-20/AccessPoint) 