RuntimeEndpointProps
- class aws_cdk.aws_bedrock_agentcore_alpha.RuntimeEndpointProps(*, agent_runtime_id, endpoint_name, agent_runtime_version=None, description=None, tags=None)
Bases:
object(experimental) Properties for creating a Bedrock Agent Core Runtime Endpoint resource.
- Parameters:
agent_runtime_id (
str) – (experimental) The ID of the agent runtime to associate with this endpoint This is the unique identifier of the runtime resource Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,99}-[a-zA-Z0-9]{10}$.endpoint_name (
str) – (experimental) The name of the agent runtime endpoint Valid characters are a-z, A-Z, 0-9, _ (underscore) Must start with a letter and can be up to 48 characters long Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,47}$.agent_runtime_version (
Optional[str]) – (experimental) The version of the agent runtime to use for this endpoint If not specified, the endpoint will point to version “1” of the runtime. Pattern: ^([1-9][0-9]{0,4})$ Default: “1”description (
Optional[str]) – (experimental) Optional description for the agent runtime endpoint Length Minimum: 1 , Maximum: 256. Default: - No descriptiontags (
Optional[Mapping[str,str]]) – (experimental) Tags for the agent runtime endpoint A list of key:value pairs of tags to apply to this RuntimeEndpoint resource Pattern: ^[a-zA-Z0-9s._:/=+@-]*$. Default: {} - no tags
- Stability:
experimental
- ExampleMetadata:
fixture=default infused
Example:
# Reference an existing runtime by its ID existing_runtime_id = "abc123-runtime-id" # The ID of an existing runtime # Create a standalone endpoint endpoint = agentcore.RuntimeEndpoint(self, "MyEndpoint", endpoint_name="production", agent_runtime_id=existing_runtime_id, agent_runtime_version="1", # Specify which version to use description="Production endpoint for existing runtime" )
Attributes
- agent_runtime_id
^[a-zA-Z][a-zA-Z0-9_]{0,99}-[a-zA-Z0-9]{10}$.
- Stability:
experimental
- Type:
(experimental) The ID of the agent runtime to associate with this endpoint This is the unique identifier of the runtime resource Pattern
- agent_runtime_version
(experimental) The version of the agent runtime to use for this endpoint If not specified, the endpoint will point to version “1” of the runtime.
Pattern: ^([1-9][0-9]{0,4})$
- Default:
“1”
- Stability:
experimental
- description
- Default:
No description
- Stability:
experimental
- Type:
(experimental) Optional description for the agent runtime endpoint Length Minimum
- Type:
1 , Maximum
- endpoint_name
^[a-zA-Z][a-zA-Z0-9_]{0,47}$.
- Stability:
experimental
- Type:
(experimental) The name of the agent runtime endpoint Valid characters are a-z, A-Z, 0-9, _ (underscore) Must start with a letter and can be up to 48 characters long Pattern
- tags
^[a-zA-Z0-9s._:/=+@-]*$.
- Default:
{} - no tags
- Stability:
experimental
- Type:
(experimental) Tags for the agent runtime endpoint A list of key
- Type:
value pairs of tags to apply to this RuntimeEndpoint resource Pattern