CfnRuntimeProps
- class aws_cdk.aws_bedrockagentcore.CfnRuntimeProps(*, agent_runtime_artifact, agent_runtime_name, network_configuration, role_arn, authorizer_configuration=None, description=None, environment_variables=None, lifecycle_configuration=None, protocol_configuration=None, request_header_configuration=None, tags=None)
Bases:
objectProperties for defining a
CfnRuntime.- Parameters:
agent_runtime_artifact (
Union[IResolvable,AgentRuntimeArtifactProperty,Dict[str,Any]]) – The artifact of the agent.agent_runtime_name (
str) – The name of the AgentCore Runtime endpoint.network_configuration (
Union[IResolvable,NetworkConfigurationProperty,Dict[str,Any]]) – The network configuration.role_arn (
str) – The Amazon Resource Name (ARN) for for the role.authorizer_configuration (
Union[IResolvable,AuthorizerConfigurationProperty,Dict[str,Any],None]) – Represents inbound authorization configuration options used to authenticate incoming requests.description (
Optional[str]) – The agent runtime description.environment_variables (
Union[Mapping[str,str],IResolvable,None]) – The environment variables for the agent.lifecycle_configuration (
Union[IResolvable,LifecycleConfigurationProperty,Dict[str,Any],None]) – Configuration for managing the lifecycle of runtime sessions and resources.protocol_configuration (
Optional[str]) – The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.request_header_configuration (
Union[IResolvable,RequestHeaderConfigurationProperty,Dict[str,Any],None]) – Configuration for HTTP request headers.tags (
Optional[Mapping[str,str]]) – The tags for the agent.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_bedrockagentcore as bedrockagentcore cfn_runtime_props = bedrockagentcore.CfnRuntimeProps( agent_runtime_artifact=bedrockagentcore.CfnRuntime.AgentRuntimeArtifactProperty( code_configuration=bedrockagentcore.CfnRuntime.CodeConfigurationProperty( code=bedrockagentcore.CfnRuntime.CodeProperty( s3=bedrockagentcore.CfnRuntime.S3LocationProperty( bucket="bucket", prefix="prefix", # the properties below are optional version_id="versionId" ) ), entry_point=["entryPoint"], runtime="runtime" ), container_configuration=bedrockagentcore.CfnRuntime.ContainerConfigurationProperty( container_uri="containerUri" ) ), agent_runtime_name="agentRuntimeName", network_configuration=bedrockagentcore.CfnRuntime.NetworkConfigurationProperty( network_mode="networkMode", # the properties below are optional network_mode_config=bedrockagentcore.CfnRuntime.VpcConfigProperty( security_groups=["securityGroups"], subnets=["subnets"] ) ), role_arn="roleArn", # the properties below are optional authorizer_configuration=bedrockagentcore.CfnRuntime.AuthorizerConfigurationProperty( custom_jwt_authorizer=bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty( discovery_url="discoveryUrl", # the properties below are optional allowed_audience=["allowedAudience"], allowed_clients=["allowedClients"] ) ), description="description", environment_variables={ "environment_variables_key": "environmentVariables" }, lifecycle_configuration=bedrockagentcore.CfnRuntime.LifecycleConfigurationProperty( idle_runtime_session_timeout=123, max_lifetime=123 ), protocol_configuration="protocolConfiguration", request_header_configuration=bedrockagentcore.CfnRuntime.RequestHeaderConfigurationProperty( request_header_allowlist=["requestHeaderAllowlist"] ), tags={ "tags_key": "tags" } )
Attributes
- agent_runtime_artifact
The artifact of the agent.
- agent_runtime_name
The name of the AgentCore Runtime endpoint.
- authorizer_configuration
Represents inbound authorization configuration options used to authenticate incoming requests.
- description
The agent runtime description.
- environment_variables
The environment variables for the agent.
- lifecycle_configuration
Configuration for managing the lifecycle of runtime sessions and resources.
- network_configuration
The network configuration.
- protocol_configuration
The protocol configuration for an agent runtime.
This structure defines how the agent runtime communicates with clients.
- request_header_configuration
Configuration for HTTP request headers.
- role_arn
The Amazon Resource Name (ARN) for for the role.