Class Repository
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.imagebuilder.alpha.Repository
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:34.467Z")
@Stability(Experimental)
public abstract class Repository
extends software.amazon.jsii.JsiiObject
(experimental) A container repository used to distribute container images in EC2 Image Builder.
Example:
IRepository ecrRepository = Repository.fromRepositoryName(this, "ECRRepository", "my-repo"); Repository imageBuilderRepository = Repository.fromEcr(ecrRepository);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedRepository(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedRepository(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic RepositoryfromEcr(IRepository repository) (experimental) The ECR repository to use as the target container repository.abstract String(experimental) The name of the container repository where the output container image is stored.abstract RepositoryService(experimental) The service in which the container repository is hosted.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Repository
protected Repository(software.amazon.jsii.JsiiObjectRef objRef) -
Repository
protected Repository(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Repository
@Stability(Experimental) protected Repository()
-
-
Method Details
-
fromEcr
(experimental) The ECR repository to use as the target container repository.- Parameters:
repository- The ECR repository to use. This parameter is required.
-
getRepositoryName
(experimental) The name of the container repository where the output container image is stored. -
getService
(experimental) The service in which the container repository is hosted.
-