@Stability(value=Stable) @Internal public static final class RepositoryProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RepositoryProps
RepositoryPropssoftware.amazon.jsii.JsiiObject.InitializationModeRepositoryProps.Builder, RepositoryProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(RepositoryProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
RepositoryProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
RepositoryEncryption |
getEncryption()
The kind of server-side encryption to apply to this repository.
|
IKey |
getEncryptionKey()
External KMS key to use for repository encryption.
|
Boolean |
getImageScanOnPush()
Enable the scan on push when creating the repository.
|
TagMutability |
getImageTagMutability()
The tag mutability setting for the repository.
|
String |
getLifecycleRegistryId()
The AWS account ID associated with the registry that contains the repository.
|
List<LifecycleRule> |
getLifecycleRules()
Life cycle rules to apply to this registry.
|
RemovalPolicy |
getRemovalPolicy()
Determine what happens to the repository when the resource/stack is deleted.
|
String |
getRepositoryName()
Name for this repository.
|
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(RepositoryProps.Builder builder)
RepositoryProps.Builder.public final RepositoryEncryption getEncryption()
RepositoryProps
If you choose KMS, you can specify a KMS key via encryptionKey. If
encryptionKey is not specified, an AWS managed KMS key is used.
Default: - `KMS` if `encryptionKey` is specified, or `AES256` otherwise.
getEncryption in interface RepositoryPropspublic final IKey getEncryptionKey()
RepositoryPropsThe 'encryption' property must be either not specified or set to "KMS". An error will be emitted if encryption is set to "AES256".
Default: - If encryption is set to `KMS` and this property is undefined, an AWS managed KMS key is used.
getEncryptionKey in interface RepositoryPropspublic final Boolean getImageScanOnPush()
RepositoryPropsDefault: false
getImageScanOnPush in interface RepositoryPropspublic final TagMutability getImageTagMutability()
RepositoryPropsIf this parameter is omitted, the default setting of MUTABLE will be used which will allow image tags to be overwritten.
Default: TagMutability.MUTABLE
getImageTagMutability in interface RepositoryPropspublic final String getLifecycleRegistryId()
RepositoryPropsDefault: The default registry is assumed.
getLifecycleRegistryId in interface RepositoryPropspublic final List<LifecycleRule> getLifecycleRules()
RepositoryPropsDefault: No life cycle rules
getLifecycleRules in interface RepositoryPropspublic final RemovalPolicy getRemovalPolicy()
RepositoryPropsDefault: RemovalPolicy.Retain
getRemovalPolicy in interface RepositoryPropspublic final String getRepositoryName()
RepositoryPropsDefault: Automatically generated name.
getRepositoryName in interface RepositoryProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.