Interface IInferenceProfile.Jsii$Default

All Superinterfaces:
IInferenceProfile, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IInferenceProfile.Jsii$Proxy
Enclosing interface:
IInferenceProfile

@Internal public static interface IInferenceProfile.Jsii$Default extends IInferenceProfile
Internal default implementation for IInferenceProfile.
  • Method Details

    • getInferenceProfileArn

      @Stability(Experimental) @NotNull default String getInferenceProfileArn()
      (experimental) The ARN of the inference profile.
      Specified by:
      getInferenceProfileArn in interface IInferenceProfile
    • getInferenceProfileId

      @Stability(Experimental) @NotNull default String getInferenceProfileId()
      (experimental) The unique identifier of the inference profile.
      Specified by:
      getInferenceProfileId in interface IInferenceProfile
    • getType

      @Stability(Experimental) @NotNull default InferenceProfileType getType()
      (experimental) The type of inference profile.
      Specified by:
      getType in interface IInferenceProfile
    • grantProfileUsage

      @Stability(Experimental) @NotNull default 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.

      Specified by:
      grantProfileUsage in interface IInferenceProfile
      Parameters:
      grantee -
      • The IAM principal to grant permissions to.
      This parameter is required.
      Returns:
      An IAM Grant object representing the granted permissions