Interface IModel
- 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
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIModel
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToRolePolicy
(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 IRole
getRole()
(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
(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.
-