interface NamespaceKeyEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnMemory.NamespaceKeyEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnMemory_NamespaceKeyEntryProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnMemory.NamespaceKeyEntryProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnMemory.NamespaceKeyEntryProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnMemory » NamespaceKeyEntryProperty |
A namespace variable key definition with optional validation rules.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const namespaceKeyEntryProperty: bedrockagentcore.CfnMemory.NamespaceKeyEntryProperty = {
key: 'key',
// the properties below are optional
validation: {
allowedValues: ['allowedValues'],
regexPattern: 'regexPattern',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| key | string | A namespace variable key name. |
| validation? | IResolvable | Namespace | Validation rules for namespace variable values. |
key
Type:
string
A namespace variable key name.
Must start with a lowercase letter and contain only lowercase alphanumeric characters. Cannot be a built-in variable (memoryStrategyId, sessionId, actorId).
validation?
Type:
IResolvable | Namespace
(optional)
Validation rules for namespace variable values.
Multiple rules can be specified and all must pass.

.NET
Go
Java
Python
TypeScript