class_docstr: Amazon SageMaker channel configurations for file system data sources.
  
  Attributes:
      config (dict[str, dict]): A Sagemaker File System ``DataSource``.
class_docstr_tok: ["Amazon","SageMaker","channel","configurations","for","file","system","data","sources",".","Attributes",":","config","(","dict","[","str",",","dict","]",")",":","A","Sagemaker","File","System","``","DataSource","``","."]
docstr: Create a new file system input used by an SageMaker training job.
  
  Args:
      file_system_id (str): An Amazon file system ID starting with 'fs-'.
      file_system_type (str): The type of file system used for the input.
          Valid values: 'EFS', 'FSxLustre'.
      directory_path (str): Absolute or normalized path to the root directory (mount point) in
          the file system.
          Reference: https://docs.aws.amazon.com/efs/latest/ug/mounting-fs.html and
          https://docs.aws.amazon.com/fsx/latest/LustreGuide/mount-fs-auto-mount-onreboot.html
      file_system_access_mode (str): Permissions for read and write.
          Valid values: 'ro' or 'rw'. Defaults to 'ro'.
docstr_tok: ["Create","a","new","file","system","input","used","by","an","SageMaker","training","job",".","Args",":","file_system_id","(","str",")",":","An","Amazon","file","system","ID","starting","with","'fs-","'",".","file_system_type","(","str",")",":","The","type","of","file","system","used","for","the","input",".","Valid","values",":","'EFS","'",",","'FSxLustre","'",".","directory_path","(","str",")",":","Absolute","or","normalized","path","to","the","root","directory","(","mount","point",")","in","the","file","system",".","Reference",":","https",":","\/\/docs.aws.amazon.com\/efs\/latest\/ug\/mounting-fs.html","and","https",":","\/\/docs.aws.amazon.com\/fsx\/latest\/LustreGuide\/mount-fs-auto-mount-onreboot.html","file_system_access_mode","(","str",")",":","Permissions","for","read","and","write",".","Valid","values",":","'ro","'","or","'rw","'",".","Defaults","to","'ro","'","."]
code: def __init__(
      self,
      file_system_id,
      file_system_type,
      directory_path,
      file_system_access_mode="ro",
      content_type=None,
  ):
      """Create a new file system input used by an SageMaker training job.
  
      Args:
          file_system_id (str): An Amazon file system ID starting with 'fs-'.
          file_system_type (str): The type of file system used for the input.
              Valid values: 'EFS', 'FSxLustre'.
          directory_path (str): Absolute or normalized path to the root directory (mount point) in
              the file system.
              Reference: https://docs.aws.amazon.com/efs/latest/ug/mounting-fs.html and
              https://docs.aws.amazon.com/fsx/latest/LustreGuide/mount-fs-auto-mount-onreboot.html
          file_system_access_mode (str): Permissions for read and write.
              Valid values: 'ro' or 'rw'. Defaults to 'ro'.
      """
  
      if file_system_type not in FILE_SYSTEM_TYPES:
          raise ValueError(
              "Unrecognized file system type: %s. Valid values: %s."
              % (file_system_type, ", ".join(FILE_SYSTEM_TYPES))
          )
  
      if file_system_access_mode not in FILE_SYSTEM_ACCESS_MODES:
          raise ValueError(
              "Unrecognized file system access mode: %s. Valid values: %s."
              % (
                  file_system_access_mode,
                  ", ".join(FILE_SYSTEM_ACCESS_MODES),
              )
          )
  
      self.config = {
          "DataSource": {
              "FileSystemDataSource": {
                  "FileSystemId": file_system_id,
                  "FileSystemType": file_system_type,
                  "DirectoryPath": directory_path,
                  "FileSystemAccessMode": file_system_access_mode,
              }
          }
      }
  
      if content_type:
          self.config["ContentType"] = content_type
  
imports: from __future__ import absolute_import, print_function
  from typing import Union, Optional, List
  import attr
  from sagemaker.workflow.entities import PipelineVariable
label_desc: Use image node_id 1 to create a new FileSystemInput object from inherited base classes: object with example: obj = FileSystemInput(file_system_id, file_system_type, directory_path, file_system_access_mode, content_type)