Interface CfnDataSource.WebCrawlerBasicAuthenticationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.WebCrawlerBasicAuthenticationProperty.Jsii$Proxy
- Enclosing class:
- CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.WebCrawlerBasicAuthenticationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.kendra.*; WebCrawlerBasicAuthenticationProperty webCrawlerBasicAuthenticationProperty = WebCrawlerBasicAuthenticationProperty.builder() .credentials("credentials") .host("host") .port(123) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDataSource.WebCrawlerBasicAuthenticationProperty
static final class
An implementation forCfnDataSource.WebCrawlerBasicAuthenticationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Your secret ARN, which you can create in AWS Secrets Manager.getHost()
The name of the website host you want to connect to using authentication credentials.getPort()
The port number of the website host you want to connect to using authentication credentials.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCredentials
Your secret ARN, which you can create 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.
-
getHost
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".
-
getPort
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.
-
builder
-