All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IComponent.Jsii$Default
All Known Implementing Classes:
Component, IComponent.Jsii$Proxy

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-20T23:37:34.459Z") @Stability(Experimental) public interface IComponent extends software.amazon.jsii.JsiiSerializable, IResource
(experimental) An EC2 Image Builder Component.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IComponent.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) The ARN of the component.
    (experimental) The name of the component.
    (experimental) The version of the component.
    grant(IGrantable grantee, String... actions)
    (experimental) Grant custom actions to the given grantee for the component.
    (experimental) Grant read permissions to the given grantee for the component.

    Methods inherited from interface software.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware

    getEnv

    Methods inherited from interface software.amazon.awscdk.IResource

    applyRemovalPolicy, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getComponentArn

      @Stability(Experimental) @NotNull String getComponentArn()
      (experimental) The ARN of the component.
    • getComponentName

      @Stability(Experimental) @NotNull String getComponentName()
      (experimental) The name of the component.
    • getComponentVersion

      @Stability(Experimental) @NotNull String getComponentVersion()
      (experimental) The version of the component.
    • grant

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

      Parameters:
      grantee - The principal. This parameter is required.
      actions - The list of actions. This parameter is required.
    • grantRead

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

      Parameters:
      grantee - The principal. This parameter is required.