-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDataSource_ConnectionConfigurationProperty.go
47 lines (44 loc) · 2.86 KB
/
CfnDataSource_ConnectionConfigurationProperty.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
39
40
41
42
43
44
45
46
package awskendra
// Provides the configuration information that's required to connect to a database.
//
// 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"
//
// connectionConfigurationProperty := &ConnectionConfigurationProperty{
// DatabaseHost: jsii.String("databaseHost"),
// DatabaseName: jsii.String("databaseName"),
// DatabasePort: jsii.Number(123),
// SecretArn: jsii.String("secretArn"),
// TableName: jsii.String("tableName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html
//
type CfnDataSource_ConnectionConfigurationProperty struct {
// The name of the host for the database.
//
// Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html#cfn-kendra-datasource-connectionconfiguration-databasehost
//
DatabaseHost *string `field:"required" json:"databaseHost" yaml:"databaseHost"`
// The name of the database containing the document data.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html#cfn-kendra-datasource-connectionconfiguration-databasename
//
DatabaseName *string `field:"required" json:"databaseName" yaml:"databaseName"`
// The port that the database uses for connections.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html#cfn-kendra-datasource-connectionconfiguration-databaseport
//
DatabasePort *float64 `field:"required" json:"databasePort" yaml:"databasePort"`
// The Amazon Resource Name (ARN) of credentials stored in AWS Secrets Manager .
//
// The credentials should be a user/password pair. For more information, see [Using a Database Data Source](https://docs.aws.amazon.com/kendra/latest/dg/data-source-database.html) . For more information about AWS Secrets Manager , see [What Is AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) in the *AWS Secrets Manager* user guide.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html#cfn-kendra-datasource-connectionconfiguration-secretarn
//
SecretArn *string `field:"required" json:"secretArn" yaml:"secretArn"`
// The name of the table that contains the document data.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html#cfn-kendra-datasource-connectionconfiguration-tablename
//
TableName *string `field:"required" json:"tableName" yaml:"tableName"`
}