PlatformVersion

class aws_cdk.aws_bedrockagentcore.PlatformVersion(*args: Any, **kwargs)

Bases: object

The platform version of the Agent Runtime.

See:

https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-platformversion

ExampleMetadata:

fixture=default infused

Example:

repository = ecr.Repository(self, "TestRepository",
    repository_name="test-agent-runtime"
)

agent_runtime_artifact = agentcore.AgentRuntimeArtifact.from_ecr_repository(repository, "v1.0.0")

agentcore.Runtime(self, "test-runtime",
    runtime_name="test_runtime",
    agent_runtime_artifact=agent_runtime_artifact,
    platform_version=agentcore.PlatformVersion.V2
)

Methods

to_string()

Returns the string value.

Return type:

str

Attributes

V1 = <aws_cdk.aws_bedrockagentcore.PlatformVersion object>
V2 = <aws_cdk.aws_bedrockagentcore.PlatformVersion object>
value

The platform version string value.

Static Methods

classmethod of(value)

Use a custom platform version not yet defined in this class.

Parameters:

value (str) – The platform version string value.

Return type:

PlatformVersion