Class RepositoryEncryption
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecr.RepositoryEncryption
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)",
date="2024-08-15T01:32:47.354Z")
@Stability(Stable)
public class RepositoryEncryption
extends software.amazon.jsii.JsiiObject
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:
Repository.Builder.create(this, "Repo") .encryption(RepositoryEncryption.KMS) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RepositoryEncryption
'AES256'.static final RepositoryEncryption
'KMS'. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RepositoryEncryption
(String value) protected
RepositoryEncryption
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
RepositoryEncryption
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
AES_256
'AES256'. -
KMS
'KMS'.
-
-
Constructor Details
-
RepositoryEncryption
protected RepositoryEncryption(software.amazon.jsii.JsiiObjectRef objRef) -
RepositoryEncryption
protected RepositoryEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
RepositoryEncryption
- Parameters:
value
- the string value of the encryption. This parameter is required.
-
-
Method Details
-
getValue
the string value of the encryption.
-