io.github.cdklabs.generative_ai_cdk_constructs.bedrock.DataDeletionPolicy Maven / Gradle / Ivy
package io.github.cdklabs.generative_ai_cdk_constructs.bedrock;
/**
* (experimental) Specifies the policy for handling data when a data source resource is deleted.
*
* This policy affects the vector embeddings created from the data source.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-07T16:14:00.671Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.generative_ai_cdk_constructs.$Module.class, fqn = "@cdklabs/generative-ai-cdk-constructs.bedrock.DataDeletionPolicy")
public enum DataDeletionPolicy {
/**
* (experimental) Deletes all vector embeddings derived from the data source upon deletion of a data source resource.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
DELETE,
/**
* (experimental) Retains all vector embeddings derived from the data source even after deletion of a data source resource.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
RETAIN,
}