File tree 3 files changed +17
-1
lines changed
aws-rag-appsync-stepfn-kendra
3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ user provided props for the construct.
40
40
41
41
0.0.0
42
42
43
+ #### Deprecated
44
+
45
+ This construct is deprecated and will be removed in a future major version.
46
+ It will not receive security updates.
47
+
43
48
#### Overrides
44
49
45
50
[ ` BaseClass ` ] ( BaseClass.md ) .[ ` constructor ` ] ( BaseClass.md#constructors )
Original file line number Diff line number Diff line change 12
12
*/
13
13
import * as path from 'path' ;
14
14
import * as cdk from 'aws-cdk-lib' ;
15
- import { Duration , RemovalPolicy } from 'aws-cdk-lib' ;
15
+ import { Duration , RemovalPolicy , Annotations } from 'aws-cdk-lib' ;
16
16
import * as appsync from 'aws-cdk-lib/aws-appsync' ;
17
17
import * as cognito from 'aws-cdk-lib/aws-cognito' ;
18
18
import { Table } from 'aws-cdk-lib/aws-dynamodb' ;
@@ -176,10 +176,15 @@ export class RagAppsyncStepfnKendra extends BaseClass {
176
176
* @param {RagAppsyncStepfnKendraProps } props - user provided props for the construct.
177
177
* @since 0.0.0
178
178
* @access public
179
+ * @deprecated This construct is deprecated and will be removed in a future major version.
180
+ * It will not receive security updates.
179
181
*/
180
182
constructor ( scope : Construct , id : string , props : RagAppsyncStepfnKendraProps ) {
181
183
super ( scope , id ) ;
182
184
185
+ Annotations . of ( scope ) . addWarningV2 ( '@cdklabs/generative-ai-cdk-constructs:RagAppsyncStepfnKendra.deprecation' ,
186
+ 'This construct is deprecated and will not receive further support. It will be removed in the next release of the library.' ) ;
187
+
183
188
const baseProps : BaseClassProps = {
184
189
stage : props . stage ,
185
190
constructName : ConstructName . AWSRAGAPPSYNCSTEPFNKENDRA ,
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import * as crypto from 'crypto';
14
14
import * as path from 'path' ;
15
15
import * as url from 'url' ;
16
16
import * as cdk from 'aws-cdk-lib' ;
17
+ import { Annotations } from 'aws-cdk-lib' ;
17
18
import * as batch from 'aws-cdk-lib/aws-batch' ;
18
19
import * as dynamodb from 'aws-cdk-lib/aws-dynamodb' ;
19
20
import * as ec2 from 'aws-cdk-lib/aws-ec2' ;
@@ -183,10 +184,15 @@ export class WebCrawler extends BaseClass {
183
184
* @param {WebCrawlerProps } props - user provided props for the construct.
184
185
* @since 0.0.0
185
186
* @public
187
+ * @deprecated This construct is deprecated and will be removed in a future major version.
188
+ * It will not receive security updates.
186
189
*/
187
190
constructor ( scope : Construct , id : string , props : WebCrawlerProps ) {
188
191
super ( scope , id ) ;
189
192
193
+ Annotations . of ( scope ) . addWarningV2 ( '@cdklabs/generative-ai-cdk-constructs:WebCrawler.deprecation' ,
194
+ 'This construct is deprecated and will not receive further support. It will be removed in the next release of the library.' ) ;
195
+
190
196
vpc_helper . CheckVpcProps ( props ) ;
191
197
s3_bucket_helper . CheckS3Props ( {
192
198
existingBucketObj : props . existingOutputBucketObj ,
You can’t perform that action at this time.
0 commit comments