Class PlatformVersion

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrockagentcore.PlatformVersion
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)", date="2026-10-08T16:59:49.393Z") @Stability(Stable) public class PlatformVersion extends software.amazon.jsii.JsiiObject
The platform version of the Agent Runtime.

Example:

 Repository repository = Repository.Builder.create(this, "TestRepository")
         .repositoryName("test-agent-runtime")
         .build();
 AgentRuntimeArtifact agentRuntimeArtifact = AgentRuntimeArtifact.fromEcrRepository(repository, "v1.0.0");
 Runtime.Builder.create(this, "test-runtime")
         .runtimeName("test_runtime")
         .agentRuntimeArtifact(agentRuntimeArtifact)
         .platformVersion(PlatformVersion.V2)
         .build();
 

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final PlatformVersion
    Platform version V1 (the create-time default).
    static final PlatformVersion
    Platform version V2 (the new AgentCore Runtime — elastic, optimized, consistently fast starts).
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    PlatformVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    PlatformVersion(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The platform version string value.
    of(String value)
    Use a custom platform version not yet defined in this class.
    Returns the string value.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • V1

      @Stability(Stable) public static final PlatformVersion V1
      Platform version V1 (the create-time default).
    • V2

      @Stability(Stable) public static final PlatformVersion V2
      Platform version V2 (the new AgentCore Runtime — elastic, optimized, consistently fast starts).
  • Constructor Details

    • PlatformVersion

      protected PlatformVersion(software.amazon.jsii.JsiiObjectRef objRef)
    • PlatformVersion

      protected PlatformVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • of

      @Stability(Stable) @NotNull public static PlatformVersion of(@NotNull String value)
      Use a custom platform version not yet defined in this class.

      Parameters:
      value - The platform version string value. This parameter is required.
    • toString

      @Stability(Stable) @NotNull public String toString()
      Returns the string value.
      Overrides:
      toString in class Object
    • getValue

      @Stability(Stable) @NotNull public String getValue()
      The platform version string value.