@Stability(value=Stable)
public static interface CfnDataSource.ProxyConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
ProxyConfigurationProperty proxyConfigurationProperty = ProxyConfigurationProperty.builder()
.host("host")
.port(123)
// the properties below are optional
.credentials("credentials")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.ProxyConfigurationProperty.Builder
A builder for
CfnDataSource.ProxyConfigurationProperty |
static class |
CfnDataSource.ProxyConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.ProxyConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.ProxyConfigurationProperty.Builder |
builder() |
default String |
getCredentials()
Your secret ARN, which you can create in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html).
|
String |
getHost()
The name of the website host you want to connect to via a web proxy server.
|
Number |
getPort()
The port number of the website host you want to connect to via a web proxy server.
|
@Stability(value=Stable) @NotNull String getHost()
For example, the host name of https://a.example.com/page1.html is "a.example.com".
@Stability(value=Stable) @NotNull Number getPort()
For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.
@Stability(value=Stable) @Nullable default String getCredentials()
The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.
@Stability(value=Stable) static CfnDataSource.ProxyConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.