interface CfnRuntimeProps
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrockagentcore.CfnRuntimeProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnRuntimeProps |
![]() | software.amazon.awscdk.services.bedrockagentcore.CfnRuntimeProps |
![]() | aws_cdk.aws_bedrockagentcore.CfnRuntimeProps |
![]() | aws-cdk-lib » aws_bedrockagentcore » CfnRuntimeProps |
Properties for defining a CfnRuntime
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const cfnRuntimeProps: bedrockagentcore.CfnRuntimeProps = {
agentRuntimeArtifact: {
containerConfiguration: {
containerUri: 'containerUri',
},
},
agentRuntimeName: 'agentRuntimeName',
networkConfiguration: {
networkMode: 'networkMode',
},
roleArn: 'roleArn',
// the properties below are optional
authorizerConfiguration: {
customJwtAuthorizer: {
discoveryUrl: 'discoveryUrl',
// the properties below are optional
allowedAudience: ['allowedAudience'],
allowedClients: ['allowedClients'],
},
},
description: 'description',
environmentVariables: {
environmentVariablesKey: 'environmentVariables',
},
protocolConfiguration: 'protocolConfiguration',
tags: {
tagsKey: 'tags',
},
};
Properties
Name | Type | Description |
---|---|---|
agent | IResolvable | Agent | The artifact of the agent. |
agent | string | The name of the AgentCore Runtime endpoint. |
network | IResolvable | Network | The network configuration. |
role | string | The Amazon Resource Name (ARN) for for the role. |
authorizer | IResolvable | Authorizer | Represents inbound authorization configuration options used to authenticate incoming requests. |
description? | string | The agent runtime description. |
environment | { [string]: string } | IResolvable | The environment variables for the agent. |
protocol | string | The protocol configuration for an agent runtime. |
tags? | { [string]: string } | The tags for the agent. |
agentRuntimeArtifact
Type:
IResolvable
|
Agent
The artifact of the agent.
agentRuntimeName
Type:
string
The name of the AgentCore Runtime endpoint.
networkConfiguration
Type:
IResolvable
|
Network
The network configuration.
roleArn
Type:
string
The Amazon Resource Name (ARN) for for the role.
authorizerConfiguration?
Type:
IResolvable
|
Authorizer
(optional)
Represents inbound authorization configuration options used to authenticate incoming requests.
description?
Type:
string
(optional)
The agent runtime description.
environmentVariables?
Type:
{ [string]: string } |
IResolvable
(optional)
The environment variables for the agent.
protocolConfiguration?
Type:
string
(optional)
The protocol configuration for an agent runtime.
This structure defines how the agent runtime communicates with clients.
tags?
Type:
{ [string]: string }
(optional)
The tags for the agent.