# CfnVectorBucketProps

Properties for defining a `CfnVectorBucket`.

Used as props by: [CfnVectorBucket](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3vectors.CfnVectorBucket.html)

- Source: Generated at build time
- Type last changed: v2.239.0 · 19 Feb 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3vectors as s3vectors } from 'aws-cdk-lib';
const cfnVectorBucketProps: s3vectors.CfnVectorBucketProps = {
  encryptionConfiguration: {
    kmsKeyArn: 'kmsKeyArn',
    sseType: 'sseType',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
  vectorBucketName: 'vectorBucketName',
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3vectors as s3vectors

cfn_vector_bucket_props = s3vectors.CfnVectorBucketProps(
    encryption_configuration=s3vectors.CfnVectorBucket.EncryptionConfigurationProperty(
        kms_key_arn="kmsKeyArn",
        sse_type="sseType"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vector_bucket_name="vectorBucketName"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3vectors.*;

CfnVectorBucketProps cfnVectorBucketProps = CfnVectorBucketProps.builder()
        .encryptionConfiguration(EncryptionConfigurationProperty.builder()
                .kmsKeyArn("kmsKeyArn")
                .sseType("sseType")
                .build())
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .vectorBucketName("vectorBucketName")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3Vectors;

var cfnVectorBucketProps = new CfnVectorBucketProps {
    EncryptionConfiguration = new EncryptionConfigurationProperty {
        KmsKeyArn = "kmsKeyArn",
        SseType = "sseType"
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    VectorBucketName = "vectorBucketName"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnVectorBucketProps := &CfnVectorBucketProps{
	EncryptionConfiguration: &EncryptionConfigurationProperty{
		KmsKeyArn: jsii.String("kmsKeyArn"),
		SseType: jsii.String("sseType"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	VectorBucketName: jsii.String("vectorBucketName"),
}
```

## Properties

- `encryptionConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVectorBucket.EncryptionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3vectors.CfnVectorBucket.EncryptionConfigurationProperty.html) — The encryption configuration for the vector bucket.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — User tags (key-value pairs) to associate with the vector bucket.

- `vectorBucketName`: string — A name for the vector bucket.

  The bucket name must contain only lowercase letters, numbers, and hyphens (-). The bucket name must be unique in the same AWS account for each AWS Region. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name.

  The bucket name must be between 3 and 63 characters long and must not contain uppercase characters or underscores.

  > If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
