RedshiftServerlessConfigurationProperty Struct
Contains configurations for authentication to Amazon Redshift Serverless.
| 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 redshiftServerlessConfigurationProperty: bedrock.CfnKnowledgeBase.RedshiftServerlessConfigurationProperty = {
authConfiguration: {
type: 'type',
// the properties below are optional
usernamePasswordSecretArn: 'usernamePasswordSecretArn',
},
workgroupArn: 'workgroupArn',
};
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_serverless_configuration_property = bedrock.CfnKnowledgeBase.RedshiftServerlessConfigurationProperty(
auth_configuration=bedrock.CfnKnowledgeBase.RedshiftServerlessAuthConfigurationProperty(
type="type",
# the properties below are optional
username_password_secret_arn="usernamePasswordSecretArn"
),
workgroup_arn="workgroupArn"
)
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.*;
RedshiftServerlessConfigurationProperty redshiftServerlessConfigurationProperty = RedshiftServerlessConfigurationProperty.builder()
.authConfiguration(RedshiftServerlessAuthConfigurationProperty.builder()
.type("type")
// the properties below are optional
.usernamePasswordSecretArn("usernamePasswordSecretArn")
.build())
.workgroupArn("workgroupArn")
.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 redshiftServerlessConfigurationProperty = new RedshiftServerlessConfigurationProperty {
AuthConfiguration = new RedshiftServerlessAuthConfigurationProperty {
Type = "type",
// the properties below are optional
UsernamePasswordSecretArn = "usernamePasswordSecretArn"
},
WorkgroupArn = "workgroupArn"
};
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"
redshiftServerlessConfigurationProperty := &RedshiftServerlessConfigurationProperty{
AuthConfiguration: &RedshiftServerlessAuthConfigurationProperty{
Type: jsii.String("type"),
// the properties below are optional
UsernamePasswordSecretArn: jsii.String("usernamePasswordSecretArn"),
},
WorkgroupArn: jsii.String("workgroupArn"),
}
Properties
authConfigurationIResolvable | CfnKnowledgeBase.auth_configurationtyping.Union[IResolvable, RedshiftServerlessAuthConfigurationProperty]authConfigurationIResolvableAuthConfigurationIResolvableAuthConfigurationinterface{} required #Specifies configurations for authentication to an Amazon Redshift provisioned data warehouse.
workgroupArnstringworkgroup_arnstrworkgroupArnStringWorkgroupArnstringWorkgroupArn*string required #The ARN of the Amazon Redshift workgroup.