CfnRuntimeMixinProps
- class aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnRuntimeMixinProps(*, agent_runtime_artifact=None, agent_runtime_name=None, authorizer_configuration=None, description=None, environment_variables=None, lifecycle_configuration=None, network_configuration=None, protocol_configuration=None, request_header_configuration=None, role_arn=None, tags=None)
Bases:
objectProperties for CfnRuntimePropsMixin.
- Parameters:
agent_runtime_artifact (
Union[IResolvable,AgentRuntimeArtifactProperty,Dict[str,Any],None]) – The artifact of the agent.agent_runtime_name (
Optional[str]) – The name of the AgentCore Runtime endpoint.authorizer_configuration (
Union[IResolvable,AuthorizerConfigurationProperty,Dict[str,Any],None]) – Represents inbound authorization configuration options used to authenticate incoming requests.description (
Optional[str]) – The agent runtime description.environment_variables (
Union[Mapping[str,str],IResolvable,None]) – The environment variables for the agent.lifecycle_configuration (
Union[IResolvable,LifecycleConfigurationProperty,Dict[str,Any],None]) – Configuration for managing the lifecycle of runtime sessions and resources.network_configuration (
Union[IResolvable,NetworkConfigurationProperty,Dict[str,Any],None]) – The network configuration.protocol_configuration (
Optional[str]) – The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.request_header_configuration (
Union[IResolvable,RequestHeaderConfigurationProperty,Dict[str,Any],None]) – Configuration for HTTP request headers.role_arn (
Optional[str]) – The Amazon Resource Name (ARN) for for the role.tags (
Optional[Mapping[str,str]]) – The tags for the agent.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins cfn_runtime_mixin_props = bedrockagentcore_mixins.CfnRuntimeMixinProps( agent_runtime_artifact=bedrockagentcore_mixins.CfnRuntimePropsMixin.AgentRuntimeArtifactProperty( code_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.CodeConfigurationProperty( code=bedrockagentcore_mixins.CfnRuntimePropsMixin.CodeProperty( s3=bedrockagentcore_mixins.CfnRuntimePropsMixin.S3LocationProperty( bucket="bucket", prefix="prefix", version_id="versionId" ) ), entry_point=["entryPoint"], runtime="runtime" ), container_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.ContainerConfigurationProperty( container_uri="containerUri" ) ), agent_runtime_name="agentRuntimeName", authorizer_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.AuthorizerConfigurationProperty( custom_jwt_authorizer=bedrockagentcore_mixins.CfnRuntimePropsMixin.CustomJWTAuthorizerConfigurationProperty( allowed_audience=["allowedAudience"], allowed_clients=["allowedClients"], discovery_url="discoveryUrl" ) ), description="description", environment_variables={ "environment_variables_key": "environmentVariables" }, lifecycle_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.LifecycleConfigurationProperty( idle_runtime_session_timeout=123, max_lifetime=123 ), network_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.NetworkConfigurationProperty( network_mode="networkMode", network_mode_config=bedrockagentcore_mixins.CfnRuntimePropsMixin.VpcConfigProperty( security_groups=["securityGroups"], subnets=["subnets"] ) ), protocol_configuration="protocolConfiguration", request_header_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.RequestHeaderConfigurationProperty( request_header_allowlist=["requestHeaderAllowlist"] ), role_arn="roleArn", tags={ "tags_key": "tags" } )
Attributes
- agent_runtime_artifact
The artifact of the agent.
- agent_runtime_name
The name of the AgentCore Runtime endpoint.
- authorizer_configuration
Represents inbound authorization configuration options used to authenticate incoming requests.
- description
The agent runtime description.
- environment_variables
The environment variables for the agent.
- lifecycle_configuration
Configuration for managing the lifecycle of runtime sessions and resources.
- network_configuration
The network configuration.
- protocol_configuration
The protocol configuration for an agent runtime.
This structure defines how the agent runtime communicates with clients.
- request_header_configuration
Configuration for HTTP request headers.
- role_arn
The Amazon Resource Name (ARN) for for the role.