NamespaceKeyValidationProperty Struct
Validation rules for namespace variable values.
Multiple rules can be specified and all must pass.
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 namespaceKeyValidationProperty: bedrockagentcore.CfnMemory.NamespaceKeyValidationProperty = {
allowedValues: ['allowedValues'],
regexPattern: 'regexPattern',
};
Properties
allowedValuesoptionalstring[]allowed_valuesoptionaltyping.List[str]allowedValuesoptionalList<String>AllowedValuesoptionalstring[]AllowedValuesoptional*[]*string#List of allowed values for this namespace variable.
regexPatternoptionalstringregex_patternoptionalstrregexPatternoptionalStringRegexPatternoptionalstringRegexPatternoptional*string#A regex pattern that a namespace variable value must match.