Skip to main content

file_system_associations

Creates, updates, deletes, gets or lists a file_system_associations resource.

Overview

Namefile_system_associations
TypeResource
Idaws.storagegateway.file_system_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
file_system_association_info_listarrayAn array containing the FileSystemAssociationInfo data type of each file system association to be described.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_file_system_associationsselectregionGets the file system association information. This operation is only supported for FSx File Gateways.
list_file_system_associationsselectregionGets a list of FileSystemAssociationSummary objects. Each object contains a summary of a file system association. This operation is only supported for FSx File Gateways.
update_file_system_associationupdateregion, FileSystemAssociationARNUpdates a file system association. This operation is only supported in the FSx File Gateways.

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)

SELECT examples

Gets the file system association information. This operation is only supported for FSx File Gateways.

SELECT
file_system_association_info_list
FROM aws.storagegateway.file_system_associations
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Updates a file system association. This operation is only supported in the FSx File Gateways.

UPDATE aws.storagegateway.file_system_associations
SET
FileSystemAssociationARN = '{{ FileSystemAssociationARN }}',
UserName = '{{ UserName }}',
Password = '{{ Password }}',
AuditDestinationARN = '{{ AuditDestinationARN }}',
CacheAttributes = '{{ CacheAttributes }}'
WHERE
region = '{{ region }}' --required
AND FileSystemAssociationARN = '{{ FileSystemAssociationARN }}' --required
RETURNING
file_system_association_arn;