Skip to main content

s3access_point_attachments

Creates, updates, deletes or gets a s3access_point_attachment resource or lists s3access_point_attachments in a region

Overview

Names3access_point_attachments
TypeResource
DescriptionResource type definition for AWS::FSx::S3AccessPointAttachment
Idawscc.fsx.s3access_point_attachments

Fields

NameDatatypeDescription
namestringThe Name of the S3AccessPointAttachment
typestring
open_zf_sconfigurationobject
s3_access_pointobject
regionstringAWS region.

For more information, see AWS::FSx::S3AccessPointAttachment.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, Type, OpenZFSConfiguration, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual s3access_point_attachment.

SELECT
region,
name,
type,
open_zf_sconfiguration,
s3_access_point
FROM awscc.fsx.s3access_point_attachments
WHERE region = 'us-east-1' AND data__Identifier = '<Name>';

INSERT example

Use the following StackQL query and manifest file to create a new s3access_point_attachment resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.fsx.s3access_point_attachments (
Name,
Type,
OpenZFSConfiguration,
region
)
SELECT
'{{ Name }}',
'{{ Type }}',
'{{ OpenZFSConfiguration }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.fsx.s3access_point_attachments
WHERE data__Identifier = '<Name>'
AND region = 'us-east-1';

Permissions

To operate on the s3access_point_attachments resource, the following permissions are required:

Create

fsx:CreateAndAttachS3AccessPoint,
fsx:DescribeS3AccessPointAttachments,
s3:CreateAccessPoint,
s3:GetAccessPoint,
s3:PutAccessPointPolicy

Read

fsx:DescribeS3AccessPointAttachments,
s3:GetAccessPoint

Delete

fsx:DescribeS3AccessPointAttachments,
fsx:DetachAndDeleteS3AccessPoint,
s3:DeleteAccessPoint,
s3:GetAccessPoint

List

fsx:DescribeS3AccessPointAttachments,
s3:GetAccessPoint