Class ContainerRecipeBase

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.imagebuilder.alpha.ContainerRecipeBase
All Implemented Interfaces:
IEnvironmentAware, IResource, IContainerRecipe, IRecipeBase, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable
Direct Known Subclasses:
ContainerRecipe

@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)", date="2025-12-05T22:26:50.021Z") @Stability(Experimental) public abstract class ContainerRecipeBase extends Resource implements IContainerRecipe
(experimental) A new or imported Container Recipe.
  • Constructor Details

    • ContainerRecipeBase

      protected ContainerRecipeBase(software.amazon.jsii.JsiiObjectRef objRef)
    • ContainerRecipeBase

      protected ContainerRecipeBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • ContainerRecipeBase

      @Stability(Stable) protected ContainerRecipeBase(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • ContainerRecipeBase

      @Stability(Stable) protected ContainerRecipeBase(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • grant

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

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

      @Stability(Experimental) @NotNull public Grant grantRead(@NotNull IGrantable grantee)
      (experimental) Grant read permissions to the given grantee for the container recipe.

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

      @Stability(Experimental) @NotNull public abstract String getContainerRecipeArn()
      (experimental) The ARN of the container recipe.
      Specified by:
      getContainerRecipeArn in interface IContainerRecipe
    • getContainerRecipeName

      @Stability(Experimental) @NotNull public abstract String getContainerRecipeName()
      (experimental) The name of the container recipe.
      Specified by:
      getContainerRecipeName in interface IContainerRecipe
    • getContainerRecipeVersion

      @Stability(Experimental) @NotNull public abstract String getContainerRecipeVersion()
      (experimental) The version of the container recipe.
      Specified by:
      getContainerRecipeVersion in interface IContainerRecipe