Class 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).
Inheritance
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.AWS.ECR.dll
Syntax (csharp)
public class RepositoryEncryption : DeputyBase
Syntax (vb)
Public Class RepositoryEncryption
Inherits DeputyBase
Remarks
See: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#SysMetadata
ExampleMetadata: infused
Examples
new Repository(this, "Repo", new RepositoryProps {
Encryption = RepositoryEncryption.KMS
});
Synopsis
Constructors
RepositoryEncryption(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
RepositoryEncryption(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
RepositoryEncryption(String) |
Properties
AES_256 | 'AES256'. |
KMS | 'KMS'. |
Value | the string value of the encryption. |
Constructors
RepositoryEncryption(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected RepositoryEncryption(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
RepositoryEncryption(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected RepositoryEncryption(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
RepositoryEncryption(String)
public RepositoryEncryption(string value)
Parameters
- value System.String
the string value of the encryption.
Properties
AES_256
KMS
Value
the string value of the encryption.
public virtual string Value { get; }
Property Value
System.String