From fbe0b0883ca3a99616ab0f21de096e04db59c1f6 Mon Sep 17 00:00:00 2001
From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com>
Date: Wed, 15 Jan 2025 03:40:23 -0700
Subject: [PATCH] Automated SDK generation @ aws-cloudformation-user-guide
19dc52cd3f2007d6d268b65b739ffb5ebf8c1e76 (#1992)
*Automated PR*
---
.docs.version | 2 +-
.../aws-bedrock-datasource.json | 2 +-
.../aws-bedrock-knowledgebase.json | 370 ++-
.../aws-databrew-dataset.json | 2 +-
.../aws-databrew-job.json | 2 +-
.../aws-databrew-project.json | 2 +-
.../aws-databrew-recipe.json | 2 +-
.../aws-databrew-ruleset.json | 2 +-
.../aws-databrew-schedule.json | 2 +-
.../aws-datazone-datasource.json | 27 +-
.../aws-detective-graph.json | 8 +
.../aws-detective-memberinvitation.json | 3 +
.../aws-iot-thingtype.json | 4 +-
...ws-notificationscontacts-emailcontact.json | 122 +
aws-cloudformation-schema/aws-sns-topic.json | 4 +
.../aws-workspaces-connectionalias.json | 8 +-
meta/.botocore.version | 2 +-
meta/regions.json | 4 +
.../pulumi-resource-aws-native/metadata.json | 276 +-
.../pulumi-resource-aws-native/schema.json | 419 ++-
sdk/dotnet/Bedrock/Enums.cs | 188 ++
sdk/dotnet/Bedrock/GetKnowledgeBase.cs | 7 +
.../Inputs/KnowledgeBaseConfigurationArgs.cs | 3 +
.../Inputs/KnowledgeBaseCuratedQueryArgs.cs | 29 +
.../KnowledgeBaseQueryGenerationColumnArgs.cs | 32 +
...dgeBaseQueryGenerationConfigurationArgs.cs | 29 +
...KnowledgeBaseQueryGenerationContextArgs.cs | 39 +
.../KnowledgeBaseQueryGenerationTableArgs.cs | 40 +
.../KnowledgeBaseRedshiftConfigurationArgs.cs | 37 +
...edshiftProvisionedAuthConfigurationArgs.cs | 35 +
...aseRedshiftProvisionedConfigurationArgs.cs | 29 +
...eAwsDataCatalogStorageConfigurationArgs.cs | 31 +
...aseRedshiftQueryEngineConfigurationArgs.cs | 32 +
...yEngineRedshiftStorageConfigurationArgs.cs | 26 +
...hiftQueryEngineStorageConfigurationArgs.cs | 32 +
...RedshiftServerlessAuthConfigurationArgs.cs | 29 +
...BaseRedshiftServerlessConfigurationArgs.cs | 29 +
...geBaseSqlKnowledgeBaseConfigurationArgs.cs | 29 +
sdk/dotnet/Bedrock/KnowledgeBase.cs | 7 +-
.../Outputs/KnowledgeBaseConfiguration.cs | 4 +
.../Outputs/KnowledgeBaseCuratedQuery.cs | 32 +
.../KnowledgeBaseQueryGenerationColumn.cs | 36 +
...owledgeBaseQueryGenerationConfiguration.cs | 32 +
.../KnowledgeBaseQueryGenerationContext.cs | 32 +
.../KnowledgeBaseQueryGenerationTable.cs | 40 +
.../KnowledgeBaseRedshiftConfiguration.cs | 36 +
...aseRedshiftProvisionedAuthConfiguration.cs | 39 +
...dgeBaseRedshiftProvisionedConfiguration.cs | 32 +
...ngineAwsDataCatalogStorageConfiguration.cs | 27 +
...dgeBaseRedshiftQueryEngineConfiguration.cs | 36 +
...QueryEngineRedshiftStorageConfiguration.cs | 27 +
...RedshiftQueryEngineStorageConfiguration.cs | 36 +
...BaseRedshiftServerlessAuthConfiguration.cs | 32 +
...edgeBaseRedshiftServerlessConfiguration.cs | 32 +
...wledgeBaseSqlKnowledgeBaseConfiguration.cs | 32 +
sdk/dotnet/DataZone/DataSource.cs | 25 +-
sdk/dotnet/DataZone/GetDataSource.cs | 7 +
...DataSourceGlueRunConfigurationInputArgs.cs | 6 +
...SourceRedshiftRunConfigurationInputArgs.cs | 8 +-
.../DataSourceGlueRunConfigurationInput.cs | 7 +
...DataSourceRedshiftRunConfigurationInput.cs | 8 +-
sdk/dotnet/Enums.cs | 4 +
sdk/dotnet/Rds/DbInstance.cs | 6 +-
sdk/dotnet/Rds/GetDbInstance.cs | 6 +-
sdk/dotnet/Sns/GetTopic.cs | 4 +
sdk/dotnet/Sns/Topic.cs | 6 +
sdk/dotnet/Ssm/Association.cs | 4 +-
sdk/dotnet/Ssm/GetAssociation.cs | 2 +-
sdk/go/aws/bedrock/getKnowledgeBase.go | 7 +
sdk/go/aws/bedrock/knowledgeBase.go | 7 +-
sdk/go/aws/bedrock/pulumiEnums.go | 1036 ++++++-
sdk/go/aws/bedrock/pulumiTypes.go | 2750 +++++++++++++++--
sdk/go/aws/datazone/dataSource.go | 32 +-
sdk/go/aws/datazone/getDataSource.go | 7 +
sdk/go/aws/datazone/pulumiTypes.go | 31 +-
sdk/go/aws/iot/pulumiTypes.go | 4 +-
sdk/go/aws/pulumiEnums.go | 2 +
sdk/go/aws/rds/dbInstance.go | 12 +-
sdk/go/aws/rds/getDbInstance.go | 12 +-
sdk/go/aws/sns/getTopic.go | 7 +-
sdk/go/aws/sns/topic.go | 13 +-
sdk/go/aws/ssm/association.go | 8 +-
sdk/go/aws/ssm/getAssociation.go | 4 +-
sdk/nodejs/bedrock/getKnowledgeBase.ts | 4 +
sdk/nodejs/bedrock/knowledgeBase.ts | 2 +-
sdk/nodejs/datazone/dataSource.ts | 25 +-
sdk/nodejs/datazone/getDataSource.ts | 4 +
sdk/nodejs/rds/dbInstance.ts | 6 +-
sdk/nodejs/rds/getDbInstance.ts | 6 +-
sdk/nodejs/sns/getTopic.ts | 1 +
sdk/nodejs/sns/topic.ts | 4 +
sdk/nodejs/ssm/association.ts | 4 +-
sdk/nodejs/ssm/getAssociation.ts | 2 +-
sdk/nodejs/types/enums/bedrock/index.ts | 62 +
sdk/nodejs/types/enums/index.ts | 4 +
sdk/nodejs/types/input.ts | 137 +-
sdk/nodejs/types/output.ts | 137 +-
sdk/python/pulumi_aws_native/_enums.py | 4 +
.../pulumi_aws_native/bedrock/_enums.py | 56 +
.../pulumi_aws_native/bedrock/_inputs.py | 729 +++++
.../bedrock/get_knowledge_base.py | 17 +-
.../bedrock/knowledge_base.py | 2 +-
.../pulumi_aws_native/bedrock/outputs.py | 695 +++++
.../pulumi_aws_native/datazone/_inputs.py | 96 +-
.../pulumi_aws_native/datazone/data_source.py | 76 +-
.../datazone/get_data_source.py | 16 +-
.../pulumi_aws_native/datazone/outputs.py | 68 +-
.../pulumi_aws_native/rds/db_instance.py | 6 +-
.../pulumi_aws_native/rds/get_db_instance.py | 6 +-
sdk/python/pulumi_aws_native/sns/get_topic.py | 13 +-
sdk/python/pulumi_aws_native/sns/topic.py | 21 +
.../pulumi_aws_native/ssm/association.py | 8 +-
.../pulumi_aws_native/ssm/get_association.py | 2 +-
113 files changed, 8200 insertions(+), 489 deletions(-)
create mode 100644 aws-cloudformation-schema/aws-notificationscontacts-emailcontact.json
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseCuratedQueryArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationColumnArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationConfigurationArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationContextArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationTableArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftConfigurationArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftProvisionedAuthConfigurationArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftProvisionedConfigurationArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfigurationArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineConfigurationArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfigurationArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineStorageConfigurationArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftServerlessAuthConfigurationArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftServerlessConfigurationArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Inputs/KnowledgeBaseSqlKnowledgeBaseConfigurationArgs.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseCuratedQuery.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationColumn.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationConfiguration.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationContext.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationTable.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftConfiguration.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftProvisionedAuthConfiguration.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftProvisionedConfiguration.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineConfiguration.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineStorageConfiguration.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftServerlessAuthConfiguration.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftServerlessConfiguration.cs
create mode 100644 sdk/dotnet/Bedrock/Outputs/KnowledgeBaseSqlKnowledgeBaseConfiguration.cs
diff --git a/.docs.version b/.docs.version
index 4c892c0be6..6b21abde2c 100644
--- a/.docs.version
+++ b/.docs.version
@@ -1 +1 @@
-29eb52b85ebd92cb43192f2e64ac182f537d657c
+2bd0dbd05c1fb10774e9f755d87cede090b46e19
diff --git a/aws-cloudformation-schema/aws-bedrock-datasource.json b/aws-cloudformation-schema/aws-bedrock-datasource.json
index dea2e72018..62508a44b5 100644
--- a/aws-cloudformation-schema/aws-bedrock-datasource.json
+++ b/aws-cloudformation-schema/aws-bedrock-datasource.json
@@ -104,7 +104,7 @@
"DataSourceType" : {
"type" : "string",
"description" : "The type of the data source location.",
- "enum" : [ "S3", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "WEB", "CUSTOM" ]
+ "enum" : [ "S3", "CONFLUENCE", "SALESFORCE", "SHAREPOINT", "WEB", "CUSTOM", "REDSHIFT_METADATA" ]
},
"DataDeletionPolicy" : {
"type" : "string",
diff --git a/aws-cloudformation-schema/aws-bedrock-knowledgebase.json b/aws-cloudformation-schema/aws-bedrock-knowledgebase.json
index c657b6717b..ef82511f44 100644
--- a/aws-cloudformation-schema/aws-bedrock-knowledgebase.json
+++ b/aws-cloudformation-schema/aws-bedrock-knowledgebase.json
@@ -14,6 +14,9 @@
},
"KendraKnowledgeBaseConfiguration" : {
"$ref" : "#/definitions/KendraKnowledgeBaseConfiguration"
+ },
+ "SqlKnowledgeBaseConfiguration" : {
+ "$ref" : "#/definitions/SqlKnowledgeBaseConfiguration"
}
},
"required" : [ "Type" ],
@@ -32,7 +35,7 @@
"KnowledgeBaseType" : {
"type" : "string",
"description" : "The type of a knowledge base.",
- "enum" : [ "VECTOR", "KENDRA" ]
+ "enum" : [ "VECTOR", "KENDRA", "SQL" ]
},
"OpenSearchServerlessConfiguration" : {
"type" : "object",
@@ -482,6 +485,369 @@
"type" : "string",
"description" : "Arn of a Kendra index",
"pattern" : "^arn:aws(|-cn|-us-gov):kendra:[a-z0-9-]{1,20}:([0-9]{12}|):index/([a-zA-Z0-9][a-zA-Z0-9-]{35}|[a-zA-Z0-9][a-zA-Z0-9-]{35}-[a-zA-Z0-9][a-zA-Z0-9-]{35})$"
+ },
+ "SqlKnowledgeBaseConfiguration" : {
+ "type" : "object",
+ "description" : "Configurations for a SQL knowledge base",
+ "properties" : {
+ "Type" : {
+ "$ref" : "#/definitions/QueryEngineType"
+ },
+ "RedshiftConfiguration" : {
+ "$ref" : "#/definitions/RedshiftConfiguration"
+ }
+ },
+ "required" : [ "Type" ],
+ "additionalProperties" : false
+ },
+ "QueryEngineType" : {
+ "type" : "string",
+ "description" : "SQL query engine type",
+ "enum" : [ "REDSHIFT" ]
+ },
+ "RedshiftConfiguration" : {
+ "type" : "object",
+ "description" : "Configurations for a Redshift knowledge base",
+ "properties" : {
+ "StorageConfigurations" : {
+ "$ref" : "#/definitions/RedshiftQueryEngineStorageConfigurations"
+ },
+ "QueryEngineConfiguration" : {
+ "$ref" : "#/definitions/RedshiftQueryEngineConfiguration"
+ },
+ "QueryGenerationConfiguration" : {
+ "$ref" : "#/definitions/QueryGenerationConfiguration"
+ }
+ },
+ "required" : [ "StorageConfigurations", "QueryEngineConfiguration" ],
+ "additionalProperties" : false
+ },
+ "RedshiftQueryEngineStorageConfigurations" : {
+ "type" : "array",
+ "description" : "List of configurations for available Redshift query engine storage types",
+ "minItems" : 1,
+ "maxItems" : 1,
+ "items" : {
+ "$ref" : "#/definitions/RedshiftQueryEngineStorageConfiguration"
+ },
+ "insertionOrder" : false
+ },
+ "RedshiftQueryEngineStorageConfiguration" : {
+ "type" : "object",
+ "description" : "Configurations for available Redshift query engine storage types",
+ "properties" : {
+ "Type" : {
+ "$ref" : "#/definitions/RedshiftQueryEngineStorageType"
+ },
+ "AwsDataCatalogConfiguration" : {
+ "$ref" : "#/definitions/RedshiftQueryEngineAwsDataCatalogStorageConfiguration"
+ },
+ "RedshiftConfiguration" : {
+ "$ref" : "#/definitions/RedshiftQueryEngineRedshiftStorageConfiguration"
+ }
+ },
+ "required" : [ "Type" ],
+ "additionalProperties" : false
+ },
+ "RedshiftQueryEngineStorageType" : {
+ "type" : "string",
+ "description" : "Redshift query engine storage type",
+ "enum" : [ "REDSHIFT", "AWS_DATA_CATALOG" ]
+ },
+ "RedshiftQueryEngineAwsDataCatalogStorageConfiguration" : {
+ "type" : "object",
+ "description" : "Configurations for Redshift query engine AWS Data Catalog backed storage",
+ "properties" : {
+ "TableNames" : {
+ "$ref" : "#/definitions/AwsDataCatalogTableNames"
+ }
+ },
+ "required" : [ "TableNames" ],
+ "additionalProperties" : false
+ },
+ "AwsDataCatalogTableNames" : {
+ "type" : "array",
+ "description" : "List of table names in AWS Data Catalog. Must follow two part notation",
+ "items" : {
+ "$ref" : "#/definitions/AwsDataCatalogTableName"
+ },
+ "minItems" : 1,
+ "maxItems" : 1000,
+ "insertionOrder" : false
+ },
+ "AwsDataCatalogTableName" : {
+ "type" : "string",
+ "description" : "AWS Data Catalog table name",
+ "pattern" : "^.*\\.*$",
+ "minLength" : 1,
+ "maxLength" : 200
+ },
+ "RedshiftQueryEngineRedshiftStorageConfiguration" : {
+ "type" : "object",
+ "description" : "Configurations for Redshift query engine Redshift backed storage",
+ "properties" : {
+ "DatabaseName" : {
+ "$ref" : "#/definitions/RedshiftDatabase"
+ }
+ },
+ "required" : [ "DatabaseName" ],
+ "additionalProperties" : false
+ },
+ "RedshiftDatabase" : {
+ "type" : "string",
+ "description" : "Redshift database name",
+ "minLength" : 1,
+ "maxLength" : 200
+ },
+ "RedshiftQueryEngineConfiguration" : {
+ "type" : "object",
+ "description" : "Configurations for Redshift query engine",
+ "properties" : {
+ "Type" : {
+ "$ref" : "#/definitions/RedshiftQueryEngineType"
+ },
+ "ServerlessConfiguration" : {
+ "$ref" : "#/definitions/RedshiftServerlessConfiguration"
+ },
+ "ProvisionedConfiguration" : {
+ "$ref" : "#/definitions/RedshiftProvisionedConfiguration"
+ }
+ },
+ "required" : [ "Type" ],
+ "additionalProperties" : false
+ },
+ "RedshiftQueryEngineType" : {
+ "type" : "string",
+ "description" : "Redshift query engine type",
+ "enum" : [ "SERVERLESS", "PROVISIONED" ]
+ },
+ "RedshiftServerlessConfiguration" : {
+ "type" : "object",
+ "description" : "Configurations for serverless Redshift query engine",
+ "properties" : {
+ "WorkgroupArn" : {
+ "$ref" : "#/definitions/WorkgroupArn"
+ },
+ "AuthConfiguration" : {
+ "$ref" : "#/definitions/RedshiftServerlessAuthConfiguration"
+ }
+ },
+ "required" : [ "WorkgroupArn", "AuthConfiguration" ],
+ "additionalProperties" : false
+ },
+ "WorkgroupArn" : {
+ "type" : "string",
+ "description" : "Workgroup arn",
+ "pattern" : "^(arn:(aws(-[a-z]+)*):redshift-serverless:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:workgroup/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$"
+ },
+ "RedshiftServerlessAuthConfiguration" : {
+ "type" : "object",
+ "description" : "Configurations for Redshift query engine serverless auth setup",
+ "properties" : {
+ "Type" : {
+ "$ref" : "#/definitions/RedshiftServerlessAuthType"
+ },
+ "UsernamePasswordSecretArn" : {
+ "$ref" : "#/definitions/SecretArn"
+ }
+ },
+ "required" : [ "Type" ],
+ "additionalProperties" : false
+ },
+ "RedshiftServerlessAuthType" : {
+ "type" : "string",
+ "description" : "Serverless Redshift auth type",
+ "enum" : [ "IAM", "USERNAME_PASSWORD" ]
+ },
+ "SecretArn" : {
+ "type" : "string",
+ "description" : "Arn of a SecretsManager Secret",
+ "pattern" : "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$"
+ },
+ "RedshiftProvisionedConfiguration" : {
+ "type" : "object",
+ "description" : "Configurations for provisioned Redshift query engine",
+ "properties" : {
+ "ClusterIdentifier" : {
+ "$ref" : "#/definitions/RedshiftClusterIdentifier"
+ },
+ "AuthConfiguration" : {
+ "$ref" : "#/definitions/RedshiftProvisionedAuthConfiguration"
+ }
+ },
+ "required" : [ "ClusterIdentifier", "AuthConfiguration" ],
+ "additionalProperties" : false
+ },
+ "RedshiftClusterIdentifier" : {
+ "type" : "string",
+ "description" : "Redshift cluster identifier",
+ "minLength" : 1,
+ "maxLength" : 63
+ },
+ "RedshiftProvisionedAuthConfiguration" : {
+ "type" : "object",
+ "description" : "Configurations for Redshift query engine provisioned auth setup",
+ "properties" : {
+ "Type" : {
+ "$ref" : "#/definitions/RedshiftProvisionedAuthType"
+ },
+ "DatabaseUser" : {
+ "type" : "string",
+ "description" : "Redshift database user"
+ },
+ "UsernamePasswordSecretArn" : {
+ "$ref" : "#/definitions/SecretArn"
+ }
+ },
+ "required" : [ "Type" ],
+ "additionalProperties" : false
+ },
+ "RedshiftProvisionedAuthType" : {
+ "type" : "string",
+ "description" : "Provisioned Redshift auth type",
+ "enum" : [ "IAM", "USERNAME_PASSWORD", "USERNAME" ]
+ },
+ "QueryGenerationConfiguration" : {
+ "type" : "object",
+ "description" : "Configurations for generating Redshift engine queries",
+ "properties" : {
+ "ExecutionTimeoutSeconds" : {
+ "$ref" : "#/definitions/QueryExecutionTimeoutSeconds"
+ },
+ "GenerationContext" : {
+ "$ref" : "#/definitions/QueryGenerationContext"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "QueryExecutionTimeoutSeconds" : {
+ "type" : "integer",
+ "description" : "Max query execution timeout",
+ "minimum" : 1,
+ "maximum" : 200
+ },
+ "QueryGenerationContext" : {
+ "type" : "object",
+ "description" : "Context used to improve query generation",
+ "properties" : {
+ "Tables" : {
+ "$ref" : "#/definitions/QueryGenerationTables"
+ },
+ "CuratedQueries" : {
+ "$ref" : "#/definitions/CuratedQueries"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "QueryGenerationTables" : {
+ "type" : "array",
+ "description" : "List of tables used for Redshift query generation context",
+ "items" : {
+ "$ref" : "#/definitions/QueryGenerationTable"
+ },
+ "maxItems" : 50,
+ "insertionOrder" : false
+ },
+ "QueryGenerationTable" : {
+ "type" : "object",
+ "description" : "Tables used for Redshift query generation context",
+ "properties" : {
+ "Name" : {
+ "$ref" : "#/definitions/QueryGenerationTableName"
+ },
+ "Description" : {
+ "$ref" : "#/definitions/DescriptionString"
+ },
+ "Inclusion" : {
+ "$ref" : "#/definitions/InclusionType"
+ },
+ "Columns" : {
+ "$ref" : "#/definitions/QueryGenerationColumns"
+ }
+ },
+ "required" : [ "Name" ],
+ "additionalProperties" : false
+ },
+ "QueryGenerationTableName" : {
+ "type" : "string",
+ "description" : "Query generation table name. Must follow three-part notation",
+ "pattern" : "^.*\\..*\\..*$"
+ },
+ "DescriptionString" : {
+ "type" : "string",
+ "description" : "Description for the attached entity",
+ "minLength" : 1,
+ "maxLength" : 200
+ },
+ "InclusionType" : {
+ "type" : "string",
+ "description" : "Include or Exclude status for an entity",
+ "enum" : [ "INCLUDE", "EXCLUDE" ]
+ },
+ "QueryGenerationColumns" : {
+ "type" : "array",
+ "description" : "List of Redshift query generation columns",
+ "items" : {
+ "$ref" : "#/definitions/QueryGenerationColumn"
+ },
+ "insertionOrder" : false
+ },
+ "QueryGenerationColumn" : {
+ "type" : "object",
+ "description" : "Redshift query generation column",
+ "properties" : {
+ "Name" : {
+ "$ref" : "#/definitions/QueryGenerationColumnName"
+ },
+ "Description" : {
+ "$ref" : "#/definitions/DescriptionString"
+ },
+ "Inclusion" : {
+ "$ref" : "#/definitions/InclusionType"
+ }
+ },
+ "additionalProperties" : false
+ },
+ "QueryGenerationColumnName" : {
+ "type" : "string",
+ "description" : "Query generation column name",
+ "minLength" : 1,
+ "maxLength" : 127
+ },
+ "CuratedQueries" : {
+ "type" : "array",
+ "description" : "List of example queries and results",
+ "maxItems" : 10,
+ "items" : {
+ "$ref" : "#/definitions/CuratedQuery"
+ },
+ "insertionOrder" : false
+ },
+ "CuratedQuery" : {
+ "type" : "object",
+ "description" : "Curated query or question and answer pair",
+ "properties" : {
+ "NaturalLanguage" : {
+ "$ref" : "#/definitions/NaturalLanguageString"
+ },
+ "Sql" : {
+ "$ref" : "#/definitions/SqlString"
+ }
+ },
+ "required" : [ "NaturalLanguage", "Sql" ],
+ "additionalProperties" : false
+ },
+ "NaturalLanguageString" : {
+ "type" : "string",
+ "description" : "Question for the curated query",
+ "minLength" : 1,
+ "maxLength" : 1000
+ },
+ "SqlString" : {
+ "type" : "string",
+ "description" : "Answer for the curated query",
+ "minLength" : 1,
+ "maxLength" : 1000
}
},
"properties" : {
@@ -548,7 +914,7 @@
},
"required" : [ "KnowledgeBaseConfiguration", "Name", "RoleArn" ],
"readOnlyProperties" : [ "/properties/KnowledgeBaseId", "/properties/KnowledgeBaseArn", "/properties/CreatedAt", "/properties/UpdatedAt", "/properties/FailureReasons", "/properties/Status" ],
- "createOnlyProperties" : [ "/properties/StorageConfiguration", "/properties/KnowledgeBaseConfiguration" ],
+ "createOnlyProperties" : [ "/properties/StorageConfiguration", "/properties/KnowledgeBaseConfiguration/Type", "/properties/KnowledgeBaseConfiguration/VectorKnowledgeBaseConfiguration", "/properties/KnowledgeBaseConfiguration/KendraKnowledgeBaseConfiguration", "/properties/KnowledgeBaseConfiguration/SqlKnowledgeBaseConfiguration/Type", "/properties/KnowledgeBaseConfiguration/SqlKnowledgeBaseConfiguration/RedshiftConfiguration/StorageConfigurations", "/properties/KnowledgeBaseConfiguration/SqlKnowledgeBaseConfiguration/RedshiftConfiguration/QueryEngineConfiguration" ],
"primaryIdentifier" : [ "/properties/KnowledgeBaseId" ],
"handlers" : {
"create" : {
diff --git a/aws-cloudformation-schema/aws-databrew-dataset.json b/aws-cloudformation-schema/aws-databrew-dataset.json
index 2fada31670..0ed17f9bf4 100644
--- a/aws-cloudformation-schema/aws-databrew-dataset.json
+++ b/aws-cloudformation-schema/aws-databrew-dataset.json
@@ -396,7 +396,7 @@
},
"handlers" : {
"create" : {
- "permissions" : [ "databrew:CreateDataset", "databrew:TagResource", "databrew:UntagResource", "glue:GetConnection", "glue:GetTable", "iam:PassRole" ]
+ "permissions" : [ "databrew:CreateDataset", "databrew:DescribeDataset", "databrew:TagResource", "databrew:UntagResource", "glue:GetConnection", "glue:GetTable", "iam:PassRole" ]
},
"read" : {
"permissions" : [ "databrew:DescribeDataset", "databrew:ListTagsForResource", "iam:ListRoles" ]
diff --git a/aws-cloudformation-schema/aws-databrew-job.json b/aws-cloudformation-schema/aws-databrew-job.json
index f26bbb61dc..a4f1e02e9e 100644
--- a/aws-cloudformation-schema/aws-databrew-job.json
+++ b/aws-cloudformation-schema/aws-databrew-job.json
@@ -524,7 +524,7 @@
},
"handlers" : {
"create" : {
- "permissions" : [ "databrew:CreateProfileJob", "databrew:CreateRecipeJob", "databrew:TagResource", "databrew:UntagResource", "iam:PassRole" ]
+ "permissions" : [ "databrew:CreateProfileJob", "databrew:CreateRecipeJob", "databrew:DescribeJob", "databrew:TagResource", "databrew:UntagResource", "iam:PassRole" ]
},
"read" : {
"permissions" : [ "databrew:DescribeJob", "databrew:ListTagsForResource", "iam:ListRoles" ]
diff --git a/aws-cloudformation-schema/aws-databrew-project.json b/aws-cloudformation-schema/aws-databrew-project.json
index c9fa34ef07..7884916b5b 100644
--- a/aws-cloudformation-schema/aws-databrew-project.json
+++ b/aws-cloudformation-schema/aws-databrew-project.json
@@ -89,7 +89,7 @@
},
"handlers" : {
"create" : {
- "permissions" : [ "databrew:CreateProject", "databrew:TagResource", "databrew:UntagResource", "iam:PassRole" ]
+ "permissions" : [ "databrew:CreateProject", "databrew:DescribeProject", "databrew:TagResource", "databrew:UntagResource", "iam:PassRole" ]
},
"read" : {
"permissions" : [ "databrew:DescribeProject", "databrew:ListTagsForResource", "iam:ListRoles" ]
diff --git a/aws-cloudformation-schema/aws-databrew-recipe.json b/aws-cloudformation-schema/aws-databrew-recipe.json
index b68743bfa2..c6a71e49d8 100644
--- a/aws-cloudformation-schema/aws-databrew-recipe.json
+++ b/aws-cloudformation-schema/aws-databrew-recipe.json
@@ -524,7 +524,7 @@
},
"handlers" : {
"create" : {
- "permissions" : [ "databrew:CreateRecipe", "databrew:TagResource", "databrew:UntagResource", "iam:PassRole" ]
+ "permissions" : [ "databrew:CreateRecipe", "databrew:DescribeRecipe", "databrew:TagResource", "databrew:UntagResource", "iam:PassRole" ]
},
"read" : {
"permissions" : [ "databrew:DescribeRecipe", "databrew:ListTagsForResource", "iam:ListRoles" ]
diff --git a/aws-cloudformation-schema/aws-databrew-ruleset.json b/aws-cloudformation-schema/aws-databrew-ruleset.json
index bed0cd37c0..dd811ac51a 100644
--- a/aws-cloudformation-schema/aws-databrew-ruleset.json
+++ b/aws-cloudformation-schema/aws-databrew-ruleset.json
@@ -194,7 +194,7 @@
},
"handlers" : {
"create" : {
- "permissions" : [ "databrew:CreateRuleset", "databrew:TagResource", "databrew:UntagResource", "iam:PassRole" ]
+ "permissions" : [ "databrew:CreateRuleset", "databrew:DescribeRuleset", "databrew:TagResource", "databrew:UntagResource", "iam:PassRole" ]
},
"read" : {
"permissions" : [ "databrew:DescribeRuleset", "databrew:ListTagsForResource", "iam:ListRoles" ]
diff --git a/aws-cloudformation-schema/aws-databrew-schedule.json b/aws-cloudformation-schema/aws-databrew-schedule.json
index e19b89e000..86267387a1 100644
--- a/aws-cloudformation-schema/aws-databrew-schedule.json
+++ b/aws-cloudformation-schema/aws-databrew-schedule.json
@@ -72,7 +72,7 @@
},
"handlers" : {
"create" : {
- "permissions" : [ "databrew:CreateSchedule", "databrew:TagResource", "databrew:UntagResource", "iam:PassRole" ]
+ "permissions" : [ "databrew:CreateSchedule", "databrew:DescribeSchedule", "databrew:TagResource", "databrew:UntagResource", "iam:PassRole" ]
},
"read" : {
"permissions" : [ "databrew:DescribeSchedule", "databrew:ListTagsForResource", "iam:ListRoles" ]
diff --git a/aws-cloudformation-schema/aws-datazone-datasource.json b/aws-cloudformation-schema/aws-datazone-datasource.json
index f217df192a..4442f59eb0 100644
--- a/aws-cloudformation-schema/aws-datazone-datasource.json
+++ b/aws-cloudformation-schema/aws-datazone-datasource.json
@@ -118,6 +118,12 @@
"description" : "Specifies whether to automatically import data quality metrics as part of the data source run.",
"type" : "boolean"
},
+ "CatalogName" : {
+ "type" : "string",
+ "description" : "The catalog name in the AWS Glue run configuration.",
+ "maxLength" : 128,
+ "minLength" : 1
+ },
"DataAccessRole" : {
"description" : "The data access role included in the configuration details of the AWS Glue data source.",
"$ref" : "#/definitions/DataAccessRole"
@@ -194,7 +200,7 @@
"$ref" : "#/definitions/RedshiftStorage"
}
},
- "required" : [ "RedshiftCredentialConfiguration", "RedshiftStorage", "RelationalFilterConfigurations" ],
+ "required" : [ "RelationalFilterConfigurations" ],
"additionalProperties" : false
},
"RedshiftServerlessStorage" : {
@@ -348,6 +354,14 @@
"minItems" : 0,
"insertionOrder" : false
},
+ "ConnectionId" : {
+ "type" : "string",
+ "description" : "The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run"
+ },
+ "ConnectionIdentifier" : {
+ "type" : "string",
+ "description" : "The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run"
+ },
"CreatedAt" : {
"type" : "string",
"description" : "The timestamp of when the data source was created.",
@@ -374,8 +388,7 @@
},
"EnvironmentId" : {
"type" : "string",
- "description" : "The unique identifier of the Amazon DataZone environment to which the data source publishes assets.",
- "pattern" : "^[a-zA-Z0-9_-]{1,36}$"
+ "description" : "The unique identifier of the Amazon DataZone environment to which the data source publishes assets."
},
"EnvironmentIdentifier" : {
"description" : "The unique identifier of the Amazon DataZone environment to which the data source publishes assets.",
@@ -445,10 +458,10 @@
"format" : "date-time"
}
},
- "required" : [ "Name", "DomainIdentifier", "ProjectIdentifier", "EnvironmentIdentifier", "Type" ],
- "readOnlyProperties" : [ "/properties/CreatedAt", "/properties/DomainId", "/properties/EnvironmentId", "/properties/Id", "/properties/LastRunAssetCount", "/properties/LastRunAt", "/properties/LastRunStatus", "/properties/ProjectId", "/properties/Status", "/properties/UpdatedAt" ],
- "writeOnlyProperties" : [ "/properties/AssetFormsInput", "/properties/EnvironmentIdentifier", "/properties/DomainIdentifier", "/properties/Configuration", "/properties/ProjectIdentifier" ],
- "createOnlyProperties" : [ "/properties/EnvironmentIdentifier", "/properties/DomainIdentifier", "/properties/ProjectIdentifier", "/properties/Type" ],
+ "required" : [ "Name", "DomainIdentifier", "ProjectIdentifier", "Type" ],
+ "readOnlyProperties" : [ "/properties/ConnectionId", "/properties/CreatedAt", "/properties/DomainId", "/properties/EnvironmentId", "/properties/Id", "/properties/LastRunAssetCount", "/properties/LastRunAt", "/properties/LastRunStatus", "/properties/ProjectId", "/properties/Status", "/properties/UpdatedAt" ],
+ "writeOnlyProperties" : [ "/properties/AssetFormsInput", "/properties/ConnectionIdentifier", "/properties/EnvironmentIdentifier", "/properties/DomainIdentifier", "/properties/Configuration", "/properties/ProjectIdentifier" ],
+ "createOnlyProperties" : [ "/properties/ConnectionIdentifier", "/properties/EnvironmentIdentifier", "/properties/DomainIdentifier", "/properties/ProjectIdentifier", "/properties/Type" ],
"primaryIdentifier" : [ "/properties/DomainId", "/properties/Id" ],
"tagging" : {
"taggable" : false,
diff --git a/aws-cloudformation-schema/aws-detective-graph.json b/aws-cloudformation-schema/aws-detective-graph.json
index 70b69ad8cb..f57a03df86 100644
--- a/aws-cloudformation-schema/aws-detective-graph.json
+++ b/aws-cloudformation-schema/aws-detective-graph.json
@@ -43,6 +43,14 @@
"additionalProperties" : false,
"readOnlyProperties" : [ "/properties/Arn" ],
"primaryIdentifier" : [ "/properties/Arn" ],
+ "tagging" : {
+ "taggable" : true,
+ "tagOnCreate" : true,
+ "tagUpdatable" : true,
+ "cloudFormationSystemTags" : true,
+ "tagProperty" : "/properties/Tags",
+ "permissions" : [ "detective:UntagResource", "detective:TagResource", "detective:ListTagsForResource" ]
+ },
"handlers" : {
"create" : {
"permissions" : [ "detective:CreateGraph", "detective:UpdateOrganizationConfiguration", "organizations:DescribeOrganization" ]
diff --git a/aws-cloudformation-schema/aws-detective-memberinvitation.json b/aws-cloudformation-schema/aws-detective-memberinvitation.json
index edb766e635..27b0752d94 100644
--- a/aws-cloudformation-schema/aws-detective-memberinvitation.json
+++ b/aws-cloudformation-schema/aws-detective-memberinvitation.json
@@ -35,6 +35,9 @@
"primaryIdentifier" : [ "/properties/GraphArn", "/properties/MemberId" ],
"createOnlyProperties" : [ "/properties/GraphArn", "/properties/MemberId" ],
"writeOnlyProperties" : [ "/properties/Message", "/properties/DisableEmailNotification" ],
+ "tagging" : {
+ "taggable" : false
+ },
"handlers" : {
"create" : {
"permissions" : [ "detective:CreateMembers", "detective:GetMembers" ]
diff --git a/aws-cloudformation-schema/aws-iot-thingtype.json b/aws-cloudformation-schema/aws-iot-thingtype.json
index 2b7c3d32e9..ea0952d92f 100644
--- a/aws-cloudformation-schema/aws-iot-thingtype.json
+++ b/aws-cloudformation-schema/aws-iot-thingtype.json
@@ -72,14 +72,14 @@
"properties" : {
"Key" : {
"type" : "string",
- "description" : "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. ",
+ "description" : "Tag key (1-128 chars). No 'aws:' prefix. Allows: [A-Za-z0-9 _.:/=+-]",
"minLength" : 1,
"maxLength" : 128,
"pattern" : "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
},
"Value" : {
"type" : "string",
- "description" : "The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. ",
+ "description" : "Tag value (1-256 chars). No 'aws:' prefix. Allows: [A-Za-z0-9 _.:/=+-]",
"minLength" : 1,
"maxLength" : 256
}
diff --git a/aws-cloudformation-schema/aws-notificationscontacts-emailcontact.json b/aws-cloudformation-schema/aws-notificationscontacts-emailcontact.json
new file mode 100644
index 0000000000..2b2fedc825
--- /dev/null
+++ b/aws-cloudformation-schema/aws-notificationscontacts-emailcontact.json
@@ -0,0 +1,122 @@
+{
+ "typeName" : "AWS::NotificationsContacts::EmailContact",
+ "description" : "Definition of AWS::NotificationsContacts::EmailContact Resource Type",
+ "definitions" : {
+ "EmailContact" : {
+ "type" : "object",
+ "properties" : {
+ "Arn" : {
+ "type" : "string",
+ "pattern" : "^arn:aws:notifications-contacts::[0-9]{12}:emailcontact/[a-z0-9]{27}$"
+ },
+ "Name" : {
+ "type" : "string",
+ "maxLength" : 64,
+ "minLength" : 1,
+ "pattern" : "[\\w-.~]+"
+ },
+ "Address" : {
+ "type" : "string",
+ "maxLength" : 254,
+ "minLength" : 6,
+ "pattern" : "^(.+)@(.+)$"
+ },
+ "Status" : {
+ "$ref" : "#/definitions/EmailContactStatus"
+ },
+ "CreationTime" : {
+ "type" : "string",
+ "format" : "date-time"
+ },
+ "UpdateTime" : {
+ "type" : "string",
+ "format" : "date-time"
+ }
+ },
+ "required" : [ "Address", "Arn", "CreationTime", "Name", "Status", "UpdateTime" ],
+ "additionalProperties" : false
+ },
+ "EmailContactStatus" : {
+ "type" : "string",
+ "enum" : [ "inactive", "active" ]
+ },
+ "TagMap" : {
+ "description" : "A list of tags that are attached to the role.",
+ "type" : "array",
+ "uniqueItems" : false,
+ "insertionOrder" : false,
+ "items" : {
+ "$ref" : "#/definitions/Tag"
+ }
+ },
+ "Tag" : {
+ "type" : "object",
+ "additionalProperties" : false,
+ "properties" : {
+ "Key" : {
+ "type" : "string",
+ "minLength" : 1,
+ "maxLength" : 128
+ },
+ "Value" : {
+ "type" : "string",
+ "minLength" : 0,
+ "maxLength" : 256
+ }
+ },
+ "required" : [ "Key", "Value" ]
+ }
+ },
+ "properties" : {
+ "Arn" : {
+ "type" : "string",
+ "pattern" : "^arn:aws:notifications-contacts::[0-9]{12}:emailcontact/[a-z0-9]{27}$"
+ },
+ "EmailAddress" : {
+ "type" : "string",
+ "maxLength" : 254,
+ "minLength" : 6,
+ "pattern" : "^(.+)@(.+)$"
+ },
+ "Name" : {
+ "type" : "string",
+ "maxLength" : 64,
+ "minLength" : 1,
+ "pattern" : "[\\w-.~]+"
+ },
+ "EmailContact" : {
+ "$ref" : "#/definitions/EmailContact"
+ },
+ "Tags" : {
+ "$ref" : "#/definitions/TagMap"
+ }
+ },
+ "required" : [ "EmailAddress", "Name" ],
+ "readOnlyProperties" : [ "/properties/Arn", "/properties/EmailContact", "/properties/EmailContact/Arn", "/properties/EmailContact/Address", "/properties/EmailContact/Name", "/properties/EmailContact/Status", "/properties/EmailContact/CreationTime", "/properties/EmailContact/UpdateTime" ],
+ "writeOnlyProperties" : [ "/properties/EmailAddress", "/properties/Name" ],
+ "createOnlyProperties" : [ "/properties/EmailAddress", "/properties/Name", "/properties/Tags" ],
+ "primaryIdentifier" : [ "/properties/Arn" ],
+ "handlers" : {
+ "create" : {
+ "permissions" : [ "notifications-contacts:CreateEmailContact", "notifications-contacts:GetEmailContact", "notifications-contacts:TagResource", "notifications-contacts:UntagResource", "notifications-contacts:ListTagsForResource" ]
+ },
+ "read" : {
+ "permissions" : [ "notifications-contacts:GetEmailContact", "notifications-contacts:ListTagsForResource", "notifications-contacts:TagResource" ]
+ },
+ "delete" : {
+ "permissions" : [ "notifications-contacts:DeleteEmailContact", "notifications-contacts:GetEmailContact" ]
+ },
+ "list" : {
+ "permissions" : [ "notifications-contacts:ListEmailContacts" ]
+ }
+ },
+ "tagging" : {
+ "taggable" : true,
+ "tagOnCreate" : true,
+ "tagUpdatable" : false,
+ "cloudFormationSystemTags" : true,
+ "tagProperty" : "/properties/Tags",
+ "permissions" : [ "notifications-contacts:TagResource", "notifications-contacts:UntagResource", "notifications-contacts:ListTagsForResource" ]
+ },
+ "additionalProperties" : false
+}
\ No newline at end of file
diff --git a/aws-cloudformation-schema/aws-sns-topic.json b/aws-cloudformation-schema/aws-sns-topic.json
index 67ca3e5d18..92d7be5508 100644
--- a/aws-cloudformation-schema/aws-sns-topic.json
+++ b/aws-cloudformation-schema/aws-sns-topic.json
@@ -37,6 +37,10 @@
"description" : "The archive policy determines the number of days SNS retains messages. You can set a retention period from 1 to 365 days.",
"type" : "object"
},
+ "FifoThroughputScope" : {
+ "description" : "",
+ "type" : "string"
+ },
"Tags" : {
"type" : "array",
"uniqueItems" : false,
diff --git a/aws-cloudformation-schema/aws-workspaces-connectionalias.json b/aws-cloudformation-schema/aws-workspaces-connectionalias.json
index 68c63ed9f7..aba8eb905a 100644
--- a/aws-cloudformation-schema/aws-workspaces-connectionalias.json
+++ b/aws-cloudformation-schema/aws-workspaces-connectionalias.json
@@ -46,6 +46,7 @@
"type" : "array",
"maxLength" : 25,
"minLength" : 1,
+ "insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/ConnectionAliasAssociation"
}
@@ -69,6 +70,7 @@
"Tags" : {
"type" : "array",
"uniqueItems" : false,
+ "insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/Tag"
}
@@ -81,13 +83,13 @@
"readOnlyProperties" : [ "/properties/ConnectionAliasState", "/properties/AliasId", "/properties/Associations" ],
"handlers" : {
"create" : {
- "permissions" : [ "workspaces:CreateConnectionAlias" ]
+ "permissions" : [ "workspaces:CreateConnectionAlias", "workspaces:CreateTags", "workspaces:DescribeConnectionAliases", "workspaces:DescribeTags" ]
},
"read" : {
- "permissions" : [ "workspaces:DescribeConnectionAliases" ]
+ "permissions" : [ "workspaces:DescribeConnectionAliases", "workspaces:DescribeTags" ]
},
"delete" : {
- "permissions" : [ "workspaces:DeleteConnectionAlias" ]
+ "permissions" : [ "workspaces:DeleteConnectionAlias", "workspaces:DeleteTags", "workspaces:DescribeTags", "workspaces:DescribeConnectionAliases" ]
}
}
}
\ No newline at end of file
diff --git a/meta/.botocore.version b/meta/.botocore.version
index 64ab418437..6e8a789ad0 100644
--- a/meta/.botocore.version
+++ b/meta/.botocore.version
@@ -1 +1 @@
-1.35.98
+1.35.99
diff --git a/meta/regions.json b/meta/regions.json
index 209909baea..0e34f04555 100644
--- a/meta/regions.json
+++ b/meta/regions.json
@@ -103,6 +103,10 @@
"name": "me-south-1",
"description": "Middle East (Bahrain)"
},
+ {
+ "name": "mx-central-1",
+ "description": "Mexico (Central)"
+ },
{
"name": "sa-east-1",
"description": "South America (Sao Paulo)"
diff --git a/provider/cmd/pulumi-resource-aws-native/metadata.json b/provider/cmd/pulumi-resource-aws-native/metadata.json
index 8d23921d58..6519a7e676 100644
--- a/provider/cmd/pulumi-resource-aws-native/metadata.json
+++ b/provider/cmd/pulumi-resource-aws-native/metadata.json
@@ -13700,8 +13700,7 @@
},
"knowledgeBaseConfiguration": {
"$ref": "#/types/aws-native:bedrock:KnowledgeBaseConfiguration",
- "description": "Contains details about the embeddings configuration of the knowledge base.",
- "replaceOnChanges": true
+ "description": "Contains details about the embeddings configuration of the knowledge base."
},
"knowledgeBaseId": {
"type": "string",
@@ -13744,7 +13743,12 @@
"roleArn"
],
"createOnly": [
- "knowledgeBaseConfiguration",
+ "knowledgeBaseConfiguration/kendraKnowledgeBaseConfiguration",
+ "knowledgeBaseConfiguration/sqlKnowledgeBaseConfiguration/redshiftConfiguration/queryEngineConfiguration",
+ "knowledgeBaseConfiguration/sqlKnowledgeBaseConfiguration/redshiftConfiguration/storageConfigurations",
+ "knowledgeBaseConfiguration/sqlKnowledgeBaseConfiguration/type",
+ "knowledgeBaseConfiguration/type",
+ "knowledgeBaseConfiguration/vectorKnowledgeBaseConfiguration",
"storageConfiguration"
],
"readOnly": [
@@ -29104,6 +29108,10 @@
],
"description": "Configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration."
},
+ "connectionIdentifier": {
+ "type": "string",
+ "description": "The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run"
+ },
"description": {
"type": "string",
"description": "The description of the data source."
@@ -29171,6 +29179,15 @@
],
"description": "Configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration."
},
+ "connectionId": {
+ "type": "string",
+ "description": "The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run"
+ },
+ "connectionIdentifier": {
+ "type": "string",
+ "description": "The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run",
+ "replaceOnChanges": true
+ },
"createdAt": {
"type": "string",
"description": "The timestamp of when the data source was created."
@@ -29259,17 +29276,18 @@
},
"required": [
"domainIdentifier",
- "environmentIdentifier",
"projectIdentifier",
"type"
],
"createOnly": [
+ "connectionIdentifier",
"domainIdentifier",
"environmentIdentifier",
"projectIdentifier",
"type"
],
"readOnly": [
+ "connectionId",
"createdAt",
"domainId",
"environmentId",
@@ -29284,6 +29302,7 @@
"writeOnly": [
"assetFormsInput",
"configuration",
+ "connectionIdentifier",
"domainIdentifier",
"environmentIdentifier",
"projectIdentifier"
@@ -88520,7 +88539,7 @@
},
"databaseInsightsMode": {
"type": "string",
- "description": "The mode of Database Insights to enable for the DB instance.\n\nThis setting only applies to Amazon Aurora DB instances.\n\n\u003e Currently, this value is inherited from the DB cluster and can't be changed."
+ "description": "The mode of Database Insights that is enabled for the instance."
},
"dbClusterIdentifier": {
"type": "string",
@@ -104033,6 +104052,9 @@
"type": "string",
"description": "The display name to use for an SNS topic with SMS subscriptions. The display name must be maximum 100 characters long, including hyphens (-), underscores (_), spaces, and tabs."
},
+ "fifoThroughputScope": {
+ "type": "string"
+ },
"fifoTopic": {
"type": "boolean",
"description": "Set to true to create a FIFO topic."
@@ -104092,6 +104114,9 @@
"type": "string",
"description": "The display name to use for an SNS topic with SMS subscriptions. The display name must be maximum 100 characters long, including hyphens (-), underscores (_), spaces, and tabs."
},
+ "fifoThroughputScope": {
+ "type": "string"
+ },
"fifoTopic": {
"type": "boolean",
"description": "Set to true to create a FIFO topic.",
@@ -104463,7 +104488,7 @@
},
"automationTargetParameterName": {
"type": "string",
- "description": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of AWS Systems Manager ."
+ "description": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager ."
},
"calendarNames": {
"type": "array",
@@ -104549,7 +104574,7 @@
},
"automationTargetParameterName": {
"type": "string",
- "description": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of AWS Systems Manager ."
+ "description": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager ."
},
"calendarNames": {
"type": "array",
@@ -127031,15 +127056,32 @@
"properties": {
"kendraKnowledgeBaseConfiguration": {
"$ref": "#/types/aws-native:bedrock:KnowledgeBaseKendraKnowledgeBaseConfiguration",
- "description": "Settings for an Amazon Kendra knowledge base."
+ "description": "Settings for an Amazon Kendra knowledge base.",
+ "replaceOnChanges": true
+ },
+ "sqlKnowledgeBaseConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseSqlKnowledgeBaseConfiguration"
},
"type": {
"$ref": "#/types/aws-native:bedrock:KnowledgeBaseType",
- "description": "The type of data that the data source is converted into for the knowledge base."
+ "description": "The type of data that the data source is converted into for the knowledge base.",
+ "replaceOnChanges": true
},
"vectorKnowledgeBaseConfiguration": {
"$ref": "#/types/aws-native:bedrock:KnowledgeBaseVectorKnowledgeBaseConfiguration",
- "description": "Contains details about the model that's used to convert the data source into vector embeddings."
+ "description": "Contains details about the model that's used to convert the data source into vector embeddings.",
+ "replaceOnChanges": true
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseCuratedQuery": {
+ "type": "object",
+ "properties": {
+ "naturalLanguage": {
+ "type": "string"
+ },
+ "sql": {
+ "type": "string"
}
}
},
@@ -127052,6 +127094,9 @@
}
}
},
+ "aws-native:bedrock:KnowledgeBaseInclusionType": {
+ "type": "string"
+ },
"aws-native:bedrock:KnowledgeBaseKendraKnowledgeBaseConfiguration": {
"type": "object",
"properties": {
@@ -127179,6 +127224,71 @@
}
}
},
+ "aws-native:bedrock:KnowledgeBaseQueryEngineType": {
+ "type": "string"
+ },
+ "aws-native:bedrock:KnowledgeBaseQueryGenerationColumn": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "inclusion": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseInclusionType"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseQueryGenerationConfiguration": {
+ "type": "object",
+ "properties": {
+ "executionTimeoutSeconds": {
+ "type": "integer"
+ },
+ "generationContext": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseQueryGenerationContext"
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseQueryGenerationContext": {
+ "type": "object",
+ "properties": {
+ "curatedQueries": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseCuratedQuery"
+ }
+ },
+ "tables": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseQueryGenerationTable"
+ }
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseQueryGenerationTable": {
+ "type": "object",
+ "properties": {
+ "columns": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseQueryGenerationColumn"
+ }
+ },
+ "description": {
+ "type": "string"
+ },
+ "inclusion": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseInclusionType"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+ },
"aws-native:bedrock:KnowledgeBaseRdsConfiguration": {
"type": "object",
"properties": {
@@ -127225,6 +127335,132 @@
}
}
},
+ "aws-native:bedrock:KnowledgeBaseRedshiftConfiguration": {
+ "type": "object",
+ "properties": {
+ "queryEngineConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineConfiguration",
+ "replaceOnChanges": true
+ },
+ "queryGenerationConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseQueryGenerationConfiguration"
+ },
+ "storageConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineStorageConfiguration"
+ },
+ "replaceOnChanges": true
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftProvisionedAuthConfiguration": {
+ "type": "object",
+ "properties": {
+ "databaseUser": {
+ "type": "string",
+ "description": "Redshift database user"
+ },
+ "type": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftProvisionedAuthType"
+ },
+ "usernamePasswordSecretArn": {
+ "type": "string"
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftProvisionedAuthType": {
+ "type": "string"
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftProvisionedConfiguration": {
+ "type": "object",
+ "properties": {
+ "authConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftProvisionedAuthConfiguration"
+ },
+ "clusterIdentifier": {
+ "type": "string"
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration": {
+ "type": "object",
+ "properties": {
+ "tableNames": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineConfiguration": {
+ "type": "object",
+ "properties": {
+ "provisionedConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftProvisionedConfiguration"
+ },
+ "serverlessConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftServerlessConfiguration"
+ },
+ "type": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineType"
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration": {
+ "type": "object",
+ "properties": {
+ "databaseName": {
+ "type": "string"
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineStorageConfiguration": {
+ "type": "object",
+ "properties": {
+ "awsDataCatalogConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration"
+ },
+ "redshiftConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration"
+ },
+ "type": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineStorageType"
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineStorageType": {
+ "type": "string"
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineType": {
+ "type": "string"
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftServerlessAuthConfiguration": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftServerlessAuthType"
+ },
+ "usernamePasswordSecretArn": {
+ "type": "string"
+ }
+ }
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftServerlessAuthType": {
+ "type": "string"
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftServerlessConfiguration": {
+ "type": "object",
+ "properties": {
+ "authConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftServerlessAuthConfiguration"
+ },
+ "workgroupArn": {
+ "type": "string"
+ }
+ }
+ },
"aws-native:bedrock:KnowledgeBaseS3Location": {
"type": "object",
"properties": {
@@ -127237,6 +127473,18 @@
"uri": "URI"
}
},
+ "aws-native:bedrock:KnowledgeBaseSqlKnowledgeBaseConfiguration": {
+ "type": "object",
+ "properties": {
+ "redshiftConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftConfiguration"
+ },
+ "type": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseQueryEngineType",
+ "replaceOnChanges": true
+ }
+ }
+ },
"aws-native:bedrock:KnowledgeBaseStatus": {
"type": "string"
},
@@ -139690,6 +139938,10 @@
"type": "boolean",
"description": "Specifies whether to automatically import data quality metrics as part of the data source run."
},
+ "catalogName": {
+ "type": "string",
+ "description": "The catalog name in the AWS Glue run configuration."
+ },
"dataAccessRole": {
"type": "string",
"description": "The data access role included in the configuration details of the AWS Glue data source."
@@ -159663,11 +159915,11 @@
"properties": {
"key": {
"type": "string",
- "description": "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
+ "description": "Tag key (1-128 chars). No 'aws:' prefix. Allows: [A-Za-z0-9 _.:/=+-]"
},
"value": {
"type": "string",
- "description": "The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
+ "description": "Tag value (1-256 chars). No 'aws:' prefix. Allows: [A-Za-z0-9 _.:/=+-]"
}
}
},
diff --git a/provider/cmd/pulumi-resource-aws-native/schema.json b/provider/cmd/pulumi-resource-aws-native/schema.json
index f69c3d5b13..97f42ef7c1 100644
--- a/provider/cmd/pulumi-resource-aws-native/schema.json
+++ b/provider/cmd/pulumi-resource-aws-native/schema.json
@@ -19676,6 +19676,10 @@
{
"name": "Custom",
"value": "CUSTOM"
+ },
+ {
+ "name": "RedshiftMetadata",
+ "value": "REDSHIFT_METADATA"
}
]
},
@@ -22159,15 +22163,21 @@
"properties": {
"kendraKnowledgeBaseConfiguration": {
"$ref": "#/types/aws-native:bedrock:KnowledgeBaseKendraKnowledgeBaseConfiguration",
- "description": "Settings for an Amazon Kendra knowledge base."
+ "description": "Settings for an Amazon Kendra knowledge base.",
+ "replaceOnChanges": true
+ },
+ "sqlKnowledgeBaseConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseSqlKnowledgeBaseConfiguration"
},
"type": {
"$ref": "#/types/aws-native:bedrock:KnowledgeBaseType",
- "description": "The type of data that the data source is converted into for the knowledge base."
+ "description": "The type of data that the data source is converted into for the knowledge base.",
+ "replaceOnChanges": true
},
"vectorKnowledgeBaseConfiguration": {
"$ref": "#/types/aws-native:bedrock:KnowledgeBaseVectorKnowledgeBaseConfiguration",
- "description": "Contains details about the model that's used to convert the data source into vector embeddings."
+ "description": "Contains details about the model that's used to convert the data source into vector embeddings.",
+ "replaceOnChanges": true
}
},
"type": "object",
@@ -22175,6 +22185,22 @@
"type"
]
},
+ "aws-native:bedrock:KnowledgeBaseCuratedQuery": {
+ "description": "Curated query or question and answer pair",
+ "properties": {
+ "naturalLanguage": {
+ "type": "string"
+ },
+ "sql": {
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "naturalLanguage",
+ "sql"
+ ]
+ },
"aws-native:bedrock:KnowledgeBaseEmbeddingModelConfiguration": {
"description": "The embeddings model configuration details for the vector model used in Knowledge Base.",
"properties": {
@@ -22185,6 +22211,20 @@
},
"type": "object"
},
+ "aws-native:bedrock:KnowledgeBaseInclusionType": {
+ "description": "Include or Exclude status for an entity",
+ "type": "string",
+ "enum": [
+ {
+ "name": "Include",
+ "value": "INCLUDE"
+ },
+ {
+ "name": "Exclude",
+ "value": "EXCLUDE"
+ }
+ ]
+ },
"aws-native:bedrock:KnowledgeBaseKendraKnowledgeBaseConfiguration": {
"description": "Configurations for a Kendra knowledge base",
"properties": {
@@ -22354,6 +22394,85 @@
"textField"
]
},
+ "aws-native:bedrock:KnowledgeBaseQueryEngineType": {
+ "description": "SQL query engine type",
+ "type": "string",
+ "enum": [
+ {
+ "name": "Redshift",
+ "value": "REDSHIFT"
+ }
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseQueryGenerationColumn": {
+ "description": "Redshift query generation column",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "inclusion": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseInclusionType"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "aws-native:bedrock:KnowledgeBaseQueryGenerationConfiguration": {
+ "description": "Configurations for generating Redshift engine queries",
+ "properties": {
+ "executionTimeoutSeconds": {
+ "type": "integer"
+ },
+ "generationContext": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseQueryGenerationContext"
+ }
+ },
+ "type": "object"
+ },
+ "aws-native:bedrock:KnowledgeBaseQueryGenerationContext": {
+ "description": "Context used to improve query generation",
+ "properties": {
+ "curatedQueries": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseCuratedQuery"
+ }
+ },
+ "tables": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseQueryGenerationTable"
+ }
+ }
+ },
+ "type": "object"
+ },
+ "aws-native:bedrock:KnowledgeBaseQueryGenerationTable": {
+ "description": "Tables used for Redshift query generation context",
+ "properties": {
+ "columns": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseQueryGenerationColumn"
+ }
+ },
+ "description": {
+ "type": "string"
+ },
+ "inclusion": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseInclusionType"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "name"
+ ]
+ },
"aws-native:bedrock:KnowledgeBaseRdsConfiguration": {
"description": "Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.",
"properties": {
@@ -22415,6 +22534,219 @@
"vectorField"
]
},
+ "aws-native:bedrock:KnowledgeBaseRedshiftConfiguration": {
+ "description": "Configurations for a Redshift knowledge base",
+ "properties": {
+ "queryEngineConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineConfiguration",
+ "replaceOnChanges": true
+ },
+ "queryGenerationConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseQueryGenerationConfiguration"
+ },
+ "storageConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineStorageConfiguration"
+ },
+ "replaceOnChanges": true
+ }
+ },
+ "type": "object",
+ "required": [
+ "queryEngineConfiguration",
+ "storageConfigurations"
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftProvisionedAuthConfiguration": {
+ "description": "Configurations for Redshift query engine provisioned auth setup",
+ "properties": {
+ "databaseUser": {
+ "type": "string",
+ "description": "Redshift database user"
+ },
+ "type": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftProvisionedAuthType"
+ },
+ "usernamePasswordSecretArn": {
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "type"
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftProvisionedAuthType": {
+ "description": "Provisioned Redshift auth type",
+ "type": "string",
+ "enum": [
+ {
+ "name": "Iam",
+ "value": "IAM"
+ },
+ {
+ "name": "UsernamePassword",
+ "value": "USERNAME_PASSWORD"
+ },
+ {
+ "name": "Username",
+ "value": "USERNAME"
+ }
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftProvisionedConfiguration": {
+ "description": "Configurations for provisioned Redshift query engine",
+ "properties": {
+ "authConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftProvisionedAuthConfiguration"
+ },
+ "clusterIdentifier": {
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "authConfiguration",
+ "clusterIdentifier"
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration": {
+ "description": "Configurations for Redshift query engine AWS Data Catalog backed storage",
+ "properties": {
+ "tableNames": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "type": "object",
+ "required": [
+ "tableNames"
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineConfiguration": {
+ "description": "Configurations for Redshift query engine",
+ "properties": {
+ "provisionedConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftProvisionedConfiguration"
+ },
+ "serverlessConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftServerlessConfiguration"
+ },
+ "type": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineType"
+ }
+ },
+ "type": "object",
+ "required": [
+ "type"
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration": {
+ "description": "Configurations for Redshift query engine Redshift backed storage",
+ "properties": {
+ "databaseName": {
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "databaseName"
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineStorageConfiguration": {
+ "description": "Configurations for available Redshift query engine storage types",
+ "properties": {
+ "awsDataCatalogConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration"
+ },
+ "redshiftConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration"
+ },
+ "type": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineStorageType"
+ }
+ },
+ "type": "object",
+ "required": [
+ "type"
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineStorageType": {
+ "description": "Redshift query engine storage type",
+ "type": "string",
+ "enum": [
+ {
+ "name": "Redshift",
+ "value": "REDSHIFT"
+ },
+ {
+ "name": "AwsDataCatalog",
+ "value": "AWS_DATA_CATALOG"
+ }
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftQueryEngineType": {
+ "description": "Redshift query engine type",
+ "type": "string",
+ "enum": [
+ {
+ "name": "Serverless",
+ "value": "SERVERLESS"
+ },
+ {
+ "name": "Provisioned",
+ "value": "PROVISIONED"
+ }
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftServerlessAuthConfiguration": {
+ "description": "Configurations for Redshift query engine serverless auth setup",
+ "properties": {
+ "type": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftServerlessAuthType"
+ },
+ "usernamePasswordSecretArn": {
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "type"
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftServerlessAuthType": {
+ "description": "Serverless Redshift auth type",
+ "type": "string",
+ "enum": [
+ {
+ "name": "Iam",
+ "value": "IAM"
+ },
+ {
+ "name": "UsernamePassword",
+ "value": "USERNAME_PASSWORD"
+ }
+ ]
+ },
+ "aws-native:bedrock:KnowledgeBaseRedshiftServerlessConfiguration": {
+ "description": "Configurations for serverless Redshift query engine",
+ "properties": {
+ "authConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftServerlessAuthConfiguration"
+ },
+ "workgroupArn": {
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "authConfiguration",
+ "workgroupArn"
+ ]
+ },
"aws-native:bedrock:KnowledgeBaseS3Location": {
"description": "An Amazon S3 location.",
"properties": {
@@ -22428,6 +22760,22 @@
"uri"
]
},
+ "aws-native:bedrock:KnowledgeBaseSqlKnowledgeBaseConfiguration": {
+ "description": "Configurations for a SQL knowledge base",
+ "properties": {
+ "redshiftConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseRedshiftConfiguration"
+ },
+ "type": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseQueryEngineType",
+ "replaceOnChanges": true
+ }
+ },
+ "type": "object",
+ "required": [
+ "type"
+ ]
+ },
"aws-native:bedrock:KnowledgeBaseStatus": {
"description": "The status of a knowledge base.",
"type": "string",
@@ -22560,6 +22908,10 @@
{
"name": "Kendra",
"value": "KENDRA"
+ },
+ {
+ "name": "Sql",
+ "value": "SQL"
}
]
},
@@ -41710,6 +42062,10 @@
"type": "boolean",
"description": "Specifies whether to automatically import data quality metrics as part of the data source run."
},
+ "catalogName": {
+ "type": "string",
+ "description": "The catalog name in the AWS Glue run configuration."
+ },
"dataAccessRole": {
"type": "string",
"description": "The data access role included in the configuration details of the AWS Glue data source."
@@ -41794,8 +42150,6 @@
},
"type": "object",
"required": [
- "redshiftCredentialConfiguration",
- "redshiftStorage",
"relationalFilterConfigurations"
]
},
@@ -67528,6 +67882,11 @@
"description": "Middle East (Bahrain)",
"value": "me-south-1"
},
+ {
+ "name": "MxCentral1",
+ "description": "Mexico (Central)",
+ "value": "mx-central-1"
+ },
{
"name": "SaEast1",
"description": "South America (Sao Paulo)",
@@ -70453,11 +70812,11 @@
"properties": {
"key": {
"type": "string",
- "description": "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
+ "description": "Tag key (1-128 chars). No 'aws:' prefix. Allows: [A-Za-z0-9 _.:/=+-]"
},
"value": {
"type": "string",
- "description": "The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
+ "description": "Tag value (1-256 chars). No 'aws:' prefix. Allows: [A-Za-z0-9 _.:/=+-]"
}
},
"type": "object",
@@ -194366,8 +194725,7 @@
},
"knowledgeBaseConfiguration": {
"$ref": "#/types/aws-native:bedrock:KnowledgeBaseConfiguration",
- "description": "Contains details about the embeddings configuration of the knowledge base.",
- "replaceOnChanges": true
+ "description": "Contains details about the embeddings configuration of the knowledge base."
},
"knowledgeBaseId": {
"type": "string",
@@ -208257,6 +208615,15 @@
],
"description": "Configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration."
},
+ "connectionId": {
+ "type": "string",
+ "description": "The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run"
+ },
+ "connectionIdentifier": {
+ "type": "string",
+ "description": "The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run",
+ "replaceOnChanges": true
+ },
"createdAt": {
"type": "string",
"description": "The timestamp of when the data source was created."
@@ -208341,11 +208708,11 @@
"type": "object",
"required": [
"awsId",
+ "connectionId",
"createdAt",
"domainId",
"domainIdentifier",
"environmentId",
- "environmentIdentifier",
"lastRunAssetCount",
"lastRunAt",
"lastRunStatus",
@@ -208378,6 +208745,10 @@
],
"description": "Configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration."
},
+ "connectionIdentifier": {
+ "type": "string",
+ "description": "The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run"
+ },
"description": {
"type": "string",
"description": "The description of the data source."
@@ -208421,7 +208792,6 @@
},
"requiredInputs": [
"domainIdentifier",
- "environmentIdentifier",
"projectIdentifier",
"type"
]
@@ -260724,7 +261094,7 @@
},
"databaseInsightsMode": {
"type": "string",
- "description": "The mode of Database Insights to enable for the DB instance.\n\nThis setting only applies to Amazon Aurora DB instances.\n\n\u003e Currently, this value is inherited from the DB cluster and can't be changed."
+ "description": "The mode of Database Insights that is enabled for the instance."
},
"dbClusterIdentifier": {
"type": "string",
@@ -274578,6 +274948,9 @@
"type": "string",
"description": "The display name to use for an SNS topic with SMS subscriptions. The display name must be maximum 100 characters long, including hyphens (-), underscores (_), spaces, and tabs."
},
+ "fifoThroughputScope": {
+ "type": "string"
+ },
"fifoTopic": {
"type": "boolean",
"description": "Set to true to create a FIFO topic.",
@@ -274647,6 +275020,9 @@
"type": "string",
"description": "The display name to use for an SNS topic with SMS subscriptions. The display name must be maximum 100 characters long, including hyphens (-), underscores (_), spaces, and tabs."
},
+ "fifoThroughputScope": {
+ "type": "string"
+ },
"fifoTopic": {
"type": "boolean",
"description": "Set to true to create a FIFO topic."
@@ -274965,7 +275341,7 @@
},
"automationTargetParameterName": {
"type": "string",
- "description": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of AWS Systems Manager ."
+ "description": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager ."
},
"calendarNames": {
"type": "array",
@@ -275052,7 +275428,7 @@
},
"automationTargetParameterName": {
"type": "string",
- "description": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of AWS Systems Manager ."
+ "description": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager ."
},
"calendarNames": {
"type": "array",
@@ -289175,6 +289551,10 @@
"type": "string",
"description": "The ARN of the knowledge base."
},
+ "knowledgeBaseConfiguration": {
+ "$ref": "#/types/aws-native:bedrock:KnowledgeBaseConfiguration",
+ "description": "Contains details about the embeddings configuration of the knowledge base."
+ },
"knowledgeBaseId": {
"type": "string",
"description": "The unique identifier of the knowledge base."
@@ -296556,6 +296936,10 @@
},
"outputs": {
"properties": {
+ "connectionId": {
+ "type": "string",
+ "description": "The unique identifier of a connection used to fetch relevant parameters from connection during Datasource run"
+ },
"createdAt": {
"type": "string",
"description": "The timestamp of when the data source was created."
@@ -323724,7 +324108,7 @@
},
"databaseInsightsMode": {
"type": "string",
- "description": "The mode of Database Insights to enable for the DB instance.\n\nThis setting only applies to Amazon Aurora DB instances.\n\n\u003e Currently, this value is inherited from the DB cluster and can't be changed."
+ "description": "The mode of Database Insights that is enabled for the instance."
},
"dbClusterSnapshotIdentifier": {
"type": "string",
@@ -330947,6 +331331,9 @@
"type": "string",
"description": "The display name to use for an SNS topic with SMS subscriptions. The display name must be maximum 100 characters long, including hyphens (-), underscores (_), spaces, and tabs."
},
+ "fifoThroughputScope": {
+ "type": "string"
+ },
"kmsMasterKeyId": {
"type": "string",
"description": "The ID of an AWS managed customer master key (CMK) for SNS or a custom CMK. For more information, see [Key terms](https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms). For more examples, see ``KeyId`` in the *API Reference*.\n This property applies only to [server-side-encryption](https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html)."
@@ -331171,7 +331558,7 @@
},
"automationTargetParameterName": {
"type": "string",
- "description": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of AWS Systems Manager ."
+ "description": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager ."
},
"calendarNames": {
"type": "array",
diff --git a/sdk/dotnet/Bedrock/Enums.cs b/sdk/dotnet/Bedrock/Enums.cs
index 79746cbafa..a59c1a0cd9 100644
--- a/sdk/dotnet/Bedrock/Enums.cs
+++ b/sdk/dotnet/Bedrock/Enums.cs
@@ -809,6 +809,7 @@ private DataSourceType(string value)
public static DataSourceType Sharepoint { get; } = new DataSourceType("SHAREPOINT");
public static DataSourceType Web { get; } = new DataSourceType("WEB");
public static DataSourceType Custom { get; } = new DataSourceType("CUSTOM");
+ public static DataSourceType RedshiftMetadata { get; } = new DataSourceType("REDSHIFT_METADATA");
public static bool operator ==(DataSourceType left, DataSourceType right) => left.Equals(right);
public static bool operator !=(DataSourceType left, DataSourceType right) => !left.Equals(right);
@@ -1479,6 +1480,192 @@ private GuardrailTopicType(string value)
public override string ToString() => _value;
}
+ ///
+ /// Include or Exclude status for an entity
+ ///
+ [EnumType]
+ public readonly struct KnowledgeBaseInclusionType : IEquatable
+ {
+ private readonly string _value;
+
+ private KnowledgeBaseInclusionType(string value)
+ {
+ _value = value ?? throw new ArgumentNullException(nameof(value));
+ }
+
+ public static KnowledgeBaseInclusionType Include { get; } = new KnowledgeBaseInclusionType("INCLUDE");
+ public static KnowledgeBaseInclusionType Exclude { get; } = new KnowledgeBaseInclusionType("EXCLUDE");
+
+ public static bool operator ==(KnowledgeBaseInclusionType left, KnowledgeBaseInclusionType right) => left.Equals(right);
+ public static bool operator !=(KnowledgeBaseInclusionType left, KnowledgeBaseInclusionType right) => !left.Equals(right);
+
+ public static explicit operator string(KnowledgeBaseInclusionType value) => value._value;
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object? obj) => obj is KnowledgeBaseInclusionType other && Equals(other);
+ public bool Equals(KnowledgeBaseInclusionType other) => string.Equals(_value, other._value, StringComparison.Ordinal);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value?.GetHashCode() ?? 0;
+
+ public override string ToString() => _value;
+ }
+
+ ///
+ /// SQL query engine type
+ ///
+ [EnumType]
+ public readonly struct KnowledgeBaseQueryEngineType : IEquatable
+ {
+ private readonly string _value;
+
+ private KnowledgeBaseQueryEngineType(string value)
+ {
+ _value = value ?? throw new ArgumentNullException(nameof(value));
+ }
+
+ public static KnowledgeBaseQueryEngineType Redshift { get; } = new KnowledgeBaseQueryEngineType("REDSHIFT");
+
+ public static bool operator ==(KnowledgeBaseQueryEngineType left, KnowledgeBaseQueryEngineType right) => left.Equals(right);
+ public static bool operator !=(KnowledgeBaseQueryEngineType left, KnowledgeBaseQueryEngineType right) => !left.Equals(right);
+
+ public static explicit operator string(KnowledgeBaseQueryEngineType value) => value._value;
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object? obj) => obj is KnowledgeBaseQueryEngineType other && Equals(other);
+ public bool Equals(KnowledgeBaseQueryEngineType other) => string.Equals(_value, other._value, StringComparison.Ordinal);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value?.GetHashCode() ?? 0;
+
+ public override string ToString() => _value;
+ }
+
+ ///
+ /// Provisioned Redshift auth type
+ ///
+ [EnumType]
+ public readonly struct KnowledgeBaseRedshiftProvisionedAuthType : IEquatable
+ {
+ private readonly string _value;
+
+ private KnowledgeBaseRedshiftProvisionedAuthType(string value)
+ {
+ _value = value ?? throw new ArgumentNullException(nameof(value));
+ }
+
+ public static KnowledgeBaseRedshiftProvisionedAuthType Iam { get; } = new KnowledgeBaseRedshiftProvisionedAuthType("IAM");
+ public static KnowledgeBaseRedshiftProvisionedAuthType UsernamePassword { get; } = new KnowledgeBaseRedshiftProvisionedAuthType("USERNAME_PASSWORD");
+ public static KnowledgeBaseRedshiftProvisionedAuthType Username { get; } = new KnowledgeBaseRedshiftProvisionedAuthType("USERNAME");
+
+ public static bool operator ==(KnowledgeBaseRedshiftProvisionedAuthType left, KnowledgeBaseRedshiftProvisionedAuthType right) => left.Equals(right);
+ public static bool operator !=(KnowledgeBaseRedshiftProvisionedAuthType left, KnowledgeBaseRedshiftProvisionedAuthType right) => !left.Equals(right);
+
+ public static explicit operator string(KnowledgeBaseRedshiftProvisionedAuthType value) => value._value;
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object? obj) => obj is KnowledgeBaseRedshiftProvisionedAuthType other && Equals(other);
+ public bool Equals(KnowledgeBaseRedshiftProvisionedAuthType other) => string.Equals(_value, other._value, StringComparison.Ordinal);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value?.GetHashCode() ?? 0;
+
+ public override string ToString() => _value;
+ }
+
+ ///
+ /// Redshift query engine storage type
+ ///
+ [EnumType]
+ public readonly struct KnowledgeBaseRedshiftQueryEngineStorageType : IEquatable
+ {
+ private readonly string _value;
+
+ private KnowledgeBaseRedshiftQueryEngineStorageType(string value)
+ {
+ _value = value ?? throw new ArgumentNullException(nameof(value));
+ }
+
+ public static KnowledgeBaseRedshiftQueryEngineStorageType Redshift { get; } = new KnowledgeBaseRedshiftQueryEngineStorageType("REDSHIFT");
+ public static KnowledgeBaseRedshiftQueryEngineStorageType AwsDataCatalog { get; } = new KnowledgeBaseRedshiftQueryEngineStorageType("AWS_DATA_CATALOG");
+
+ public static bool operator ==(KnowledgeBaseRedshiftQueryEngineStorageType left, KnowledgeBaseRedshiftQueryEngineStorageType right) => left.Equals(right);
+ public static bool operator !=(KnowledgeBaseRedshiftQueryEngineStorageType left, KnowledgeBaseRedshiftQueryEngineStorageType right) => !left.Equals(right);
+
+ public static explicit operator string(KnowledgeBaseRedshiftQueryEngineStorageType value) => value._value;
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object? obj) => obj is KnowledgeBaseRedshiftQueryEngineStorageType other && Equals(other);
+ public bool Equals(KnowledgeBaseRedshiftQueryEngineStorageType other) => string.Equals(_value, other._value, StringComparison.Ordinal);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value?.GetHashCode() ?? 0;
+
+ public override string ToString() => _value;
+ }
+
+ ///
+ /// Redshift query engine type
+ ///
+ [EnumType]
+ public readonly struct KnowledgeBaseRedshiftQueryEngineType : IEquatable
+ {
+ private readonly string _value;
+
+ private KnowledgeBaseRedshiftQueryEngineType(string value)
+ {
+ _value = value ?? throw new ArgumentNullException(nameof(value));
+ }
+
+ public static KnowledgeBaseRedshiftQueryEngineType Serverless { get; } = new KnowledgeBaseRedshiftQueryEngineType("SERVERLESS");
+ public static KnowledgeBaseRedshiftQueryEngineType Provisioned { get; } = new KnowledgeBaseRedshiftQueryEngineType("PROVISIONED");
+
+ public static bool operator ==(KnowledgeBaseRedshiftQueryEngineType left, KnowledgeBaseRedshiftQueryEngineType right) => left.Equals(right);
+ public static bool operator !=(KnowledgeBaseRedshiftQueryEngineType left, KnowledgeBaseRedshiftQueryEngineType right) => !left.Equals(right);
+
+ public static explicit operator string(KnowledgeBaseRedshiftQueryEngineType value) => value._value;
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object? obj) => obj is KnowledgeBaseRedshiftQueryEngineType other && Equals(other);
+ public bool Equals(KnowledgeBaseRedshiftQueryEngineType other) => string.Equals(_value, other._value, StringComparison.Ordinal);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value?.GetHashCode() ?? 0;
+
+ public override string ToString() => _value;
+ }
+
+ ///
+ /// Serverless Redshift auth type
+ ///
+ [EnumType]
+ public readonly struct KnowledgeBaseRedshiftServerlessAuthType : IEquatable
+ {
+ private readonly string _value;
+
+ private KnowledgeBaseRedshiftServerlessAuthType(string value)
+ {
+ _value = value ?? throw new ArgumentNullException(nameof(value));
+ }
+
+ public static KnowledgeBaseRedshiftServerlessAuthType Iam { get; } = new KnowledgeBaseRedshiftServerlessAuthType("IAM");
+ public static KnowledgeBaseRedshiftServerlessAuthType UsernamePassword { get; } = new KnowledgeBaseRedshiftServerlessAuthType("USERNAME_PASSWORD");
+
+ public static bool operator ==(KnowledgeBaseRedshiftServerlessAuthType left, KnowledgeBaseRedshiftServerlessAuthType right) => left.Equals(right);
+ public static bool operator !=(KnowledgeBaseRedshiftServerlessAuthType left, KnowledgeBaseRedshiftServerlessAuthType right) => !left.Equals(right);
+
+ public static explicit operator string(KnowledgeBaseRedshiftServerlessAuthType value) => value._value;
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override bool Equals(object? obj) => obj is KnowledgeBaseRedshiftServerlessAuthType other && Equals(other);
+ public bool Equals(KnowledgeBaseRedshiftServerlessAuthType other) => string.Equals(_value, other._value, StringComparison.Ordinal);
+
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public override int GetHashCode() => _value?.GetHashCode() ?? 0;
+
+ public override string ToString() => _value;
+ }
+
///
/// The status of a knowledge base.
///
@@ -1592,6 +1779,7 @@ private KnowledgeBaseType(string value)
public static KnowledgeBaseType Vector { get; } = new KnowledgeBaseType("VECTOR");
public static KnowledgeBaseType Kendra { get; } = new KnowledgeBaseType("KENDRA");
+ public static KnowledgeBaseType Sql { get; } = new KnowledgeBaseType("SQL");
public static bool operator ==(KnowledgeBaseType left, KnowledgeBaseType right) => left.Equals(right);
public static bool operator !=(KnowledgeBaseType left, KnowledgeBaseType right) => !left.Equals(right);
diff --git a/sdk/dotnet/Bedrock/GetKnowledgeBase.cs b/sdk/dotnet/Bedrock/GetKnowledgeBase.cs
index 8a4a10062d..5021a2a609 100644
--- a/sdk/dotnet/Bedrock/GetKnowledgeBase.cs
+++ b/sdk/dotnet/Bedrock/GetKnowledgeBase.cs
@@ -80,6 +80,10 @@ public sealed class GetKnowledgeBaseResult
///
public readonly string? KnowledgeBaseArn;
///
+ /// Contains details about the embeddings configuration of the knowledge base.
+ ///
+ public readonly Outputs.KnowledgeBaseConfiguration? KnowledgeBaseConfiguration;
+ ///
/// The unique identifier of the knowledge base.
///
public readonly string? KnowledgeBaseId;
@@ -117,6 +121,8 @@ private GetKnowledgeBaseResult(
string? knowledgeBaseArn,
+ Outputs.KnowledgeBaseConfiguration? knowledgeBaseConfiguration,
+
string? knowledgeBaseId,
string? name,
@@ -133,6 +139,7 @@ private GetKnowledgeBaseResult(
Description = description;
FailureReasons = failureReasons;
KnowledgeBaseArn = knowledgeBaseArn;
+ KnowledgeBaseConfiguration = knowledgeBaseConfiguration;
KnowledgeBaseId = knowledgeBaseId;
Name = name;
RoleArn = roleArn;
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseConfigurationArgs.cs
index 383cf9004b..b0ce0d5dc6 100644
--- a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseConfigurationArgs.cs
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseConfigurationArgs.cs
@@ -21,6 +21,9 @@ public sealed class KnowledgeBaseConfigurationArgs : global::Pulumi.ResourceArgs
[Input("kendraKnowledgeBaseConfiguration")]
public Input? KendraKnowledgeBaseConfiguration { get; set; }
+ [Input("sqlKnowledgeBaseConfiguration")]
+ public Input? SqlKnowledgeBaseConfiguration { get; set; }
+
///
/// The type of data that the data source is converted into for the knowledge base.
///
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseCuratedQueryArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseCuratedQueryArgs.cs
new file mode 100644
index 0000000000..279d760a47
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseCuratedQueryArgs.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Curated query or question and answer pair
+ ///
+ public sealed class KnowledgeBaseCuratedQueryArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("naturalLanguage", required: true)]
+ public Input NaturalLanguage { get; set; } = null!;
+
+ [Input("sql", required: true)]
+ public Input Sql { get; set; } = null!;
+
+ public KnowledgeBaseCuratedQueryArgs()
+ {
+ }
+ public static new KnowledgeBaseCuratedQueryArgs Empty => new KnowledgeBaseCuratedQueryArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationColumnArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationColumnArgs.cs
new file mode 100644
index 0000000000..2a3aa46291
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationColumnArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Redshift query generation column
+ ///
+ public sealed class KnowledgeBaseQueryGenerationColumnArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("description")]
+ public Input? Description { get; set; }
+
+ [Input("inclusion")]
+ public Input? Inclusion { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ public KnowledgeBaseQueryGenerationColumnArgs()
+ {
+ }
+ public static new KnowledgeBaseQueryGenerationColumnArgs Empty => new KnowledgeBaseQueryGenerationColumnArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationConfigurationArgs.cs
new file mode 100644
index 0000000000..125b82837e
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationConfigurationArgs.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Configurations for generating Redshift engine queries
+ ///
+ public sealed class KnowledgeBaseQueryGenerationConfigurationArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("executionTimeoutSeconds")]
+ public Input? ExecutionTimeoutSeconds { get; set; }
+
+ [Input("generationContext")]
+ public Input? GenerationContext { get; set; }
+
+ public KnowledgeBaseQueryGenerationConfigurationArgs()
+ {
+ }
+ public static new KnowledgeBaseQueryGenerationConfigurationArgs Empty => new KnowledgeBaseQueryGenerationConfigurationArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationContextArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationContextArgs.cs
new file mode 100644
index 0000000000..77aa422410
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationContextArgs.cs
@@ -0,0 +1,39 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Context used to improve query generation
+ ///
+ public sealed class KnowledgeBaseQueryGenerationContextArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("curatedQueries")]
+ private InputList? _curatedQueries;
+ public InputList CuratedQueries
+ {
+ get => _curatedQueries ?? (_curatedQueries = new InputList());
+ set => _curatedQueries = value;
+ }
+
+ [Input("tables")]
+ private InputList? _tables;
+ public InputList Tables
+ {
+ get => _tables ?? (_tables = new InputList());
+ set => _tables = value;
+ }
+
+ public KnowledgeBaseQueryGenerationContextArgs()
+ {
+ }
+ public static new KnowledgeBaseQueryGenerationContextArgs Empty => new KnowledgeBaseQueryGenerationContextArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationTableArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationTableArgs.cs
new file mode 100644
index 0000000000..48ac99ab17
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseQueryGenerationTableArgs.cs
@@ -0,0 +1,40 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Tables used for Redshift query generation context
+ ///
+ public sealed class KnowledgeBaseQueryGenerationTableArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("columns")]
+ private InputList? _columns;
+ public InputList Columns
+ {
+ get => _columns ?? (_columns = new InputList());
+ set => _columns = value;
+ }
+
+ [Input("description")]
+ public Input? Description { get; set; }
+
+ [Input("inclusion")]
+ public Input? Inclusion { get; set; }
+
+ [Input("name", required: true)]
+ public Input Name { get; set; } = null!;
+
+ public KnowledgeBaseQueryGenerationTableArgs()
+ {
+ }
+ public static new KnowledgeBaseQueryGenerationTableArgs Empty => new KnowledgeBaseQueryGenerationTableArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftConfigurationArgs.cs
new file mode 100644
index 0000000000..dd07c05b43
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftConfigurationArgs.cs
@@ -0,0 +1,37 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Configurations for a Redshift knowledge base
+ ///
+ public sealed class KnowledgeBaseRedshiftConfigurationArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("queryEngineConfiguration", required: true)]
+ public Input QueryEngineConfiguration { get; set; } = null!;
+
+ [Input("queryGenerationConfiguration")]
+ public Input? QueryGenerationConfiguration { get; set; }
+
+ [Input("storageConfigurations", required: true)]
+ private InputList? _storageConfigurations;
+ public InputList StorageConfigurations
+ {
+ get => _storageConfigurations ?? (_storageConfigurations = new InputList());
+ set => _storageConfigurations = value;
+ }
+
+ public KnowledgeBaseRedshiftConfigurationArgs()
+ {
+ }
+ public static new KnowledgeBaseRedshiftConfigurationArgs Empty => new KnowledgeBaseRedshiftConfigurationArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftProvisionedAuthConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftProvisionedAuthConfigurationArgs.cs
new file mode 100644
index 0000000000..3b31b87747
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftProvisionedAuthConfigurationArgs.cs
@@ -0,0 +1,35 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Configurations for Redshift query engine provisioned auth setup
+ ///
+ public sealed class KnowledgeBaseRedshiftProvisionedAuthConfigurationArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Redshift database user
+ ///
+ [Input("databaseUser")]
+ public Input? DatabaseUser { get; set; }
+
+ [Input("type", required: true)]
+ public Input Type { get; set; } = null!;
+
+ [Input("usernamePasswordSecretArn")]
+ public Input? UsernamePasswordSecretArn { get; set; }
+
+ public KnowledgeBaseRedshiftProvisionedAuthConfigurationArgs()
+ {
+ }
+ public static new KnowledgeBaseRedshiftProvisionedAuthConfigurationArgs Empty => new KnowledgeBaseRedshiftProvisionedAuthConfigurationArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftProvisionedConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftProvisionedConfigurationArgs.cs
new file mode 100644
index 0000000000..2502b5221a
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftProvisionedConfigurationArgs.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Configurations for provisioned Redshift query engine
+ ///
+ public sealed class KnowledgeBaseRedshiftProvisionedConfigurationArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("authConfiguration", required: true)]
+ public Input AuthConfiguration { get; set; } = null!;
+
+ [Input("clusterIdentifier", required: true)]
+ public Input ClusterIdentifier { get; set; } = null!;
+
+ public KnowledgeBaseRedshiftProvisionedConfigurationArgs()
+ {
+ }
+ public static new KnowledgeBaseRedshiftProvisionedConfigurationArgs Empty => new KnowledgeBaseRedshiftProvisionedConfigurationArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfigurationArgs.cs
new file mode 100644
index 0000000000..5b2a887768
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfigurationArgs.cs
@@ -0,0 +1,31 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Configurations for Redshift query engine AWS Data Catalog backed storage
+ ///
+ public sealed class KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfigurationArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("tableNames", required: true)]
+ private InputList? _tableNames;
+ public InputList TableNames
+ {
+ get => _tableNames ?? (_tableNames = new InputList());
+ set => _tableNames = value;
+ }
+
+ public KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfigurationArgs()
+ {
+ }
+ public static new KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfigurationArgs Empty => new KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfigurationArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineConfigurationArgs.cs
new file mode 100644
index 0000000000..2b78bf13c3
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineConfigurationArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Configurations for Redshift query engine
+ ///
+ public sealed class KnowledgeBaseRedshiftQueryEngineConfigurationArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("provisionedConfiguration")]
+ public Input? ProvisionedConfiguration { get; set; }
+
+ [Input("serverlessConfiguration")]
+ public Input? ServerlessConfiguration { get; set; }
+
+ [Input("type", required: true)]
+ public Input Type { get; set; } = null!;
+
+ public KnowledgeBaseRedshiftQueryEngineConfigurationArgs()
+ {
+ }
+ public static new KnowledgeBaseRedshiftQueryEngineConfigurationArgs Empty => new KnowledgeBaseRedshiftQueryEngineConfigurationArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfigurationArgs.cs
new file mode 100644
index 0000000000..641d3824d2
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfigurationArgs.cs
@@ -0,0 +1,26 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Configurations for Redshift query engine Redshift backed storage
+ ///
+ public sealed class KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfigurationArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("databaseName", required: true)]
+ public Input DatabaseName { get; set; } = null!;
+
+ public KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfigurationArgs()
+ {
+ }
+ public static new KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfigurationArgs Empty => new KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfigurationArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineStorageConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineStorageConfigurationArgs.cs
new file mode 100644
index 0000000000..54465ffd89
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftQueryEngineStorageConfigurationArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Configurations for available Redshift query engine storage types
+ ///
+ public sealed class KnowledgeBaseRedshiftQueryEngineStorageConfigurationArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("awsDataCatalogConfiguration")]
+ public Input? AwsDataCatalogConfiguration { get; set; }
+
+ [Input("redshiftConfiguration")]
+ public Input? RedshiftConfiguration { get; set; }
+
+ [Input("type", required: true)]
+ public Input Type { get; set; } = null!;
+
+ public KnowledgeBaseRedshiftQueryEngineStorageConfigurationArgs()
+ {
+ }
+ public static new KnowledgeBaseRedshiftQueryEngineStorageConfigurationArgs Empty => new KnowledgeBaseRedshiftQueryEngineStorageConfigurationArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftServerlessAuthConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftServerlessAuthConfigurationArgs.cs
new file mode 100644
index 0000000000..5a90072175
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftServerlessAuthConfigurationArgs.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Configurations for Redshift query engine serverless auth setup
+ ///
+ public sealed class KnowledgeBaseRedshiftServerlessAuthConfigurationArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("type", required: true)]
+ public Input Type { get; set; } = null!;
+
+ [Input("usernamePasswordSecretArn")]
+ public Input? UsernamePasswordSecretArn { get; set; }
+
+ public KnowledgeBaseRedshiftServerlessAuthConfigurationArgs()
+ {
+ }
+ public static new KnowledgeBaseRedshiftServerlessAuthConfigurationArgs Empty => new KnowledgeBaseRedshiftServerlessAuthConfigurationArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftServerlessConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftServerlessConfigurationArgs.cs
new file mode 100644
index 0000000000..2da03de89c
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseRedshiftServerlessConfigurationArgs.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Configurations for serverless Redshift query engine
+ ///
+ public sealed class KnowledgeBaseRedshiftServerlessConfigurationArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("authConfiguration", required: true)]
+ public Input AuthConfiguration { get; set; } = null!;
+
+ [Input("workgroupArn", required: true)]
+ public Input WorkgroupArn { get; set; } = null!;
+
+ public KnowledgeBaseRedshiftServerlessConfigurationArgs()
+ {
+ }
+ public static new KnowledgeBaseRedshiftServerlessConfigurationArgs Empty => new KnowledgeBaseRedshiftServerlessConfigurationArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseSqlKnowledgeBaseConfigurationArgs.cs b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseSqlKnowledgeBaseConfigurationArgs.cs
new file mode 100644
index 0000000000..4b567a6147
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Inputs/KnowledgeBaseSqlKnowledgeBaseConfigurationArgs.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Inputs
+{
+
+ ///
+ /// Configurations for a SQL knowledge base
+ ///
+ public sealed class KnowledgeBaseSqlKnowledgeBaseConfigurationArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("redshiftConfiguration")]
+ public Input? RedshiftConfiguration { get; set; }
+
+ [Input("type", required: true)]
+ public Input Type { get; set; } = null!;
+
+ public KnowledgeBaseSqlKnowledgeBaseConfigurationArgs()
+ {
+ }
+ public static new KnowledgeBaseSqlKnowledgeBaseConfigurationArgs Empty => new KnowledgeBaseSqlKnowledgeBaseConfigurationArgs();
+ }
+}
diff --git a/sdk/dotnet/Bedrock/KnowledgeBase.cs b/sdk/dotnet/Bedrock/KnowledgeBase.cs
index 3bb6617230..b090285fbc 100644
--- a/sdk/dotnet/Bedrock/KnowledgeBase.cs
+++ b/sdk/dotnet/Bedrock/KnowledgeBase.cs
@@ -115,7 +115,12 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions?
Version = Utilities.Version,
ReplaceOnChanges =
{
- "knowledgeBaseConfiguration",
+ "knowledgeBaseConfiguration.kendraKnowledgeBaseConfiguration",
+ "knowledgeBaseConfiguration.sqlKnowledgeBaseConfiguration.redshiftConfiguration.queryEngineConfiguration",
+ "knowledgeBaseConfiguration.sqlKnowledgeBaseConfiguration.redshiftConfiguration.storageConfigurations[*]",
+ "knowledgeBaseConfiguration.sqlKnowledgeBaseConfiguration.type",
+ "knowledgeBaseConfiguration.type",
+ "knowledgeBaseConfiguration.vectorKnowledgeBaseConfiguration",
"storageConfiguration",
},
};
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseConfiguration.cs
index 5c6ce27b33..076cbfb21a 100644
--- a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseConfiguration.cs
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseConfiguration.cs
@@ -20,6 +20,7 @@ public sealed class KnowledgeBaseConfiguration
/// Settings for an Amazon Kendra knowledge base.
///
public readonly Outputs.KnowledgeBaseKendraKnowledgeBaseConfiguration? KendraKnowledgeBaseConfiguration;
+ public readonly Outputs.KnowledgeBaseSqlKnowledgeBaseConfiguration? SqlKnowledgeBaseConfiguration;
///
/// The type of data that the data source is converted into for the knowledge base.
///
@@ -33,11 +34,14 @@ public sealed class KnowledgeBaseConfiguration
private KnowledgeBaseConfiguration(
Outputs.KnowledgeBaseKendraKnowledgeBaseConfiguration? kendraKnowledgeBaseConfiguration,
+ Outputs.KnowledgeBaseSqlKnowledgeBaseConfiguration? sqlKnowledgeBaseConfiguration,
+
Pulumi.AwsNative.Bedrock.KnowledgeBaseType type,
Outputs.KnowledgeBaseVectorKnowledgeBaseConfiguration? vectorKnowledgeBaseConfiguration)
{
KendraKnowledgeBaseConfiguration = kendraKnowledgeBaseConfiguration;
+ SqlKnowledgeBaseConfiguration = sqlKnowledgeBaseConfiguration;
Type = type;
VectorKnowledgeBaseConfiguration = vectorKnowledgeBaseConfiguration;
}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseCuratedQuery.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseCuratedQuery.cs
new file mode 100644
index 0000000000..a1c492e1ba
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseCuratedQuery.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Curated query or question and answer pair
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseCuratedQuery
+ {
+ public readonly string NaturalLanguage;
+ public readonly string Sql;
+
+ [OutputConstructor]
+ private KnowledgeBaseCuratedQuery(
+ string naturalLanguage,
+
+ string sql)
+ {
+ NaturalLanguage = naturalLanguage;
+ Sql = sql;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationColumn.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationColumn.cs
new file mode 100644
index 0000000000..058de24842
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationColumn.cs
@@ -0,0 +1,36 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Redshift query generation column
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseQueryGenerationColumn
+ {
+ public readonly string? Description;
+ public readonly Pulumi.AwsNative.Bedrock.KnowledgeBaseInclusionType? Inclusion;
+ public readonly string? Name;
+
+ [OutputConstructor]
+ private KnowledgeBaseQueryGenerationColumn(
+ string? description,
+
+ Pulumi.AwsNative.Bedrock.KnowledgeBaseInclusionType? inclusion,
+
+ string? name)
+ {
+ Description = description;
+ Inclusion = inclusion;
+ Name = name;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationConfiguration.cs
new file mode 100644
index 0000000000..bc100757f1
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationConfiguration.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Configurations for generating Redshift engine queries
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseQueryGenerationConfiguration
+ {
+ public readonly int? ExecutionTimeoutSeconds;
+ public readonly Outputs.KnowledgeBaseQueryGenerationContext? GenerationContext;
+
+ [OutputConstructor]
+ private KnowledgeBaseQueryGenerationConfiguration(
+ int? executionTimeoutSeconds,
+
+ Outputs.KnowledgeBaseQueryGenerationContext? generationContext)
+ {
+ ExecutionTimeoutSeconds = executionTimeoutSeconds;
+ GenerationContext = generationContext;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationContext.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationContext.cs
new file mode 100644
index 0000000000..2a719bc57e
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationContext.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Context used to improve query generation
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseQueryGenerationContext
+ {
+ public readonly ImmutableArray CuratedQueries;
+ public readonly ImmutableArray Tables;
+
+ [OutputConstructor]
+ private KnowledgeBaseQueryGenerationContext(
+ ImmutableArray curatedQueries,
+
+ ImmutableArray tables)
+ {
+ CuratedQueries = curatedQueries;
+ Tables = tables;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationTable.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationTable.cs
new file mode 100644
index 0000000000..b2bd2618c4
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseQueryGenerationTable.cs
@@ -0,0 +1,40 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Tables used for Redshift query generation context
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseQueryGenerationTable
+ {
+ public readonly ImmutableArray Columns;
+ public readonly string? Description;
+ public readonly Pulumi.AwsNative.Bedrock.KnowledgeBaseInclusionType? Inclusion;
+ public readonly string Name;
+
+ [OutputConstructor]
+ private KnowledgeBaseQueryGenerationTable(
+ ImmutableArray columns,
+
+ string? description,
+
+ Pulumi.AwsNative.Bedrock.KnowledgeBaseInclusionType? inclusion,
+
+ string name)
+ {
+ Columns = columns;
+ Description = description;
+ Inclusion = inclusion;
+ Name = name;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftConfiguration.cs
new file mode 100644
index 0000000000..c4088b01c5
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftConfiguration.cs
@@ -0,0 +1,36 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Configurations for a Redshift knowledge base
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseRedshiftConfiguration
+ {
+ public readonly Outputs.KnowledgeBaseRedshiftQueryEngineConfiguration QueryEngineConfiguration;
+ public readonly Outputs.KnowledgeBaseQueryGenerationConfiguration? QueryGenerationConfiguration;
+ public readonly ImmutableArray StorageConfigurations;
+
+ [OutputConstructor]
+ private KnowledgeBaseRedshiftConfiguration(
+ Outputs.KnowledgeBaseRedshiftQueryEngineConfiguration queryEngineConfiguration,
+
+ Outputs.KnowledgeBaseQueryGenerationConfiguration? queryGenerationConfiguration,
+
+ ImmutableArray storageConfigurations)
+ {
+ QueryEngineConfiguration = queryEngineConfiguration;
+ QueryGenerationConfiguration = queryGenerationConfiguration;
+ StorageConfigurations = storageConfigurations;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftProvisionedAuthConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftProvisionedAuthConfiguration.cs
new file mode 100644
index 0000000000..5b54a714e6
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftProvisionedAuthConfiguration.cs
@@ -0,0 +1,39 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Configurations for Redshift query engine provisioned auth setup
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseRedshiftProvisionedAuthConfiguration
+ {
+ ///
+ /// Redshift database user
+ ///
+ public readonly string? DatabaseUser;
+ public readonly Pulumi.AwsNative.Bedrock.KnowledgeBaseRedshiftProvisionedAuthType Type;
+ public readonly string? UsernamePasswordSecretArn;
+
+ [OutputConstructor]
+ private KnowledgeBaseRedshiftProvisionedAuthConfiguration(
+ string? databaseUser,
+
+ Pulumi.AwsNative.Bedrock.KnowledgeBaseRedshiftProvisionedAuthType type,
+
+ string? usernamePasswordSecretArn)
+ {
+ DatabaseUser = databaseUser;
+ Type = type;
+ UsernamePasswordSecretArn = usernamePasswordSecretArn;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftProvisionedConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftProvisionedConfiguration.cs
new file mode 100644
index 0000000000..df4673461f
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftProvisionedConfiguration.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Configurations for provisioned Redshift query engine
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseRedshiftProvisionedConfiguration
+ {
+ public readonly Outputs.KnowledgeBaseRedshiftProvisionedAuthConfiguration AuthConfiguration;
+ public readonly string ClusterIdentifier;
+
+ [OutputConstructor]
+ private KnowledgeBaseRedshiftProvisionedConfiguration(
+ Outputs.KnowledgeBaseRedshiftProvisionedAuthConfiguration authConfiguration,
+
+ string clusterIdentifier)
+ {
+ AuthConfiguration = authConfiguration;
+ ClusterIdentifier = clusterIdentifier;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration.cs
new file mode 100644
index 0000000000..fff5ccbc1c
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration.cs
@@ -0,0 +1,27 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Configurations for Redshift query engine AWS Data Catalog backed storage
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration
+ {
+ public readonly ImmutableArray TableNames;
+
+ [OutputConstructor]
+ private KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration(ImmutableArray tableNames)
+ {
+ TableNames = tableNames;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineConfiguration.cs
new file mode 100644
index 0000000000..38e68563a5
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineConfiguration.cs
@@ -0,0 +1,36 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Configurations for Redshift query engine
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseRedshiftQueryEngineConfiguration
+ {
+ public readonly Outputs.KnowledgeBaseRedshiftProvisionedConfiguration? ProvisionedConfiguration;
+ public readonly Outputs.KnowledgeBaseRedshiftServerlessConfiguration? ServerlessConfiguration;
+ public readonly Pulumi.AwsNative.Bedrock.KnowledgeBaseRedshiftQueryEngineType Type;
+
+ [OutputConstructor]
+ private KnowledgeBaseRedshiftQueryEngineConfiguration(
+ Outputs.KnowledgeBaseRedshiftProvisionedConfiguration? provisionedConfiguration,
+
+ Outputs.KnowledgeBaseRedshiftServerlessConfiguration? serverlessConfiguration,
+
+ Pulumi.AwsNative.Bedrock.KnowledgeBaseRedshiftQueryEngineType type)
+ {
+ ProvisionedConfiguration = provisionedConfiguration;
+ ServerlessConfiguration = serverlessConfiguration;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration.cs
new file mode 100644
index 0000000000..63a8242643
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration.cs
@@ -0,0 +1,27 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Configurations for Redshift query engine Redshift backed storage
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration
+ {
+ public readonly string DatabaseName;
+
+ [OutputConstructor]
+ private KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration(string databaseName)
+ {
+ DatabaseName = databaseName;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineStorageConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineStorageConfiguration.cs
new file mode 100644
index 0000000000..0dc66ab333
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftQueryEngineStorageConfiguration.cs
@@ -0,0 +1,36 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Configurations for available Redshift query engine storage types
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseRedshiftQueryEngineStorageConfiguration
+ {
+ public readonly Outputs.KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration? AwsDataCatalogConfiguration;
+ public readonly Outputs.KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration? RedshiftConfiguration;
+ public readonly Pulumi.AwsNative.Bedrock.KnowledgeBaseRedshiftQueryEngineStorageType Type;
+
+ [OutputConstructor]
+ private KnowledgeBaseRedshiftQueryEngineStorageConfiguration(
+ Outputs.KnowledgeBaseRedshiftQueryEngineAwsDataCatalogStorageConfiguration? awsDataCatalogConfiguration,
+
+ Outputs.KnowledgeBaseRedshiftQueryEngineRedshiftStorageConfiguration? redshiftConfiguration,
+
+ Pulumi.AwsNative.Bedrock.KnowledgeBaseRedshiftQueryEngineStorageType type)
+ {
+ AwsDataCatalogConfiguration = awsDataCatalogConfiguration;
+ RedshiftConfiguration = redshiftConfiguration;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftServerlessAuthConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftServerlessAuthConfiguration.cs
new file mode 100644
index 0000000000..433a7a35d7
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftServerlessAuthConfiguration.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Configurations for Redshift query engine serverless auth setup
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseRedshiftServerlessAuthConfiguration
+ {
+ public readonly Pulumi.AwsNative.Bedrock.KnowledgeBaseRedshiftServerlessAuthType Type;
+ public readonly string? UsernamePasswordSecretArn;
+
+ [OutputConstructor]
+ private KnowledgeBaseRedshiftServerlessAuthConfiguration(
+ Pulumi.AwsNative.Bedrock.KnowledgeBaseRedshiftServerlessAuthType type,
+
+ string? usernamePasswordSecretArn)
+ {
+ Type = type;
+ UsernamePasswordSecretArn = usernamePasswordSecretArn;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftServerlessConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftServerlessConfiguration.cs
new file mode 100644
index 0000000000..4a897b3fd7
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseRedshiftServerlessConfiguration.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Configurations for serverless Redshift query engine
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseRedshiftServerlessConfiguration
+ {
+ public readonly Outputs.KnowledgeBaseRedshiftServerlessAuthConfiguration AuthConfiguration;
+ public readonly string WorkgroupArn;
+
+ [OutputConstructor]
+ private KnowledgeBaseRedshiftServerlessConfiguration(
+ Outputs.KnowledgeBaseRedshiftServerlessAuthConfiguration authConfiguration,
+
+ string workgroupArn)
+ {
+ AuthConfiguration = authConfiguration;
+ WorkgroupArn = workgroupArn;
+ }
+ }
+}
diff --git a/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseSqlKnowledgeBaseConfiguration.cs b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseSqlKnowledgeBaseConfiguration.cs
new file mode 100644
index 0000000000..264ed45c7a
--- /dev/null
+++ b/sdk/dotnet/Bedrock/Outputs/KnowledgeBaseSqlKnowledgeBaseConfiguration.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by pulumi. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.AwsNative.Bedrock.Outputs
+{
+
+ ///
+ /// Configurations for a SQL knowledge base
+ ///
+ [OutputType]
+ public sealed class KnowledgeBaseSqlKnowledgeBaseConfiguration
+ {
+ public readonly Outputs.KnowledgeBaseRedshiftConfiguration? RedshiftConfiguration;
+ public readonly Pulumi.AwsNative.Bedrock.KnowledgeBaseQueryEngineType Type;
+
+ [OutputConstructor]
+ private KnowledgeBaseSqlKnowledgeBaseConfiguration(
+ Outputs.KnowledgeBaseRedshiftConfiguration? redshiftConfiguration,
+
+ Pulumi.AwsNative.Bedrock.KnowledgeBaseQueryEngineType type)
+ {
+ RedshiftConfiguration = redshiftConfiguration;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/DataZone/DataSource.cs b/sdk/dotnet/DataZone/DataSource.cs
index 0d11f75801..e917d3257f 100644
--- a/sdk/dotnet/DataZone/DataSource.cs
+++ b/sdk/dotnet/DataZone/DataSource.cs
@@ -33,6 +33,18 @@ public partial class DataSource : global::Pulumi.CustomResource
[Output("configuration")]
public Output