Skip to main content

and_attach_s3_access_points

Creates, updates, deletes, gets or lists an and_attach_s3_access_points resource.

Overview

Nameand_attach_s3_access_points
TypeResource
Idaws.fsx.and_attach_s3_access_points

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_and_attach_s3_access_pointinsertregion, Name, TypeCreates 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: DescribeS3AccessPointAttachments DetachAndDeleteS3AccessPoint

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

INSERT examples

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: DescribeS3AccessPointAttachments DetachAndDeleteS3AccessPoint

INSERT INTO aws.fsx.and_attach_s3_access_points (
ClientRequestToken,
Name,
Type,
OpenZFSConfiguration,
OntapConfiguration,
S3AccessPoint,
region
)
SELECT
'{{ ClientRequestToken }}',
'{{ Name }}' /* required */,
'{{ Type }}' /* required */,
'{{ OpenZFSConfiguration }}',
'{{ OntapConfiguration }}',
'{{ S3AccessPoint }}',
'{{ region }}'
RETURNING
s3_access_point_attachment
;