Class CfnRuntimePropsMixin
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe artifact of the agent.static interfaceThe authorizer configuration.static interfaceThe value or values in the custom claim to match and relationship of match.static final classA fluent builder forCfnRuntimePropsMixin.static interfaceThe value or values in the custom claim to match for.static interfaceRepresentation of a code configuration.static interfaceObject represents source code from zip file.static interfaceThe container configuration.static interfaceRequired custom claim.static interfaceConfiguration for custom JWT authorizer.static interfaceConfiguration for managing the lifecycle of runtime sessions and resources.static interfaceThe network configuration for the agent.static interfaceConfiguration for HTTP request headers.static interfaceS3 Location Configuration.static interfaceNetwork mode configuration for VPC.static interfaceThe workload identity details for the agent.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::BedrockAgentCore::Runtime.CfnRuntimePropsMixin(CfnRuntimeMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::BedrockAgentCore::Runtime.protectedCfnRuntimePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRuntimePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnRuntimeMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 toAWS::BedrockAgentCore::Runtime.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnRuntimePropsMixin
Create a mixin to apply properties toAWS::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. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-