PlatformVersion
- class aws_cdk.aws_bedrockagentcore.PlatformVersion(*args: Any, **kwargs)
Bases:
objectThe platform version of the Agent Runtime.
- See:
- 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: