class RepositoryEncryption
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECR.RepositoryEncryption |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecr#RepositoryEncryption |
![]() | software.amazon.awscdk.services.ecr.RepositoryEncryption |
![]() | aws_cdk.aws_ecr.RepositoryEncryption |
![]() | aws-cdk-lib » aws_ecr » RepositoryEncryption |
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).
See also: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadata
Example
new ecr.Repository(this, 'Repo', {
encryption: ecr.RepositoryEncryption.KMS
});
Initializer (protected)
super(value: string)
Parameters
- value
string
— the string value of the encryption.
Properties
Name | Type | Description |
---|---|---|
value | string | the string value of the encryption. |
static AES_256 | Repository | 'AES256'. |
static KMS | Repository | 'KMS'. |
value
Type:
string
the string value of the encryption.
static AES_256
Type:
Repository
'AES256'.
static KMS
Type:
Repository
'KMS'.