PromptGenAiResource
- class aws_cdk.aws_bedrock_alpha.PromptGenAiResource
Bases:
object
(experimental) Abstract base class for prompt GenAI resource configurations.
This provides a high-level abstraction over the underlying CloudFormation GenAI resource properties, offering a more developer-friendly interface while maintaining full compatibility with the underlying AWS Bedrock service.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_bedrock_alpha as bedrock_alpha # agent_alias: bedrock_alpha.AgentAlias prompt_gen_ai_resource = bedrock_alpha.PromptGenAiResource.agent( agent_alias=agent_alias )
- Stability:
experimental
Static Methods
- classmethod agent(*, agent_alias)
(experimental) Creates an agent GenAI resource configuration.
- Parameters:
agent_alias (
IAgentAlias
) – (experimental) The agent alias to use for the GenAI resource.- Stability:
experimental
- Return type: