Skip to content
v2.274.0

RepositoryEncryption Class ​

Indicates whether server-side encryption is enabled for the object, and whether that encryption is from the AWS Key Management Service (AWS KMS) or from Amazon S3 managed encryption (SSE-S3).

Example ​

ts
new ecr.Repository(this, 'Repo', {
  encryption: ecr.RepositoryEncryption.KMS
});

Properties ​

valuestringvaluestrvalueStringValuestringValue*stringrequired#
the string value of the encryption.