Class ProvisionedModel
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.ProvisionedModel
- All Implemented Interfaces:
IModel
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:11.193Z")
@Stability(Stable)
public class ProvisionedModel
extends software.amazon.jsii.JsiiObject
implements IModel
A Bedrock provisioned model.
Note: CloudFormation does not currently support creating Bedrock Provisioned Throughput
resources outside of a custom resource. You can import provisioned models created by
provisioning throughput in Bedrock outside the CDK or via a custom resource with
fromProvisionedModelArn(software.constructs.Construct, java.lang.String, java.lang.String)
.
Example:
import software.amazon.awscdk.services.bedrock.*; ProvisionedModel.fromProvisionedModelArn(this, "Model", "arn:aws:bedrock:us-east-2:123456789012:provisioned-model/abc-123");
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.IModel
IModel.Jsii$Default, IModel.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
ProvisionedModel
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ProvisionedModel
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic IModel
fromProvisionedModelArn
(software.constructs.Construct _scope, String _id, String provisionedModelArn) Import an provisioned model given an ARN.The ARN of the provisioned model.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ProvisionedModel
protected ProvisionedModel(software.amazon.jsii.JsiiObjectRef objRef) -
ProvisionedModel
protected ProvisionedModel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
fromProvisionedModelArn
@Stability(Stable) @NotNull public static IModel fromProvisionedModelArn(@NotNull software.constructs.Construct _scope, @NotNull String _id, @NotNull String provisionedModelArn) Import an provisioned model given an ARN.- Parameters:
_scope
- This parameter is required._id
- This parameter is required.provisionedModelArn
- This parameter is required.
-
getModelArn
The ARN of the provisioned model.- Specified by:
getModelArn
in interfaceIModel
- See Also:
-