@Stability(value=Experimental) @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(Boolean imageScanOnPush,
TagMutability imageTagMutability,
String lifecycleRegistryId,
List<? extends LifecycleRule> lifecycleRules,
RemovalPolicy removalPolicy,
String repositoryName)
Constructor that initializes the object based on literal property values passed by the
RepositoryProps.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) |
Boolean |
getImageScanOnPush()
(experimental) Enable the scan on push when creating the repository.
|
TagMutability |
getImageTagMutability()
(experimental) The tag mutability setting for the repository.
|
String |
getLifecycleRegistryId()
(experimental) The AWS account ID associated with the registry that contains the repository.
|
List<LifecycleRule> |
getLifecycleRules()
(experimental) Life cycle rules to apply to this registry.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) Determine what happens to the repository when the resource/stack is deleted.
|
String |
getRepositoryName()
(experimental) 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(Boolean imageScanOnPush, TagMutability imageTagMutability, String lifecycleRegistryId, List<? extends LifecycleRule> lifecycleRules, RemovalPolicy removalPolicy, String repositoryName)
RepositoryProps.Builder.public 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 RepositoryPropshttps://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutLifecyclePolicy.htmlpublic 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 © 2021. All rights reserved.