Interface IInferenceProfile

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IInferenceProfile.Jsii$Default
All Known Implementing Classes:
ApplicationInferenceProfile, CrossRegionInferenceProfile, IInferenceProfile.Jsii$Proxy, InferenceProfileBase

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-09-02T11:25:42.816Z") @Stability(Experimental) public interface IInferenceProfile extends software.amazon.jsii.JsiiSerializable
(experimental) Represents an Inference Profile, either created with CDK or imported.
  • Method Details

    • getInferenceProfileArn

      @Stability(Experimental) @NotNull String getInferenceProfileArn()
      (experimental) The ARN of the inference profile.
    • getInferenceProfileId

      @Stability(Experimental) @NotNull String getInferenceProfileId()
      (experimental) The unique identifier of the inference profile.
    • getType

      @Stability(Experimental) @NotNull InferenceProfileType getType()
      (experimental) The type of inference profile.
    • grantProfileUsage

      @Stability(Experimental) @NotNull Grant grantProfileUsage(@NotNull IGrantable grantee)
      (experimental) Grants appropriate permissions to use the inference profile.

      Each profile type requires different permissions based on its usage pattern.

      Parameters:
      grantee -
      • The IAM principal to grant permissions to.
      This parameter is required.
      Returns:
      An IAM Grant object representing the granted permissions