@Stability(value=Stable) @Internal public static final class CfnRepository.EncryptionConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRepository.EncryptionConfigurationProperty
CfnRepository.EncryptionConfigurationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnRepository.EncryptionConfigurationProperty.Builder, CfnRepository.EncryptionConfigurationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnRepository.EncryptionConfigurationProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnRepository.EncryptionConfigurationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getEncryptionType()
The encryption type to use.
|
String |
getKmsKey()
If you use the `KMS` encryption type, specify the AWS KMS key to use for encryption.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnRepository.EncryptionConfigurationProperty.Builder builder)
CfnRepository.EncryptionConfigurationProperty.Builder.public final String getEncryptionType()
CfnRepository.EncryptionConfigurationProperty
If you use the KMS encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created. For more information, see Protecting data using server-side encryption with an AWS KMS key stored in AWS Key Management Service (SSE-KMS) in the Amazon Simple Storage Service Console Developer Guide .
If you use the AES256 encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES-256 encryption algorithm. For more information, see Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the Amazon Simple Storage Service Console Developer Guide .
getEncryptionType in interface CfnRepository.EncryptionConfigurationPropertypublic final String getKmsKey()
CfnRepository.EncryptionConfigurationPropertyThe alias, key ID, or full ARN of the AWS KMS key can be specified. The key must exist in the same Region as the repository. If no key is specified, the default AWS managed AWS KMS key for Amazon ECR will be used.
getKmsKey in interface CfnRepository.EncryptionConfigurationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.