java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnRuntimePropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:19:56.732Z") @Stability(Stable) public class CfnRuntimePropsMixin extends Mixin implements software.constructs.IMixin
Contains information about an agent runtime. An agent runtime is the execution environment for a Amazon Bedrock Agent.

AgentCore Runtime is a secure, serverless runtime purpose-built for deploying and scaling dynamic AI agents and tools using any open-source framework including LangGraph, CrewAI, and Strands Agents, any protocol, and any model.

For more information about using agent runtime in Amazon Bedrock AgentCore, see Host agent or tools with Amazon Bedrock AgentCore Runtime .

See the Properties section below for descriptions of both the required and optional properties.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnRuntimePropsMixin cfnRuntimePropsMixin = CfnRuntimePropsMixin.Builder.create(CfnRuntimeMixinProps.builder()
         .agentRuntimeArtifact(AgentRuntimeArtifactProperty.builder()
                 .codeConfiguration(CodeConfigurationProperty.builder()
                         .code(CodeProperty.builder()
                                 .s3(S3LocationProperty.builder()
                                         .bucket("bucket")
                                         .prefix("prefix")
                                         .versionId("versionId")
                                         .build())
                                 .build())
                         .entryPoint(List.of("entryPoint"))
                         .runtime("runtime")
                         .build())
                 .containerConfiguration(ContainerConfigurationProperty.builder()
                         .containerUri("containerUri")
                         .build())
                 .build())
         .agentRuntimeName("agentRuntimeName")
         .authorizerConfiguration(AuthorizerConfigurationProperty.builder()
                 .customJwtAuthorizer(CustomJWTAuthorizerConfigurationProperty.builder()
                         .allowedAudience(List.of("allowedAudience"))
                         .allowedClients(List.of("allowedClients"))
                         .allowedScopes(List.of("allowedScopes"))
                         .customClaims(List.of(CustomClaimValidationTypeProperty.builder()
                                 .authorizingClaimMatchValue(AuthorizingClaimMatchValueTypeProperty.builder()
                                         .claimMatchOperator("claimMatchOperator")
                                         .claimMatchValue(ClaimMatchValueTypeProperty.builder()
                                                 .matchValueString("matchValueString")
                                                 .matchValueStringList(List.of("matchValueStringList"))
                                                 .build())
                                         .build())
                                 .inboundTokenClaimName("inboundTokenClaimName")
                                 .inboundTokenClaimValueType("inboundTokenClaimValueType")
                                 .build()))
                         .discoveryUrl("discoveryUrl")
                         .build())
                 .build())
         .description("description")
         .environmentVariables(Map.of(
                 "environmentVariablesKey", "environmentVariables"))
         .lifecycleConfiguration(LifecycleConfigurationProperty.builder()
                 .idleRuntimeSessionTimeout(123)
                 .maxLifetime(123)
                 .build())
         .networkConfiguration(NetworkConfigurationProperty.builder()
                 .networkMode("networkMode")
                 .networkModeConfig(VpcConfigProperty.builder()
                         .securityGroups(List.of("securityGroups"))
                         .subnets(List.of("subnets"))
                         .build())
                 .build())
         .protocolConfiguration("protocolConfiguration")
         .requestHeaderConfiguration(RequestHeaderConfigurationProperty.builder()
                 .requestHeaderAllowlist(List.of("requestHeaderAllowlist"))
                 .build())
         .roleArn("roleArn")
         .tags(Map.of(
                 "tagsKey", "tags"))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnRuntimePropsMixin

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

      protected CfnRuntimePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnRuntimePropsMixin

      @Stability(Stable) public CfnRuntimePropsMixin(@NotNull CfnRuntimeMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::BedrockAgentCore::Runtime.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnRuntimePropsMixin

      @Stability(Stable) public CfnRuntimePropsMixin(@NotNull CfnRuntimeMixinProps props)
      Create a mixin to apply properties to AWS::BedrockAgentCore::Runtime.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnRuntimeMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()