Class IRepository.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecr.IRepository.Jsii$Proxy
All Implemented Interfaces:
IRepositoryRef, IRepositoryRef.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IResource, IResource.Jsii$Default, IRepository, IRepository.Jsii$Default, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default
Enclosing interface:
IRepository

@Internal public static final class IRepository.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IRepository.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
  • Method Details

    • onCloudTrailEvent

      @Stability(Stable) @NotNull public final Rule onCloudTrailEvent(@NotNull String id)
      Define a CloudWatch event that triggers when something happens to this repository.

      Requires that there exists at least one CloudTrail Trail in your account that captures the event. This method will not create the Trail.

      Specified by:
      onCloudTrailEvent in interface IRepository
      Specified by:
      onCloudTrailEvent in interface IRepository.Jsii$Default
      Parameters:
      id - The id of the rule. This parameter is required.
    • onCloudTrailImagePushed

      @Stability(Stable) @NotNull public final Rule onCloudTrailImagePushed(@NotNull String id)
      Defines an AWS CloudWatch event rule that can trigger a target when an image is pushed to this repository.

      Requires that there exists at least one CloudTrail Trail in your account that captures the event. This method will not create the Trail.

      Specified by:
      onCloudTrailImagePushed in interface IRepository
      Specified by:
      onCloudTrailImagePushed in interface IRepository.Jsii$Default
      Parameters:
      id - The id of the rule. This parameter is required.
    • onEvent

      @Stability(Stable) @NotNull public final Rule onEvent(@NotNull String id)
      Defines a CloudWatch event rule which triggers for repository events.

      Use rule.addEventPattern(pattern) to specify a filter.

      Specified by:
      onEvent in interface IRepository
      Specified by:
      onEvent in interface IRepository.Jsii$Default
      Parameters:
      id - This parameter is required.
    • onImageScanCompleted

      @Stability(Stable) @NotNull public final Rule onImageScanCompleted(@NotNull String id)
      Defines an AWS CloudWatch event rule that can trigger a target when the image scan is completed.

      Specified by:
      onImageScanCompleted in interface IRepository
      Specified by:
      onImageScanCompleted in interface IRepository.Jsii$Default
      Parameters:
      id - The id of the rule. This parameter is required.
    • repositoryUriForDigest

      @Stability(Stable) @NotNull public final String repositoryUriForDigest()
      Returns the URI of the repository for a certain digest. Can be used in docker push/pull.

      ACCOUNT.dkr.ecr.REGION.amazonaws.com/REPOSITORY[@DIGEST]

      Specified by:
      repositoryUriForDigest in interface IRepository
      Specified by:
      repositoryUriForDigest in interface IRepository.Jsii$Default
    • repositoryUriForTag

      @Stability(Stable) @NotNull public final String repositoryUriForTag()
      Returns the URI of the repository for a certain tag. Can be used in docker push/pull.

      ACCOUNT.dkr.ecr.REGION.amazonaws.com/REPOSITORY[:TAG]

      Specified by:
      repositoryUriForTag in interface IRepository
      Specified by:
      repositoryUriForTag in interface IRepository.Jsii$Default
    • repositoryUriForTagOrDigest

      @Stability(Stable) @NotNull public final String repositoryUriForTagOrDigest()
      Returns the URI of the repository for a certain tag or digest, inferring based on the syntax of the tag.

      Can be used in docker push/pull.

      ACCOUNT.dkr.ecr.REGION.amazonaws.com/REPOSITORY[:TAG] ACCOUNT.dkr.ecr.REGION.amazonaws.com/REPOSITORY[@DIGEST]

      Specified by:
      repositoryUriForTagOrDigest in interface IRepository
      Specified by:
      repositoryUriForTagOrDigest in interface IRepository.Jsii$Default