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

NameResourceAccessible byRequired Params
create_resources3access_point_attachmentsINSERTName, Type, OpenZFSConfiguration, region
delete_resources3access_point_attachmentsDELETEIdentifier, region
list_resourcess3access_point_attachments_list_onlySELECTregion
get_resources3access_point_attachmentsSELECTIdentifier, 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
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 }}',
'{{ open_zf_sconfiguration }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.fsx.s3access_point_attachments
WHERE
Identifier = '{{ name }}' AND
region = 'us-east-1';

Permissions

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

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