Class RepositoryProps.Jsii$Proxy
- All Implemented Interfaces:
RepositoryProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
RepositoryProps
RepositoryProps-
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.RepositoryProps
RepositoryProps.Builder, RepositoryProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(RepositoryProps.Builder builder) Constructor that initializes the object based on literal property values passed by theRepositoryProps.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 Boolean(deprecated) Whether all images should be automatically deleted when the repository is removed from the stack or when the stack is deleted.final BooleanIf true, deleting the repository force deletes the contents of the repository.final RepositoryEncryptionThe kind of server-side encryption to apply to this repository.final IKeyRefExternal KMS key to use for repository encryption.final BooleanEnable the scan on push when creating the repository.final TagMutabilityThe tag mutability setting for the repository.The image tag mutability exclusion filters for the repository.final StringThe AWS account ID associated with the registry that contains the repository.final List<LifecycleRule> Life cycle rules to apply to this registry.final RemovalPolicyDetermine what happens to the repository when the resource/stack is deleted.final StringName for this repository.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 theRepositoryProps.Builder.
-
-
Method Details
-
getAutoDeleteImages
Description copied from interface:RepositoryProps(deprecated) Whether all images should be automatically deleted when the repository is removed from the stack or when the stack is deleted.Requires the
removalPolicyto be set toRemovalPolicy.DESTROY.Default: false
- Specified by:
getAutoDeleteImagesin interfaceRepositoryProps
-
getEmptyOnDelete
Description copied from interface:RepositoryPropsIf true, deleting the repository force deletes the contents of the repository.If false, the repository must be empty before attempting to delete it.
Default: false
- Specified by:
getEmptyOnDeletein interfaceRepositoryProps
-
getEncryption
Description copied from interface:RepositoryPropsThe kind of server-side encryption to apply to this repository.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.
- Specified by:
getEncryptionin interfaceRepositoryProps
-
getEncryptionKey
Description copied from interface:RepositoryPropsExternal KMS key to use for repository encryption.The '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.
- Specified by:
getEncryptionKeyin interfaceRepositoryProps
-
getImageScanOnPush
Description copied from interface:RepositoryPropsEnable the scan on push when creating the repository.Default: false
- Specified by:
getImageScanOnPushin interfaceRepositoryProps
-
getImageTagMutability
Description copied from interface:RepositoryPropsThe tag mutability setting for the repository.If this parameter is omitted, the default setting of MUTABLE will be used which will allow image tags to be overwritten.
Default: TagMutability.MUTABLE
- Specified by:
getImageTagMutabilityin interfaceRepositoryProps
-
getImageTagMutabilityExclusionFilters
Description copied from interface:RepositoryPropsThe image tag mutability exclusion filters for the repository.These filters specify which image tags can override the repository's default image tag mutability setting.
Default: undefined - AWS ECR default is no exclusion filters
- Specified by:
getImageTagMutabilityExclusionFiltersin interfaceRepositoryProps- See Also:
-
getLifecycleRegistryId
Description copied from interface:RepositoryPropsThe AWS account ID associated with the registry that contains the repository.Default: The default registry is assumed.
- Specified by:
getLifecycleRegistryIdin interfaceRepositoryProps- See Also:
-
getLifecycleRules
Description copied from interface:RepositoryPropsLife cycle rules to apply to this registry.Default: No life cycle rules
- Specified by:
getLifecycleRulesin interfaceRepositoryProps
-
getRemovalPolicy
Description copied from interface:RepositoryPropsDetermine what happens to the repository when the resource/stack is deleted.Default: RemovalPolicy.Retain
- Specified by:
getRemovalPolicyin interfaceRepositoryProps
-
getRepositoryName
Description copied from interface:RepositoryPropsName for this repository.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.
Default: Automatically generated name.
- Specified by:
getRepositoryNamein interfaceRepositoryProps
-
$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()
-