Class CfnRepositoryProps.Jsii$Proxy
- All Implemented Interfaces:
CfnRepositoryProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnRepositoryProps
CfnRepositoryProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ecr.CfnRepositoryProps
CfnRepositoryProps.Builder, CfnRepositoryProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnRepositoryProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnRepositoryProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectIf true, deleting the repository force deletes the contents of the repository.final ObjectThe encryption configuration for the repository.final Objectfinal StringThe tag mutability setting for the repository.final ObjectA list of filters that specify which image tags are excluded from the repository's image tag mutability setting.final ObjectCreates or updates a lifecycle policy.final StringThe name to use for the repository.final ObjectThe JSON repository policy text to apply to the repository.getTags()An array of key-value pairs to apply to this resource.final inthashCode()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 theCfnRepositoryProps.Builder.
-
-
Method Details
-
getEmptyOnDelete
Description copied from interface:CfnRepositoryPropsIf true, deleting the repository force deletes the contents of the repository.If false, the repository must be empty before attempting to delete it.
Returns union: either
BooleanorIResolvable- Specified by:
getEmptyOnDeletein interfaceCfnRepositoryProps- See Also:
-
getEncryptionConfiguration
Description copied from interface:CfnRepositoryPropsThe encryption configuration for the repository.This determines how the contents of your repository are encrypted at rest.
Returns union: either
IResolvableorCfnRepository.EncryptionConfigurationProperty- Specified by:
getEncryptionConfigurationin interfaceCfnRepositoryProps- See Also:
-
getImageScanningConfiguration
Description copied from interface:CfnRepositoryPropsThe
imageScanningConfigurationparameter is being deprecated, in favor of specifying the image scanning configuration at the registry level.For more information, see
PutRegistryScanningConfiguration.The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.
Returns union: either
IResolvableorCfnRepository.ImageScanningConfigurationProperty- Specified by:
getImageScanningConfigurationin interfaceCfnRepositoryProps- See Also:
-
getImageTagMutability
Description copied from interface:CfnRepositoryPropsThe tag mutability setting for the repository.If this parameter is omitted, the default setting of
MUTABLEwill be used which will allow image tags to be overwritten. IfIMMUTABLEis specified, all image tags within the repository will be immutable which will prevent them from being overwritten.- Specified by:
getImageTagMutabilityin interfaceCfnRepositoryProps- See Also:
-
getImageTagMutabilityExclusionFilters
Description copied from interface:CfnRepositoryPropsA list of filters that specify which image tags are excluded from the repository's image tag mutability setting.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRepository.ImageTagMutabilityExclusionFilterProperty>- Specified by:
getImageTagMutabilityExclusionFiltersin interfaceCfnRepositoryProps- See Also:
-
getLifecyclePolicy
Description copied from interface:CfnRepositoryPropsCreates or updates a lifecycle policy.For information about lifecycle policy syntax, see Lifecycle policy template .
Returns union: either
IResolvableorCfnRepository.LifecyclePolicyProperty- Specified by:
getLifecyclePolicyin interfaceCfnRepositoryProps- See Also:
-
getRepositoryName
Description copied from interface:CfnRepositoryPropsThe name to use for the repository.The repository name may be specified on its own (such as
nginx-web-app) or it can be prepended with a namespace to group the repository into a category (such asproject-a/nginx-web-app). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the repository name. For more information, see Name type .The repository name must start with a letter and can only contain lowercase letters, numbers, hyphens, underscores, and forward slashes.
If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- Specified by:
getRepositoryNamein interfaceCfnRepositoryProps- See Also:
-
getRepositoryPolicyText
Description copied from interface:CfnRepositoryPropsThe JSON repository policy text to apply to the repository.For more information, see Amazon ECR repository policies in the Amazon Elastic Container Registry User Guide .
- Specified by:
getRepositoryPolicyTextin interfaceCfnRepositoryProps- See Also:
-
getTags
Description copied from interface:CfnRepositoryPropsAn array of key-value pairs to apply to this resource.- Specified by:
getTagsin interfaceCfnRepositoryProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-