interface WebCrawlerBasicAuthenticationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Kendra.Mixins.CfnDataSourcePropsMixin.WebCrawlerBasicAuthenticationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awskendra/mixins#CfnDataSourcePropsMixin_WebCrawlerBasicAuthenticationProperty |
Java | software.amazon.awscdk.mixins.preview.services.kendra.mixins.CfnDataSourcePropsMixin.WebCrawlerBasicAuthenticationProperty |
Python | aws_cdk.mixins_preview.aws_kendra.mixins.CfnDataSourcePropsMixin.WebCrawlerBasicAuthenticationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_kendra » mixins » CfnDataSourcePropsMixin » WebCrawlerBasicAuthenticationProperty |
Provides the configuration information to connect to websites that require basic user authentication.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as kendra_mixins } from '@aws-cdk/mixins-preview/aws-kendra';
const webCrawlerBasicAuthenticationProperty: kendra_mixins.CfnDataSourcePropsMixin.WebCrawlerBasicAuthenticationProperty = {
credentials: 'credentials',
host: 'host',
port: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| credentials? | string | The Amazon Resource Name (ARN) of an AWS Secrets Manager secret. |
| host? | string | The name of the website host you want to connect to using authentication credentials. |
| port? | number | The port number of the website host you want to connect to using authentication credentials. |
credentials?
Type:
string
(optional)
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret.
You create a secret to store your credentials in AWS Secrets Manager
You use a secret if basic authentication credentials are required to connect to a website. The secret stores your credentials of user name and password.
host?
Type:
string
(optional)
The name of the website host you want to connect to using authentication credentials.
For example, the host name of https://a.example.com/page1.html is "a.example.com".
port?
Type:
number
(optional)
The port number of the website host you want to connect to using authentication credentials.
For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.

.NET
Go
Java
Python
TypeScript