Class ProvisionedModel
A Bedrock provisioned model.
Implements
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ProvisionedModel : DeputyBase, IModel
Syntax (vb)
Public Class ProvisionedModel Inherits DeputyBase Implements IModel
Remarks
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 {@link ProvisionedModel#fromProvisionedModelArn }.
See: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Bedrock;
ProvisionedModel.FromProvisionedModelArn(this, "Model", "arn:aws:bedrock:us-east-2:123456789012:provisioned-model/abc-123");
Synopsis
Properties
| ModelArn | The ARN of the provisioned model. |
Methods
| FromProvisionedModelArn(Construct, string, string) | Import an provisioned model given an ARN. |
Properties
ModelArn
The ARN of the provisioned model.
public virtual string ModelArn { get; }
Property Value
Remarks
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 {@link ProvisionedModel#fromProvisionedModelArn }.
See: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html
ExampleMetadata: infused
Methods
FromProvisionedModelArn(Construct, string, string)
Import an provisioned model given an ARN.
public static IModel FromProvisionedModelArn(Construct scope, string id, string provisionedModelArn)
Parameters
Returns
Remarks
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 {@link ProvisionedModel#fromProvisionedModelArn }.
See: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html
ExampleMetadata: infused