aws storagegateway associate-file-system

Associate an Amazon FSx file system with the Amazon FSx file gateway. After the association process is complete, the file shares on the Amazon FSx file system are available for access through the gateway. This operation only supports the Amazon FSx file gateway type

Options

NameDescription
--user-name <string>The user name of the user credential that has permission to access the root share D$ of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group
--password <string>The password of the user credential
--client-token <string>A unique string value that you supply that is used by the file gateway to ensure idempotent file system association creation
--gateway-arn <string>The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and AWS Region
--location-arn <string>The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the Amazon FSx file gateway
--tags <list>A list of up to 50 tags that can be assigned to the file system association. Each tag is a key-value pair
--audit-destination-arn <string>The Amazon Resource Name (ARN) of the storage used for the audit logs
--cache-attributes <structure>The refresh cache information for the file share
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command