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 = '{{ region }}' 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 }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.fsx.s3access_point_attachments
WHERE
Identifier = '{{ name }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

Permissions

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

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