# EncryptionConfigurationProperty

Specifies the encryption configuration for the vector bucket.

By default, all new vectors in Amazon S3 vector buckets use server-side encryption with Amazon S3 managed keys (SSE-S3), specifically AES256.

- Source: Generated at build time
- Type last changed: v2.223.0 · 10 Nov 2025

## 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 encryptionConfigurationProperty: s3vectors.CfnVectorBucket.EncryptionConfigurationProperty = {
  kmsKeyArn: 'kmsKeyArn',
  sseType: 'sseType',
};
```

Python:

```python
# 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

encryption_configuration_property = s3vectors.CfnVectorBucket.EncryptionConfigurationProperty(
    kms_key_arn="kmsKeyArn",
    sse_type="sseType"
)
```

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.*;

EncryptionConfigurationProperty encryptionConfigurationProperty = EncryptionConfigurationProperty.builder()
        .kmsKeyArn("kmsKeyArn")
        .sseType("sseType")
        .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 encryptionConfigurationProperty = new EncryptionConfigurationProperty {
    KmsKeyArn = "kmsKeyArn",
    SseType = "sseType"
};
```

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"

encryptionConfigurationProperty := &EncryptionConfigurationProperty{
	KmsKeyArn: jsii.String("kmsKeyArn"),
	SseType: jsii.String("sseType"),
}
```

## Properties

- `kmsKeyArn`: string — AWS Key Management Service (KMS) customer managed key ARN to use for the encryption configuration.

  This parameter is required if and only if `SseType` is set to `aws:kms` .

  You must specify the full ARN of the KMS key. Key IDs or key aliases aren't supported.

  > Amazon S3 Vectors only supports symmetric encryption KMS keys. For more information, see [Asymmetric keys in AWS KMS](https://docs.aws.amazon.com//kms/latest/developerguide/symmetric-asymmetric.html) in the *AWS Key Management Service Developer Guide* .

- `sseType`: string = "AES256" — The server-side encryption type to use for the encryption configuration of the vector bucket.

  Valid values are `AES256` for Amazon S3 managed keys and `aws:kms` for AWS KMS keys.
