I would like the ability to run an initial sync of a Data source that is associated with a Knowledge base through a property.
Use Case
I have a use case where I have an S3 bucket with objects already in it. I'm using this library to provision the Knowledge Base and Data source via the KnowledgeBase and S3DataSource. When the stack completes, I have to go an start an ingestion job through a script, but much rather do this via a property.
Other constructs have similar functionality, but not exactly. For instance, the Bucket construct has an autoDeleteObjects property. It does this via a custom resource. I think something similar could be achieved for the Data sources via a custom resource that simply calls StartIngestionJob.
Describe the feature
I would like the ability to run an initial sync of a Data source that is associated with a Knowledge base through a property.
Use Case
I have a use case where I have an S3 bucket with objects already in it. I'm using this library to provision the Knowledge Base and Data source via the KnowledgeBase and S3DataSource. When the stack completes, I have to go an start an ingestion job through a script, but much rather do this via a property.
Other constructs have similar functionality, but not exactly. For instance, the Bucket construct has an autoDeleteObjects property. It does this via a custom resource. I think something similar could be achieved for the Data sources via a custom resource that simply calls StartIngestionJob.
Proposed Solution
Other Information
No response
Acknowledgements