Class ImageRecipeProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.imagebuilder.alpha.ImageRecipeProps.Jsii$Proxy
All Implemented Interfaces:
ImageRecipeProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ImageRecipeProps

@Stability(Experimental) @Internal public static final class ImageRecipeProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ImageRecipeProps
An implementation for ImageRecipeProps
  • 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

      protected Jsii$Proxy(ImageRecipeProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ImageRecipeProps.Builder.
  • Method Details

    • getBaseImage

      public final BaseImage getBaseImage()
      Description copied from interface: ImageRecipeProps
      (experimental) The base image for customizations specified in the image recipe.
      Specified by:
      getBaseImage in interface ImageRecipeProps
    • getAmiTags

      public final Map<String,String> getAmiTags()
      Description copied from interface: ImageRecipeProps
      (experimental) The additional tags to assign to the output AMI generated by the build.

      Default: None

      Specified by:
      getAmiTags in interface ImageRecipeProps
    • getBlockDevices

      public final List<BlockDevice> getBlockDevices()
      Description copied from interface: ImageRecipeProps
      (experimental) The block devices to attach to the instance used for building the image.

      Default: None

      Specified by:
      getBlockDevices in interface ImageRecipeProps
    • getComponents

      public final List<ComponentConfiguration> getComponents()
      Description copied from interface: ImageRecipeProps
      (experimental) The list of component configurations to apply in the image build.

      Default: None

      Specified by:
      getComponents in interface ImageRecipeProps
    • getDescription

      public final String getDescription()
      Description copied from interface: ImageRecipeProps
      (experimental) The description of the image recipe.

      Default: None

      Specified by:
      getDescription in interface ImageRecipeProps
    • getImageRecipeName

      public final String getImageRecipeName()
      Description copied from interface: ImageRecipeProps
      (experimental) The name of the image recipe.

      Default: - a name is generated

      Specified by:
      getImageRecipeName in interface ImageRecipeProps
    • getImageRecipeVersion

      public final String getImageRecipeVersion()
      Description copied from interface: ImageRecipeProps
      (experimental) The version of the image recipe.

      Default: 1.0.x

      Specified by:
      getImageRecipeVersion in interface ImageRecipeProps
    • getTags

      public final Map<String,String> getTags()
      Description copied from interface: ImageRecipeProps
      (experimental) The tags to apply to the image recipe.

      Default: None

      Specified by:
      getTags in interface ImageRecipeProps
    • getUninstallSsmAgentAfterBuild

      public final Boolean getUninstallSsmAgentAfterBuild()
      Description copied from interface: ImageRecipeProps
      (experimental) Whether to uninstall the Systems Manager agent from your final build image, prior to creating the new AMI.

      Default: - this is false if the Systems Manager agent is pre-installed on the base image. Otherwise, this is true.

      Specified by:
      getUninstallSsmAgentAfterBuild in interface ImageRecipeProps
    • getUserDataOverride

      public final UserData getUserDataOverride()
      Description copied from interface: ImageRecipeProps
      (experimental) The user data commands to pass to Image Builder build and test EC2 instances.

      For Linux and macOS, Image Builder uses a default user data script to install the Systems Manager agent. If you override the user data, you must ensure to add commands to install Systems Manager agent, if it is not pre-installed on your base image.

      Default: None

      Specified by:
      getUserDataOverride in interface ImageRecipeProps
    • getWorkingDirectory

      public final String getWorkingDirectory()
      Description copied from interface: ImageRecipeProps
      (experimental) The working directory for use during build and test workflows.

      Default: - the Image Builder default working directory is used. For Linux and macOS builds, this would be /tmp. For Windows builds, this would be C:/

      Specified by:
      getWorkingDirectory in interface ImageRecipeProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object