Experimental
@aws-cdk/aws-bedrock-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AgentGenAiResourceProps Struct
Properties for creating an agent GenAI resource configuration.
| Stability | Experimental |
|---|---|
| Source | bedrock/prompts/prompt-genai-resource.ts |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_alpha from '@aws-cdk/aws-bedrock-alpha';
declare const agentAlias: bedrock_alpha.AgentAlias;
const agentGenAiResourceProps: bedrock_alpha.AgentGenAiResourceProps = {
agentAlias: agentAlias,
};
python
# 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
agent_gen_ai_resource_props = bedrock_alpha.AgentGenAiResourceProps(
agent_alias=agent_alias
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.alpha.*;
AgentAlias agentAlias;
AgentGenAiResourceProps agentGenAiResourceProps = AgentGenAiResourceProps.builder()
.agentAlias(agentAlias)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Alpha;
AgentAlias agentAlias;
var agentGenAiResourceProps = new AgentGenAiResourceProps {
AgentAlias = agentAlias
};
go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_alpha "github.com/aws/aws-cdk-go/awsbedrockalpha"
var agentAlias AgentAlias
agentGenAiResourceProps := &AgentGenAiResourceProps{
AgentAlias: agentAlias,
}
Properties
agentAliasIAgentAliasagent_aliasIAgentAliasagentAliasIAgentAliasAgentAliasIAgentAliasAgentAliasIAgentAlias required #The agent alias to use for the GenAI resource.