Class CfnAllImageBuildVersions

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.imagebuilder.CfnAllImageBuildVersions
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IAllImageBuildVersionsRef, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-08-10T14:51:04.833Z") @Stability(Stable) public class CfnAllImageBuildVersions extends CfnResource implements IInspectable, IAllImageBuildVersionsRef
Resource Type definition for AWS::ImageBuilder::AllImageBuildVersions.

Returns the list of image build versions for a specified image version ARN.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.imagebuilder.*;
 CfnAllImageBuildVersions cfnAllImageBuildVersions = CfnAllImageBuildVersions.Builder.create(this, "MyCfnAllImageBuildVersions").build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnAllImageBuildVersions

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

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

      @Stability(Stable) public CfnAllImageBuildVersions(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnAllImageBuildVersionsProps props)
      Create a new AWS::ImageBuilder::AllImageBuildVersions.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnAllImageBuildVersions

      @Stability(Stable) public CfnAllImageBuildVersions(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::ImageBuilder::AllImageBuildVersions.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • arnForAllImageBuildVersions

      @Stability(Stable) @NotNull public static String arnForAllImageBuildVersions(@NotNull IAllImageBuildVersionsRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnAllImageBuildVersions

      @Stability(Stable) @NotNull public static Boolean isCfnAllImageBuildVersions(@NotNull Object x)
      Checks whether the given object is a CfnAllImageBuildVersions.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAllImageBuildVersionsRef

      @Stability(Stable) @NotNull public AllImageBuildVersionsReference getAllImageBuildVersionsRef()
      A reference to a AllImageBuildVersions resource.
      Specified by:
      getAllImageBuildVersionsRef in interface IAllImageBuildVersionsRef
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the image build version.
    • getAttrBuildNumber

      @Stability(Stable) @NotNull public String getAttrBuildNumber()
      The build number of the image build version.
    • getAttrBuildType

      @Stability(Stable) @NotNull public String getAttrBuildType()
      Indicates the type of build that created this image.
    • getAttrDateCreated

      @Stability(Stable) @NotNull public String getAttrDateCreated()
      The date on which Image Builder created this image.
    • getAttrEnhancedImageMetadataEnabled

      @Stability(Stable) @NotNull public IResolvable getAttrEnhancedImageMetadataEnabled()
      Indicates whether enhanced image metadata collection is enabled.
    • getAttrExecutionRole

      @Stability(Stable) @NotNull public String getAttrExecutionRole()
      The execution role for the image.
    • getAttrImageTestsConfiguration

      @Stability(Stable) @NotNull public IResolvable getAttrImageTestsConfiguration()
      The image tests configuration.
    • getAttrImageVersionArn

      @Stability(Stable) @NotNull public String getAttrImageVersionArn()
      The image version ARN whose build versions you want to list.
    • getAttrName

      @Stability(Stable) @NotNull public String getAttrName()
      The name of the image.
    • getAttrOsVersion

      @Stability(Stable) @NotNull public String getAttrOsVersion()
      The operating system version of the instances that launch from this image.
    • getAttrPlatform

      @Stability(Stable) @NotNull public String getAttrPlatform()
      The operating system platform of the image.
    • getAttrState

      @Stability(Stable) @NotNull public IResolvable getAttrState()
      Image status and the reason for that status.
    • getAttrTags

      @Stability(Stable) @NotNull public IResolvable getAttrTags()
      The tags associated with the image.
    • getAttrType

      @Stability(Stable) @NotNull public String getAttrType()
      Specifies whether this image produces an AMI or a container image.
    • getAttrVersion

      @Stability(Stable) @NotNull public String getAttrVersion()
      The semantic version of the image (major.minor.patch).
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource