All Superinterfaces:
IConnectable, software.constructs.IConstruct, software.constructs.IDependable, IGrantable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IModel.Jsii$Default
All Known Implementing Classes:
IModel.Jsii$Proxy, Model

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-21T06:34:18.408Z") @Stability(Experimental) public interface IModel extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable, IConnectable
(experimental) Interface that defines a Model resource.
  • Nested Class Summary

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

    Modifier and Type
    Method
    Description
    void
    (experimental) Adds a statement to the IAM role assumed by the instance.
    (experimental) Returns the ARN of this model.
    (experimental) Returns the name of this model.
    default IRole
    (experimental) The IAM role associated with this Model.

    Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable

    getConnections

    Methods inherited from interface software.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.services.iam.IGrantable

    getGrantPrincipal

    Methods inherited from interface software.amazon.awscdk.IResource

    applyRemovalPolicy, getEnv, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getModelArn

      @Stability(Experimental) @NotNull String getModelArn()
      (experimental) Returns the ARN of this model.
    • getModelName

      @Stability(Experimental) @NotNull String getModelName()
      (experimental) Returns the name of this model.
    • getRole

      @Stability(Experimental) @Nullable default IRole getRole()
      (experimental) The IAM role associated with this Model.
    • addToRolePolicy

      @Stability(Experimental) void addToRolePolicy(@NotNull PolicyStatement statement)
      (experimental) Adds a statement to the IAM role assumed by the instance.

      Parameters:
      statement - This parameter is required.