interface BedrockModelSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.BedrockModelSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_BedrockModelSpecificationProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.BedrockModelSpecificationProperty |
Python | aws_cdk.aws_lex.CfnBot.BedrockModelSpecificationProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » BedrockModelSpecificationProperty |
Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const bedrockModelSpecificationProperty: lex.CfnBot.BedrockModelSpecificationProperty = {
modelArn: 'modelArn',
// the properties below are optional
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
};
Properties
| Name | Type | Description |
|---|---|---|
| model | string | The ARN of the foundation model used in descriptive bot building. |
| bedrock | IResolvable | Bedrock | |
| bedrock | string | |
| bedrock | string |
modelArn
Type:
string
The ARN of the foundation model used in descriptive bot building.
bedrockGuardrailConfiguration?
Type:
IResolvable | Bedrock
(optional)
bedrockModelCustomPrompt?
Type:
string
(optional)
bedrockTraceStatus?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript