@awboost/cfn-resource-types 0.1.51 → 0.1.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/AWS-ARCZonalShift-ZonalAutoshiftConfiguration.d.ts +1 -1
  2. package/lib/AWS-Amplify-Domain.d.ts +12 -2
  3. package/lib/AWS-Bedrock-DataSource.d.ts +179 -0
  4. package/lib/AWS-Bedrock-DataSource.js +12 -0
  5. package/lib/AWS-Bedrock-KnowledgeBase.d.ts +316 -0
  6. package/lib/AWS-Bedrock-KnowledgeBase.js +12 -0
  7. package/lib/AWS-CleanRoomsML-TrainingDataset.d.ts +155 -0
  8. package/lib/AWS-CleanRoomsML-TrainingDataset.js +12 -0
  9. package/lib/AWS-Deadline-Farm.d.ts +45 -0
  10. package/lib/AWS-Deadline-Farm.js +12 -0
  11. package/lib/AWS-Deadline-Fleet.d.ts +348 -0
  12. package/lib/AWS-Deadline-Fleet.js +12 -0
  13. package/lib/AWS-Deadline-LicenseEndpoint.d.ts +58 -0
  14. package/lib/AWS-Deadline-LicenseEndpoint.js +12 -0
  15. package/lib/AWS-Deadline-MeteredProduct.d.ts +50 -0
  16. package/lib/AWS-Deadline-MeteredProduct.js +12 -0
  17. package/lib/AWS-Deadline-Queue.d.ts +134 -0
  18. package/lib/AWS-Deadline-Queue.js +12 -0
  19. package/lib/AWS-Deadline-QueueEnvironment.d.ts +52 -0
  20. package/lib/AWS-Deadline-QueueEnvironment.js +12 -0
  21. package/lib/AWS-Deadline-QueueFleetAssociation.d.ts +29 -0
  22. package/lib/AWS-Deadline-QueueFleetAssociation.js +12 -0
  23. package/lib/AWS-Deadline-StorageProfile.d.ts +70 -0
  24. package/lib/AWS-Deadline-StorageProfile.js +12 -0
  25. package/lib/AWS-EC2-SecurityGroup.d.ts +0 -1
  26. package/lib/AWS-EC2-Subnet.d.ts +7 -4
  27. package/lib/AWS-ECS-TaskDefinition.d.ts +146 -41
  28. package/lib/AWS-ECS-TaskDefinition.js +3 -1
  29. package/lib/AWS-EntityResolution-IdNamespace.d.ts +130 -0
  30. package/lib/AWS-EntityResolution-IdNamespace.js +13 -0
  31. package/lib/AWS-EntityResolution-PolicyStatement.d.ts +44 -0
  32. package/lib/AWS-EntityResolution-PolicyStatement.js +13 -0
  33. package/lib/AWS-GlobalAccelerator-CrossAccountAttachment.d.ts +71 -0
  34. package/lib/AWS-GlobalAccelerator-CrossAccountAttachment.js +12 -0
  35. package/lib/AWS-IVS-EncoderConfiguration.d.ts +90 -0
  36. package/lib/AWS-IVS-EncoderConfiguration.js +12 -0
  37. package/lib/AWS-IVS-PlaybackRestrictionPolicy.d.ts +73 -0
  38. package/lib/AWS-IVS-PlaybackRestrictionPolicy.js +12 -0
  39. package/lib/AWS-IVS-StorageConfiguration.d.ts +76 -0
  40. package/lib/AWS-IVS-StorageConfiguration.js +12 -0
  41. package/lib/AWS-Lambda-Function.d.ts +5 -5
  42. package/lib/AWS-MediaTailor-Channel.d.ts +4 -0
  43. package/lib/AWS-RDS-CustomDBEngineVersion.d.ts +13 -1
  44. package/lib/AWS-Route53-HostedZone.d.ts +4 -4
  45. package/lib/AWS-SSM-Parameter.d.ts +1 -1
  46. package/lib/AWS-SageMaker-Domain.d.ts +6 -0
  47. package/lib/AWS-SageMaker-UserProfile.d.ts +6 -0
  48. package/lib/AWS-SecurityHub-Insight.d.ts +35 -3
  49. package/package.json +2 -2
@@ -61,7 +61,7 @@ export type PracticeRunConfiguration = {
61
61
  * Type definition for `AWS::ARCZonalShift::ZonalAutoshiftConfiguration.ZonalAutoshiftStatus`.
62
62
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arczonalshift-zonalautoshiftconfiguration-zonalautoshiftstatus.html}
63
63
  */
64
- export type ZonalAutoshiftStatus = "ENABLED" | "DISABLED";
64
+ export type ZonalAutoshiftStatus = "ENABLED";
65
65
  /**
66
66
  * Definition of AWS::ARCZonalShift::ZonalAutoshiftConfiguration Resource Type
67
67
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arczonalshift-zonalautoshiftconfiguration.html}
@@ -17,7 +17,6 @@ export type AmplifyDomainProperties = {
17
17
  * @pattern `^$|^arn:.+:iam::\d{12}:role.+`
18
18
  */
19
19
  AutoSubDomainIAMRole?: string;
20
- Certificate?: Certificate;
21
20
  CertificateSettings?: CertificateSettings;
22
21
  /**
23
22
  * @maxLength `255`
@@ -29,7 +28,6 @@ export type AmplifyDomainProperties = {
29
28
  * @maxLength `255`
30
29
  */
31
30
  SubDomainSettings: SubDomainSetting[];
32
- UpdateStatus?: string;
33
31
  };
34
32
  /**
35
33
  * Attribute type definition for `AWS::Amplify::Domain`.
@@ -41,6 +39,17 @@ export type AmplifyDomainAttributes = {
41
39
  * @pattern `(?s).*`
42
40
  */
43
41
  Arn: string;
42
+ Certificate: {
43
+ /**
44
+ * @pattern `"^arn:aws:acm:[a-z0-9-]+:\d{12}:certificate\/.+$"`
45
+ */
46
+ CertificateArn: string;
47
+ CertificateType: "AMPLIFY_MANAGED" | "CUSTOM";
48
+ /**
49
+ * @maxLength `1000`
50
+ */
51
+ CertificateVerificationDNSRecord: string;
52
+ };
44
53
  /**
45
54
  * @maxLength `1000`
46
55
  */
@@ -50,6 +59,7 @@ export type AmplifyDomainAttributes = {
50
59
  * @maxLength `1000`
51
60
  */
52
61
  StatusReason: string;
62
+ UpdateStatus: string;
53
63
  };
54
64
  /**
55
65
  * Type definition for `AWS::Amplify::Domain.Certificate`.
@@ -0,0 +1,179 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Definition of AWS::Bedrock::DataSource Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html}
6
+ */
7
+ export type BedrockDataSourceProperties = {
8
+ /**
9
+ * Specifies a raw data source location to ingest.
10
+ */
11
+ DataSourceConfiguration: DataSourceConfiguration;
12
+ /**
13
+ * Description of the Resource.
14
+ * @minLength `1`
15
+ * @maxLength `200`
16
+ */
17
+ Description?: string;
18
+ /**
19
+ * The unique identifier of the knowledge base to which to add the data source.
20
+ * @pattern `^[0-9a-zA-Z]{10}$`
21
+ */
22
+ KnowledgeBaseId: string;
23
+ /**
24
+ * The name of the data source.
25
+ * @pattern `^([0-9a-zA-Z][_-]?){1,100}$`
26
+ */
27
+ Name: string;
28
+ /**
29
+ * Contains details about the server-side encryption for the data source.
30
+ */
31
+ ServerSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
32
+ /**
33
+ * Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
34
+ */
35
+ VectorIngestionConfiguration?: VectorIngestionConfiguration;
36
+ };
37
+ /**
38
+ * Attribute type definition for `AWS::Bedrock::DataSource`.
39
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html#aws-resource-bedrock-datasource-return-values}
40
+ */
41
+ export type BedrockDataSourceAttributes = {
42
+ /**
43
+ * The time at which the data source was created.
44
+ */
45
+ CreatedAt: string;
46
+ /**
47
+ * Identifier for a resource.
48
+ * @pattern `^[0-9a-zA-Z]{10}$`
49
+ */
50
+ DataSourceId: string;
51
+ /**
52
+ * The status of a data source.
53
+ */
54
+ DataSourceStatus: DataSourceStatus;
55
+ /**
56
+ * The time at which the knowledge base was last updated.
57
+ */
58
+ UpdatedAt: string;
59
+ };
60
+ /**
61
+ * Type definition for `AWS::Bedrock::DataSource.ChunkingConfiguration`.
62
+ * Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
63
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-chunkingconfiguration.html}
64
+ */
65
+ export type ChunkingConfiguration = {
66
+ /**
67
+ * Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk.
68
+ */
69
+ ChunkingStrategy: ChunkingStrategy;
70
+ /**
71
+ * Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.
72
+ */
73
+ FixedSizeChunkingConfiguration?: FixedSizeChunkingConfiguration;
74
+ };
75
+ /**
76
+ * Type definition for `AWS::Bedrock::DataSource.ChunkingStrategy`.
77
+ * Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk.
78
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-chunkingstrategy.html}
79
+ */
80
+ export type ChunkingStrategy = "FIXED_SIZE" | "NONE";
81
+ /**
82
+ * Type definition for `AWS::Bedrock::DataSource.DataSourceConfiguration`.
83
+ * Specifies a raw data source location to ingest.
84
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-datasourceconfiguration.html}
85
+ */
86
+ export type DataSourceConfiguration = {
87
+ /**
88
+ * Contains information about the S3 configuration of the data source.
89
+ */
90
+ S3Configuration: S3DataSourceConfiguration;
91
+ /**
92
+ * The type of the data source location.
93
+ */
94
+ Type: DataSourceType;
95
+ };
96
+ /**
97
+ * Type definition for `AWS::Bedrock::DataSource.DataSourceStatus`.
98
+ * The status of a data source.
99
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-datasourcestatus.html}
100
+ */
101
+ export type DataSourceStatus = "AVAILABLE" | "DELETING";
102
+ /**
103
+ * Type definition for `AWS::Bedrock::DataSource.DataSourceType`.
104
+ * The type of the data source location.
105
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-datasourcetype.html}
106
+ */
107
+ export type DataSourceType = "S3";
108
+ /**
109
+ * Type definition for `AWS::Bedrock::DataSource.FixedSizeChunkingConfiguration`.
110
+ * Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.
111
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-fixedsizechunkingconfiguration.html}
112
+ */
113
+ export type FixedSizeChunkingConfiguration = {
114
+ /**
115
+ * The maximum number of tokens to include in a chunk.
116
+ * @min `1`
117
+ */
118
+ MaxTokens: number;
119
+ /**
120
+ * The percentage of overlap between adjacent chunks of a data source.
121
+ * @min `1`
122
+ * @max `99`
123
+ */
124
+ OverlapPercentage: number;
125
+ };
126
+ /**
127
+ * Type definition for `AWS::Bedrock::DataSource.S3DataSourceConfiguration`.
128
+ * Contains information about the S3 configuration of the data source.
129
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-s3datasourceconfiguration.html}
130
+ */
131
+ export type S3DataSourceConfiguration = {
132
+ /**
133
+ * The ARN of the bucket that contains the data source.
134
+ * @minLength `1`
135
+ * @maxLength `2048`
136
+ * @pattern `^arn:aws(|-cn|-us-gov):s3:::[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$`
137
+ */
138
+ BucketArn: string;
139
+ /**
140
+ * A list of S3 prefixes that define the object containing the data sources.
141
+ * @minLength `1`
142
+ * @maxLength `1`
143
+ */
144
+ InclusionPrefixes?: string[];
145
+ };
146
+ /**
147
+ * Type definition for `AWS::Bedrock::DataSource.ServerSideEncryptionConfiguration`.
148
+ * Contains details about the server-side encryption for the data source.
149
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-serversideencryptionconfiguration.html}
150
+ */
151
+ export type ServerSideEncryptionConfiguration = {
152
+ /**
153
+ * The ARN of the AWS KMS key used to encrypt the resource.
154
+ * @minLength `1`
155
+ * @maxLength `2048`
156
+ * @pattern `^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$`
157
+ */
158
+ KmsKeyArn?: string;
159
+ };
160
+ /**
161
+ * Type definition for `AWS::Bedrock::DataSource.VectorIngestionConfiguration`.
162
+ * Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
163
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-vectoringestionconfiguration.html}
164
+ */
165
+ export type VectorIngestionConfiguration = {
166
+ /**
167
+ * Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
168
+ */
169
+ ChunkingConfiguration?: ChunkingConfiguration;
170
+ };
171
+ /**
172
+ * Definition of AWS::Bedrock::DataSource Resource Type
173
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html}
174
+ */
175
+ export declare class BedrockDataSource extends $Resource<"AWS::Bedrock::DataSource", BedrockDataSourceProperties, BedrockDataSourceAttributes> {
176
+ static readonly Type = "AWS::Bedrock::DataSource";
177
+ constructor(logicalId: string, properties: BedrockDataSourceProperties, options?: $ResourceOptions);
178
+ }
179
+ //# sourceMappingURL=AWS-Bedrock-DataSource.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::Bedrock::DataSource Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html}
5
+ */
6
+ export class BedrockDataSource extends $Resource {
7
+ static Type = "AWS::Bedrock::DataSource";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, BedrockDataSource.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Bedrock-DataSource.js.map
@@ -0,0 +1,316 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Definition of AWS::Bedrock::KnowledgeBase Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html}
6
+ */
7
+ export type BedrockKnowledgeBaseProperties = {
8
+ /**
9
+ * Description of the Resource.
10
+ * @minLength `1`
11
+ * @maxLength `200`
12
+ */
13
+ Description?: string;
14
+ /**
15
+ * Contains details about the embeddings model used for the knowledge base.
16
+ */
17
+ KnowledgeBaseConfiguration: KnowledgeBaseConfiguration;
18
+ /**
19
+ * The name of the knowledge base.
20
+ * @pattern `^([0-9a-zA-Z][_-]?){1,100}$`
21
+ */
22
+ Name: string;
23
+ /**
24
+ * The ARN of the IAM role with permissions to invoke API operations on the knowledge base. The ARN must begin with AmazonBedrockExecutionRoleForKnowledgeBase_
25
+ * @maxLength `2048`
26
+ * @pattern `^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+$`
27
+ */
28
+ RoleArn: string;
29
+ /**
30
+ * The vector store service in which the knowledge base is stored.
31
+ */
32
+ StorageConfiguration: StorageConfiguration;
33
+ /**
34
+ * A map of tag keys and values
35
+ */
36
+ Tags?: TagsMap;
37
+ };
38
+ /**
39
+ * Attribute type definition for `AWS::Bedrock::KnowledgeBase`.
40
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html#aws-resource-bedrock-knowledgebase-return-values}
41
+ */
42
+ export type BedrockKnowledgeBaseAttributes = {
43
+ /**
44
+ * The time at which the knowledge base was created.
45
+ */
46
+ CreatedAt: string;
47
+ /**
48
+ * A list of reasons that the API operation on the knowledge base failed.
49
+ * @maxLength `2048`
50
+ */
51
+ FailureReasons: string[];
52
+ /**
53
+ * The ARN of the knowledge base.
54
+ * @minLength `0`
55
+ * @maxLength `128`
56
+ * @pattern `^arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:knowledge-base/[0-9a-zA-Z]+$`
57
+ */
58
+ KnowledgeBaseArn: string;
59
+ /**
60
+ * The unique identifier of the knowledge base.
61
+ * @pattern `^[0-9a-zA-Z]{10}$`
62
+ */
63
+ KnowledgeBaseId: string;
64
+ /**
65
+ * The status of a knowledge base.
66
+ */
67
+ Status: KnowledgeBaseStatus;
68
+ /**
69
+ * The time at which the knowledge base was last updated.
70
+ */
71
+ UpdatedAt: string;
72
+ };
73
+ /**
74
+ * Type definition for `AWS::Bedrock::KnowledgeBase.KnowledgeBaseConfiguration`.
75
+ * Contains details about the embeddings model used for the knowledge base.
76
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-knowledgebaseconfiguration.html}
77
+ */
78
+ export type KnowledgeBaseConfiguration = {
79
+ /**
80
+ * The type of a knowledge base.
81
+ */
82
+ Type: KnowledgeBaseType;
83
+ /**
84
+ * Contains details about the model used to create vector embeddings for the knowledge base.
85
+ */
86
+ VectorKnowledgeBaseConfiguration: VectorKnowledgeBaseConfiguration;
87
+ };
88
+ /**
89
+ * Type definition for `AWS::Bedrock::KnowledgeBase.KnowledgeBaseStatus`.
90
+ * The status of a knowledge base.
91
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-knowledgebasestatus.html}
92
+ */
93
+ export type KnowledgeBaseStatus = "CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED";
94
+ /**
95
+ * Type definition for `AWS::Bedrock::KnowledgeBase.KnowledgeBaseStorageType`.
96
+ * The storage type of a knowledge base.
97
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-knowledgebasestoragetype.html}
98
+ */
99
+ export type KnowledgeBaseStorageType = "OPENSEARCH_SERVERLESS" | "PINECONE" | "RDS";
100
+ /**
101
+ * Type definition for `AWS::Bedrock::KnowledgeBase.KnowledgeBaseType`.
102
+ * The type of a knowledge base.
103
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-knowledgebasetype.html}
104
+ */
105
+ export type KnowledgeBaseType = "VECTOR";
106
+ /**
107
+ * Type definition for `AWS::Bedrock::KnowledgeBase.OpenSearchServerlessConfiguration`.
108
+ * Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
109
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessconfiguration.html}
110
+ */
111
+ export type OpenSearchServerlessConfiguration = {
112
+ /**
113
+ * The ARN of the OpenSearch Service vector store.
114
+ * @maxLength `2048`
115
+ * @pattern `^arn:aws:aoss:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:collection/[a-z0-9-]{3,32}$`
116
+ */
117
+ CollectionArn: string;
118
+ /**
119
+ * A mapping of Bedrock Knowledge Base fields to OpenSearch Serverless field names
120
+ */
121
+ FieldMapping: OpenSearchServerlessFieldMapping;
122
+ /**
123
+ * The name of the vector store.
124
+ * @maxLength `2048`
125
+ * @pattern `^.*$`
126
+ */
127
+ VectorIndexName: string;
128
+ };
129
+ /**
130
+ * Type definition for `AWS::Bedrock::KnowledgeBase.OpenSearchServerlessFieldMapping`.
131
+ * A mapping of Bedrock Knowledge Base fields to OpenSearch Serverless field names
132
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessfieldmapping.html}
133
+ */
134
+ export type OpenSearchServerlessFieldMapping = {
135
+ /**
136
+ * The name of the field in which Amazon Bedrock stores metadata about the vector store.
137
+ * @maxLength `2048`
138
+ * @pattern `^.*$`
139
+ */
140
+ MetadataField: string;
141
+ /**
142
+ * The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
143
+ * @maxLength `2048`
144
+ * @pattern `^.*$`
145
+ */
146
+ TextField: string;
147
+ /**
148
+ * The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
149
+ * @maxLength `2048`
150
+ * @pattern `^.*$`
151
+ */
152
+ VectorField: string;
153
+ };
154
+ /**
155
+ * Type definition for `AWS::Bedrock::KnowledgeBase.PineconeConfiguration`.
156
+ * Contains the storage configuration of the knowledge base in Pinecone.
157
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconeconfiguration.html}
158
+ */
159
+ export type PineconeConfiguration = {
160
+ /**
161
+ * The endpoint URL for your index management page.
162
+ * @maxLength `2048`
163
+ * @pattern `^.*$`
164
+ */
165
+ ConnectionString: string;
166
+ /**
167
+ * The ARN of the secret that you created in AWS Secrets Manager that is linked to your Pinecone API key.
168
+ * @pattern `^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$`
169
+ */
170
+ CredentialsSecretArn: string;
171
+ /**
172
+ * Contains the names of the fields to which to map information about the vector store.
173
+ */
174
+ FieldMapping: PineconeFieldMapping;
175
+ /**
176
+ * The namespace to be used to write new data to your database.
177
+ * @maxLength `2048`
178
+ * @pattern `^.*$`
179
+ */
180
+ Namespace?: string;
181
+ };
182
+ /**
183
+ * Type definition for `AWS::Bedrock::KnowledgeBase.PineconeFieldMapping`.
184
+ * Contains the names of the fields to which to map information about the vector store.
185
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-pineconefieldmapping.html}
186
+ */
187
+ export type PineconeFieldMapping = {
188
+ /**
189
+ * The name of the field in which Amazon Bedrock stores metadata about the vector store.
190
+ * @maxLength `2048`
191
+ * @pattern `^.*$`
192
+ */
193
+ MetadataField: string;
194
+ /**
195
+ * The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
196
+ * @maxLength `2048`
197
+ * @pattern `^.*$`
198
+ */
199
+ TextField: string;
200
+ };
201
+ /**
202
+ * Type definition for `AWS::Bedrock::KnowledgeBase.RdsConfiguration`.
203
+ * Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.
204
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsconfiguration.html}
205
+ */
206
+ export type RdsConfiguration = {
207
+ /**
208
+ * The ARN of the secret that you created in AWS Secrets Manager that is linked to your Amazon RDS database.
209
+ * @pattern `^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$`
210
+ */
211
+ CredentialsSecretArn: string;
212
+ /**
213
+ * The name of your Amazon RDS database.
214
+ * @maxLength `63`
215
+ * @pattern `^[a-zA-Z0-9_\-]+$`
216
+ */
217
+ DatabaseName: string;
218
+ /**
219
+ * Contains the names of the fields to which to map information about the vector store.
220
+ */
221
+ FieldMapping: RdsFieldMapping;
222
+ /**
223
+ * The ARN of the vector store.
224
+ * @pattern `^arn:aws(|-cn|-us-gov):rds:[a-zA-Z0-9-]*:[0-9]{12}:cluster:[a-zA-Z0-9-]{1,63}$`
225
+ */
226
+ ResourceArn: string;
227
+ /**
228
+ * The name of the table in the database.
229
+ * @maxLength `63`
230
+ * @pattern `^[a-zA-Z0-9_\.\-]+$`
231
+ */
232
+ TableName: string;
233
+ };
234
+ /**
235
+ * Type definition for `AWS::Bedrock::KnowledgeBase.RdsFieldMapping`.
236
+ * Contains the names of the fields to which to map information about the vector store.
237
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-rdsfieldmapping.html}
238
+ */
239
+ export type RdsFieldMapping = {
240
+ /**
241
+ * The name of the field in which Amazon Bedrock stores metadata about the vector store.
242
+ * @maxLength `63`
243
+ * @pattern `^[a-zA-Z0-9_\-]+$`
244
+ */
245
+ MetadataField: string;
246
+ /**
247
+ * The name of the field in which Amazon Bedrock stores the ID for each entry.
248
+ * @maxLength `63`
249
+ * @pattern `^[a-zA-Z0-9_\-]+$`
250
+ */
251
+ PrimaryKeyField: string;
252
+ /**
253
+ * The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
254
+ * @maxLength `63`
255
+ * @pattern `^[a-zA-Z0-9_\-]+$`
256
+ */
257
+ TextField: string;
258
+ /**
259
+ * The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.
260
+ * @maxLength `63`
261
+ * @pattern `^[a-zA-Z0-9_\-]+$`
262
+ */
263
+ VectorField: string;
264
+ };
265
+ /**
266
+ * Type definition for `AWS::Bedrock::KnowledgeBase.StorageConfiguration`.
267
+ * The vector store service in which the knowledge base is stored.
268
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-storageconfiguration.html}
269
+ */
270
+ export type StorageConfiguration = {
271
+ /**
272
+ * Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
273
+ */
274
+ OpensearchServerlessConfiguration?: OpenSearchServerlessConfiguration;
275
+ /**
276
+ * Contains the storage configuration of the knowledge base in Pinecone.
277
+ */
278
+ PineconeConfiguration?: PineconeConfiguration;
279
+ /**
280
+ * Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.
281
+ */
282
+ RdsConfiguration?: RdsConfiguration;
283
+ /**
284
+ * The storage type of a knowledge base.
285
+ */
286
+ Type: KnowledgeBaseStorageType;
287
+ };
288
+ /**
289
+ * Type definition for `AWS::Bedrock::KnowledgeBase.TagsMap`.
290
+ * A map of tag keys and values
291
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-tagsmap.html}
292
+ */
293
+ export type TagsMap = Record<string, string>;
294
+ /**
295
+ * Type definition for `AWS::Bedrock::KnowledgeBase.VectorKnowledgeBaseConfiguration`.
296
+ * Contains details about the model used to create vector embeddings for the knowledge base.
297
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-vectorknowledgebaseconfiguration.html}
298
+ */
299
+ export type VectorKnowledgeBaseConfiguration = {
300
+ /**
301
+ * The ARN of the model used to create vector embeddings for the knowledge base.
302
+ * @minLength `20`
303
+ * @maxLength `1011`
304
+ * @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}))$`
305
+ */
306
+ EmbeddingModelArn: string;
307
+ };
308
+ /**
309
+ * Definition of AWS::Bedrock::KnowledgeBase Resource Type
310
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html}
311
+ */
312
+ export declare class BedrockKnowledgeBase extends $Resource<"AWS::Bedrock::KnowledgeBase", BedrockKnowledgeBaseProperties, BedrockKnowledgeBaseAttributes> {
313
+ static readonly Type = "AWS::Bedrock::KnowledgeBase";
314
+ constructor(logicalId: string, properties: BedrockKnowledgeBaseProperties, options?: $ResourceOptions);
315
+ }
316
+ //# sourceMappingURL=AWS-Bedrock-KnowledgeBase.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::Bedrock::KnowledgeBase Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html}
5
+ */
6
+ export class BedrockKnowledgeBase extends $Resource {
7
+ static Type = "AWS::Bedrock::KnowledgeBase";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, BedrockKnowledgeBase.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Bedrock-KnowledgeBase.js.map