-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDataSource_WebCrawlerBasicAuthenticationProperty.go
39 lines (36 loc) · 2.17 KB
/
CfnDataSource_WebCrawlerBasicAuthenticationProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package awskendra
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// webCrawlerBasicAuthenticationProperty := &WebCrawlerBasicAuthenticationProperty{
// Credentials: jsii.String("credentials"),
// Host: jsii.String("host"),
// Port: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerbasicauthentication.html
//
type CfnDataSource_WebCrawlerBasicAuthenticationProperty struct {
// Your secret ARN, which you can create in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html).
//
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerbasicauthentication.html#cfn-kendra-datasource-webcrawlerbasicauthentication-credentials
//
Credentials *string `field:"required" json:"credentials" yaml:"credentials"`
// 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".
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerbasicauthentication.html#cfn-kendra-datasource-webcrawlerbasicauthentication-host
//
Host *string `field:"required" json:"host" yaml:"host"`
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerbasicauthentication.html#cfn-kendra-datasource-webcrawlerbasicauthentication-port
//
Port *float64 `field:"required" json:"port" yaml:"port"`
}