RepositoryEncryptionConfiguration constructor

const RepositoryEncryptionConfiguration({
  1. Input<String?>? encryptionType,
  2. Input<String?>? kmsKey,
})

Creates a new RepositoryEncryptionConfiguration. encryptionType The encryption type to use for the repository. Valid values are AES256 or KMS. Defaults to AES256. kmsKey The ARN of the KMS key to use when encryptionType is KMS. If not specified, uses the default AWS managed key for ECR.

Implementation

const RepositoryEncryptionConfiguration({
  this.encryptionType,
  this.kmsKey,
});