NamespaceKeyEntryProperty Struct
A namespace variable key definition with optional validation rules.
Example
ts
// 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
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).
validationIResolvable | CfnMemory.NamespaceKeyValidationPropertyvalidationtyping.Union[IResolvable, NamespaceKeyValidationProperty]validationIResolvableValidationIResolvableValidationinterface{}#Validation rules for namespace variable values.
Multiple rules can be specified and all must pass.