CfnVectorBucketPropsMixin Mixin
Defines an Amazon S3 vector bucket in the same AWS Region where you create the AWS CloudFormation stack.
Vector buckets are specialized storage containers designed for storing and managing vector data used in machine learning and AI applications. They provide optimized storage and retrieval capabilities for high-dimensional vector data.
To control how AWS CloudFormation handles the bucket when the stack is deleted, you can set a deletion policy for your bucket. You can choose to retain the bucket or to delete the bucket. For more information, see DeletionPolicy attribute .
You can only delete empty vector buckets. Deletion fails for buckets that have contents.
Permissions - The required permissions for CloudFormation to use are based on the operations that are performed on the stack.
Create
s3vectors:CreateVectorBucket
s3vectors:GetVectorBucket
kms:GenerateDataKey (if using KMS encryption)
Read
s3vectors:GetVectorBucket
kms:GenerateDataKey (if using KMS encryption)
Delete
s3vectors:DeleteVectorBucket
s3vectors:GetVectorBucket
kms:GenerateDataKey (if using KMS encryption)
List
s3vectors:ListVectorBuckets
kms:GenerateDataKey (if using KMS encryption)
Initializer
new CfnVectorBucketPropsMixin(props: CfnVectorBucketMixinProps, options?: CfnPropertyMixinOptions)
CfnVectorBucketPropsMixin(props: CfnVectorBucketMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
new CfnVectorBucketPropsMixin(CfnVectorBucketMixinProps props, CfnPropertyMixinOptions options)
new CfnVectorBucketPropsMixin(CfnVectorBucketMixinProps props, CfnPropertyMixinOptions? options = null)
NewCfnVectorBucketPropsMixin(Props CfnVectorBucketMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#