amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.Types.FsxConfiguration

Description

 
Synopsis

Documentation

data FsxConfiguration Source #

Provides the configuration information to connect to Amazon FSx as your data source.

See: newFsxConfiguration smart constructor.

Constructors

FsxConfiguration' 

Fields

  • exclusionPatterns :: Maybe [Text]

    A list of regular expression patterns to exclude certain files in your Amazon FSx file system. Files that match the patterns are excluded from the index. Files that don't match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

  • fieldMappings :: Maybe (NonEmpty DataSourceToIndexFieldMapping)

    A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Amazon FSx fields. For more information, see Mapping data source fields. The Amazon FSx data source field names must exist in your Amazon FSx custom metadata.

  • inclusionPatterns :: Maybe [Text]

    A list of regular expression patterns to include certain files in your Amazon FSx file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

  • secretArn :: Maybe Text

    The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys:

    • username—The Active Directory user name, along with the Domain Name System (DNS) domain name. For example, user@corp.example.com. The Active Directory user account must have read and mounting access to the Amazon FSx file system for Windows.
    • password—The password of the Active Directory user account with read and mounting access to the Amazon FSx Windows file system.
  • fileSystemId :: Text

    The identifier of the Amazon FSx file system.

    You can find your file system ID on the file system dashboard in the Amazon FSx console. For information on how to create a file system in Amazon FSx console, using Windows File Server as an example, see Amazon FSx Getting started guide.

  • fileSystemType :: FsxFileSystemType

    The Amazon FSx file system type. Windows is currently the only supported type.

  • vpcConfiguration :: DataSourceVpcConfiguration

    Configuration information for an Amazon Virtual Private Cloud to connect to your Amazon FSx. Your Amazon FSx instance must reside inside your VPC.

Instances

Instances details
FromJSON FsxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.FsxConfiguration

ToJSON FsxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.FsxConfiguration

Generic FsxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.FsxConfiguration

Associated Types

type Rep FsxConfiguration :: Type -> Type #

Read FsxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.FsxConfiguration

Show FsxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.FsxConfiguration

NFData FsxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.FsxConfiguration

Methods

rnf :: FsxConfiguration -> () #

Eq FsxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.FsxConfiguration

Hashable FsxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.FsxConfiguration

type Rep FsxConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.FsxConfiguration

newFsxConfiguration Source #

Create a value of FsxConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:exclusionPatterns:FsxConfiguration', fsxConfiguration_exclusionPatterns - A list of regular expression patterns to exclude certain files in your Amazon FSx file system. Files that match the patterns are excluded from the index. Files that don't match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

$sel:fieldMappings:FsxConfiguration', fsxConfiguration_fieldMappings - A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Amazon FSx fields. For more information, see Mapping data source fields. The Amazon FSx data source field names must exist in your Amazon FSx custom metadata.

$sel:inclusionPatterns:FsxConfiguration', fsxConfiguration_inclusionPatterns - A list of regular expression patterns to include certain files in your Amazon FSx file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

$sel:secretArn:FsxConfiguration', fsxConfiguration_secretArn - The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys:

  • username—The Active Directory user name, along with the Domain Name System (DNS) domain name. For example, user@corp.example.com. The Active Directory user account must have read and mounting access to the Amazon FSx file system for Windows.
  • password—The password of the Active Directory user account with read and mounting access to the Amazon FSx Windows file system.

$sel:fileSystemId:FsxConfiguration', fsxConfiguration_fileSystemId - The identifier of the Amazon FSx file system.

You can find your file system ID on the file system dashboard in the Amazon FSx console. For information on how to create a file system in Amazon FSx console, using Windows File Server as an example, see Amazon FSx Getting started guide.

$sel:fileSystemType:FsxConfiguration', fsxConfiguration_fileSystemType - The Amazon FSx file system type. Windows is currently the only supported type.

$sel:vpcConfiguration:FsxConfiguration', fsxConfiguration_vpcConfiguration - Configuration information for an Amazon Virtual Private Cloud to connect to your Amazon FSx. Your Amazon FSx instance must reside inside your VPC.

fsxConfiguration_exclusionPatterns :: Lens' FsxConfiguration (Maybe [Text]) Source #

A list of regular expression patterns to exclude certain files in your Amazon FSx file system. Files that match the patterns are excluded from the index. Files that don't match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

fsxConfiguration_fieldMappings :: Lens' FsxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #

A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Amazon FSx fields. For more information, see Mapping data source fields. The Amazon FSx data source field names must exist in your Amazon FSx custom metadata.

fsxConfiguration_inclusionPatterns :: Lens' FsxConfiguration (Maybe [Text]) Source #

A list of regular expression patterns to include certain files in your Amazon FSx file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

fsxConfiguration_secretArn :: Lens' FsxConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys:

  • username—The Active Directory user name, along with the Domain Name System (DNS) domain name. For example, user@corp.example.com. The Active Directory user account must have read and mounting access to the Amazon FSx file system for Windows.
  • password—The password of the Active Directory user account with read and mounting access to the Amazon FSx Windows file system.

fsxConfiguration_fileSystemId :: Lens' FsxConfiguration Text Source #

The identifier of the Amazon FSx file system.

You can find your file system ID on the file system dashboard in the Amazon FSx console. For information on how to create a file system in Amazon FSx console, using Windows File Server as an example, see Amazon FSx Getting started guide.

fsxConfiguration_fileSystemType :: Lens' FsxConfiguration FsxFileSystemType Source #

The Amazon FSx file system type. Windows is currently the only supported type.

fsxConfiguration_vpcConfiguration :: Lens' FsxConfiguration DataSourceVpcConfiguration Source #

Configuration information for an Amazon Virtual Private Cloud to connect to your Amazon FSx. Your Amazon FSx instance must reside inside your VPC.