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
AES_256RepositoryEncryptionaes_256RepositoryEncryptionAES_256RepositoryEncryptionAES_256RepositoryEncryptionAES_256RepositoryEncryptionrequiredstatic#'AES256'.
KMSRepositoryEncryptionkmsRepositoryEncryptionKMSRepositoryEncryptionKMSRepositoryEncryptionKMSRepositoryEncryptionrequiredstatic#'KMS'.
KMS_DSSERepositoryEncryptionkms_dsseRepositoryEncryptionKMS_DSSERepositoryEncryptionKMS_DSSERepositoryEncryptionKMS_DSSERepositoryEncryptionrequiredstatic#'KMS_DSSE'.
the string value of the encryption.