Interface ComponentAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ComponentAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-20T23:37:34.439Z") @Stability(Experimental) public interface ComponentAttributes extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for an EC2 Image Builder component.

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.alpha.*;
 ComponentAttributes componentAttributes = ComponentAttributes.builder()
         .componentArn("componentArn")
         .componentName("componentName")
         .componentVersion("componentVersion")
         .build();
 
  • Method Details

    • getComponentArn

      @Stability(Experimental) @Nullable default String getComponentArn()
      (experimental) The ARN of the component.

      Default: - the ARN is automatically constructed if a componentName is provided, otherwise a componentArn is required

    • getComponentName

      @Stability(Experimental) @Nullable default String getComponentName()
      (experimental) The name of the component.

      Default: - the name is automatically constructed if a componentArn is provided, otherwise a componentName is required

    • getComponentVersion

      @Stability(Experimental) @Nullable default String getComponentVersion()
      (experimental) The version of the component.

      Default: - the latest version of the component, x.x.x

    • builder

      @Stability(Experimental) static ComponentAttributes.Builder builder()
      Returns:
      a ComponentAttributes.Builder of ComponentAttributes