Class CfnRepositoryCreationTemplate.EncryptionConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnRepositoryCreationTemplate.EncryptionConfigurationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnRepositoryCreationTemplate.EncryptionConfigurationProperty
CfnRepositoryCreationTemplate.EncryptionConfigurationProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ecr.CfnRepositoryCreationTemplate.EncryptionConfigurationProperty
CfnRepositoryCreationTemplate.EncryptionConfigurationProperty.Builder, CfnRepositoryCreationTemplate.EncryptionConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnRepositoryCreationTemplate.EncryptionConfigurationProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnRepositoryCreationTemplate.EncryptionConfigurationProperty.Builder
.
-
-
Method Details
-
getEncryptionType
Description copied from interface:CfnRepositoryCreationTemplate.EncryptionConfigurationProperty
The encryption type to use.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.If you use the
KMS_DSSE
encryption type, the contents of the repository will be encrypted with two layers of encryption using server-side encryption with the AWS KMS Management Service key stored in AWS KMS . Similar to theKMS
encryption type, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you've already created.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 AES256 encryption algorithm.For more information, see Amazon ECR encryption at rest in the Amazon Elastic Container Registry User Guide .
- Specified by:
getEncryptionType
in interfaceCfnRepositoryCreationTemplate.EncryptionConfigurationProperty
- See Also:
-
getKmsKey
Description copied from interface:CfnRepositoryCreationTemplate.EncryptionConfigurationProperty
If you use theKMS
encryption type, specify the AWS KMS key to use for encryption.The 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.
- Specified by:
getKmsKey
in interfaceCfnRepositoryCreationTemplate.EncryptionConfigurationProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-