Interface ComponentReference

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

@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-04T09:27:33.213Z") @Stability(Stable) public interface ComponentReference extends software.amazon.jsii.JsiiSerializable
A reference to a Component resource.

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.amplifyuibuilder.*;
 ComponentReference componentReference = ComponentReference.builder()
         .appId("appId")
         .componentId("componentId")
         .environmentName("environmentName")
         .build();
 
  • Method Details

    • getAppId

      @Stability(Stable) @NotNull String getAppId()
      The AppId of the Component resource.
    • getComponentId

      @Stability(Stable) @NotNull String getComponentId()
      The Id of the Component resource.
    • getEnvironmentName

      @Stability(Stable) @NotNull String getEnvironmentName()
      The EnvironmentName of the Component resource.
    • builder

      @Stability(Stable) static ComponentReference.Builder builder()
      Returns:
      a ComponentReference.Builder of ComponentReference