RedshiftProvisionedAuthConfigurationProperty Struct
Contains configurations for authentication to an Amazon Redshift provisioned data warehouse.
Specify the type of authentication to use in the type field and include the corresponding field. If you specify IAM authentication, you don't need to include another field.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const redshiftProvisionedAuthConfigurationProperty: bedrock.CfnKnowledgeBase.RedshiftProvisionedAuthConfigurationProperty = {
type: 'type',
// the properties below are optional
databaseUser: 'databaseUser',
usernamePasswordSecretArn: 'usernamePasswordSecretArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock
redshift_provisioned_auth_configuration_property = bedrock.CfnKnowledgeBase.RedshiftProvisionedAuthConfigurationProperty(
type="type",
# the properties below are optional
database_user="databaseUser",
username_password_secret_arn="usernamePasswordSecretArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
RedshiftProvisionedAuthConfigurationProperty redshiftProvisionedAuthConfigurationProperty = RedshiftProvisionedAuthConfigurationProperty.builder()
.type("type")
// the properties below are optional
.databaseUser("databaseUser")
.usernamePasswordSecretArn("usernamePasswordSecretArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var redshiftProvisionedAuthConfigurationProperty = new RedshiftProvisionedAuthConfigurationProperty {
Type = "type",
// the properties below are optional
DatabaseUser = "databaseUser",
UsernamePasswordSecretArn = "usernamePasswordSecretArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"
redshiftProvisionedAuthConfigurationProperty := &RedshiftProvisionedAuthConfigurationProperty{
Type: jsii.String("type"),
// the properties below are optional
DatabaseUser: jsii.String("databaseUser"),
UsernamePasswordSecretArn: jsii.String("usernamePasswordSecretArn"),
}
Properties
databaseUseroptionalstringdatabase_useroptionalstrdatabaseUseroptionalStringDatabaseUseroptionalstringDatabaseUseroptional*string #The database username for authentication to an Amazon Redshift provisioned data warehouse.
The type of authentication to use.
usernamePasswordSecretArnoptionalstringusername_password_secret_arnoptionalstrusernamePasswordSecretArnoptionalStringUsernamePasswordSecretArnoptionalstringUsernamePasswordSecretArnoptional*string #The ARN of an Secrets Manager secret for authentication.