Interface IModel
- All Superinterfaces:
IConnectable,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,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.120.0 (build 192dc88)",
date="2025-12-05T22:26:50.384Z")
@Stability(Experimental)
public interface IModel
extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable, IConnectable
(experimental) Interface that defines a Model resource.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIModel.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToRolePolicy(PolicyStatement statement) (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 IRolegetRole()(experimental) The IAM role associated with this Model.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnectionsMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getModelArn
(experimental) Returns the ARN of this model. -
getModelName
(experimental) Returns the name of this model. -
getRole
(experimental) The IAM role associated with this Model. -
addToRolePolicy
(experimental) Adds a statement to the IAM role assumed by the instance.- Parameters:
statement- This parameter is required.
-