generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructs


@cdklabs/generative-ai-cdk-constructs / s3vectors / VectorBucketPolicyProps

Interface: VectorBucketPolicyProps

Properties

bucket

readonly bucket: IVectorBucket

The S3 vector bucket that the policy applies to.


document?

readonly optional document: PolicyDocument

Policy document to apply to the bucket.

Default

- A new empty PolicyDocument will be created.

removalPolicy?

readonly optional removalPolicy: RemovalPolicy

Policy to apply when the policy is removed from this stack.

Default

- RemovalPolicy.DESTROY.