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.84.0 (build 5404dcf)", date="2023-06-19T16:30:37.437Z") @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

    Fields
    Modifier and Type
    Field
    Description
    'AES256'.
    'KMS'.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    RepositoryEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    RepositoryEncryption(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    the string value of the encryption.

    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

  • Constructor Details

    • RepositoryEncryption

      protected RepositoryEncryption(software.amazon.jsii.JsiiObjectRef objRef)
    • RepositoryEncryption

      protected RepositoryEncryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • RepositoryEncryption

      @Stability(Stable) protected RepositoryEncryption(@NotNull String value)
      Parameters:
      value - the string value of the encryption. This parameter is required.
  • Method Details

    • getValue

      @Stability(Stable) @NotNull public String getValue()
      the string value of the encryption.