Interface IImage.Jsii$Default

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IImage, IResource, IResource.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IImage.Jsii$Proxy
Enclosing interface:
IImage

@Internal public static interface IImage.Jsii$Default extends IImage, IResource.Jsii$Default
Internal default implementation for IImage.
  • Method Details

    • getImageArn

      @Stability(Experimental) @NotNull default String getImageArn()
      (experimental) The ARN of the image.
      Specified by:
      getImageArn in interface IImage
    • getImageName

      @Stability(Experimental) @NotNull default String getImageName()
      (experimental) The name of the image.
      Specified by:
      getImageName in interface IImage
    • getImageVersion

      @Stability(Experimental) @NotNull default String getImageVersion()
      (experimental) The version of the image.
      Specified by:
      getImageVersion in interface IImage
    • grant

      @Stability(Experimental) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
      (experimental) Grant custom actions to the given grantee for the image.

      Specified by:
      grant in interface IImage
      Parameters:
      grantee - The principal. This parameter is required.
      actions - The list of actions. This parameter is required.
    • grantDefaultExecutionRolePermissions

      @Stability(Experimental) @NotNull default List<Grant> grantDefaultExecutionRolePermissions(@NotNull IGrantable grantee)
      (experimental) Grants the default permissions for building an image to the provided execution role.

      Specified by:
      grantDefaultExecutionRolePermissions in interface IImage
      Parameters:
      grantee - The execution role used for the image build. This parameter is required.
    • grantRead

      @Stability(Experimental) @NotNull default Grant grantRead(@NotNull IGrantable grantee)
      (experimental) Grant read permissions to the given grantee for the image.

      Specified by:
      grantRead in interface IImage
      Parameters:
      grantee - The principal. This parameter is required.
    • toBaseImage

      @Stability(Experimental) @NotNull default BaseImage toBaseImage()
      (experimental) Converts the image to a BaseImage, to use as the parent image in an image recipe.
      Specified by:
      toBaseImage in interface IImage
    • toContainerBaseImage

      @Stability(Experimental) @NotNull default BaseContainerImage toContainerBaseImage()
      (experimental) Converts the image to a ContainerBaseImage, to use as the parent image in a container recipe.
      Specified by:
      toContainerBaseImage in interface IImage