Creates an S3 access point and attaches it to an Amazon FSx volume. For FSx for OpenZFS file systems, the volume must be hosted on a high-availability file system, either Single-AZ or Multi-AZ. For more information, see Accessing your data using Amazon S3 access points. in the Amazon FSx for OpenZFS User Guide.
The requester requires the following permissions to perform these actions:
fsx:CreateAndAttachS3AccessPoint
s3:CreateAccessPoint
s3:GetAccessPoint
s3:PutAccessPointPolicy
s3:DeleteAccessPoint
The following actions are related to CreateAndAttachS3AccessPoint
:
{
"ClientRequestToken": "string
",
"Name": "string
",
"OpenZFSConfiguration": {
"FileSystemIdentity": {
"PosixUser": {
"Gid": number
,
"SecondaryGids": [ number
],
"Uid": number
},
"Type": "string
"
},
"VolumeId": "string
"
},
"S3AccessPoint": {
"Policy": "string
",
"VpcConfiguration": {
"VpcId": "string
"
}
},
"Type": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern: [A-za-z0-9_.-]{0,63}$
Required: No
The name you want to assign to this S3 access point.
Type: String
Length Constraints: Minimum length of 3. Maximum length of 50.
Pattern: ^(?=[a-z0-9])[a-z0-9-]{1,48}[a-z0-9]$
Required: Yes
Specifies the configuration to use when creating and attaching an S3 access point to an FSx for OpenZFS volume.
Type: CreateAndAttachS3AccessPointOpenZFSConfiguration object
Required: No
Specifies the virtual private cloud (VPC) configuration if you're creating an access point that is restricted to a VPC. For more information, see Creating access points restricted to a virtual private cloud.
Type: CreateAndAttachS3AccessPointS3Configuration object
Required: No
The type of S3 access point you want to create. Only OpenZFS
is supported.
Type: String
Valid Values: OPENZFS
Required: Yes
{
"S3AccessPointAttachment": {
"CreationTime": number,
"Lifecycle": "string",
"LifecycleTransitionReason": {
"Message": "string"
},
"Name": "string",
"OpenZFSConfiguration": {
"FileSystemIdentity": {
"PosixUser": {
"Gid": number,
"SecondaryGids": [ number ],
"Uid": number
},
"Type": "string"
},
"VolumeId": "string"
},
"S3AccessPoint": {
"Alias": "string",
"ResourceARN": "string",
"VpcConfiguration": {
"VpcId": "string"
}
},
"Type": "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
ErrorsFor information about the errors that are common to all actions, see Common Errors.
An access point with that name already exists in the AWS Region in your AWS account.
HTTP Status Code: 400
A generic error indicating a failure with a client request.
HTTP Status Code: 400
The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.
HTTP Status Code: 400
A generic error indicating a server-side failure.
HTTP Status Code: 500
The access point specified doesn't exist.
HTTP Status Code: 400
The action or operation requested is invalid. Verify that the action is typed correctly.
HTTP Status Code: 400
You have reached the maximum number of S3 access points attachments allowed for your account in this AWS Region, or for the file system. For more information, or to request an increase, see Service quotas on FSx resources in the FSx for OpenZFS User Guide.
HTTP Status Code: 400
The requested operation is not supported for this resource or API.
HTTP Status Code: 400
No Amazon FSx volumes were found based upon the supplied parameters.
HTTP Status Code: 400
For more information about using this API in one of the language-specific AWS SDKs, see the following:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4