-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
β NOTICE(bedrock): AWS::Bedrock::DataSource L1 construct is missing DataSourceConfiguration
property in latest version 2.154.0
#31183
Comments
|
confirmed a regression by checking CfnDataSourceProps in 2.154.0 export interface CfnDataSourceProps {
/**
* The data deletion policy for the data source.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-datadeletionpolicy
*/
readonly dataDeletionPolicy?: string;
/**
* The description of the data source.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-description
*/
readonly description?: string;
/**
* The unique identifier of the knowledge base to which the data source belongs.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-knowledgebaseid
*/
readonly knowledgeBaseId: string;
/**
* The name of the data source.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-name
*/
readonly name: string;
/**
* Contains details about the configuration of the server-side encryption.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-serversideencryptionconfiguration
*/
readonly serverSideEncryptionConfiguration?: cdk.IResolvable | CfnDataSource.ServerSideEncryptionConfigurationProperty;
/**
* Contains details about how to ingest the documents in the data source.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-vectoringestionconfiguration
*/
readonly vectorIngestionConfiguration?: cdk.IResolvable | CfnDataSource.VectorIngestionConfigurationProperty;
} CfnDataSourceProps in 2.153.0 export interface CfnDataSourceProps {
/**
* The data deletion policy for the data source.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-datadeletionpolicy
*/
readonly dataDeletionPolicy?: string;
/**
* The connection configuration for the data source.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-datasourceconfiguration
*/
readonly dataSourceConfiguration: CfnDataSource.DataSourceConfigurationProperty | cdk.IResolvable;
/**
* The description of the data source.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-description
*/
readonly description?: string;
/**
* The unique identifier of the knowledge base to which the data source belongs.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-knowledgebaseid
*/
readonly knowledgeBaseId: string;
/**
* The name of the data source.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-name
*/
readonly name: string;
/**
* Contains details about the configuration of the server-side encryption.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-serversideencryptionconfiguration
*/
readonly serverSideEncryptionConfiguration?: cdk.IResolvable | CfnDataSource.ServerSideEncryptionConfigurationProperty;
/**
* Contains details about how to ingest the documents in the data source.
*
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#cfn-bedrock-datasource-vectoringestionconfiguration
*/
readonly vectorIngestionConfiguration?: cdk.IResolvable | CfnDataSource.VectorIngestionConfigurationProperty;
} |
Comments on closed issues and PRs are hard for our team to see. |
DataSourceConfiguration
property in latest version 2.154.0
DataSourceConfiguration
property in latest version 2.154.0DataSourceConfiguration
property in latest version 2.154.0
Update notice for aws/aws-cdk#31183
Thank you for the quick fix ! :) |
Comments on closed issues and PRs are hard for our team to see. |
Please add your +1 π to let us know you have encountered this
Status:
RESOLVED
Fixed in version 2.154.1
Overview:
v2.154.0 removes
DataSourceConfiguration
property fromAWS::Bedrock::DataSource
resource L1 construct.Workaround:
Downgrade to v2.153.0
Solution:
Upgrade to >= v2.154.1
Related Issues:
N/A
ORIGINAL ISSUE DESCRIPTION
Describe the bug
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnDataSource.html was updated with v2.154.0
However, it is missing a property which is available in cfn: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html
The property is
DataSourceConfiguration
. The property is listed in the header of the cdk documentation, but not available in the example, construct props.This property was available in previous versions
Regression Issue
Last Known Working CDK Version
2.153
Expected Behavior
The property is available
Current Behavior
The property is not available, which makes the construct unusable
Reproduction Steps
use the latest cdk version 2.154.0
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.154
Framework Version
No response
Node.js Version
20
OS
MacOs
Language
TypeScript, Python, .NET, Java, Go
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: