CmdID / aws / aws clouddirectory
aws clouddirectory attach-to-index
Attaches the specified object to the specified index. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--directory-arnThe Amazon Resource Name (ARN) of the directory where the object and index exist.--index-referenceA reference to the index that you are attaching the object to.--target-referenceA reference to the object that you are attaching to the index.