Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data FsxConfiguration = FsxConfiguration' {}
- newFsxConfiguration :: Text -> FsxFileSystemType -> DataSourceVpcConfiguration -> FsxConfiguration
- fsxConfiguration_exclusionPatterns :: Lens' FsxConfiguration (Maybe [Text])
- fsxConfiguration_fieldMappings :: Lens' FsxConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- fsxConfiguration_inclusionPatterns :: Lens' FsxConfiguration (Maybe [Text])
- fsxConfiguration_secretArn :: Lens' FsxConfiguration (Maybe Text)
- fsxConfiguration_fileSystemId :: Lens' FsxConfiguration Text
- fsxConfiguration_fileSystemType :: Lens' FsxConfiguration FsxFileSystemType
- fsxConfiguration_vpcConfiguration :: Lens' FsxConfiguration DataSourceVpcConfiguration
Documentation
data FsxConfiguration Source #
Provides the configuration information to connect to Amazon FSx as your data source.
See: newFsxConfiguration
smart constructor.
FsxConfiguration' | |
|
Instances
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.